/* The home page uses one continuous visual layer. */
.is-home {
  --home-cream: #f4f0e7;
  --home-paper: #fffdf8;
  --home-paper-soft: rgba(255, 253, 248, 0.84);
  --home-ink: #202522;
  --home-muted: #66706a;
  --home-line: rgba(49, 65, 59, 0.16);
  --home-teal: #2f746c;
  --home-teal-deep: #173f3b;
  --home-sage: #91a495;
  --home-sand: #c7b59a;
  margin: 0;
  color: var(--home-ink);
  background: var(--home-cream);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.is-home *,
.is-home *::before,
.is-home *::after {
  box-sizing: border-box;
}

.is-home main {
  overflow: clip;
}

.is-home > header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-color: rgba(77, 88, 81, 0.14);
  background: rgba(255, 253, 248, 0.9);
  backdrop-filter: blur(16px) saturate(1.05);
  -webkit-backdrop-filter: blur(16px) saturate(1.05);
}

.is-home > footer {
  position: relative;
  z-index: 4;
  margin-top: 0;
  background: #fffdf8;
}

/* These rules keep the site shell usable without the Tailwind script. */
.is-home > header > nav {
  display: flex;
  width: min(100% - 2rem, 64rem);
  min-height: 4.1rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-inline: auto;
}

.is-home > header a,
.is-home > footer a {
  text-decoration: none;
}

.is-home > header > nav > a:first-child {
  flex: 0 0 auto;
  color: #1c2420;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.is-home > header > nav > a:first-child span {
  color: #0f766e;
}

.is-home > header > nav > div:nth-of-type(1) {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-left: auto;
}

.is-home > header > nav > div:nth-of-type(1) a,
.is-home > header #nav-toggle + div a {
  color: #626b65;
  font-size: 0.8rem;
}

.is-home > header > nav > div:nth-of-type(1) a:hover,
.is-home > header #nav-toggle + div a:hover {
  color: #173f3b;
}

.is-home > header > nav > div:last-child {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.is-home > header > nav > div:last-child > a:first-child {
  border-radius: 0.55rem;
  padding: 0.55rem 0.85rem;
  color: #fff;
  background: #0f766e;
  font-size: 0.8rem;
  font-weight: 650;
  white-space: nowrap;
}

.is-home > header > nav > div:last-child > a:not(:first-child) {
  color: #8a918d;
  font-size: 0.76rem;
}

.is-home > header label[for="nav-toggle"] {
  display: none;
  padding: 0.25rem;
  color: #59645e;
  cursor: pointer;
}

.is-home > header .icon-svg {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
}

.is-home #nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.is-home #nav-toggle + div {
  display: none;
  border-top: 1px solid rgba(77, 88, 81, 0.14);
  background: #fffdf8;
}

.is-home #nav-toggle:checked + div {
  display: block;
}

.is-home #nav-toggle + div > div {
  display: grid;
  width: min(100% - 2rem, 64rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem 1.5rem;
  margin-inline: auto;
  padding-block: 1rem;
}

.is-home > footer > div {
  width: min(100% - 2rem, 64rem);
  margin-inline: auto;
  padding-block: 2.5rem;
}

.is-home > footer > div > div:first-child {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
}

.is-home > footer p {
  margin: 0;
}

.is-home > footer ul {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.is-home > footer li + li {
  margin-top: 0.45rem;
}

.is-home > footer a {
  color: #606a64;
  font-size: 0.8rem;
}

.is-home > footer a:hover {
  color: #0f766e;
}

.is-home > footer > div > div:first-child p {
  color: #26302a;
  font-size: 0.82rem;
  font-weight: 700;
}

.is-home > footer > div > div:nth-child(2) {
  margin-top: 2rem;
  border-radius: 0.75rem;
  padding: 0.8rem 1rem;
  color: #5d6761;
  background: #f2f1ed;
  font-size: 0.76rem;
  line-height: 1.5;
}

.is-home > footer > div > div:last-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  color: #727a75;
  font-size: 0.76rem;
}

.home-page {
  color: var(--home-ink);
  background: var(--home-cream);
}

.home-page a {
  text-decoration: none;
}

.home-page .icon-svg {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
}

.home-tool-card__icon .icon-svg {
  width: 1.75rem;
  height: 1.75rem;
}

.home-literature-intro__icon .icon-svg {
  width: 2rem;
  height: 2rem;
}

.home-faq__chevron .icon-svg {
  width: 1.25rem;
  height: 1.25rem;
}

.home-page :focus-visible {
  outline: 3px solid rgba(47, 116, 108, 0.42);
  outline-offset: 4px;
}

.home-page h1,
.home-page h2,
.home-page h3,
.home-page p {
  margin: 0;
}

.home-journey {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background:
    radial-gradient(circle at 72% 8%, rgba(145, 164, 149, 0.18), transparent 28rem),
    var(--home-cream);
}

.home-world {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: clip;
  pointer-events: none;
}

.home-world__sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100svh;
  overflow: hidden;
}

.home-map-canvas,
.home-map-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-map-canvas {
  display: block;
  opacity: 0;
  transition: opacity 700ms ease;
}

.home-map-fallback {
  opacity: 1;
  transition: opacity 500ms ease;
}

.home-journey.is-canvas-ready .home-map-canvas {
  opacity: 1;
}

.home-journey.is-canvas-ready .home-map-fallback {
  opacity: 0;
}

.home-map-ring,
.home-map-stone {
  position: absolute;
  left: 73%;
  top: 48%;
  display: block;
}

.home-map-ring {
  border: 1px solid rgba(47, 116, 108, 0.2);
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.home-map-ring--outer {
  width: clamp(25rem, 38vw, 38rem);
  height: clamp(25rem, 38vw, 38rem);
}

.home-map-ring--inner {
  width: clamp(8rem, 12vw, 12rem);
  height: clamp(8rem, 12vw, 12rem);
  border-color: rgba(47, 116, 108, 0.1);
  box-shadow: 0 0 0 1.25rem rgba(255, 253, 248, 0.12);
}

.home-map-stone {
  --stone-w: clamp(3.2rem, 5.2vw, 5.5rem);
  --stone-h: clamp(2.7rem, 4.4vw, 4.7rem);
  width: var(--stone-w);
  height: var(--stone-h);
  border: 1px solid rgba(56, 69, 63, 0.12);
  border-radius: 54% 46% 52% 48% / 47% 58% 42% 53%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.7), var(--stone-color, #8ba095));
  box-shadow:
    0 1.1rem 2rem rgba(40, 53, 48, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.54);
  transform: translate(calc(-50% + var(--stone-x)), calc(-50% + var(--stone-y))) rotate(var(--stone-r));
}

.home-map-stone--1 { --stone-x: 0rem; --stone-y: clamp(-18rem, -18vw, -12rem); --stone-r: -8deg; --stone-color: #81998f; }
.home-map-stone--2 { --stone-x: clamp(8rem, 12vw, 12rem); --stone-y: clamp(-14rem, -12vw, -8rem); --stone-r: 14deg; --stone-color: #aaa996; }
.home-map-stone--3 { --stone-x: clamp(12rem, 18vw, 18rem); --stone-y: clamp(-5rem, -4vw, -2rem); --stone-r: -5deg; --stone-color: #b9a58e; }
.home-map-stone--4 { --stone-x: clamp(10rem, 14vw, 14rem); --stone-y: clamp(5rem, 8vw, 8rem); --stone-r: 9deg; --stone-color: #6f8d84; }
.home-map-stone--5 { --stone-x: clamp(4rem, 6vw, 6rem); --stone-y: clamp(11rem, 16vw, 16rem); --stone-r: -11deg; --stone-color: #9ba692; }
.home-map-stone--6 { --stone-x: clamp(-6rem, -6vw, -4rem); --stone-y: clamp(11rem, 16vw, 16rem); --stone-r: 7deg; --stone-color: #b2a795; }
.home-map-stone--7 { --stone-x: clamp(-14rem, -14vw, -10rem); --stone-y: clamp(5rem, 8vw, 8rem); --stone-r: -13deg; --stone-color: #64857e; }
.home-map-stone--8 { --stone-x: clamp(-18rem, -18vw, -12rem); --stone-y: clamp(-5rem, -4vw, -2rem); --stone-r: 6deg; --stone-color: #a6aa99; }
.home-map-stone--9 { --stone-x: clamp(-12rem, -12vw, -8rem); --stone-y: clamp(-14rem, -12vw, -8rem); --stone-r: 12deg; --stone-color: #b4a18c; }

.home-chapter {
  position: relative;
  scroll-margin-top: 4.8rem;
}

.home-chapter::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.home-section-shell,
.home-hero__inner,
.home-final__inner {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, 74rem);
  margin-inline: auto;
}

.home-kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--home-teal);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1.3;
  text-transform: uppercase;
}

.home-kicker::after {
  width: 3.75rem;
  height: 1px;
  margin-left: 0.25rem;
  background: currentColor;
  content: "";
  opacity: 0.28;
}

.home-kicker > span {
  color: var(--home-muted);
  font-variant-numeric: tabular-nums;
}

.home-kicker--light {
  color: #d6e2da;
}

.home-kicker--light > span {
  color: rgba(230, 238, 232, 0.6);
}

.home-button {
  display: inline-flex;
  min-height: 3.4rem;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.85rem 1.55rem;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.2;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.home-button--primary {
  color: #fff;
  background: var(--home-teal-deep);
  box-shadow: 0 0.8rem 2rem rgba(23, 63, 59, 0.18);
}

.home-button--primary:hover {
  background: #245f58;
  transform: translateY(-2px);
}

.home-button--paper {
  color: var(--home-teal-deep);
  background: #fffdf8;
}

.home-button--paper:hover {
  border-color: rgba(23, 63, 59, 0.18);
  background: #f1f3ec;
  transform: translateY(-2px);
}

/* Chapter 00 keeps the action above the fold. */
.home-hero {
  min-height: calc(100svh - 4.1rem);
}

.home-hero::before {
  background:
    linear-gradient(90deg, rgba(244, 240, 231, 0.99) 0%, rgba(244, 240, 231, 0.96) 38%, rgba(244, 240, 231, 0.34) 65%, rgba(244, 240, 231, 0.05) 100%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.26), transparent 36%, rgba(244, 240, 231, 0.78));
}

.home-hero__inner {
  display: grid;
  min-height: calc(100svh - 4.1rem);
  grid-template-columns: minmax(0, 1.02fr) minmax(22rem, 0.98fr);
  grid-template-rows: minmax(0, 1fr) auto;
  column-gap: clamp(2rem, 7vw, 7rem);
  padding-top: clamp(3.5rem, 8vh, 6.5rem);
  padding-bottom: clamp(1.4rem, 3vh, 2.4rem);
}

.home-hero__copy {
  align-self: center;
  max-width: 42rem;
  padding-bottom: 2rem;
}

.home-hero h1 {
  max-width: 11ch;
  margin-top: 1.5rem;
  color: #1d2420;
  font-size: clamp(3.35rem, 5.8vw, 5.7rem);
  font-weight: 620;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-wrap: balance;
}

.home-hero__sub {
  max-width: 39rem;
  margin-top: 1.65rem !important;
  color: #535e57;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.66;
}

.home-hero__actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 2rem;
}

.home-hero__actions p {
  max-width: 18rem;
  color: #68726c;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.home-hero__visual-space {
  min-height: 26rem;
}

.home-hero__index {
  grid-column: 1 / -1;
  padding-top: 1.15rem;
  border-top: 1px solid var(--home-line);
}

.home-scroll-cue {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  color: #747e77;
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.home-scroll-cue i {
  position: relative;
  display: block;
  width: 3.5rem;
  height: 1px;
  overflow: hidden;
  background: rgba(47, 116, 108, 0.22);
}

.home-scroll-cue i::after {
  position: absolute;
  inset: 0;
  background: var(--home-teal);
  content: "";
  transform: scaleX(0.35);
  transform-origin: left;
}

.home-hero__index ol {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  list-style: none;
}

.home-hero__index li + li {
  border-left: 1px solid var(--home-line);
}

.home-hero__index a {
  display: grid;
  min-height: 4.4rem;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  color: #56615a;
  transition: color 180ms ease, background 180ms ease;
}

.home-hero__index a:hover {
  color: var(--home-teal-deep);
  background: rgba(255, 253, 248, 0.54);
}

.home-hero__index a > span {
  color: var(--home-teal);
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
}

.home-hero__index strong {
  max-width: 12ch;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
}

/* Chapter 01 shows every type with equal weight. */
.home-chapter--types {
  min-height: 100svh;
  padding: clamp(6.5rem, 11vw, 10rem) 0;
}

.home-chapter--types::before {
  background:
    linear-gradient(180deg, rgba(244, 240, 231, 0.86), rgba(255, 253, 248, 0.72) 28%, rgba(255, 253, 248, 0.82) 78%, rgba(229, 234, 225, 0.9)),
    radial-gradient(circle at 78% 45%, transparent 0 14rem, rgba(255, 253, 248, 0.46) 30rem);
}

.home-section-head {
  display: grid;
  grid-template-columns: minmax(12rem, 0.45fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(2rem, 7vw, 7rem);
}

.home-section-head h2,
.home-literature-intro h2,
.home-result-intro h2,
.home-final h2 {
  color: #1d2420;
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 590;
  letter-spacing: -0.052em;
  line-height: 1;
  text-wrap: balance;
}

.home-section-head > div > p {
  max-width: 45rem;
  margin-top: 1.15rem;
  color: #5c6760;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.7;
}

.home-type-atlas {
  display: grid;
  margin: clamp(3.5rem, 7vw, 6.5rem) 0 0;
  padding: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--home-line);
  border-left: 1px solid var(--home-line);
  list-style: none;
}

.home-type-atlas li {
  min-width: 0;
  border-right: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
}

.home-type-atlas a {
  position: relative;
  display: grid;
  min-height: 9.5rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: end;
  gap: 1.15rem;
  overflow: hidden;
  padding: 1.5rem;
  color: var(--home-ink);
  background: rgba(255, 253, 248, 0.82);
  transition: color 220ms ease, background 220ms ease;
}

.home-type-atlas a::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(47, 116, 108, 0.12), transparent 58%);
  content: "";
  opacity: 0;
  transition: opacity 220ms ease;
}

.home-type-atlas a:hover {
  color: #173f3b;
  background: rgba(255, 253, 248, 0.9);
}

.home-type-atlas a:hover::before {
  opacity: 1;
}

.home-type-atlas__number,
.home-type-atlas__name,
.home-type-atlas__mark {
  position: relative;
  z-index: 1;
}

.home-type-atlas__number {
  color: var(--home-teal);
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 450;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.05em;
  line-height: 1;
}

.home-type-atlas__name {
  padding-bottom: 0.15rem;
  font-size: 0.98rem;
  font-weight: 650;
  line-height: 1.3;
}

.home-type-atlas__mark {
  width: 2.2rem;
  height: 1.8rem;
  border: 1px solid rgba(47, 116, 108, 0.24);
  border-radius: 52% 48% 58% 42% / 45% 57% 43% 55%;
  background: rgba(145, 164, 149, 0.22);
  transition: transform 220ms ease, background 220ms ease;
}

.home-type-atlas a:hover .home-type-atlas__mark {
  background: rgba(47, 116, 108, 0.22);
  transform: rotate(-8deg) scale(1.08);
}

/* Chapter 02 uses a dark paper layer. */
.home-chapter--result {
  min-height: 100svh;
  padding: clamp(7rem, 12vw, 11rem) 0;
  color: #eef2ed;
}

.home-chapter--result::before {
  background:
    radial-gradient(circle at 74% 52%, rgba(150, 178, 164, 0.2), transparent 23rem),
    linear-gradient(160deg, rgba(18, 52, 49, 0.97), rgba(28, 67, 61, 0.94));
}

.home-result-shell {
  display: grid;
  min-height: 65svh;
  grid-template-columns: minmax(0, 0.88fr) minmax(24rem, 1.12fr);
  align-items: center;
  gap: clamp(3rem, 9vw, 9rem);
}

.home-result-intro h2 {
  margin-top: 1.6rem;
  color: #f6f3ea;
}

.home-result-intro > p:not(.home-kicker) {
  max-width: 38rem;
  margin-top: 1.6rem;
  color: rgba(229, 236, 230, 0.78);
  font-size: 1.08rem;
  line-height: 1.75;
}

.home-text-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(239, 244, 239, 0.42);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: border-color 180ms ease, gap 180ms ease;
}

.home-text-link:hover {
  gap: 1.35rem;
  border-color: #fff;
}

.home-result-steps {
  margin: 0;
  padding: 0 1.5rem;
  border: 1px solid rgba(237, 242, 237, 0.18);
  border-radius: 1.4rem;
  background: rgba(16, 52, 48, 0.28);
  list-style: none;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.home-result-steps li {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(237, 242, 237, 0.2);
}

.home-result-steps span {
  color: #a9c1b4;
  font-size: 0.73rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.1em;
}

.home-result-steps p {
  color: #f1f4ef;
  font-size: clamp(1.05rem, 1.55vw, 1.3rem);
  line-height: 1.55;
}

/* Chapter 03 groups the product paths. */
.home-chapter--tools {
  padding: clamp(7rem, 11vw, 10rem) 0;
}

.home-chapter--tools::before {
  background:
    linear-gradient(180deg, rgba(228, 235, 226, 0.96), rgba(241, 241, 232, 0.9) 42%, rgba(244, 240, 231, 0.93)),
    radial-gradient(circle at 14% 35%, rgba(47, 116, 108, 0.12), transparent 24rem);
}

.home-tool-atlas {
  display: grid;
  margin-top: clamp(3.5rem, 7vw, 6rem);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(49, 65, 59, 0.2);
  border-left: 1px solid rgba(49, 65, 59, 0.2);
}

.home-tool-card {
  position: relative;
  display: grid;
  min-height: 12.5rem;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto 1fr auto;
  gap: 1rem;
  overflow: hidden;
  padding: 1.35rem;
  border-right: 1px solid rgba(49, 65, 59, 0.2);
  border-bottom: 1px solid rgba(49, 65, 59, 0.2);
  color: var(--home-ink);
  background: rgba(255, 253, 248, 0.84);
  transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}

.home-tool-card::before {
  position: absolute;
  right: -2.5rem;
  bottom: -2.5rem;
  width: 7rem;
  height: 7rem;
  border: 1px solid rgba(47, 116, 108, 0.16);
  border-radius: 50%;
  content: "";
  transition: transform 300ms ease, background 300ms ease;
}

.home-tool-card:hover {
  z-index: 2;
  color: var(--home-teal-deep);
  background: #fffdf8;
  transform: translateY(-3px);
  box-shadow: 0 1rem 2.2rem rgba(36, 58, 49, 0.1);
}

.home-tool-card:hover::before {
  background: rgba(47, 116, 108, 0.08);
  transform: scale(1.25);
}

.home-tool-card--primary {
  color: #f8faf7;
  background: var(--home-teal-deep);
}

.home-tool-card--primary::before {
  border-color: rgba(255, 255, 255, 0.22);
}

.home-tool-card--primary:hover {
  color: #fff;
  background: #245f58;
}

.home-tool-card__index {
  color: currentColor;
  font-size: 0.67rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.1em;
  opacity: 0.62;
}

.home-tool-card__icon {
  grid-column: 1 / -1;
  align-self: end;
  color: currentColor;
}

.home-tool-card__title {
  align-self: end;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.3;
}

.home-tool-card__badge {
  align-self: end;
  justify-self: end;
  border-radius: 999px;
  padding: 0.28rem 0.5rem;
  font-size: 0.58rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.home-tool-card__badge.is-pro {
  color: #245f58;
  background: rgba(174, 205, 190, 0.42);
}

.home-tool-card__badge.is-free {
  color: #2e665a;
  background: rgba(177, 215, 193, 0.48);
}

.home-tool-card--primary .home-tool-card__badge {
  color: #173f3b;
  background: #d9e8de;
}

.home-tool-card__arrow {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 0.9rem;
  opacity: 0;
  transform: translate(-0.3rem, 0.3rem);
  transition: opacity 180ms ease, transform 180ms ease;
}

.home-tool-card:hover .home-tool-card__arrow {
  opacity: 0.72;
  transform: none;
}

.home-pro-panel {
  position: relative;
  display: grid;
  min-height: 20rem;
  margin-top: clamp(4rem, 8vw, 7rem);
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 3rem;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4.5rem);
  border-radius: 2rem;
  color: #f7f8f3;
  background: #1d524c;
  box-shadow: 0 2rem 5rem rgba(32, 67, 59, 0.15);
}

.home-pro-panel::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 59, 54, 0.97) 0%, rgba(18, 59, 54, 0.91) 48%, rgba(18, 59, 54, 0.34) 100%);
  content: "";
}

.home-pro-panel > img {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(52%, 34rem);
  height: 100%;
  object-fit: cover;
  opacity: 0.74;
  mix-blend-mode: luminosity;
}

.home-pro-panel__copy,
.home-pro-panel__action {
  position: relative;
  z-index: 1;
}

.home-pro-panel__copy {
  max-width: 42rem;
}

.home-pro-panel__label {
  margin-bottom: 1rem !important;
  color: #b9d2c4;
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.home-pro-panel h3 {
  max-width: 14ch;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 570;
  letter-spacing: -0.045em;
  line-height: 1;
}

.home-pro-panel__copy > p:last-child {
  max-width: 40rem;
  margin-top: 1.25rem;
  color: rgba(237, 244, 239, 0.78);
  line-height: 1.7;
}

.home-pro-panel__action {
  display: grid;
  justify-items: end;
  gap: 1rem;
}

.home-pro-panel__action > p {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}

.home-paths {
  margin-top: clamp(5rem, 10vw, 9rem);
}

.home-paths > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.home-paths > header > p:last-child {
  max-width: 34rem;
  color: #606b64;
  line-height: 1.65;
}

.home-path-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--home-line);
}

.home-path-list > a {
  display: grid;
  min-width: 0;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1rem;
  border-bottom: 1px solid var(--home-line);
  color: var(--home-ink);
  transition: color 180ms ease, background 180ms ease, padding 180ms ease;
}

.home-path-list > a:nth-child(odd) {
  border-right: 1px solid var(--home-line);
}

.home-path-list > a:hover {
  color: var(--home-teal-deep);
  background: rgba(255, 253, 248, 0.66);
  padding-left: 1.35rem;
}

.home-path-list__index {
  color: #7e8982;
  font-size: 0.66rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.home-path-list__icon {
  color: var(--home-teal);
}

.home-path-list__copy {
  display: grid;
  gap: 0.3rem;
}

.home-path-list__copy strong {
  font-size: 0.96rem;
  font-weight: 680;
}

.home-path-list__copy small {
  color: #667069;
  font-size: 0.78rem;
  line-height: 1.5;
}

/* Chapter 04 places the reading paths on paper. */
.home-chapter--literature {
  padding: clamp(7rem, 11vw, 10rem) 0 clamp(8rem, 13vw, 12rem);
}

.home-chapter--literature::before {
  background:
    linear-gradient(180deg, rgba(244, 240, 231, 0.94), rgba(255, 253, 248, 0.9) 42%, rgba(244, 240, 231, 0.96)),
    radial-gradient(circle at 76% 14%, rgba(145, 164, 149, 0.16), transparent 24rem);
}

.home-literature-intro {
  display: grid;
  min-height: 64svh;
  align-content: center;
  justify-items: start;
  max-width: 47rem;
}

.home-literature-intro__icon {
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  place-items: center;
  margin-top: 3.4rem;
  border: 1px solid rgba(47, 116, 108, 0.22);
  border-radius: 50%;
  color: var(--home-teal);
  background: rgba(255, 253, 248, 0.56);
}

.home-literature-intro h2 {
  max-width: 12ch;
  margin-top: 1.5rem;
}

.home-literature-intro > p:not(.home-kicker) {
  max-width: 43rem;
  margin-top: 1.6rem;
  color: #56625a;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.78;
}

.home-author-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin-top: 2.2rem;
  color: #69736c;
  font-size: 0.66rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-author-line i {
  width: 1.4rem;
  height: 1px;
  background: rgba(47, 116, 108, 0.3);
}

.home-blog-section {
  margin-top: clamp(4rem, 8vw, 7rem);
}

.home-blog-grid {
  display: grid;
  margin-top: 2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--home-line);
  border-left: 1px solid var(--home-line);
}

.home-blog-grid > a {
  position: relative;
  display: flex;
  min-height: 25rem;
  flex-direction: column;
  padding: clamp(1.4rem, 2.5vw, 2rem);
  border-right: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
  color: var(--home-ink);
  background: rgba(255, 253, 248, 0.9);
  transition: background 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.home-blog-grid > a::before {
  position: absolute;
  inset: auto 1.5rem 1.5rem auto;
  width: 5.5rem;
  height: 4rem;
  border-radius: 57% 43% 51% 49% / 48% 56% 44% 52%;
  background: rgba(145, 164, 149, 0.12);
  content: "";
  transition: transform 260ms ease, background 260ms ease;
}

.home-blog-grid > a:nth-child(2)::before {
  border-radius: 45% 55% 43% 57% / 56% 44% 56% 44%;
  background: rgba(199, 181, 154, 0.18);
}

.home-blog-grid > a:nth-child(3)::before {
  border-radius: 52% 48% 58% 42% / 42% 54% 46% 58%;
  background: rgba(47, 116, 108, 0.12);
}

.home-blog-grid > a:hover {
  z-index: 2;
  background: #fffdf8;
  transform: translateY(-4px);
  box-shadow: 0 1.25rem 2.7rem rgba(49, 65, 59, 0.1);
}

.home-blog-grid > a:hover::before {
  background: rgba(47, 116, 108, 0.2);
  transform: rotate(-6deg) scale(1.08);
}

.home-blog-card__index {
  color: var(--home-teal);
  font-size: 0.68rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.1em;
}

.home-blog-grid h3 {
  margin-top: 4rem;
  color: #27302b;
  font-size: clamp(1.35rem, 2.1vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.home-blog-grid p {
  margin-top: 1.2rem;
  color: #616b64;
  font-size: 0.87rem;
  line-height: 1.66;
}

.home-blog-card__arrow {
  position: relative;
  z-index: 1;
  margin-top: auto;
  align-self: flex-end;
  color: var(--home-teal);
}

.home-faq {
  display: grid;
  margin-top: clamp(6rem, 12vw, 11rem);
  grid-template-columns: minmax(12rem, 0.38fr) minmax(0, 0.92fr);
  align-items: start;
  gap: clamp(2.5rem, 8vw, 8rem);
}

.home-faq__list {
  padding-inline: 1.25rem;
  border: 1px solid var(--home-line);
  border-radius: 1.25rem;
  background: rgba(255, 253, 248, 0.78);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.home-faq details {
  border-bottom: 1px solid var(--home-line);
}

.home-faq summary {
  display: flex;
  min-height: 5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.2rem 0;
  color: #2b342f;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 650;
  list-style: none;
}

.home-faq summary::-webkit-details-marker {
  display: none;
}

.home-faq__chevron {
  flex: 0 0 auto;
  color: var(--home-teal);
  transition: transform 220ms ease;
}

.home-faq details[open] .home-faq__chevron {
  transform: rotate(180deg);
}

.home-faq details > p {
  max-width: 52rem;
  padding: 0 3rem 1.5rem 0;
  color: #606a64;
  line-height: 1.72;
}

/* Chapter 05 returns all points to the center. */
.home-final {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
}

.home-final::before {
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 253, 248, 0.82) 0 15rem, rgba(244, 240, 231, 0.68) 30rem, rgba(231, 235, 225, 0.94) 58rem),
    linear-gradient(180deg, rgba(244, 240, 231, 0.92), rgba(227, 235, 225, 0.94));
}

.home-final__inner {
  display: grid;
  justify-items: center;
  max-width: 50rem;
  padding: 7rem 1rem;
}

.home-final .home-kicker {
  justify-content: center;
}

.home-final h2 {
  max-width: 12ch;
  margin-top: 2rem;
}

.home-final__inner > p:not(.home-kicker) {
  max-width: 42rem;
  margin-top: 1.5rem;
  color: #58635c;
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.72;
}

.home-final .home-button {
  margin-top: 2rem;
}

/* The rail appears only after the script starts. */
.home-chapter-rail {
  position: fixed;
  top: 50%;
  right: 1.25rem;
  z-index: 35;
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.65rem 0.5rem;
  border: 1px solid rgba(47, 67, 59, 0.12);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.74);
  box-shadow: 0 0.8rem 2.2rem rgba(43, 59, 51, 0.09);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(0.75rem);
  transition: opacity 220ms ease, transform 220ms ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.home-journey.is-enhanced.is-journey-active .home-chapter-rail {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%);
}

.home-chapter-rail .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.home-chapter-rail a {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  color: #727c75;
  font-size: 0.57rem;
  font-variant-numeric: tabular-nums;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.home-chapter-rail a:hover,
.home-chapter-rail a[aria-current="step"] {
  color: #fff;
  background: var(--home-teal-deep);
  transform: scale(1.08);
}

/* The script adds these classes only when the observer is ready. */
@media (prefers-reduced-motion: no-preference) {
  .home-journey.is-enhanced [data-home-reveal],
  .home-journey.is-enhanced [data-home-stagger] > * {
    opacity: 0;
    transform: translateY(1.25rem);
    transition: opacity 650ms cubic-bezier(0.16, 1, 0.3, 1), transform 750ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .home-journey.is-enhanced [data-home-reveal].is-visible,
  .home-journey.is-enhanced [data-home-stagger] > *.is-visible {
    opacity: 1;
    transform: none;
  }

  .home-scroll-cue i::after {
    animation: home-scroll-cue 2.8s ease-in-out infinite;
  }

  @keyframes home-scroll-cue {
    0% { transform: translateX(-100%) scaleX(0.3); }
    45% { transform: translateX(0) scaleX(1); }
    100% { transform: translateX(110%) scaleX(0.3); }
  }
}

@media (min-width: 1240px) {
  .home-chapter-rail {
    display: flex;
  }
}

@media (max-width: 960px) {
  .home-hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.95fr);
    column-gap: 2rem;
  }

  .home-hero h1 {
    font-size: clamp(3rem, 7vw, 4.5rem);
  }

  .home-section-head,
  .home-faq {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .home-result-shell {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .home-tool-atlas {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-pro-panel {
    grid-template-columns: 1fr;
  }

  .home-pro-panel__action {
    justify-items: start;
  }

  .home-blog-grid > a {
    min-height: 22rem;
  }
}

@media (max-width: 720px) {
  .is-home > header > nav {
    min-height: 3.9rem;
    gap: 0.65rem;
  }

  .is-home > header > nav > div:last-child {
    gap: 0.55rem;
  }

  .is-home > header > nav > div:last-child > a:first-child {
    padding: 0.5rem 0.7rem;
    font-size: 0.74rem;
  }

  .is-home > header > nav > div:nth-of-type(1) {
    display: none;
  }

  .is-home > header label[for="nav-toggle"] {
    display: block;
  }

  .is-home > footer > div > div:first-child {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .is-home > footer > div > div:last-child {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-journey {
    background:
      radial-gradient(circle at 50% 9%, rgba(145, 164, 149, 0.18), transparent 22rem),
      var(--home-cream);
  }

  .home-map-ring,
  .home-map-stone {
    left: 50%;
    top: 80%;
  }

  .home-map-ring--outer {
    width: min(88vw, 22rem);
    height: min(88vw, 22rem);
  }

  .home-map-ring--inner {
    width: 6.2rem;
    height: 6.2rem;
  }

  .home-map-stone {
    --stone-w: 3.15rem;
    --stone-h: 2.65rem;
  }

  .home-map-stone--1 { --stone-x: 0rem; --stone-y: -9.8rem; }
  .home-map-stone--2 { --stone-x: 6.2rem; --stone-y: -7.2rem; }
  .home-map-stone--3 { --stone-x: 9.3rem; --stone-y: -1.8rem; }
  .home-map-stone--4 { --stone-x: 7.7rem; --stone-y: 4.7rem; }
  .home-map-stone--5 { --stone-x: 3.2rem; --stone-y: 8.7rem; }
  .home-map-stone--6 { --stone-x: -3.2rem; --stone-y: 8.7rem; }
  .home-map-stone--7 { --stone-x: -7.7rem; --stone-y: 4.7rem; }
  .home-map-stone--8 { --stone-x: -9.3rem; --stone-y: -1.8rem; }
  .home-map-stone--9 { --stone-x: -6.2rem; --stone-y: -7.2rem; }

  .home-hero {
    min-height: max(45rem, calc(100svh - 3.9rem));
  }

  .home-hero::before {
    background:
      linear-gradient(180deg, rgba(244, 240, 231, 0.99) 0%, rgba(244, 240, 231, 0.97) 46%, rgba(244, 240, 231, 0.44) 68%, rgba(244, 240, 231, 0.8) 100%);
  }

  .home-hero__inner {
    min-height: max(45rem, calc(100svh - 3.9rem));
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(8rem, 1fr) auto;
    padding-top: 2.6rem;
    padding-bottom: 1rem;
  }

  .home-hero__copy {
    align-self: start;
    max-width: 100%;
    padding-bottom: 0;
  }

  .home-hero h1 {
    max-width: 10ch;
    margin-top: 1.1rem;
    font-size: clamp(2.75rem, 12.2vw, 3.55rem);
    line-height: 0.98;
  }

  .home-hero__sub {
    max-width: 35rem;
    margin-top: 1.2rem !important;
    font-size: 0.98rem;
    line-height: 1.58;
  }

  .home-hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.45rem;
  }

  .home-hero__actions p {
    max-width: none;
    font-size: 0.7rem;
  }

  .home-hero__visual-space {
    min-height: 8rem;
  }

  .home-scroll-cue {
    display: none;
  }

  .home-hero__index {
    margin-inline: -1rem;
    padding-top: 0.55rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  .home-hero__index::-webkit-scrollbar {
    display: none;
  }

  .home-hero__index nav,
  .home-hero__index ol {
    width: max-content;
    min-width: 100%;
  }

  .home-hero__index ol {
    display: flex;
  }

  .home-hero__index li {
    width: 8.8rem;
    flex: 0 0 auto;
  }

  .home-hero__index a {
    min-height: 3.7rem;
    gap: 0.55rem;
    padding: 0.75rem;
  }

  .home-hero__index strong {
    font-size: 0.63rem;
  }

  .home-chapter--types,
  .home-chapter--result,
  .home-chapter--tools,
  .home-chapter--literature {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .home-section-head h2,
  .home-literature-intro h2,
  .home-result-intro h2,
  .home-final h2 {
    font-size: clamp(2.45rem, 11vw, 3.6rem);
  }

  .home-type-atlas {
    grid-template-columns: 1fr;
  }

  .home-type-atlas a {
    min-height: 5.4rem;
    align-items: center;
    padding: 1rem 1.1rem;
  }

  .home-type-atlas__number {
    font-size: 1.65rem;
  }

  .home-type-atlas__mark {
    width: 1.8rem;
    height: 1.45rem;
  }

  .home-result-shell {
    min-height: auto;
  }

  .home-result-steps li {
    grid-template-columns: 2.6rem minmax(0, 1fr);
    gap: 0.85rem;
  }

  .home-result-steps p {
    font-size: 1rem;
  }

  .home-tool-atlas {
    grid-template-columns: 1fr;
  }

  .home-tool-card {
    min-height: 8.5rem;
  }

  .home-pro-panel {
    min-height: 27rem;
    gap: 2rem;
    padding: 2rem 1.4rem;
    border-radius: 1.35rem;
  }

  .home-pro-panel::after {
    background: linear-gradient(180deg, rgba(18, 59, 54, 0.86) 0%, rgba(18, 59, 54, 0.97) 62%);
  }

  .home-pro-panel > img {
    width: 100%;
    height: 56%;
  }

  .home-pro-panel__copy {
    align-self: end;
    padding-top: 8rem;
  }

  .home-pro-panel h3 {
    font-size: 2.45rem;
  }

  .home-paths > header {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-path-list {
    grid-template-columns: 1fr;
  }

  .home-path-list > a:nth-child(odd) {
    border-right: 0;
  }

  .home-path-list > a {
    padding-inline: 0.4rem;
  }

  .home-literature-intro {
    min-height: auto;
  }

  .home-literature-intro__icon {
    margin-top: 2.5rem;
  }

  .home-author-line i {
    width: 0.75rem;
  }

  .home-blog-grid {
    grid-template-columns: 1fr;
  }

  .home-blog-grid > a {
    min-height: 17rem;
  }

  .home-blog-grid h3 {
    margin-top: 2rem;
  }

  .home-faq details > p {
    padding-right: 0;
  }

  .home-final {
    min-height: 85svh;
  }

  .home-final__inner {
    padding-block: 6rem;
  }
}

@media (max-width: 390px) {
  .home-hero h1 {
    font-size: 2.65rem;
  }

  .home-hero__sub {
    font-size: 0.92rem;
  }

  .home-button {
    min-height: 3.15rem;
    padding-inline: 1.3rem;
  }

  .home-path-list > a {
    grid-template-columns: auto auto minmax(0, 1fr);
  }

  .home-path-list > a > span:last-child {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  .home-page *,
  .home-page *::before,
  .home-page *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}
