/* ==========================================================================
   FashionWealth Scale System — design system
   Black / white / subtle green. Space Grotesk only (one font request).

   Deliberately SEPARATE from assets/css/styles.css. That file is the
   ink/gold identity of the 1-on-1 mentorship funnel and is loaded by
   index.html and the legal pages. The Scale System funnel is a different
   offer with a different look, so the two never share a stylesheet and a
   change to one can never break the other.

   Edit the tokens below; everything else inherits.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Surfaces */
  --black:      #0B0C0E;
  --ink:        #14171A;
  --ink-2:      #1B2026;
  --line-dark:  #272D34;
  --white:      #FFFFFF;
  --paper:      #F5F7F6;
  --line:       #E3E7E5;

  /* Text */
  --text:       #0B0C0E;
  --muted:      #55606B;   /* 6.4:1 on white  */
  --on-dark:    #EDF1F4;
  --muted-dark: #9AA6B0;   /* 7.9:1 on black  */

  /* Green — used for accents, never for small text on white */
  --green:      #00A263;
  --green-deep: #04794C;   /* 5.3:1 on white, safe for text */
  --green-tint: #E8F6EF;
  --green-line: #B7E3CE;
  --green-dark-tint: #0F2A20;

  /* Type */
  --font: "Space Grotesk", ui-sans-serif, system-ui, -apple-system,
          "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Capped at 3.5rem so the headline lands in 3-4 lines in its column
     instead of becoming a tall stack of short lines. */
  --fs-h1:    clamp(2.3rem, 1.6rem + 2.6vw, 3.5rem);
  --fs-h2:    clamp(1.85rem, 1.35rem + 2.1vw, 2.9rem);
  --fs-h3:    clamp(1.12rem, 1.05rem + 0.32vw, 1.35rem);
  --fs-lead:  clamp(1.05rem, 1rem + 0.42vw, 1.25rem);
  --fs-body:  1.0625rem;
  --fs-sm:    0.95rem;
  --fs-xs:    0.8125rem;

  /* Space */
  --section-y: clamp(3.75rem, 2.2rem + 5.2vw, 7rem);
  --container: 1120px;
  --pad-x:     clamp(1.15rem, 0.55rem + 2.4vw, 2rem);
  --gap:       clamp(0.85rem, 0.5rem + 1.2vw, 1.35rem);

  /* Form */
  --r-sm:  10px;
  --r-md:  16px;
  --r-lg:  22px;
  --r-pill: 999px;

  --shadow-sm:  0 1px 2px rgba(11,12,14,.05), 0 8px 24px -14px rgba(11,12,14,.22);
  --shadow-lg:  0 2px 4px rgba(11,12,14,.06), 0 30px 60px -28px rgba(11,12,14,.35);

  --header-h: 64px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; }
img, video { height: auto; }

h1, h2, h3, h4 {
  margin: 0 0 .55em;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); letter-spacing: -0.035em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.018em; line-height: 1.25; }

p { margin: 0 0 1rem; max-width: 62ch; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1rem; padding-left: 1.15em; }
li { margin-bottom: .4em; }

a { color: inherit; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }

/* Visible keyboard focus everywhere, on both themes */
:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--black); color: #fff;
  padding: .7rem 1.1rem; border-radius: var(--r-sm);
  font-weight: 600; text-decoration: none;
  transition: top .18s var(--ease);
}
.skip-link:focus { top: 12px; }

.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;
}

/* ---------- 3. Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.wrap--narrow { max-width: 760px; }

.section { padding-block: var(--section-y); }
.section--paper { background: var(--paper); }
.section--dark  { background: var(--black); color: var(--on-dark); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--tight { padding-block: clamp(2.5rem, 1.6rem + 3vw, 4rem); }

.head { max-width: 34ch; margin-bottom: clamp(2rem, 1.4rem + 1.6vw, 3rem); }
.head--center { max-width: 42ch; margin-inline: auto; text-align: center; }
.head p { color: var(--muted); font-size: var(--fs-lead); max-width: 54ch; }
.head--center p { margin-inline: auto; }
.section--dark .head p { color: var(--muted-dark); }

/* Eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  margin: 0 0 1rem;
  font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-deep);
}
.eyebrow::before {
  content: ""; width: 18px; height: 2px; border-radius: 2px;
  background: var(--green); flex: none;
}
.section--dark .eyebrow { color: #46D397; }
.head--center .eyebrow { justify-content: center; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  min-height: 52px;
  padding: .85rem 1.6rem;
  border: 1.5px solid transparent;
  border-radius: var(--r-pill);
  font-size: 1rem; font-weight: 700; letter-spacing: -0.01em;
  text-decoration: none; text-align: center;
  cursor: pointer;
  transition: transform .16s var(--ease), background-color .16s var(--ease),
              border-color .16s var(--ease), color .16s var(--ease),
              box-shadow .16s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* Primary: near-black on light, 18:1 contrast */
.btn--primary { background: var(--black); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--ink-2); }

/* Primary on dark sections */
.btn--light { background: #fff; color: var(--black); }
.btn--light:hover { background: #EAEEEC; }

/* Green: reserved for the single strongest action on the page */
.btn--green { background: var(--green-deep); color: #fff; box-shadow: 0 10px 26px -14px rgba(4,121,76,.9); }
.btn--green:hover { background: #05683F; }

.btn--outline { background: transparent; color: var(--text); border-color: var(--line); }
.btn--outline:hover { border-color: var(--black); background: var(--paper); }

.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.32); }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* Pressed state for checkout buttons. The browser is about to leave, so this
   only has to hold for a few hundred milliseconds — but without it the button
   looks inert while the link is fetched, and an inert button reads as broken. */
.btn.is-loading {
  position: relative;
  pointer-events: none;
  color: transparent !important;
}
.btn.is-loading::after {
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-top-color: transparent;
  color: #fff;
  animation: fw-spin .6s linear infinite;
}
.btn--light.is-loading::after,
.btn--outline.is-loading::after { color: var(--black); }

@keyframes fw-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .btn.is-loading::after { animation: none; border-top-color: currentColor; opacity: .5; }
}

.btn--block { width: 100%; }
/* 44px, not 42: this is the header CTA and it is tapped with a thumb. */
.btn--sm { min-height: 44px; padding: .55rem 1.15rem; font-size: .92rem; }

.cta-row {
  display: flex; flex-wrap: wrap; gap: .75rem;
  align-items: center;
}
.cta-row--center { justify-content: center; }

.microcopy {
  margin: .9rem 0 0;
  font-size: var(--fs-sm); color: var(--muted);
}
.section--dark .microcopy { color: var(--muted-dark); }

/* ---------- 5. Header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,.88);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.hdr.is-stuck { border-bottom-color: var(--line); }

.hdr-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}

.logo {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: 1.02rem; letter-spacing: -0.02em;
  text-decoration: none; color: var(--black);
  white-space: nowrap;
}
.logo b {
  font-weight: 700; color: var(--green-deep);
  letter-spacing: -0.04em;
}

/* ---------- 6. Hero ---------- */
.hero {
  padding-block: clamp(2.75rem, 1.6rem + 4.4vw, 5.5rem)
                 clamp(3rem, 2rem + 4vw, 5rem);
  background:
    radial-gradient(120% 90% at 88% 0%, var(--green-tint) 0%, rgba(232,246,239,0) 58%),
    var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.25rem, 1.4rem + 3vw, 3.5rem);
  align-items: center;
}
@media (min-width: 940px) {
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
}

.hero h1 { margin-bottom: .5em; }
.hero-copy p.lead {
  font-size: var(--fs-lead); color: var(--muted); max-width: 46ch;
}
.hero .cta-row { margin-top: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); }

.trust {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: .5rem .9rem;
  margin: clamp(1.6rem, 1.2rem + 1.2vw, 2.25rem) 0 0;
  padding-top: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm); color: var(--muted);
  list-style: none; padding-left: 0;
}
.trust li { margin: 0; display: inline-flex; align-items: center; gap: .45rem; }
.trust li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); flex: none;
}

/* ---------- 7. Hub mockup ---------- */
/* A structural mockup of FashionWealth Hub built in HTML/CSS: it is crisp on
   every screen, costs no image request and causes no layout shift.
   To use a real screenshot instead, replace the whole <figure> with:
   <figure class="mock-shot"><img src="/assets/img/hub-dashboard.webp"
     width="1200" height="820" alt="…what the screenshot shows…"></figure> */
/* The caption sits OUTSIDE the role="img" frame on purpose. Content inside an
   element with role="img" is not exposed to a screen reader, so a caption in
   there would be read by nobody. */
.mock-figure { margin: 0; }

.mock-cap {
  margin: .7rem 0 0;
  max-width: none;
  font-size: var(--fs-xs);
  color: var(--muted);
  text-align: center;
}
.mock-figure--dark .mock-cap { color: var(--muted-dark); }

.mock {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.mock-bar {
  display: flex; align-items: center; gap: .5rem;
  padding: .7rem .9rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.mock-dots { display: flex; gap: .3rem; }
.mock-dots i { width: 9px; height: 9px; border-radius: 50%; background: #D5DBD8; }
.mock-title {
  font-size: var(--fs-xs); font-weight: 600; color: var(--muted);
  letter-spacing: .01em;
}
.mock-body { display: grid; grid-template-columns: 1fr; }
@media (min-width: 560px) { .mock-body { grid-template-columns: 148px 1fr; } }

.mock-nav {
  display: none;
  padding: .9rem .75rem;
  border-right: 1px solid var(--line);
  background: #FBFCFB;
  font-size: var(--fs-xs);
}
@media (min-width: 560px) { .mock-nav { display: block; } }
.mock-nav span {
  display: flex; align-items: center; gap: .5rem;
  padding: .42rem .55rem; border-radius: 8px;
  color: var(--muted); font-weight: 500;
}
.mock-nav span::before {
  content: ""; width: 13px; height: 13px; border-radius: 4px;
  background: #E1E6E3; flex: none;
}
.mock-nav span.on { background: var(--green-tint); color: var(--green-deep); font-weight: 700; }
.mock-nav span.on::before { background: var(--green); }

.mock-main { padding: clamp(.85rem, .6rem + .7vw, 1.15rem); display: grid; gap: .7rem; }
.mock-card {
  border: 1px solid var(--line); border-radius: 12px;
  padding: .8rem .9rem;
}
/* Deliberately not a heading: the mockup is one role="img" figure, so a real
   <h4> in here would show up in the document outline as a section that does
   not exist. */
.mock-card .mock-h {
  margin: 0 0 .55rem; font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .02em; text-transform: uppercase; color: var(--muted);
}
.mock-task {
  display: flex; align-items: center; gap: .55rem;
  padding: .3rem 0; font-size: .875rem; font-weight: 500;
}
.mock-task::before {
  content: ""; width: 15px; height: 15px; border-radius: 5px;
  border: 1.5px solid #CFD6D2; flex: none;
}
.mock-task.done { color: var(--muted); }
.mock-task.done::before {
  background: var(--green); border-color: var(--green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.2 2.2 4.8-5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 11px; background-repeat: no-repeat; background-position: center;
}
.mock-row { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.mock-stat { font-size: .875rem; font-weight: 500; color: var(--muted); }
.mock-stat b { display: block; font-size: 1.35rem; color: var(--text); letter-spacing: -0.02em; }
.mock-meter {
  margin-top: .5rem; height: 6px; border-radius: 999px; background: #EAEFEC;
  overflow: hidden;
}
.mock-meter i { display: block; height: 100%; width: 62%; background: var(--green); border-radius: 999px; }

/* dark variant, used inside the software section */
.mock--dark { background: var(--ink); border-color: var(--line-dark); }
.mock--dark .mock-bar { background: var(--ink-2); border-bottom-color: var(--line-dark); }
.mock--dark .mock-dots i { background: #39414A; }
.mock--dark .mock-title { color: var(--muted-dark); }
.mock--dark .mock-nav { background: var(--ink-2); border-right-color: var(--line-dark); }
.mock--dark .mock-nav span { color: var(--muted-dark); }
.mock--dark .mock-nav span::before { background: #333B44; }
.mock--dark .mock-nav span.on { background: var(--green-dark-tint); color: #46D397; }
.mock--dark .mock-nav span.on::before { background: var(--green); }
.mock--dark .mock-card { border-color: var(--line-dark); }
.mock--dark .mock-card .mock-h { color: var(--muted-dark); }
.mock--dark .mock-task { color: var(--on-dark); }
.mock--dark .mock-task::before { border-color: #3B444D; }
.mock--dark .mock-task.done { color: var(--muted-dark); }
.mock--dark .mock-stat { color: var(--muted-dark); }
.mock--dark .mock-stat b { color: #fff; }
.mock--dark .mock-meter { background: #262D34; }

.mock-shot img { border-radius: var(--r-lg); border: 1px solid var(--line); }

/* ---------- 8. Value points ---------- */
.points {
  display: grid; gap: var(--gap);
  grid-template-columns: 1fr;
  list-style: none; margin: 0; padding: 0;
}
@media (min-width: 780px) { .points { grid-template-columns: repeat(3, 1fr); } }

.point {
  margin: 0;
  padding: clamp(1.2rem, .9rem + .9vw, 1.6rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.point .ico {
  display: grid; place-items: center;
  width: 38px; height: 38px; margin-bottom: .9rem;
  border-radius: 11px;
  background: var(--green-tint); color: var(--green-deep);
}
.point .ico svg { width: 19px; height: 19px; }
.point h3 { margin-bottom: .35rem; }
.point p { color: var(--muted); font-size: var(--fs-sm); margin: 0; }

/* ---------- 9. Topic grid ---------- */
/* Fixed 2 then 4 columns rather than auto-fit: eight items over six columns
   leaves two orphans on the second row, which looks like a mistake. */
.topics {
  display: grid; gap: .7rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none; margin: 0 0 1.75rem; padding: 0;
}
@media (min-width: 700px) { .topics { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.topic {
  margin: 0;
  display: flex; align-items: center; gap: .55rem;
  padding: .95rem 1rem;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--white);
  font-weight: 600; font-size: var(--fs-sm); letter-spacing: -0.012em;
  line-height: 1.3;
  transition: border-color .18s var(--ease), transform .18s var(--ease);
}
.topic:hover { border-color: var(--green-line); transform: translateY(-2px); }
.topic svg { width: 16px; height: 16px; color: var(--green-deep); flex: none; }

.note {
  display: flex; gap: .7rem; align-items: flex-start;
  padding: 1rem 1.15rem;
  border: 1px solid var(--green-line); border-radius: var(--r-md);
  background: var(--green-tint);
  font-size: var(--fs-sm); color: #114634;
}
.note svg { width: 18px; height: 18px; flex: none; margin-top: .15rem; color: var(--green-deep); }
.note p { margin: 0; max-width: none; }

/* ---------- 10. Software section ---------- */
.split {
  display: grid; grid-template-columns: 1fr;
  gap: clamp(2rem, 1.3rem + 3vw, 3.5rem);
  align-items: center;
}
@media (min-width: 940px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  .split--flip .split-copy { order: 2; }
}
.split-copy p { color: var(--muted-dark); font-size: var(--fs-lead); }

.ticks { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .6rem; }
.ticks li {
  display: flex; align-items: flex-start; gap: .6rem;
  margin: 0; font-size: var(--fs-sm); color: var(--on-dark);
}
.ticks svg { width: 17px; height: 17px; color: var(--green); flex: none; margin-top: .18rem; }

/* ---------- 11. Bonuses ---------- */
.bonus-list {
  list-style: none; margin: 0; padding: 0;
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--white);
  overflow: hidden;
}
.bonus {
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: .25rem .9rem;
  margin: 0;
  padding: clamp(.9rem, .75rem + .5vw, 1.15rem) clamp(1rem, .8rem + .8vw, 1.5rem);
  border-bottom: 1px solid var(--line);
}
.bonus:last-child { border-bottom: 0; }
.bonus-name { flex: 1 1 200px; min-width: 0; font-weight: 600; letter-spacing: -0.015em; }
.bonus-was {
  color: var(--muted); font-size: var(--fs-sm);
  text-decoration: line-through; text-decoration-thickness: 1.5px;
  white-space: nowrap;
}
.bonus-inc {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .18rem .6rem;
  border-radius: var(--r-pill);
  background: var(--green-tint); color: var(--green-deep);
  border: 1px solid var(--green-line);
  font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .02em; white-space: nowrap;
}
.bonus-sum {
  margin-top: 1.25rem;
  font-size: var(--fs-sm); color: var(--muted);
}

/* ---------- 12. Pricing ---------- */
/* align-items is left at stretch on purpose: equal-height cards mean the two
   "join" buttons line up, whichever plan has more bullet points. */
.plans {
  display: grid; gap: clamp(1rem, .7rem + 1.2vw, 1.5rem);
  grid-template-columns: 1fr;
}
@media (min-width: 860px) { .plans { grid-template-columns: repeat(2, 1fr); } }

.plan {
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(1.4rem, 1rem + 1.4vw, 2rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.plan--best {
  border: 2px solid var(--black);
  box-shadow: var(--shadow-lg);
}
.badge {
  position: absolute; top: 0; right: clamp(1.2rem, 1rem + 1vw, 1.8rem);
  transform: translateY(-50%);
  padding: .32rem .8rem;
  border-radius: var(--r-pill);
  background: var(--green-deep); color: #fff;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase;
  white-space: nowrap;
}
.plan h3 { font-size: 1.15rem; margin-bottom: .75rem; }
.price {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: .3rem;
  margin-bottom: .35rem;
}
.price b {
  font-size: clamp(2.4rem, 1.9rem + 1.7vw, 3.1rem);
  font-weight: 700; letter-spacing: -0.045em; line-height: 1;
}
.price span { color: var(--muted); font-weight: 600; font-size: 1rem; }
.plan-note { font-size: var(--fs-sm); color: var(--muted); margin: 0 0 1.35rem; }

.plan-list { list-style: none; margin: 0 0 1.6rem; padding: 0; display: grid; gap: .55rem; }
.plan-list li {
  display: flex; align-items: flex-start; gap: .6rem;
  margin: 0; font-size: var(--fs-sm);
}
.plan-list svg { width: 16px; height: 16px; color: var(--green-deep); flex: none; margin-top: .18rem; }

.plan .btn { margin-top: auto; }
.plan-fine { margin: .8rem 0 0; font-size: var(--fs-xs); color: var(--muted); text-align: center; }

/* Shown only when the checkout endpoint sent somebody back. */
.checkout-error {
  max-width: 56ch;
  margin: 0 auto clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
  padding: .9rem 1.15rem;
  border: 1px solid #E7C9A8;
  border-radius: var(--r-md);
  background: #FDF6EE;
  color: #6A4218;
  font-size: var(--fs-sm);
  text-align: center;
}

.compare {
  margin: clamp(1.25rem, 1rem + .8vw, 1.75rem) auto 0;
  max-width: 62ch; text-align: center;
  font-size: var(--fs-sm); color: var(--muted);
}

/* ---------- 13. FAQ ---------- */
.faq { max-width: 760px; margin-inline: auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem .25rem;
  cursor: pointer;
  font-weight: 600; font-size: 1.02rem; letter-spacing: -0.015em;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none;
  width: 18px; height: 18px; margin-top: .22rem;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 4v12M4 10h12' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 4v12M4 10h12' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
  color: var(--muted);
  transition: transform .2s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:focus-visible { outline: 3px solid var(--green); outline-offset: -3px; }
.faq-answer { padding: 0 .25rem 1.25rem; }
.faq-answer p { color: var(--muted); font-size: var(--fs-sm); max-width: 66ch; }

/* ---------- 14. Final CTA ---------- */
.final { text-align: center; }
.final h2 { max-width: 20ch; margin-inline: auto; }
.final p { color: var(--muted-dark); font-size: var(--fs-lead); max-width: 52ch; margin-inline: auto; }
.final .cta-row { margin-top: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); }

/* ---------- 15. Footer ---------- */
.foot {
  background: var(--black); color: var(--muted-dark);
  border-top: 1px solid var(--line-dark);
  padding-block: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  font-size: var(--fs-sm);
}
.foot-top {
  display: flex; flex-wrap: wrap; gap: 1rem 1.5rem;
  align-items: center; justify-content: space-between;
  padding-bottom: 1.5rem; margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--line-dark);
}
.foot .logo { color: #fff; }
.foot-links { display: flex; flex-wrap: wrap; gap: .75rem 1.35rem; list-style: none; margin: 0; padding: 0; }
.foot-links li { margin: 0; }
.foot-links a { color: var(--muted-dark); text-decoration: none; }
.foot-links a:hover { color: #fff; text-decoration: underline; }
.foot-legal { max-width: 78ch; font-size: var(--fs-xs); line-height: 1.65; color: #7E8B95; }
.foot-legal p + p { margin-top: .6rem; }

/* ---------- 16. Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; z-index: 80;
  left: 0; right: 0; bottom: 0;
  display: none;
  padding: .6rem var(--pad-x) calc(.6rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,.94);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 30px -20px rgba(11,12,14,.5);
  transform: translateY(110%);
  transition: transform .26s var(--ease);
}
.sticky-cta.is-on { transform: translateY(0); }
.sticky-cta-in {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  max-width: var(--container); margin-inline: auto;
}
.sticky-cta .price-line { font-size: var(--fs-xs); color: var(--muted); line-height: 1.3; min-width: 0; }
.sticky-cta .price-line b { display: block; font-size: .95rem; color: var(--text); white-space: nowrap; }
.sticky-cta .btn { flex: 0 1 auto; min-height: 46px; padding-inline: 1.25rem; white-space: nowrap; }
@media (max-width: 859px) { .sticky-cta { display: block; } }

/* Small phones: keep the bar to one compact line rather than letting the
   button wrap onto two. */
@media (max-width: 389px) {
  .sticky-cta .price-line span { display: none; }
  .sticky-cta .price-line b { font-size: .875rem; }
  .sticky-cta .btn { padding-inline: 1rem; font-size: .95rem; }
}

/* ---------- 17. Thank you page ---------- */
.ty { min-height: 62vh; display: grid; align-items: center; }
.ty-card {
  max-width: 680px; margin-inline: auto; text-align: center;
}
.ty-mark {
  display: grid; place-items: center;
  width: 60px; height: 60px; margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: var(--green-tint); border: 1px solid var(--green-line);
  color: var(--green-deep);
}
.ty-mark svg { width: 28px; height: 28px; }
.ty-plan {
  display: inline-flex; align-items: center; gap: .45rem;
  margin-bottom: 1.25rem;
  padding: .3rem .85rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--muted);
}
.ty-card p { margin-inline: auto; }
.ty-card .lead { font-size: var(--fs-lead); color: var(--muted); }
.ty-detail {
  margin-top: 1rem;
  padding: .8rem 1.1rem;
  border: 1px solid var(--green-line); border-radius: var(--r-md);
  background: var(--green-tint);
  font-size: var(--fs-sm); color: #114634;
  max-width: 52ch;
}
.ty-detail[hidden] { display: none; }
.ty-next {
  margin-top: clamp(2.25rem, 1.8rem + 1.6vw, 3rem);
  padding: clamp(1.2rem, 1rem + 1vw, 1.75rem);
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--paper);
  text-align: left;
}
.ty-next h2 { font-size: 1.05rem; margin-bottom: .9rem; }
.ty-next ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.ty-next li { display: flex; gap: .6rem; align-items: flex-start; margin: 0; font-size: var(--fs-sm); color: var(--muted); }
.ty-next svg { width: 16px; height: 16px; color: var(--green-deep); flex: none; margin-top: .2rem; }
.ty-next a { color: var(--green-deep); font-weight: 600; }

/* ---------- 17b. Legal pages ---------- */
.legal { padding-block: clamp(2.5rem, 2rem + 2.5vw, 4.5rem); }
.legal h1 { font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem); margin-bottom: .35em; }
.legal h2 {
  font-size: clamp(1.15rem, 1.05rem + .45vw, 1.4rem);
  margin: 2.25rem 0 .6rem;
  letter-spacing: -0.02em;
}
.legal p, .legal li { color: var(--muted); max-width: 68ch; }
.legal li { margin-bottom: .5em; }
.legal strong { color: var(--text); }
.legal a { color: var(--green-deep); font-weight: 600; }
.legal .updated {
  font-size: var(--fs-sm); color: var(--muted); margin-bottom: 2rem;
}
.legal-note {
  margin: 0 0 2.5rem;
  padding: 1rem 1.15rem;
  border: 1px solid #E7C9A8;
  border-radius: var(--r-md);
  background: #FDF6EE;
}
.legal-note p { color: #6A4218; margin: 0; font-size: var(--fs-sm); }
.legal-back { margin-top: 3rem; }

/* ---------- 18. Motion ---------- */
.js .r { opacity: 0; transform: translateY(14px); }
.js .r.in {
  opacity: 1; transform: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .r { opacity: 1; transform: none; }
  .sticky-cta { transition: none; }
}

/* ---------- 19. Print ---------- */
@media print {
  .hdr, .sticky-cta { display: none !important; }
  .section--dark, .foot { background: #fff !important; color: #000 !important; }
}
