:root {
  --white: #ffffff;
  --paper: #f4f5f1;
  --mist: #e7ece7;
  --forest: #143e33;
  --forest-dark: #0c2b23;
  --sage: #6d8578;
  --copper: #c77b66;
  --copper-dark: #9b5748;
  --ink: #17211d;
  --muted: #5f6a65;
  --line: #ced7d1;
  --content: 1180px;
  --shadow: 0 24px 64px rgba(10, 36, 29, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

body.dialog-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.08;
}

h1 {
  max-width: 700px;
  margin-bottom: 1.3rem;
  font-size: 4.8rem;
}

h2 {
  margin-bottom: 1.4rem;
  font-size: 3.2rem;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.35rem;
}

p {
  margin-bottom: 1rem;
}

::selection {
  background: var(--copper);
  color: var(--white);
}

:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  transform: translateY(-160%);
  background: var(--white);
  color: var(--forest);
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.draft-bar {
  min-height: 2rem;
  padding: 0.35rem 1rem;
  background: var(--copper);
  color: var(--forest-dark);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
}

.site-header {
  position: absolute;
  top: 2rem;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  min-height: 5rem;
  padding: 0.8rem max(1.5rem, calc((100% - var(--content)) / 2));
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  text-decoration: none;
}

.logo-mark {
  display: block;
  width: 2.7rem;
  aspect-ratio: 1064 / 878;
  background: currentColor;
  -webkit-mask: url("assets/onmi-logo.png") center / contain no-repeat;
  mask: url("assets/onmi-logo.png") center / contain no-repeat;
}

.header-nav {
  display: flex;
  justify-content: center;
  gap: 1.8rem;
}

.header-nav a {
  font-size: 0.86rem;
  font-weight: 650;
  text-decoration: none;
}

.header-nav a:hover,
.text-link:hover {
  color: var(--copper);
}

.header-cta {
  padding: 0.72rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 4px;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.header-cta:hover {
  background: var(--white);
  color: var(--forest);
}

.hero {
  position: relative;
  min-height: min(780px, calc(100svh - 4rem));
  overflow: hidden;
  background: var(--forest-dark);
  color: var(--white);
}

.hero-photo,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-photo {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(8, 34, 27, 0.95) 0%, rgba(8, 34, 27, 0.86) 34%, rgba(8, 34, 27, 0.38) 62%, rgba(8, 34, 27, 0.08) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: min(var(--content), calc(100% - 3rem));
  min-height: min(780px, calc(100svh - 4rem));
  margin: 0 auto;
  padding: 8.2rem 0 3.5rem;
}

.eyebrow {
  margin-bottom: 0.9rem;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--copper-dark);
}

.eyebrow.light {
  color: #efab98;
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.17rem;
}

.hero-meta {
  margin-bottom: 1.8rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-weight: 650;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.35rem;
  border: 0;
  border-radius: 4px;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--copper);
  color: var(--forest-dark);
}

.button-primary:hover {
  background: #df927c;
}

.button-light {
  background: var(--white);
  color: var(--forest);
}

.button-disabled {
  width: 100%;
  background: #98a59f;
  color: rgba(255, 255, 255, 0.86);
  cursor: not-allowed;
}

.hero-book {
  position: absolute;
  right: max(2.5rem, calc((100% - var(--content)) / 2));
  bottom: 3.5rem;
  z-index: 4;
  transform: rotate(3deg);
}

.book {
  position: relative;
  filter: drop-shadow(0 32px 30px rgba(4, 21, 16, 0.36));
  transform-style: preserve-3d;
}

.book-large {
  width: 236px;
  height: 334px;
}

.book-offer {
  width: 284px;
  height: 402px;
  transform: rotate(-3deg);
}

.book-cover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 2.1rem 1.7rem 1.55rem;
  overflow: hidden;
  background: var(--forest);
  color: var(--white);
  border-radius: 2px 6px 6px 2px;
  box-shadow: inset -10px 0 18px rgba(0, 0, 0, 0.12);
}

.book-cover::after {
  content: "";
  position: absolute;
  top: -35%;
  right: -45%;
  width: 90%;
  height: 170%;
  transform: rotate(18deg);
  background: rgba(255, 255, 255, 0.035);
}

.book-spine {
  position: absolute;
  top: 1.5%;
  bottom: 1.5%;
  left: -12px;
  width: 15px;
  background: #09251e;
  transform: skewY(-24deg);
  transform-origin: right center;
  border-radius: 3px 0 0 3px;
}

.cover-brand,
.cover-author {
  position: relative;
  z-index: 1;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
}

.cover-title {
  position: relative;
  z-index: 1;
  margin-top: auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.08rem;
  line-height: 1.02;
}

.book-offer .cover-title {
  font-size: 2.45rem;
}

.cover-rule {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 4px;
  margin: 1.2rem 0 auto;
  background: var(--copper);
  border-radius: 2px;
}

.proof-strip {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(var(--content), calc(100% - 3rem));
  margin: -1px auto 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.proof-strip div {
  padding: 1.45rem 2rem;
  border-right: 1px solid var(--line);
}

.proof-strip div:last-child {
  border-right: 0;
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  color: var(--forest);
  font-size: 0.95rem;
}

.proof-strip span {
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.section {
  padding: 6.5rem 0;
}

.section-inner {
  width: min(var(--content), calc(100% - 3rem));
  margin: 0 auto;
}

.intro {
  background: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 6rem;
  align-items: start;
}

.section-heading h2 {
  max-width: 650px;
}

.intro-copy {
  padding-top: 1.9rem;
  font-size: 1.04rem;
}

.check-list,
.offer-list {
  padding: 0;
  margin: 1.5rem 0;
  list-style: none;
}

.check-list li,
.offer-list li {
  position: relative;
  padding: 0.6rem 0 0.6rem 1.8rem;
  border-bottom: 1px solid var(--line);
}

.check-list li::before,
.offer-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--copper-dark);
  font-weight: 900;
}

.lead-note {
  margin-top: 1.8rem;
  padding-left: 1.1rem;
  color: var(--forest);
  border-left: 3px solid var(--copper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
}

.benefits {
  background: var(--forest);
  color: var(--white);
}

.center-heading {
  max-width: 760px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.center-heading h2 {
  margin-bottom: 0;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.benefit-grid article {
  min-height: 245px;
  padding: 2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.benefit-grid article > span {
  display: block;
  margin-bottom: 2.5rem;
  color: #efab98;
  font-size: 0.78rem;
  font-weight: 800;
}

.benefit-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.contents {
  background: var(--paper);
}

.contents-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 6rem;
  align-items: start;
}

.contents-intro {
  position: sticky;
  top: 2rem;
}

.contents-intro p:not(.eyebrow) {
  max-width: 430px;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  color: var(--forest);
  font-weight: 800;
  text-decoration: none;
}

.contents-list {
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: parts;
  border-top: 1px solid var(--line);
}

.contents-list li {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 0 1.25rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}

.contents-list span {
  grid-row: 1 / 3;
  color: var(--copper-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contents-list strong {
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  font-weight: 400;
}

.contents-list small {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.preview {
  background: var(--white);
}

.preview-heading {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 3rem;
}

.preview-heading h2 {
  margin-bottom: 0;
}

.preview-heading > p {
  margin-bottom: 0.4rem;
  color: var(--muted);
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.preview-page {
  padding: 0;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 4px;
  text-align: left;
  cursor: zoom-in;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.preview-page:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(20, 62, 51, 0.12);
}

.preview-page img {
  width: 100%;
  aspect-ratio: 148 / 210;
  object-fit: cover;
  background: var(--white);
}

.preview-page span {
  display: block;
  min-height: 3.2rem;
  padding: 0.8rem 0.9rem;
  color: var(--forest);
  font-size: 0.82rem;
  font-weight: 750;
}

.author {
  background: var(--mist);
}

.author-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 6rem;
  align-items: center;
}

.author-photo {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.author-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.author-copy {
  max-width: 620px;
}

.author-lead {
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.offer {
  background: var(--forest-dark);
  color: var(--white);
}

.offer-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 6rem;
  align-items: center;
}

.offer-book {
  display: flex;
  justify-content: center;
  padding: 2rem;
}

.offer-copy {
  max-width: 620px;
}

.offer-list li {
  color: rgba(255, 255, 255, 0.78);
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.offer-list li::before {
  color: #efab98;
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  margin: 2rem 0 1.2rem;
}

.price-row span {
  color: rgba(255, 255, 255, 0.66);
}

.price-row strong {
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 400;
}

.offer-note {
  margin: 0.8rem 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
}

.faq {
  background: var(--white);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 6rem;
  align-items: start;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 1.35rem 3rem 1.35rem 0;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0.25rem;
  transform: translateY(-50%);
  color: var(--copper-dark);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 1.5rem;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 720px;
  padding: 0 3rem 1.4rem 0;
  margin: 0;
  color: var(--muted);
}

.closing {
  padding: 5.5rem 0;
  background: var(--copper-dark);
  color: var(--white);
}

.closing-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem 4rem;
  align-items: end;
}

.closing-inner .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -1.2rem;
  color: rgba(255, 255, 255, 0.7);
}

.closing-inner h2 {
  max-width: 800px;
  margin-bottom: 0;
}

.site-footer {
  padding: 2.6rem 0;
  background: #0a1c17;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
}

.footer-inner strong,
.footer-inner span {
  display: block;
}

.footer-inner strong {
  color: var(--white);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-inner p {
  margin: 0;
  text-align: right;
}

.preview-dialog {
  width: min(960px, calc(100% - 2rem));
  max-height: calc(100svh - 2rem);
  padding: 0;
  overflow: hidden;
  background: var(--paper);
  border: 0;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.preview-dialog::backdrop {
  background: rgba(5, 24, 19, 0.82);
  backdrop-filter: blur(5px);
}

.dialog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 3.6rem;
  padding: 0.65rem 0.8rem 0.65rem 1.2rem;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.dialog-toolbar strong {
  color: var(--forest);
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  padding: 0;
  background: transparent;
  color: var(--forest);
  border: 0;
  border-radius: 50%;
  font-size: 1.55rem;
  cursor: pointer;
}

.icon-button:hover {
  background: var(--mist);
}

.dialog-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
  max-height: calc(100svh - 6rem);
  padding: 1.4rem 5rem;
  overflow: auto;
}

.dialog-stage img {
  width: min(520px, 100%);
  height: auto;
  box-shadow: 0 14px 36px rgba(20, 62, 51, 0.14);
}

.dialog-arrow {
  position: fixed;
  top: 50%;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(20, 62, 51, 0.14);
}

.dialog-arrow.previous {
  left: max(1.5rem, calc(50% - 440px));
}

.dialog-arrow.next {
  right: max(1.5rem, calc(50% - 440px));
}

@media (max-width: 1050px) {
  h1 {
    font-size: 4.1rem;
  }

  h2 {
    font-size: 2.8rem;
  }

  .site-header {
    grid-template-columns: auto 1fr;
  }

  .header-nav {
    display: none;
  }

  .header-cta {
    justify-self: end;
  }

  .hero-book {
    right: 2.5rem;
    bottom: 2.6rem;
  }

  .book-large {
    width: 190px;
    height: 269px;
  }

  .book-large .cover-title {
    font-size: 1.65rem;
  }

  .intro-grid,
  .contents-layout,
  .author-layout,
  .offer-layout,
  .faq-layout {
    gap: 3.5rem;
  }
}

@media (max-width: 820px) {
  h1 {
    font-size: 3.35rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .section {
    padding: 4.8rem 0;
  }

  .hero-photo {
    object-position: 60% center;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(8, 34, 27, 0.95) 0%, rgba(8, 34, 27, 0.8) 56%, rgba(8, 34, 27, 0.32) 100%);
  }

  .hero-content {
    padding-right: 180px;
  }

  .hero-book {
    right: 1.5rem;
  }

  .proof-strip,
  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .proof-strip div,
  .proof-strip div:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-strip div:last-child {
    border-bottom: 0;
  }

  .benefit-grid article {
    min-height: 0;
  }

  .intro-grid,
  .contents-layout,
  .author-layout,
  .offer-layout,
  .faq-layout,
  .preview-heading,
  .closing-inner {
    grid-template-columns: 1fr;
  }

  .contents-intro {
    position: static;
  }

  .preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .author-photo {
    width: min(440px, 100%);
  }

  .closing-inner .eyebrow {
    grid-column: auto;
    margin-bottom: -0.8rem;
  }

  .closing-inner {
    align-items: start;
  }

  .closing-inner .button {
    justify-self: start;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-inner p {
    text-align: center;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 2.75rem;
  }

  h2 {
    font-size: 2rem;
  }

  .draft-bar {
    font-size: 0.7rem;
  }

  .site-header {
    top: 2rem;
    min-height: 4.5rem;
    padding: 0.7rem 1rem;
  }

  .brand {
    font-size: 1.1rem;
  }

  .logo-mark {
    width: 2.25rem;
  }

  .header-cta {
    padding: 0.6rem 0.78rem;
    font-size: 0.75rem;
  }

  .hero {
    min-height: 760px;
  }

  .hero-photo {
    object-position: 69% center;
  }

  .hero-shade {
    background: linear-gradient(180deg, rgba(8, 34, 27, 0.78) 0%, rgba(8, 34, 27, 0.68) 42%, rgba(8, 34, 27, 0.95) 100%);
  }

  .hero-content {
    justify-content: flex-start;
    width: calc(100% - 2rem);
    min-height: 760px;
    padding: 7.3rem 0 17rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-meta {
    font-size: 0.75rem;
  }

  .hero-book {
    right: 1.25rem;
    bottom: 1.7rem;
  }

  .book-large {
    width: 150px;
    height: 212px;
  }

  .book-large .book-cover {
    padding: 1.25rem 1rem 1rem;
  }

  .book-large .cover-title {
    font-size: 1.35rem;
  }

  .book-large .cover-brand,
  .book-large .cover-author {
    font-size: 0.48rem;
  }

  .proof-strip,
  .section-inner {
    width: calc(100% - 2rem);
  }

  .proof-strip div {
    padding: 1.1rem 1.25rem;
  }

  .section {
    padding: 4rem 0;
  }

  .intro-copy {
    padding-top: 0;
    font-size: 1rem;
  }

  .benefit-grid article {
    padding: 1.5rem;
  }

  .benefit-grid article > span {
    margin-bottom: 1rem;
  }

  .contents-list li {
    grid-template-columns: 60px 1fr;
    gap: 0 0.8rem;
  }

  .contents-list strong {
    font-size: 1.12rem;
  }

  .preview-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .preview-page span {
    min-height: 3.7rem;
    padding: 0.65rem;
    font-size: 0.74rem;
  }

  .author-layout,
  .offer-layout {
    gap: 2.5rem;
  }

  .book-offer {
    width: 220px;
    height: 311px;
  }

  .book-offer .book-cover {
    padding: 1.7rem 1.35rem 1.25rem;
  }

  .book-offer .cover-title {
    font-size: 1.9rem;
  }

  .price-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .faq-list summary {
    padding-right: 2.5rem;
    font-size: 1.12rem;
  }

  .dialog-stage {
    min-height: 0;
    padding: 1rem 3.5rem;
  }

  .dialog-arrow.previous {
    left: 0.7rem;
  }

  .dialog-arrow.next {
    right: 0.7rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

/* WordPress storefront adjustments. */
.site-header {
  top: 0;
}

body.admin-bar .site-header {
  top: 32px;
}

.purchase-button {
  display: inline-flex;
  width: 100%;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  text-align: center;
}

.bundle-button {
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
  justify-content: center;
  margin-top: 0.9rem;
  white-space: nowrap;
}

.footer-inner p a {
  color: inherit;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

/* Product-suite extension */
.header-nav {
  gap: 1.25rem;
}

.header-nav a {
  font-size: 0.8rem;
}

.hero-shade {
  background: rgba(7, 31, 25, 0.78);
}

.hero-content {
  padding-right: 430px;
}

.hero-content h1 {
  max-width: 760px;
  font-size: 4.35rem;
}

.hero-book-stack {
  position: absolute;
  right: max(2.5rem, calc((100% - var(--content)) / 2));
  bottom: 3.2rem;
  z-index: 4;
  width: 390px;
  height: 390px;
}

.hero-book-stack .book {
  position: absolute;
}

.hero-book-stack .book-first {
  right: 0;
  bottom: 0;
  transform: rotate(4deg);
}

.hero-book-stack .book-second {
  left: 5px;
  top: 8px;
  transform: rotate(-7deg) scale(0.9);
}

.book-marketing .book-cover,
.mini-book.marketing {
  background: #405b50;
}

.book-marketing .book-spine {
  background: #203a31;
}

.book-marketing .cover-rule,
.mini-book.marketing i {
  background: #f0c86a;
}

.paths {
  background: #e8eeea;
}

.paths-heading {
  margin-bottom: 3rem;
}

.paths-heading p:last-child {
  max-width: 720px;
  margin: 1rem auto 0;
  color: var(--muted);
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.path-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--forest);
  border-radius: 6px;
}

.path-card.featured {
  border-top-color: var(--copper);
}

.path-card.web-path {
  border-top-color: #f0c86a;
}

.path-topline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.35rem;
  color: var(--copper-dark);
}

.path-topline span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
}

.path-topline small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
  text-align: right;
  text-transform: uppercase;
}

.mini-book {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 166px;
  height: 222px;
  padding: 1.15rem;
  margin: 0 auto 1.6rem;
  background: var(--forest);
  color: var(--white);
  border-radius: 2px 6px 6px 2px;
  box-shadow: 9px 14px 24px rgba(12, 43, 35, 0.2);
}

.mini-book::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: -8px;
  width: 9px;
  background: var(--forest-dark);
  border-radius: 3px 0 0 3px;
}

.mini-book span {
  font-size: 0.45rem;
  font-weight: 800;
}

.mini-book strong {
  margin-top: auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.48rem;
  font-weight: 400;
  line-height: 1.02;
}

.mini-book i {
  display: block;
  width: 100%;
  height: 3px;
  margin: 0.8rem 0 1.2rem;
  background: var(--copper);
}

.mini-browser {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 280px;
  height: 222px;
  margin: 0 auto 1.6rem;
  overflow: hidden;
  background: #dfe7e2;
  border: 1px solid #b9c7c0;
  border-radius: 6px;
  box-shadow: 9px 14px 24px rgba(12, 43, 35, 0.14);
}

.mini-browser > div {
  display: flex;
  gap: 5px;
  padding: 9px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.mini-browser b {
  width: 7px;
  height: 7px;
  background: var(--copper);
  border-radius: 50%;
}

.mini-browser span,
.mini-browser strong {
  padding-inline: 1.2rem;
}

.mini-browser span {
  margin-top: 2.2rem;
  color: var(--copper-dark);
  font-size: 0.55rem;
  font-weight: 800;
}

.mini-browser strong {
  margin-top: 0.5rem;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  line-height: 1.08;
}

.mini-browser i {
  width: 105px;
  height: 24px;
  margin: 1rem 1.2rem;
  background: var(--copper);
  border-radius: 3px;
}

.path-card h3 {
  color: var(--forest);
  font-size: 1.55rem;
}

.path-card > p {
  min-height: 7.8rem;
  color: var(--muted);
  font-size: 0.91rem;
}

.path-card ul {
  padding: 0;
  margin: 0 0 1.5rem;
  list-style: none;
  border-top: 1px solid var(--line);
}

.path-card li {
  padding: 0.65rem 0;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
}

.path-link {
  margin-top: auto;
  color: var(--forest);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.path-link:hover {
  color: var(--copper-dark);
}

.status-label {
  margin-top: 0.7rem;
  color: var(--copper-dark);
  font-size: 0.69rem;
  font-weight: 800;
  text-transform: uppercase;
}

.path-card > .path-price {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  min-height: 0;
  margin: 0 0 1rem;
  color: var(--forest);
}

.path-price strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
}

.path-price span {
  color: var(--muted);
  font-size: 0.72rem;
  text-align: right;
}

.path-price-text strong {
  max-width: 170px;
  font-size: 1.25rem;
  line-height: 1.12;
}

.bundle-offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2.5rem;
  margin-top: 1.4rem;
  padding: 1.6rem 1.8rem;
  color: var(--white);
  background: var(--forest);
  border-radius: 6px;
}

.bundle-offer small {
  color: #efca6c;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.bundle-offer > div:first-child > strong {
  display: block;
  margin: 0.35rem 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 400;
}

.bundle-offer p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
}

.bundle-price {
  min-width: 180px;
  padding-left: 2rem;
  border-left: 1px solid rgba(255, 255, 255, 0.24);
  text-align: right;
}

.bundle-price span,
.bundle-price small {
  display: block;
}

.bundle-price span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  text-decoration: line-through;
}

.bundle-price strong {
  display: block;
  margin: 0.25rem 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.3rem;
  font-weight: 400;
  line-height: 1;
}

.preview-page span small {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--copper-dark);
  font-size: 0.62rem;
  text-transform: uppercase;
}

.marketing-book-section {
  background: var(--forest-dark);
  color: var(--white);
}

.marketing-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 6rem;
  align-items: center;
}

.marketing-book-visual {
  display: flex;
  justify-content: center;
  padding: 2rem;
}

.marketing-copy {
  max-width: 680px;
}

.marketing-copy h2 {
  max-width: 660px;
}

.marketing-lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
}

.book-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.book-facts span {
  padding: 1.15rem 1rem;
  color: rgba(255, 255, 255, 0.66);
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.75rem;
  text-align: center;
}

.book-facts span:last-child {
  border-right: 0;
}

.book-facts strong {
  display: block;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  font-weight: 400;
}

.bonus-showcase {
  background: var(--paper);
}

.bonus-heading {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 5rem;
  align-items: end;
  margin-bottom: 3rem;
}

.bonus-heading h2 {
  margin-bottom: 0;
}

.bonus-heading > p {
  margin-bottom: 0.4rem;
  color: var(--muted);
}

.template-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.template-grid figure {
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.template-grid img {
  width: 100%;
  height: 430px;
  object-fit: contain;
  background: #e7ece9;
}

.template-grid figcaption {
  padding: 0.9rem 1rem;
  color: var(--forest);
  font-size: 0.82rem;
  font-weight: 800;
  border-top: 1px solid var(--line);
}

.bonus-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem 1.2rem;
  margin-top: 2rem;
}

.bonus-list span {
  padding: 0.6rem 0.8rem;
  color: var(--forest);
  border-left: 3px solid var(--copper);
  font-size: 0.82rem;
  font-weight: 700;
}

.web-service {
  background: var(--white);
}

.web-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.web-copy h2 {
  max-width: 650px;
}

.web-lead {
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
}

.button-outline-disabled {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  cursor: not-allowed;
}

.button-outline {
  color: var(--forest);
  background: transparent;
  border: 1px solid var(--forest);
}

.button-outline:hover {
  color: var(--white);
  background: var(--forest);
}

.offer-price {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  margin: 1.5rem 0 1rem;
}

.offer-price strong {
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.7rem;
  font-weight: 400;
  line-height: 1;
}

.offer-price span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
}

.website-mockup {
  overflow: hidden;
  background: var(--white);
  border: 1px solid #b9c7c0;
  border-radius: 6px;
  box-shadow: 0 24px 60px rgba(12, 43, 35, 0.16);
}

.mockup-toolbar {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 1rem;
  background: #edf1ee;
  border-bottom: 1px solid var(--line);
}

.mockup-toolbar i {
  width: 9px;
  height: 9px;
  background: var(--copper);
  border-radius: 50%;
}

.mockup-toolbar span {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.7rem;
}

.mockup-screen {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  background: var(--forest-dark);
}

.mockup-screen img,
.mockup-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.mockup-screen img {
  object-fit: cover;
  object-position: center;
}

.mockup-shade {
  background: rgba(8, 34, 27, 0.7);
}

.mockup-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  max-width: 490px;
  min-height: 390px;
  padding: 3rem;
  color: var(--white);
}

.mockup-content small {
  color: #f0c86a;
  font-size: 0.64rem;
  font-weight: 800;
}

.mockup-content strong {
  max-width: 430px;
  margin: 1.2rem 0 1.6rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.45rem;
  font-weight: 400;
  line-height: 1.06;
}

.mockup-content span {
  padding: 0.65rem 1rem;
  background: var(--copper);
  color: var(--forest-dark);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 800;
}

.mockup-footer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 60px;
}

.mockup-footer b {
  display: grid;
  place-items: center;
  color: var(--forest);
  border-right: 1px solid var(--line);
  font-size: 0.72rem;
}

.mockup-footer b:last-child {
  border-right: 0;
}

.draft-offer {
  background: var(--copper-dark);
  color: var(--white);
}

.draft-offer-inner {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 5rem;
  align-items: end;
}

.draft-offer-inner h2,
.draft-offer-inner p {
  margin-bottom: 0;
}

.draft-offer-inner > p {
  color: rgba(255, 255, 255, 0.74);
}

@media (max-width: 1050px) {
  .hero-content {
    padding-right: 350px;
  }

  .hero-content h1 {
    font-size: 3.75rem;
  }

  .hero-book-stack {
    right: 2rem;
    width: 330px;
  }

  .path-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .path-card.web-path {
    grid-column: 1 / -1;
  }

  .path-card > p {
    min-height: 0;
  }

  .marketing-layout,
  .web-layout {
    gap: 3.5rem;
  }

  .bonus-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .hero-shade {
    background: rgba(7, 31, 25, 0.78);
  }

  .hero-content {
    padding-right: 230px;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-book-stack {
    right: 1rem;
    bottom: 2rem;
    width: 245px;
    height: 310px;
  }

  .hero-book-stack .book-large {
    width: 150px;
    height: 212px;
  }

  .hero-book-stack .book-large .book-cover {
    padding: 1.25rem 1rem 1rem;
  }

  .hero-book-stack .book-large .cover-title {
    font-size: 1.32rem;
  }

  .path-grid,
  .marketing-layout,
  .web-layout,
  .bonus-heading,
  .draft-offer-inner {
    grid-template-columns: 1fr;
  }

  .path-card.web-path {
    grid-column: auto;
  }

  .marketing-book-visual {
    justify-content: flex-start;
  }

  .template-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .template-grid figure:last-child {
    grid-column: 1 / -1;
  }

  .draft-offer-inner {
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: 735px;
  }

  .hero-shade {
    background: rgba(7, 31, 25, 0.8);
  }

  .hero-content {
    width: calc(100% - 2rem);
    min-height: 735px;
    padding: 6.8rem 0 9rem;
  }

  .hero-content h1 {
    font-size: 2.45rem;
  }

  .hero-book-stack {
    right: 1rem;
    bottom: 0.75rem;
    width: 170px;
    height: 145px;
  }

  .hero-book-stack .book-large {
    width: 90px;
    height: 127px;
  }

  .hero-book-stack .book-large .cover-title {
    font-size: 0.75rem;
  }

  .hero-book-stack .book-large .cover-brand,
  .hero-book-stack .book-large .cover-author {
    font-size: 0.3rem;
  }

  .path-card {
    padding: 1.3rem;
  }

  .bundle-offer {
    grid-template-columns: 1fr;
    gap: 1.3rem;
    padding: 1.4rem;
  }

  .bundle-price {
    padding: 1.2rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
    border-left: 0;
    text-align: left;
  }

  .offer-price {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }

  .path-topline small {
    max-width: 190px;
  }

  .preview-grid,
  .template-grid,
  .bonus-list {
    grid-template-columns: 1fr 1fr;
  }

  .template-grid figure:last-child {
    grid-column: 1 / -1;
  }

  .template-grid img {
    height: 300px;
  }

  .bonus-list {
    gap: 0.65rem;
  }

  .bonus-list span {
    padding: 0.5rem 0.6rem;
    font-size: 0.73rem;
  }

  .marketing-book-visual {
    justify-content: center;
    padding: 0.5rem;
  }

  .book-facts {
    grid-template-columns: 1fr;
  }

  .book-facts span,
  .book-facts span:last-child {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .book-facts span:last-child {
    border-bottom: 0;
  }

  .website-mockup {
    margin-inline: -0.25rem;
  }

  .mockup-screen,
  .mockup-content {
    min-height: 330px;
  }

  .mockup-content {
    padding: 2rem;
  }

  .mockup-content strong {
    font-size: 2rem;
  }

  .mockup-footer {
    grid-template-columns: repeat(2, 1fr);
  }

  .mockup-footer b {
    min-height: 44px;
    border-bottom: 1px solid var(--line);
  }
}


/* Odkazy z karet na plné prodejní stránky e-booků. */
.path-title-link {
  color: inherit;
  text-decoration: none;
}
.path-title-link:hover,
.path-title-link:focus-visible {
  color: var(--sage-deep, #415b49);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
