:root {
  --cream: #f6f0e3;
  --paper: #fffaf0;
  --paper-deep: #ede2cd;
  --forest: #173f2a;
  --forest-soft: #24523a;
  --sage: #78864b;
  --olive: #6d7136;
  --moss: #a1a76f;
  --soil: #5d402d;
  --clay: #b86139;
  --clay-dark: #934626;
  --ink: #292820;
  --muted: #6e6a5e;
  --line: rgba(59, 72, 44, 0.2);
  --shadow: 0 20px 60px rgba(49, 45, 32, 0.12);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shell: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 12%, rgba(120, 134, 75, 0.06), transparent 24rem),
    var(--cream);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.28;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  padding: 112px 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: var(--forest);
  border-radius: 4px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--clay-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #e9bc92;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.06;
}

h1 {
  max-width: 760px;
  margin-bottom: 4px;
  font-size: clamp(3.15rem, 6.4vw, 6.35rem);
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.35rem, 4.5vw, 4.25rem);
  letter-spacing: -0.045em;
}

h3 {
  font-size: 1.45rem;
}

.section-heading {
  max-width: 700px;
}

.section-heading > p:last-child,
.method-heading > p:last-child,
.faq-heading > p:last-child {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.08rem;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 23px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
.text-link:focus-visible,
.filter-chip:focus-visible,
.problem-choice:focus-visible,
.menu-toggle:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(184, 97, 57, 0.42);
  outline-offset: 4px;
}

.button-primary {
  color: #fff;
  background: var(--forest);
  box-shadow: 0 13px 30px rgba(23, 63, 42, 0.17);
}

.button-primary:hover {
  background: #0f3421;
}

.button-clay {
  color: #fff;
  background: var(--clay);
}

.button-clay:hover {
  background: #cb7046;
}

.button-outline {
  color: var(--forest);
  background: transparent;
  border-color: rgba(23, 63, 42, 0.4);
}

.button-outline:hover {
  color: #fff;
  background: var(--forest);
}

.button-cream {
  color: var(--forest);
  background: var(--cream);
}

.button-cream:hover {
  background: #fffdf6;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 0 5px;
  color: var(--forest);
  background: none;
  border: 0;
  border-bottom: 1px solid currentColor;
  font-size: 0.91rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.text-link::after {
  content: "→";
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  background: rgba(246, 240, 227, 0.9);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 28px rgba(49, 45, 32, 0.06);
}

.header-inner {
  display: flex;
  height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: block;
  width: 178px;
}

.brand img {
  width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  color: #3b4234;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.main-nav a:hover {
  color: var(--forest);
}

.main-nav .nav-cta {
  padding: 11px 16px;
  color: #fff;
  background: var(--forest);
  border-radius: 3px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 0;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--forest);
}

.hero {
  position: relative;
  min-height: 850px;
  padding: 184px 0 146px;
  overflow: hidden;
}

.hero::after {
  position: absolute;
  top: 117px;
  right: -150px;
  width: 620px;
  height: 620px;
  content: "";
  background: radial-gradient(circle, rgba(180, 147, 84, 0.21), rgba(180, 147, 84, 0) 68%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 74px;
}

.hero-emphasis {
  margin-bottom: 25px;
  color: var(--forest);
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 4rem);
  font-style: italic;
  line-height: 1.1;
}

.hero-lead {
  max-width: 660px;
  margin-bottom: 30px;
  color: #575447;
  font-family: var(--serif);
  font-size: clamp(1.14rem, 1.7vw, 1.4rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  padding: 28px 0 0;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  list-style: none;
}

.hero-proof li {
  position: relative;
  padding-left: 17px;
}

.hero-proof li::before {
  position: absolute;
  top: 0.52em;
  left: 0;
  width: 6px;
  height: 6px;
  content: "";
  background: var(--clay);
  border-radius: 50%;
}

.hero-visual {
  position: relative;
  min-height: 510px;
}

.sun-disc {
  position: absolute;
  top: 0;
  right: 2%;
  width: 350px;
  height: 350px;
  background: #d5c384;
  border-radius: 50%;
  opacity: 0.7;
}

.book-garden {
  position: absolute;
  inset: 45px 0 0;
  perspective: 1200px;
}

.book {
  position: absolute;
  display: flex;
  width: 205px;
  height: 340px;
  flex-direction: column;
  padding: 26px 23px;
  color: #f8f0df;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 2px 7px 7px 2px;
  box-shadow: -12px 18px 44px rgba(46, 39, 26, 0.2), inset 9px 0 16px rgba(0, 0, 0, 0.12);
  transform-style: preserve-3d;
}

.book::after {
  position: absolute;
  top: 6px;
  right: -13px;
  width: 13px;
  height: calc(100% - 12px);
  content: "";
  background: linear-gradient(90deg, #e7dcc3, #fff9eb);
  transform: rotateY(38deg);
  transform-origin: left;
}

.book strong {
  margin-top: 58px;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.02;
}

.book-kicker {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.book-mark {
  position: absolute;
  right: 20px;
  bottom: 18px;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
}

.book-subline {
  max-width: 120px;
  margin-top: 15px;
  font-size: 0.62rem;
  line-height: 1.4;
}

.book-back {
  top: 36px;
  right: 10px;
  background: #7e633f;
  transform: rotate(7deg) rotateY(-17deg) scale(0.9);
}

.book-middle {
  top: 78px;
  left: 35px;
  background: var(--olive);
  transform: rotate(-9deg) rotateY(16deg) scale(0.93);
}

.book-front {
  top: 128px;
  left: 165px;
  z-index: 3;
  background:
    radial-gradient(circle at 83% 20%, rgba(255, 255, 255, 0.12), transparent 23%),
    var(--forest);
  transform: rotate(1deg) rotateY(-7deg);
}

.visual-note {
  position: absolute;
  right: 14px;
  bottom: 2px;
  margin: 0;
  color: #777162;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.hero-botanical {
  position: absolute;
  bottom: 40px;
  left: -50px;
  width: 210px;
  color: var(--sage);
  opacity: 0.18;
}

.hero-botanical svg path,
.hero-botanical svg ellipse {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.hero-ground {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 120px;
  color: var(--paper);
}

.hero-ground path {
  fill: currentColor;
}

.problem-finder {
  background: var(--paper);
}

.finder-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 90px;
}

.problem-list {
  border-top: 1px solid var(--line);
}

.problem-choice {
  display: grid;
  width: 100%;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 24px 4px;
  color: var(--ink);
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: color 180ms ease, padding 180ms ease;
}

.problem-choice:hover {
  padding-left: 12px;
  color: var(--forest);
}

.problem-number {
  color: var(--clay);
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
}

.problem-choice strong,
.problem-choice small {
  display: block;
}

.problem-choice strong {
  margin-bottom: 3px;
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 600;
}

.problem-choice small {
  color: var(--muted);
}

.problem-arrow {
  font-size: 1.45rem;
  transition: transform 180ms ease;
}

.problem-choice:hover .problem-arrow {
  transform: translateX(5px);
}

.section-dark {
  position: relative;
  color: #f8f1e3;
  background:
    radial-gradient(circle at 14% 9%, rgba(207, 184, 118, 0.13), transparent 23rem),
    var(--forest);
  overflow: hidden;
}

.section-dark::after {
  position: absolute;
  right: -140px;
  bottom: -210px;
  width: 540px;
  height: 540px;
  content: "";
  border: 1px solid rgba(237, 226, 205, 0.13);
  border-radius: 50%;
}

.featured-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 110px;
}

.featured-cover {
  display: flex;
  justify-content: center;
  perspective: 1400px;
}

.featured-book {
  position: relative;
  display: flex;
  width: min(350px, 100%);
  aspect-ratio: 2 / 3;
  flex-direction: column;
  padding: 43px 38px 36px;
  color: #f8f0df;
  background:
    radial-gradient(circle at 85% 10%, rgba(211, 191, 127, 0.2), transparent 23%),
    linear-gradient(160deg, #315d3d, #173f2a 62%, #102f20);
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 2px 8px 8px 2px;
  box-shadow: -20px 25px 70px rgba(0, 0, 0, 0.35), inset 14px 0 24px rgba(0, 0, 0, 0.14);
  transform: rotateY(8deg) rotate(-1.5deg);
}

.featured-book::after {
  position: absolute;
  top: 8px;
  right: -17px;
  width: 18px;
  height: calc(100% - 16px);
  content: "";
  background: linear-gradient(90deg, #cfc4ad, #fff8e7 68%, #d8cdb8);
  transform: rotateY(33deg);
  transform-origin: left;
}

.cover-brand {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.cover-rule {
  width: 38px;
  height: 2px;
  margin: 24px 0 28px;
  background: #d8bd7c;
}

.featured-book strong {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 4vw, 3.4rem);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.cover-subtitle {
  max-width: 230px;
  margin-top: 21px;
  color: #d9d8c3;
  font-family: var(--serif);
  font-size: 0.82rem;
  font-style: italic;
  line-height: 1.45;
}

.featured-book svg {
  position: absolute;
  right: 25px;
  bottom: 38px;
  width: 64%;
  color: #adc18b;
  opacity: 0.62;
}

.featured-book svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.featured-book svg path:not(:first-child):not(.water-path) {
  fill: rgba(173, 193, 139, 0.23);
}

.featured-book .water-path {
  color: #b9d4ce;
}

.cover-edition {
  position: absolute;
  bottom: 29px;
  left: 38px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.featured-copy h2 {
  max-width: 700px;
}

.featured-intro {
  max-width: 680px;
  margin-bottom: 32px;
  color: #d6d7c9;
  font-family: var(--serif);
  font-size: 1.24rem;
  line-height: 1.63;
}

.featured-details {
  display: flex;
  gap: 0;
  padding: 25px 0;
  margin-bottom: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.featured-details div {
  display: grid;
  min-width: 128px;
  padding: 0 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.featured-details div:first-child {
  padding-left: 0;
}

.featured-details div:last-child {
  border-right: 0;
}

.featured-details span {
  color: #e6be8f;
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
}

.featured-details small {
  margin-top: 7px;
  color: #bec9bc;
  font-size: 0.72rem;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0 0 34px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 27px;
  color: #e2e6dc;
}

.check-list li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 13px;
  height: 1px;
  content: "";
  background: #e6be8f;
}

.featured-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.checkout-note {
  max-width: 170px;
  color: #9fb0a0;
  font-size: 0.72rem;
  line-height: 1.4;
}

.catalog {
  background: var(--cream);
}

.catalog-heading {
  display: grid;
  grid-template-columns: 1fr 0.56fr;
  align-items: end;
  gap: 60px;
  margin-bottom: 52px;
}

.catalog-intro {
  padding-bottom: 8px;
  color: var(--muted);
}

.catalog-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  padding: 9px 13px;
  color: #5c6354;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 750;
  cursor: pointer;
}

.filter-chip:hover,
.filter-chip.is-active {
  color: var(--forest);
  background: rgba(120, 134, 75, 0.11);
  border-color: rgba(120, 134, 75, 0.2);
}

.search-field {
  display: flex;
  min-width: 270px;
  align-items: center;
  gap: 10px;
  padding: 7px 2px;
  border-bottom: 1px solid rgba(23, 63, 42, 0.35);
}

.search-field svg {
  width: 18px;
  color: var(--forest);
}

.search-field svg circle,
.search-field svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.search-field input {
  width: 100%;
  padding: 4px 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
}

.search-field input::placeholder {
  color: #8a867a;
}

.catalog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 23px 0 26px;
  color: var(--muted);
  font-size: 0.76rem;
}

.catalog-meta p {
  margin: 0;
}

.catalog-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.catalog-status span {
  width: 7px;
  height: 7px;
  background: var(--clay);
  border-radius: 50%;
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.product-card {
  position: relative;
  display: grid;
  min-height: 356px;
  grid-template-columns: 156px 1fr;
  gap: 29px;
  padding: 28px;
  background: rgba(255, 250, 240, 0.66);
  border: 1px solid rgba(77, 79, 57, 0.15);
  border-radius: 4px;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.product-card:hover {
  background: var(--paper);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.product-card[hidden] {
  display: none;
}

.product-cover {
  position: relative;
  display: flex;
  width: 100%;
  height: 234px;
  flex-direction: column;
  padding: 18px 15px;
  color: #fff9ea;
  background: var(--cover-color, var(--forest));
  border-radius: 1px 5px 5px 1px;
  box-shadow: -8px 10px 22px rgba(51, 46, 33, 0.2), inset 7px 0 11px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.product-cover::before {
  position: absolute;
  top: -58px;
  right: -62px;
  width: 150px;
  height: 150px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
}

.product-cover::after {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 54px;
  height: 82px;
  content: "";
  opacity: 0.32;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 110'%3E%3Cg fill='none' stroke='%23fff8e8' stroke-width='2'%3E%3Cpath d='M34 108V8M34 49C18 44 9 32 7 16C24 14 32 26 34 43M34 76C50 71 60 59 63 43C47 41 37 52 34 68'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
}

.product-cover-kicker {
  font-size: 0.49rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.product-cover-title {
  position: relative;
  z-index: 1;
  margin-top: 34px;
  font-family: var(--serif);
  font-size: 1.37rem;
  font-weight: 500;
  line-height: 1.02;
}

.product-cover-number {
  position: absolute;
  bottom: 14px;
  left: 15px;
  font-family: var(--serif);
  font-size: 0.95rem;
  font-style: italic;
}

.product-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.product-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.product-type {
  color: var(--clay-dark);
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.product-status {
  padding: 4px 7px;
  color: #6a7051;
  background: rgba(120, 134, 75, 0.1);
  border-radius: 2px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-status.is-live {
  color: #fff;
  background: var(--forest);
}

.product-copy h3 {
  margin-bottom: 7px;
  font-size: 1.45rem;
}

.product-subtitle {
  margin-bottom: 13px;
  color: var(--olive);
  font-family: var(--serif);
  font-size: 0.86rem;
  font-style: italic;
  line-height: 1.35;
}

.product-summary {
  margin-bottom: 17px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: auto;
  margin-bottom: 16px;
  color: #777366;
  font-size: 0.69rem;
  font-weight: 700;
}

.product-meta span + span::before {
  padding-right: 14px;
  color: var(--clay);
  content: "•";
}

.product-action {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  padding: 0 0 4px;
  color: var(--forest);
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  font-size: 0.78rem;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.product-action::after {
  content: "→";
}

.product-action[disabled] {
  color: #918c7e;
  border-color: transparent;
  cursor: default;
}

.product-action[disabled]::after {
  content: "";
}

.catalog-more {
  display: flex;
  justify-content: center;
  padding-top: 38px;
}

.empty-state {
  padding: 55px 0;
  color: var(--muted);
  text-align: center;
}

.pathway {
  background: var(--paper);
}

.pathway-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 110px;
}

.pathway-copy p:not(.eyebrow) {
  max-width: 520px;
  color: var(--muted);
}

.pathway-link {
  margin-top: 13px;
}

.pathway-steps {
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.pathway-steps li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.pathway-steps > li > span {
  color: var(--clay);
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
}

.pathway-steps strong,
.pathway-steps small {
  display: block;
}

.pathway-steps strong {
  margin-bottom: 3px;
  font-family: var(--serif);
  font-size: 1.22rem;
}

.pathway-steps small {
  color: var(--muted);
}

.method {
  background: #e8dfca;
}

.method-heading {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  column-gap: 70px;
  align-items: end;
  margin-bottom: 60px;
}

.method-heading .eyebrow {
  grid-column: 1 / -1;
}

.method-heading h2,
.method-heading p:last-child {
  margin-bottom: 0;
}

.method-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(67, 68, 46, 0.25);
  border-bottom: 1px solid rgba(67, 68, 46, 0.25);
}

.principle {
  min-height: 255px;
  padding: 32px 38px 36px 0;
  border-right: 1px solid rgba(67, 68, 46, 0.25);
}

.principle + .principle {
  padding-left: 38px;
}

.principle:last-child {
  padding-right: 0;
  border-right: 0;
}

.principle-index {
  color: var(--clay);
  font-family: var(--serif);
  font-size: 0.88rem;
  font-style: italic;
}

.principle h3 {
  margin: 34px 0 13px;
}

.principle p {
  color: #625f51;
  font-size: 0.91rem;
}

.source-note {
  display: grid;
  max-width: 850px;
  grid-template-columns: 74px 1fr;
  align-items: center;
  gap: 27px;
  padding-top: 55px;
  margin-inline: auto;
}

.source-note svg {
  color: var(--forest);
}

.source-note circle,
.source-note path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.source-note p {
  margin: 0;
  color: #555245;
  font-family: var(--serif);
  font-size: 1.08rem;
}

.source-note strong {
  color: var(--forest);
}

.faq {
  background: var(--paper);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 100px;
}

.faq-heading {
  position: sticky;
  top: 125px;
  align-self: start;
}

.accordion {
  border-top: 1px solid var(--line);
}

.accordion details {
  border-bottom: 1px solid var(--line);
}

.accordion summary {
  position: relative;
  padding: 25px 46px 25px 0;
  font-family: var(--serif);
  font-size: 1.13rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary span::before,
.accordion summary span::after {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 15px;
  height: 1px;
  content: "";
  background: var(--forest);
  transition: transform 180ms ease;
}

.accordion summary span::after {
  transform: rotate(90deg);
}

.accordion details[open] summary span::after {
  transform: rotate(0deg);
}

.accordion details p {
  max-width: 680px;
  padding: 0 30px 24px 0;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.closing-cta {
  position: relative;
  padding: 110px 0;
  color: #fff9eb;
  background: var(--clay-dark);
  overflow: hidden;
}

.closing-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.closing-inner h2 {
  max-width: 840px;
  margin: 0 auto 36px;
}

.closing-art {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(560px, 65vw);
  height: 100%;
  color: #ffd8af;
  opacity: 0.12;
  transform: translateX(-50%);
}

.closing-art svg {
  width: 100%;
  height: 100%;
}

.closing-art path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.site-footer {
  padding: 58px 0;
  color: #d7ddcf;
  background: #112f20;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.75fr 0.75fr;
  gap: 70px;
  align-items: end;
}

.footer-brand img {
  width: 190px;
  height: auto;
  margin-bottom: 15px;
  filter: brightness(0) invert(1);
  opacity: 0.86;
}

.footer-brand p,
.footer-legal p {
  margin-bottom: 5px;
  color: #9cb09d;
  font-size: 0.78rem;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.footer-legal {
  text-align: right;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: grid;
  width: min(380px, calc(100vw - 44px));
  gap: 4px;
  padding: 17px 19px;
  color: #f8f2e5;
  background: #163c28;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  box-shadow: 0 18px 45px rgba(28, 27, 20, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast strong {
  font-family: var(--serif);
  font-size: 1rem;
}

.toast span {
  color: #bdcbbb;
  font-size: 0.76rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1050px) {
  .hero-inner {
    grid-template-columns: 1fr 0.8fr;
    gap: 24px;
  }

  .book-middle {
    left: 0;
  }

  .book-front {
    left: 90px;
  }

  .finder-grid,
  .featured-grid,
  .pathway-grid,
  .faq-grid {
    gap: 60px;
  }

  .product-card {
    grid-template-columns: 128px 1fr;
    gap: 22px;
    padding: 23px;
  }

  .product-cover {
    height: 202px;
  }

  .product-cover-title {
    font-size: 1.13rem;
  }

  .catalog-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .search-field {
    min-width: 0;
    max-width: 420px;
  }
}

@media (max-width: 820px) {
  :root {
    --shell: min(100% - 32px, 680px);
  }

  .section {
    padding: 82px 0;
  }

  .header-inner {
    height: 72px;
  }

  .brand {
    width: 148px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 15px 16px 22px;
    background: rgba(246, 240, 227, 0.98);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 13px 7px;
  }

  .main-nav .nav-cta {
    margin-top: 8px;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding: 132px 0 120px;
  }

  .hero-inner,
  .finder-grid,
  .featured-grid,
  .pathway-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 50px;
  }

  .hero-visual {
    min-height: 430px;
  }

  .sun-disc {
    right: 8%;
    width: 300px;
    height: 300px;
  }

  .book-garden {
    width: 480px;
    max-width: 100%;
    margin-inline: auto;
  }

  .visual-note {
    right: auto;
    left: 50%;
    width: 100%;
    text-align: center;
    transform: translateX(-50%);
  }

  .featured-cover {
    order: 2;
  }

  .featured-copy {
    order: 1;
  }

  .catalog-heading,
  .method-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .method-heading .eyebrow {
    grid-column: auto;
  }

  .book-grid {
    grid-template-columns: 1fr;
  }

  .method-principles {
    grid-template-columns: 1fr;
  }

  .principle,
  .principle + .principle {
    min-height: 0;
    padding: 29px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(67, 68, 46, 0.25);
  }

  .principle:last-child {
    border-bottom: 0;
  }

  .principle h3 {
    margin-top: 18px;
  }

  .faq-heading {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  :root {
    --shell: calc(100vw - 28px);
  }

  h1 {
    font-size: clamp(2.8rem, 14vw, 4.15rem);
  }

  h2 {
    font-size: clamp(2.2rem, 11vw, 3.2rem);
  }

  .section {
    padding: 70px 0;
  }

  .hero {
    padding-top: 120px;
  }

  .hero-actions,
  .featured-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .featured-actions .button {
    width: 100%;
  }

  .hero-actions .text-link {
    align-self: flex-start;
  }

  .hero-proof {
    display: grid;
    gap: 9px;
  }

  .hero-visual {
    min-height: 350px;
  }

  .sun-disc {
    width: 240px;
    height: 240px;
  }

  .book {
    width: 145px;
    height: 244px;
    padding: 19px 16px;
  }

  .book strong {
    margin-top: 35px;
    font-size: 1.37rem;
  }

  .book-middle {
    top: 52px;
    left: 1%;
  }

  .book-back {
    top: 22px;
    right: 0;
  }

  .book-front {
    top: 84px;
    left: 30%;
  }

  .book-subline {
    display: none;
  }

  .finder-grid {
    gap: 38px;
  }

  .problem-choice {
    grid-template-columns: 36px 1fr auto;
    padding: 20px 0;
  }

  .problem-choice small {
    font-size: 0.72rem;
  }

  .featured-grid {
    gap: 55px;
  }

  .featured-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .featured-details div,
  .featured-details div:first-child {
    min-width: 0;
    padding: 0 10px;
  }

  .featured-details span {
    font-size: 1.55rem;
  }

  .featured-details small {
    font-size: 0.62rem;
  }

  .checkout-note {
    max-width: none;
    text-align: center;
  }

  .filter-row {
    flex-wrap: nowrap;
    padding-bottom: 7px;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .filter-chip {
    flex: 0 0 auto;
  }

  .catalog-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-card {
    min-height: 0;
    grid-template-columns: 102px 1fr;
    gap: 17px;
    padding: 18px;
  }

  .product-cover {
    height: 164px;
    padding: 13px 11px;
  }

  .product-cover-kicker {
    font-size: 0.38rem;
  }

  .product-cover-title {
    margin-top: 24px;
    font-size: 0.92rem;
  }

  .product-cover-number {
    left: 11px;
    bottom: 10px;
    font-size: 0.75rem;
  }

  .product-copy h3 {
    font-size: 1.15rem;
  }

  .product-subtitle {
    font-size: 0.76rem;
  }

  .product-summary {
    display: none;
  }

  .product-meta {
    margin-top: auto;
    font-size: 0.62rem;
  }

  .product-type {
    font-size: 0.57rem;
  }

  .product-status {
    font-size: 0.52rem;
  }

  .source-note {
    grid-template-columns: 54px 1fr;
    gap: 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-legal {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* capas reais dos eBooks */
.product-cover.has-image {
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}
.product-cover.has-image::before,
.product-cover.has-image::after { content: none; }
.product-cover.has-image img {
  display: block;
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 2px 5px 5px 2px;
  box-shadow: -8px 10px 22px rgba(51, 46, 33, 0.28);
}

/* kits */
.kits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 34px;
}
.kit-card {
  display: flex;
  flex-direction: column;
  padding: 24px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.kit-count {
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay-dark);
}
.kit-card h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--forest);
}
.kit-text { margin: 0 0 14px; color: var(--muted); font-size: 0.95rem; }
.kit-list {
  margin: 0 0 18px;
  padding-left: 18px;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.55;
}
.kit-price { margin: 0 0 14px; }
.kit-price strong { font-family: var(--serif); font-size: 1.5rem; color: var(--forest); }
.kit-price span { margin-left: 8px; font-size: 0.85rem; color: var(--clay-dark); }
.kit-card .product-action { margin-top: auto; }

/* mockups 3D dos eBooks */
.product-cover.has-mockup {
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}
.product-cover.has-mockup::before,
.product-cover.has-mockup::after { content: none; }
.product-cover.has-mockup img {
  display: block;
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.hero-mock {
  position: absolute;
  height: auto;
  filter: drop-shadow(0 18px 28px rgba(46, 39, 26, 0.22));
}
.hero-mock-back { top: 20px; right: -6px; width: 215px; transform: rotate(5deg); }
.hero-mock-middle { top: 70px; left: 10px; width: 235px; transform: rotate(-5deg); z-index: 2; }
.hero-mock-front { top: 130px; left: 150px; width: 240px; z-index: 3; }
@media (max-width: 720px) {
  .hero-mock-back { width: 150px; top: 30px; }
  .hero-mock-middle { width: 165px; top: 70px; left: 0; }
  .hero-mock-front { width: 190px; top: 130px; left: 95px; }
}

.kit-visual { display: flex; align-items: center; justify-content: center; height: 150px; margin: -4px 0 14px; }
.kit-visual img { max-width: 100%; max-height: 100%; width: auto; height: auto; }

.featured-cover { display: flex; align-items: center; justify-content: center; }
.featured-mock { display: block; width: min(340px, 78%); height: auto; filter: drop-shadow(0 26px 34px rgba(0, 0, 0, 0.35)); }
