/* Preamble · site layouts. Loads after fonts.css, tokens.css and components.css.
   Tokens only: no hex values. Parts marked "→ design system" are new shared pieces that
   belong in components.css the next time the design system is updated.
   Breakpoints: phone ≤ 720px (header capsule), narrow 721–1023px, desktop ≥ 1024px.
   Phones have no bottom bar: the only thing fixed at the bottom is the small "Stuck? Get help" pill,
   so nothing wide sits at the screen's bottom edge (Safari 26 paints its toolbar strip from such bars). */

/* ── Base ─────────────────────────────────────────────── */
:root { --gutter: 20px; }
@media (min-width: 721px) { :root { --gutter: 32px; } }
*, *::before, *::after { box-sizing: border-box; }
/* The page colour sits on the root too, so any strip a browser paints from it (Safari 26's toolbar area,
   overscroll) matches the theme instead of falling back to white or black. */
html { background-color: var(--bg); scroll-padding-top: 104px; scroll-padding-bottom: 96px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (max-width: 720px) { html { scroll-padding-top: 84px; scroll-padding-bottom: 88px; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { font-size: 17px; line-height: 1.5; overflow-wrap: break-word; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
.wrap { width: min(var(--content-max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--narrow { width: min(760px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.eyebrow { font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--text-2); }
.lead { font-size: 22px; line-height: 1.45; color: var(--text-2); }
@media (max-width: 720px) { .lead { font-size: 18px; } }
.list-plain { list-style: none; margin: 0; padding: 0; }
.arrow { font-family: var(--font-body); }

/* Headings scale between phone and desktop (tokens.css sets the desktop sizes). */
.display-xl { font-size: clamp(40px, 4.4vw + 20px, 76px); }
.display-l { font-size: clamp(36px, 3.6vw + 14px, 60px); }
.display-m { font-size: clamp(34px, 2.8vw + 16px, 52px); }
.display-beat { font-family: var(--font-display); font-size: clamp(36px, 3.2vw + 15px, 56px); line-height: 1.04; font-weight: 700; letter-spacing: -0.025em; text-wrap: balance; }
.display-big { font-family: var(--font-display); font-size: clamp(40px, 4.2vw + 14px, 68px); line-height: 1; font-weight: 700; letter-spacing: -0.03em; text-wrap: balance; }

/* Show one version per breakpoint. display:none also hides it from screen readers. */
@media (max-width: 720px) { .desk-only { display: none !important; } }
@media (min-width: 721px) { .phone-only { display: none !important; } }

/* Skip link */
.skip { position: absolute; z-index: 100; left: 12px; top: -120px; padding: 12px 18px; border-radius: var(--radius-pill); background: var(--invert); color: var(--on-invert); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* Focus on deep green surfaces: the ring switches to the light ink so it stays 3:1. */
.on-deep :focus-visible, .pa-deep :focus-visible, .pa-banner :focus-visible { outline-color: var(--on-deep); }

/* A button that reads like a link (Start over, Undo, Edit answers) — 44px tall. → design system */
.linkbtn { display: inline-flex; align-items: center; gap: 6px; min-height: var(--target-min); padding: 0 4px; border: 0; background: none; color: var(--link); font-family: var(--font-body); font-size: 15px; font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; cursor: pointer; }
.linkbtn--quiet { color: var(--text-2); font-weight: 500; }

/* The white button on deep green (closing band, waitlist, Still stuck?). → design system */
.pa-btn--on-deep { background: var(--on-deep); color: var(--deep); }
.pa-btn--on-deep:hover { background: var(--on-deep-2); }
.pa-btn .pa-icon--after { width: 16px; height: 16px; }

/* "What's …?" definition buttons and the notes they open. → design system */
.defbtn { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: var(--target-min); padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--surface); color: var(--text-2); font-family: var(--font-body); font-size: 14px; font-weight: 500; cursor: pointer; }
.defbtn .pa-icon { width: 16px; height: 16px; color: var(--primary); }
.defbtn:hover, .defbtn[aria-expanded="true"] { border-color: var(--line-strong); color: var(--text); }
.def--toggle:not(.is-open) { display: none; }
@media (max-width: 720px) { .def--phone-toggle:not(.is-open) { display: none; } }

/* Soft chips on cards (times, question counts). */
.pa-chip--soft { padding: 7px 12px; background: var(--bg); font-size: 14px; }

/* Placeholders still to be decided: [N] minutes… They only ship inside a switched-off feature (npm test checks),
   so they show on a preview when that switch is turned on early, and never on the live site. */
.todo { padding: 1px 5px; border-radius: 4px; background: var(--warm-bg); color: var(--warm); white-space: normal; }

/* ── Header capsule ───────────────────────────────────── */
.site-head { position: fixed; z-index: 20; top: 20px; left: 0; right: 0; display: flex; justify-content: center; pointer-events: none; }
.site-head .pa-nav { pointer-events: auto; }
.pa-nav__brand { font-size: 24px; }
.pa-nav__link { font-size: 17px; font-weight: 500; padding: 0 16px; }
.pa-nav__link[aria-current="true"] { background: var(--tint); font-weight: 700; }
.pa-nav .pa-btn--ink { margin-left: 8px; }
@media (max-width: 720px) {
  .site-head { top: 12px; padding: 0 12px; }
  .site-head .pa-nav { width: 100%; height: var(--phone-header); padding: 0 6px 0 18px; }
  .site-head .pa-nav__brand { font-size: 21px; }
  .site-head .pa-nav__link { padding: 0 12px; font-size: 16px; }
  .site-head .pa-btn--ink { margin-left: 4px; padding: 0 16px; font-size: 15px; }
}
/* Small phones (and big text): Pricing and Write yours still fit beside the name. */
@media (max-width: 359px) {
  .site-head .pa-nav { padding-left: 14px; }
  .site-head .pa-nav__brand { font-size: 19px; }
  .site-head .pa-nav__link { padding: 0 8px; font-size: 15px; }
}

/* ── Help, everywhere: the "Stuck? Get help" pill, same on phones and computers ─── */
.stuck { position: fixed; z-index: 15; right: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px 0 7px; border: 1px solid var(--glass-line); border-radius: var(--radius-pill); background: var(--surface); box-shadow: var(--shadow-float); color: var(--text); font-size: 15px; font-weight: 500; text-decoration: none; }
.stuck:hover { border-color: var(--line-strong); }
.stuck__icon { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--bg); }
.stuck__icon .pa-icon { width: 18px; height: 18px; }
.stuck[aria-current="page"] { background: var(--tint); }
@media (max-width: 720px) {
  .stuck { right: max(16px, env(safe-area-inset-right)); bottom: max(16px, calc(env(safe-area-inset-bottom) + 8px)); }
}

/* Toast: "Copied. Paste it into your settings box." On phones it sits above the help pill. */
.site-toast { position: fixed; z-index: 30; left: 50%; bottom: 32px; transform: translate(-50%, 12px); opacity: 0; pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease; }
.site-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 720px) { .site-toast { bottom: calc(80px + env(safe-area-inset-bottom)); width: max-content; max-width: calc(100% - 32px); } }

/* "Coming soon" signs on the paid plans and on what they add. They go away when checkout opens. → design system */
.soon { display: inline-flex; flex: none; align-items: center; width: fit-content; padding: 3px 10px; border-radius: var(--radius-pill); background: var(--tint); color: var(--tint-ink); font-size: 13px; font-weight: 700; line-height: 1.35; white-space: nowrap; }
.pa-tier__head .soon, .lock__head .soon { display: flex; margin-top: 8px; }
.tier__ctext .soon { margin-top: 4px; }
.extras__card .soon { margin-left: 4px; vertical-align: 1px; }

/* ── Story ─────────────────────────────────────────────── */
.story { position: relative; }
.story__img { display: block; }
.story-1 { padding: 124px 0 24px; text-align: center; background: radial-gradient(ellipse 60% 55% at 50% 62%, var(--bg-2) 0%, transparent 70%); }
.story-1__intro { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.story-1__intro .lead { max-width: 40ch; text-wrap: balance; }
/* Who it's for: a slow reel of chips. It pauses with its button, on hover and on focus; with reduced motion (or no JS) it's a still row you can swipe. */
.reel { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; width: min(100%, 640px); }
.reel__label { font-size: 17px; font-weight: 500; line-height: 1.4; color: var(--text-2); text-wrap: balance; }
.reel__row { display: flex; align-items: center; gap: 8px; width: 100%; }
.reel__window { flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; border-radius: var(--radius-pill); -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); }
.reel__window::-webkit-scrollbar { display: none; }
.reel__track { display: flex; width: max-content; padding: 4px 24px; }
.reel__track li { margin-right: 8px; white-space: nowrap; } /* a margin, not a gap, so the loop meets itself exactly */
.reel.is-moving .reel__window { overflow: hidden; }
.reel.is-moving .reel__track { padding-inline: 0; animation: reel-slide 80s linear infinite; }
@media (hover: hover) { .reel.is-moving .reel__window:hover .reel__track { animation-play-state: paused; } } /* only over the chips, so the button can restart it */
.reel.is-moving .reel__window:focus-visible .reel__track, .reel.is-paused .reel__track { animation-play-state: paused; }
@keyframes reel-slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .reel.is-moving .reel__track { animation: none; } }
.reel__toggle { flex: none; display: inline-flex; align-items: center; justify-content: center; width: var(--target-min); height: var(--target-min); padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--text); cursor: pointer; } /* the symbol only; screen readers hear "Pause the list" */
.reel__toggle:hover { border-color: var(--line-strong); }
.reel__toggle .pa-icon { width: 18px; height: 18px; }
.reel__play, .reel.is-paused .reel__pause { display: none; }
.reel.is-paused .reel__play { display: inline; }
@media (max-width: 720px) { .reel__label { font-size: 16px; } }
.story-1__cta { position: relative; z-index: 1; margin-top: 4px; } /* above the pot's clear top edge, which tucks under the intro */
.story-1__img { width: 448px; margin: -84px auto 0; }
.story__cue { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: -72px; font-size: 15px; color: var(--text-2); }
.story__cue .pa-icon { width: 16px; height: 16px; stroke-width: 2; }
.story-2 { display: flex; flex-direction: column; padding: 88px 0 0; background: radial-gradient(ellipse 55% 55% at 50% 58%, var(--bg-2) 0%, transparent 70%); }
.story-2__text { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.story-2__text .lead { max-width: 40ch; }
.story-2__stage { position: relative; width: 500px; max-width: 100%; margin: 12px auto -56px; }
.story-2__img { width: 100%; }
.pa-callout { z-index: 1; }
.pa-callout__label { font-size: 14px; }
.pa-callout__quote { font-size: 22px; letter-spacing: -0.01em; }
.pa-callout__cap { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.pa-callout__cap .pa-icon { width: 14px; height: 14px; stroke-width: 2; color: var(--primary); }
.callout--right, .callout--left { position: absolute; width: 268px; }
.callout--right { left: 82%; top: 122px; }
.callout--left { right: 78%; top: 176px; border-radius: 24px 6px 24px 24px; }
.callout--right::before, .callout--left::before { content: ""; position: absolute; top: 84px; width: 56px; height: 2px; background: var(--primary); }
.callout--right::before { right: 100%; }
.callout--left::before { left: 100%; }
.callout--right::after, .callout--left::after { content: ""; position: absolute; top: 80px; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); }
.callout--right::after { right: calc(100% + 52px); }
.callout--left::after { left: calc(100% + 52px); }
.callout--solo { position: relative; width: 272px; margin: 0 0 -28px auto; }
@media (max-width: 1023px) { .callout--right, .callout--left { display: none; } }
@media (min-width: 1024px) { .callout--solo { display: none; } }
.story-3 { padding: 32px 0 96px; }
.story-3__grid { display: grid; grid-template-columns: minmax(0, 500px) minmax(0, 1fr); gap: 32px; align-items: center; }
.story-3__text { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.story-3__text .lead { max-width: 28ch; }
.story-3__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.story-3__img { width: 592px; max-width: 100%; justify-self: end; }
.rights-card { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; padding: 18px 20px; border-radius: var(--radius-small); background: var(--glass); }
.rights-card__title { font-size: 15px; font-weight: 700; }
.rights-card__sub { margin-top: -4px; font-size: 15px; line-height: 1.4; color: var(--text-2); }
.rights-list { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.rights-list li { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 12px; align-items: start; }
.rights-list .pa-chip { justify-self: start; }
.rights-list__line { padding-top: 6px; font-size: 15px; line-height: 1.4; color: var(--text); } /* first line centred on the chip */
@media (max-width: 359px) { .rights-list li { grid-template-columns: minmax(0, 1fr); gap: 4px; } .rights-list__line { padding-top: 0; } }
@media (max-width: 899px) {
  .story-3__grid { grid-template-columns: minmax(0, 1fr); }
  .story-3__img { order: -1; width: min(420px, 84%); justify-self: center; }
}
@media (max-width: 720px) {
  .story-1 { padding-top: 96px; }
  .story-1__img { width: min(330px, 84%); margin-top: -84px; } /* tucks the pot's clear top under the Write yours button */
  .story__cue { margin-top: -40px; }
  .story-2 { padding-top: 48px; }
  .story-2__text { order: 2; align-items: flex-start; text-align: left; margin-top: 0; }
  .story-2__stage { width: min(360px, 100%); margin: 0 auto -36px; }
  .story-3 { padding-bottom: 72px; }
}

/* ── Pricing ───────────────────────────────────────────── */
.pricing { padding: 88px 0 104px; background: var(--bg-2); }
.pricing__head { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.pricing__lead { max-width: 40ch; margin-top: 4px; font-size: 20px; line-height: 1.5; color: var(--text-2); }
.pricing__head .pa-note { max-width: 560px; text-align: left; }
.aud-tabs { display: flex; margin: 32px auto 0; }
.aud-tabs .pa-seg__opt { min-height: 50px; padding: 0 24px; font-size: 17px; }
.aud-tabs .pa-seg__opt .pa-seg__badge { background: var(--surface); color: var(--text-2); }
.aud-tabs .pa-seg__opt[aria-selected="true"] .pa-seg__badge { background: var(--tint); color: var(--text); }
.sizekey-row { display: flex; justify-content: center; margin-top: 28px; }
.pa-sizekey { font-size: 15px; justify-content: center; }
.pa-sizekey li { align-items: flex-start; }
.pa-sizekey__swatch { margin-top: 3px; }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; margin-top: 24px; }
.tiers .pa-tier { gap: 16px; padding: 28px; }
.tiers .pa-tier__head .pa-sizebox { width: 64px; height: 64px; }
.tiers .pa-tier__name { font-size: 26px; }
.tiers .pa-tier__sizes { font-size: 15px; }
.tiers .pa-tier__amount { font-size: 56px; }
.tiers .pa-tier__per { font-size: 17px; }
.tier__body { display: flex; flex: 1 1 auto; flex-direction: column; gap: 16px; }
.tier__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tier__plus { font-size: 16px; font-weight: 700; }
.tiers .pa-tier__list { gap: 12px; font-size: 16px; line-height: 1.45; }
.tiers .pa-tick { margin-top: 1px; }
.tier__cta { margin-top: auto; padding-top: 8px; }
.tier__money { padding: 16px; border-radius: var(--radius-field); background: var(--tint); font-size: 15px; line-height: 1.5; }
.tier__toggle { display: none; }
/* Personal: Just me / Family */
.who { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; margin: 0; padding: 4px; border: 0; border-radius: var(--radius-pill); background: var(--bg); }
.who__opt { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 52px; padding: 4px 10px; border-radius: var(--radius-pill); text-align: center; cursor: pointer; }
.who__opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.who__opt:has(input:checked) { background: var(--raised); box-shadow: var(--shadow-seg); }
.who__opt:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.who__name { display: inline-flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 700; }
.who__name .pa-icon { display: none; width: 14px; height: 14px; stroke-width: 2.6; color: var(--primary); }
.who__opt:has(input:checked) .who__name .pa-icon { display: inline-block; }
.who__price { font-size: 13px; color: var(--text-2); }
.who__note { margin-top: -6px; font-size: 14px; line-height: 1.4; color: var(--text-2); }
.tiers__phone-note { margin-top: 14px; font-size: 15px; color: var(--text-2); }
.tiers__more { margin-top: 20px; font-size: 15px; text-align: center; }
.pricing__lead { text-wrap: balance; }
@media (max-width: 720px) { .tiers__more { margin-top: 12px; text-align: left; } }
.extras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.extras__card { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 28px 32px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface); font-size: 16px; line-height: 1.5; color: var(--text-2); }
.extras__card a { font-weight: 700; }
.extras__row { display: flex; gap: 12px; align-items: flex-start; }
.extras__row .pa-icon { margin-top: 2px; color: var(--primary); }
/* Why keep it current?: the wide deep-green card, with growth rings (the site's sign for versions). */
.why { position: relative; grid-column: span 2; gap: 22px; padding: 30px 32px 32px; overflow: hidden; border-radius: var(--radius-tier); }
.why__rings { position: absolute; right: -96px; bottom: -104px; width: 260px; height: 260px; fill: none; stroke: currentColor; stroke-width: 1.5; color: var(--on-deep-3); opacity: 0.22; pointer-events: none; }
.why__head { position: relative; display: flex; align-items: center; gap: 14px; }
.why__icon { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--on-deep); color: var(--deep); }
.why__icon .pa-icon { width: 26px; height: 26px; stroke-width: 1.8; }
.pa-deep .why__title { font-size: clamp(26px, 1.2vw + 16px, 32px); letter-spacing: -0.02em; color: var(--on-deep); }
.pa-deep .why__list { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 0; list-style: none; counter-reset: why; }
.pa-deep .why__list li { counter-increment: why; display: flex; flex-direction: column; gap: 6px; font-size: 17px; line-height: 1.4; color: var(--on-deep); }
.why__list li::before { content: counter(why); font-family: var(--font-display); font-size: 44px; font-weight: 700; line-height: 1; letter-spacing: -0.03em; color: var(--on-deep-3); }
.rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.rule { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 22px 20px; border-radius: var(--radius-card); background: var(--surface); }
.rule__icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--bg); color: var(--text); }
.rule__icon .pa-icon { width: 18px; height: 18px; }
.rule__title { margin-top: 6px; font-size: 17px; font-weight: 700; }
.rule p { font-size: 15px; line-height: 1.5; color: var(--text-2); }
.rule .pa-note { font-size: 14px; }
/* Business */
.biz__lead { max-width: 44ch; margin: 28px auto 0; font-size: 20px; line-height: 1.5; text-align: center; color: var(--text-2); }
.biz { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 32px; align-items: stretch; }
.biz .pa-tier { gap: 16px; padding: 28px; }
.biz .pa-tier__name { font-size: 28px; }
.pa-badge--block { width: auto; padding: 10px 14px; }
.waitlist { justify-content: flex-start; gap: 16px; padding: 28px; border-radius: var(--radius-tier); }
.waitlist .pa-deep__title { font-size: 26px; }
.waitlist p { font-size: 15px; }
@media (max-width: 1023px) {
  .tiers, .biz { grid-template-columns: minmax(0, 1fr); max-width: 600px; margin-inline: auto; }
  .extras { grid-template-columns: minmax(0, 1fr); max-width: 600px; margin-inline: auto; }
  .why { grid-column: auto; }
  .rules { grid-template-columns: minmax(0, 1fr); max-width: 600px; margin-inline: auto; }
}
@media (max-width: 720px) {
  .pricing { padding: 88px 0 72px; }
  .pricing__head { align-items: flex-start; text-align: left; }
  .pricing__lead { font-size: 17px; }
  .aud-tabs { display: grid; width: 100%; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  .aud-tabs .pa-seg__opt { padding: 0 10px; font-size: 15px; white-space: normal; line-height: 1.2; }
  .sizekey-row { justify-content: flex-start; margin-top: 20px; }
  .pa-sizekey { flex-direction: column; gap: 6px; font-size: 14px; }
  .tiers { gap: 12px; margin-top: 16px; }
  .tiers .pa-tier { gap: 0; padding: 0; border-radius: var(--radius-card); box-shadow: var(--shadow-1); }
  .tier__toggle { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 84px; padding: 14px 16px; border: 0; border-radius: var(--radius-card); background: none; color: var(--text); font-family: var(--font-body); text-align: left; cursor: pointer; }
  .tier__toggle .pa-sizebox { width: 44px; height: 44px; }
  .tier__ctext { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
  .tier__cname { font-family: var(--font-display); font-size: 21px; font-weight: 700; line-height: 1.1; }
  .tier__csub { font-size: 14px; color: var(--text-2); }
  .tier__cprice { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
  .tier__camount { font-family: var(--font-display); font-size: 30px; font-weight: 700; line-height: 1; letter-spacing: -0.03em; }
  .tier__cper { font-size: 13px; font-weight: 700; color: var(--text-2); }
  .tier__cnote { font-size: 13px; color: var(--text-2); }
  .tier__body { display: none; padding: 0 16px 18px; }
  .pa-tier.is-open .tier__body { display: flex; }
  .extras__card { padding: 20px; }
  .why { gap: 18px; padding: 24px 22px 26px; }
  .pa-deep .why__list { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .pa-deep .why__list li { flex-direction: row; align-items: baseline; gap: 16px; }
  .why__list li::before { flex: none; width: 30px; font-size: 36px; }
  .biz__lead { text-align: left; font-size: 17px; margin-top: 20px; }
}

/* ── Write yours (the builder) ─────────────────────────── */
.write { padding: 88px 0 104px; }
.write__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.write__head .eyebrow { margin-bottom: 10px; }
.hurry { display: flex; flex: none; flex-direction: column; align-items: flex-end; gap: 8px; }
.hurry__btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px 0 8px; border: 0; border-radius: var(--radius-pill); background: var(--surface); box-shadow: var(--shadow-1); color: var(--text); font-family: var(--font-body); font-size: 16px; font-weight: 700; cursor: pointer; }
.hurry__btn:hover { box-shadow: var(--shadow-2); }
.hurry__icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--tint); color: var(--tint-ink); }
.hurry__icon .pa-icon { width: 18px; height: 18px; }
.hurry__cap { font-size: 14px; color: var(--text-2); }
.builder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); grid-template-areas: "q doc" "hurry doc" "locked doc" "note doc"; grid-template-rows: auto auto auto 1fr; column-gap: 36px; align-items: start; margin-top: 28px; padding: 36px; border-radius: var(--radius-panel); background: var(--surface); box-shadow: var(--shadow-2); }
.qcard { grid-area: q; display: flex; flex-direction: column; gap: 18px; margin: 0; }
.hurry-card { grid-area: hurry; }
.locked { grid-area: locked; }
.locked__note { grid-area: note; }
.doc { grid-area: doc; position: sticky; top: 100px; }
.peek { grid-area: peek; display: none; }
.qcard__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: var(--target-min); }
.qcard__top-right { display: flex; align-items: center; gap: 8px; }
.undo { display: inline-flex; align-items: center; gap: 4px; font-size: 15px; color: var(--text-2); }
.q { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
legend.q__title { margin-bottom: 8px; }
.q__title { padding: 0; font-family: var(--font-display); font-size: 30px; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; color: var(--text); }
.q__hint { font-size: 16px; line-height: 1.45; color: var(--text-2); }
.q .pa-input { height: 58px; font-size: 18px; }
.q__count { font-size: 14px; color: var(--text-2); text-align: right; font-variant-numeric: tabular-nums; }
.builder .pa-choice { align-items: center; min-height: 56px; background: var(--bg-2); }
.builder .pa-choices { gap: 10px; }
.qcard__nav { display: flex; align-items: center; gap: 12px; }
.qcard__nav .qnext { margin-left: auto; }
.qcard__nav .pa-btn--quiet { height: 56px; }
.hurry-card { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; padding: 20px; border-radius: var(--radius-card); background: var(--surface); }
.hurry-card__head { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; }
.hurry-card p { font-size: 15px; line-height: 1.5; color: var(--text-2); }
.hurry-card .pa-btn { align-self: flex-start; }
.locked { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.lock { padding: 18px 18px 16px; border-radius: var(--radius-choice); background: var(--bg-2); }
.lock__head { display: flex; align-items: flex-start; gap: 12px; }
.lock__icon { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: var(--radius-icon); background: var(--surface); }
.lock__icon .pa-icon { width: 18px; height: 18px; }
.lock__title { font-size: 16px; font-weight: 700; line-height: 1.3; }
.lock__sub { font-size: 14px; color: var(--text-2); }
.lock__topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.lock__topics li { padding: 6px 12px; border-radius: var(--radius-pill); background: var(--surface); font-size: 14px; line-height: 1.3; }
.locked__note { margin-top: 14px; font-size: 14px; color: var(--text-2); }
/* The living document */
.doc { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 28px; background: var(--bg); }
.doc__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.doc__title { font-family: var(--font-display); font-size: 30px; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.doc__status { font-size: 15px; font-weight: 700; }
@media (min-width: 721px) { .doc__head { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } }
.size-tabs .pa-seg__opt { min-height: 50px; }
.size-tabs .pa-seg__opt .pa-icon { width: 16px; height: 16px; }
.size-tabs .pa-seg__opt[aria-selected="true"] .pa-icon { color: var(--primary); stroke-width: 2.6; }
.doc__panel { display: flex; flex-direction: column; gap: 14px; }
.view-toggle { align-self: flex-start; }
.pa-reads { min-height: 120px; }
.pa-reads__line.is-new { background: var(--tint); box-shadow: -2px 0 0 var(--tint), 2px 0 0 var(--tint); }
.pa-reads__line--blank { min-height: 1.6em; }
.pv { display: flex; flex-direction: column; gap: 12px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius-small); background: var(--surface); font-size: 16px; line-height: 1.5; }
.pv__priority { font-weight: 700; }
.pv__heading { margin-top: 6px; font-family: var(--font-display); font-size: 20px; font-weight: 700; line-height: 1.2; }
.pv__rights { display: flex; flex-direction: column; gap: 10px; }
.pv__art { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.02em; color: var(--text-3); }
.pv__label { font-weight: 700; }
.doc .pa-meter__label { padding: 6px 14px 6px 12px; border-radius: var(--radius-pill); background: var(--surface); }
.doc__cap { font-size: 14px; line-height: 1.45; color: var(--text-2); }
.doc__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.doc__actions .pa-btn--quiet { height: 56px; }
.doc__locked { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 22px; border-radius: var(--radius-small); background: var(--surface); }
.doc__locked .lock__head { width: 100%; }
.doc__locked .lock__icon { background: var(--bg); }
.doc__locked .lock__title { font-size: 17px; }
.noscript { margin-top: 20px; padding: 16px 20px; border-radius: var(--radius-field); background: var(--warm-bg); color: var(--warm); font-weight: 700; }
@media (max-width: 1023px) {
  .write__head { flex-direction: column; align-items: flex-start; }
  .hurry { align-items: flex-start; }
}
@media (max-width: 959px) {
  .builder { grid-template-columns: minmax(0, 1fr); grid-template-areas: "q" "hurry" "locked" "note" "doc"; grid-template-rows: none; }
  .doc { position: static; margin-top: 28px; }
}
@media (max-width: 720px) {
  .write { padding: 88px 0 48px; }
  /* The live preview sits in the page right under the question (it never floats over other things). */
  .builder { grid-template-areas: "q" "peek" "doc" "hurry" "locked" "note"; margin-top: 20px; padding: 0; border-radius: 0; background: none; box-shadow: none; }
  .builder:not(.is-done) .doc { display: none; }
  .builder.is-done .qcard, .builder.is-done .hurry-card { display: none; }
  .doc { margin-top: 0; padding: 0; background: none; }
  .q__title { font-size: 30px; }
  .builder .pa-choice { background: var(--surface); }
  .lock { background: var(--surface); }
  .lock__topics li { background: var(--bg); }
  .doc__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doc__actions .pa-btn { width: 100%; }
  .doc__actions .pa-btn--primary { grid-column: 1 / -1; }
  .pa-reads { padding: 12px; font-size: 13px; line-height: 1.55; }
  .peek { display: block; margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-card); background: var(--surface); box-shadow: var(--shadow-1); }
  .builder.is-done .peek { display: none; }
  .peek__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 15px; font-weight: 700; }
  .peek__count { font-family: var(--font-mono); font-size: 13px; font-weight: 400; color: var(--text-2); }
  .peek__text { margin-top: 8px; max-height: calc(3 * 1.55em); overflow: hidden; font-family: var(--font-mono); font-size: 13px; line-height: 1.55; white-space: pre-wrap; }
  .peek__text .is-new { background: var(--tint); }
  .peek__bar { display: block; height: 6px; margin-top: 10px; border-radius: var(--radius-pill); background: var(--line); }
  .peek__fill { display: block; width: 0; height: 100%; border-radius: var(--radius-pill); background: var(--primary); }
}

/* ── Work with Nick ────────────────────────────────────── */
.nick { padding: 96px 0; background: var(--bg-2); }
.nick__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 56px; align-items: start; }
.nick__list { display: flex; flex-direction: column; gap: 16px; margin: 22px 0 30px; font-size: 17px; line-height: 1.5; }
.nick__list li { display: flex; align-items: flex-start; gap: 12px; }
.num { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--tint); color: var(--tint-ink); font-size: 14px; font-weight: 700; }
.pick { display: flex; flex-direction: column; gap: 14px; width: 470px; max-width: 100%; padding: 28px 30px; border-radius: var(--radius-card); background: var(--surface); box-shadow: var(--shadow-2); }
.pick__head { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; }
.pick__icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--tint); }
.pick__icon .pa-icon { width: 18px; height: 18px; }
.pick__big { font-family: var(--font-display); font-size: 26px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.pick p { font-size: 16px; color: var(--text-2); }
.pick__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 15px; }
@media (max-width: 899px) { .nick__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } .pick { width: auto; } }
@media (max-width: 720px) { .nick { padding: 64px 0; } }

/* ── Closing band ──────────────────────────────────────── */
.closing { padding: 112px 0 120px; background: var(--deep); color: var(--on-deep); text-align: center; }
.closing__h { font-family: var(--font-display); font-size: clamp(44px, 5vw + 20px, 84px); font-weight: 700; line-height: 1; letter-spacing: -0.035em; text-wrap: balance; }
.closing__sub { margin-top: 18px; font-size: 24px; line-height: 1.4; color: var(--on-deep-2); }
.closing .pa-btn { margin-top: 36px; }
.closing__count { max-width: 52ch; margin: 30px auto 0; font-size: 15px; color: var(--on-deep-3); }
.closing__total { margin-top: 10px; font-size: 17px; font-weight: 700; color: var(--on-deep); font-variant-numeric: tabular-nums; }
@media (max-width: 720px) { .closing { padding: 80px 0 88px; } .closing__sub { font-size: 20px; } }

/* ── Footer ────────────────────────────────────────────── */
.site-foot { padding: 28px 0 104px; border-top: 1px solid var(--line); }
.site-foot__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.site-foot__main { display: flex; flex-direction: column; gap: 4px; }
.site-foot__row { display: flex; flex-wrap: wrap; align-items: center; column-gap: 28px; }
.site-foot__brand { font-family: var(--font-display); font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }
.site-foot__links { display: flex; flex-wrap: wrap; column-gap: 24px; }
.site-foot__links a { display: inline-flex; align-items: center; min-height: var(--target-min); color: var(--text); font-size: 16px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.site-foot__links a[aria-current="page"] { font-weight: 700; }
.site-foot__privacy { font-size: 15px; color: var(--text-2); }
.site-foot__privacy a { font-weight: 700; }
.theme-switch .pa-seg__opt { font-size: 15px; }
/* The bottom padding leaves room to scroll the last line clear of the help pill. */
@media (max-width: 720px) { .site-foot { padding-bottom: 88px; } .site-foot__row { flex-direction: column; align-items: flex-start; } .site-foot__links { column-gap: 20px; } }

/* ── Inner pages ───────────────────────────────────────── */
.page { padding: 124px 0 80px; }
@media (max-width: 720px) { .page { padding: 92px 0 56px; } }
.checklist { display: flex; flex-direction: column; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.checklist .pa-tick { margin-top: 2px; }
.xmark { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--bg); color: var(--text-2); }
.xmark .pa-icon { width: 12px; height: 12px; stroke-width: 3; }

/* Privacy */
.privacy-hero { padding: 124px 0 56px; }
.privacy-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 48px; align-items: start; }
.privacy-hero h1 { font-family: var(--font-display); font-size: clamp(44px, 3vw + 26px, 64px); font-weight: 700; line-height: 1; letter-spacing: -0.03em; }
.privacy-hero .lead { max-width: 24ch; margin-top: 18px; }
.updated { margin-top: 18px; font-size: 15px; color: var(--text-2); }
.card { padding: 28px; border-radius: var(--radius-card); background: var(--surface); }
.card--lift { box-shadow: var(--shadow-1); }
.card__title { font-family: var(--font-display); font-size: 26px; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
.card .checklist { margin-top: 16px; }
.privacy-band { padding: 56px 0; background: var(--bg-2); }
.privacy-band__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.privacy-rest { padding: 64px 0 88px; }
.privacy-rest__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 56px; }
.p-sec h2 { font-family: var(--font-display); font-size: 26px; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
.p-sec p { margin-top: 10px; color: var(--text-2); }
@media (max-width: 899px) { .privacy-hero__grid, .privacy-band__grid, .privacy-rest__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) { .privacy-hero { padding: 92px 0 32px; } .card { padding: 20px; } .card__title { font-size: 22px; } .privacy-band { padding: 32px 0; } .privacy-rest { padding: 40px 0 56px; } .p-sec h2 { font-size: 22px; } }

/* Help */
.help__intro .lead { margin-top: 12px; color: var(--text); }
.help__grid { display: grid; grid-template-columns: minmax(0, 672px) minmax(0, 360px); justify-content: space-between; gap: 48px; align-items: start; margin-top: 32px; }
.help__list { display: flex; flex-direction: column; gap: 12px; }
.pa-disclosure__panel .pa-link { align-self: flex-start; }
.help__stuck { position: sticky; top: 104px; gap: 12px; padding: 28px 26px; border-radius: var(--radius-tier); }
.help__stuck .pa-deep__title { font-size: 26px; }
.help__stuck .pa-btn { width: 100%; margin-top: 8px; }
.help__stuck .help__email { font-size: 15px; }
.help__feedback { margin-top: 40px; font-size: 17px; }
@media (max-width: 899px) { .help__grid { grid-template-columns: minmax(0, 1fr); } .help__stuck { position: static; } }
@media (max-width: 720px) { .pa-disclosure__button { font-size: 17px; padding: 0 16px; } .pa-disclosure__panel { padding: 0 16px 18px; font-size: 16px; } }

/* Where to paste */
.wtp h1 { font-family: var(--font-display); font-size: clamp(36px, 2.4vw + 24px, 52px); font-weight: 700; line-height: 1.05; letter-spacing: -0.025em; text-wrap: balance; margin-top: 10px; }
.wtp .lead { margin-top: 16px; }
.wtp h2 { margin-top: 52px; font-family: var(--font-display); font-size: 30px; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.wtp p { margin-top: 12px; }
.wtp .pa-note { margin-top: 20px; }
.checked { margin-top: 16px; font-size: 15px; font-weight: 700; color: var(--text-2); }
.steps { counter-reset: step; display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.steps li { counter-increment: step; display: flex; align-items: flex-start; gap: 14px; line-height: 1.5; }
.steps li::before { content: counter(step); display: inline-flex; flex: none; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--tint); color: var(--tint-ink); font-size: 14px; font-weight: 700; }
.wtp .card { margin-top: 48px; }
.wtp .card p { margin-top: 10px; color: var(--text-2); }
.wtp .card .pa-btn { margin-top: 18px; }
.wtp__foot { margin-top: 40px; font-size: 15px; color: var(--text-2); }
@media (max-width: 720px) { .wtp h2 { font-size: 24px; margin-top: 40px; } }

/* 404 */
.notfound { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }

/* ── Print: the Print button prints the page view of your constitution, nothing else ── */
#print-sheet { display: none; }
@media print {
  .site-head, .stuck, .site-toast, .skip, .site-foot, .noscript { display: none !important; }
  body, body * { color: black !important; background: transparent !important; box-shadow: none !important; }
  html.print-doc main { display: none !important; }
  html.print-doc #print-sheet { display: block !important; padding: 0 8mm; font-family: var(--font-body); font-size: 12pt; line-height: 1.5; }
  #print-sheet .print__title { font-family: var(--font-display); font-size: 20pt; font-weight: 700; margin-bottom: 4mm; }
  #print-sheet .pv { border: 0; padding: 0; gap: 3mm; }
}

/* ── Reduced motion: nothing moves. (Smooth scrolling is only turned on above for no-preference;
   the switch's own transition is handled in components.css.) ── */
@media (prefers-reduced-motion: reduce) {
  .site-toast { transition: none; }
}

/* Line-break marks never come along when someone selects the text by hand. */
.pa-reads__nl { -webkit-user-select: none; user-select: none; }
/* The white button keeps its deep-green words even inside a deep card (whose links are light). */
.pa-btn.pa-btn--on-deep { color: var(--deep); }
.pa-disclosure__panel p a { font-weight: 700; }

/* Help me choose (choose.html): one question at a time, each answer with a short note, then a suggestion. */
.choose__nojs { margin-top: 24px; }
.choose__card, .choose__result, .demo__card { display: flex; flex-direction: column; gap: 18px; max-width: 640px; margin-top: 32px; padding: 28px; border-radius: var(--radius-card); background: var(--surface); }
.choose__step { font-size: 14px; font-weight: 700; color: var(--text-2); }
.choose__q .pa-choice { align-items: center; background: var(--bg-2); }
.choose__nav { display: flex; align-items: center; gap: 12px; }
.choose__next { margin-left: auto; }
.choose__result { align-items: flex-start; gap: 14px; }
.choose__result p { font-size: 17px; line-height: 1.5; }
.choose__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.choose__small, .choose__result .choose__small { font-size: 15px; color: var(--text-2); }
.choose__after { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: 640px; margin-top: 20px; }
@media (max-width: 720px) { .choose__card, .choose__result, .demo__card { padding: 20px; } }

/* Try it side by side (demo.html): four numbered steps, then two buttons that open Duck.ai. */
.demo__title { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 24px; font-weight: 700; line-height: 1.15; }
.demo__num { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--tint); color: var(--tint-ink); font-size: 16px; }
.demo__small { font-size: 15px; color: var(--text-2); }
.demo__card .pa-choice { align-items: center; background: var(--bg-2); }
.demo__own { display: flex; flex-direction: column; gap: 6px; }
.demo__ctas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.demo__col { display: flex; flex-direction: column; gap: 10px; }
.demo__col .pa-btn { width: 100%; height: auto; min-height: 56px; padding: 10px 16px; white-space: normal; text-align: center; line-height: 1.25; } /* long labels wrap instead of clipping */
/* One box for both instructions: the how-to above the buttons, and the copy note under "Copy & open". */
.demo__callout { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 14px 16px; border: 2px solid var(--primary); border-radius: var(--radius-field); background: var(--tint); color: var(--text); font-size: 16px; line-height: 1.45; }
.demo__callout .pa-icon { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--primary); }
.demo__paste { animation: demo-pulse 2.2s ease-in-out 2; } /* twice, under 5 seconds, then still */
.demo__paste .demo__i-check, .demo__paste.is-copied .demo__i-copy { display: none; }
.demo__paste.is-copied .demo__i-check { display: block; }
@keyframes demo-pulse { 0%, 100% { border-color: var(--primary); box-shadow: 0 0 0 0 transparent; } 50% { border-color: var(--line); box-shadow: 0 0 0 6px var(--tint); } }
@media (prefers-reduced-motion: reduce) { .demo__paste { animation: none; border-style: dashed; } }
@media (max-width: 720px) { .demo__ctas { grid-template-columns: minmax(0, 1fr); } }
.demo__ctas .pa-btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.demo__reads { min-height: 0; }
.demo .help__intro, .demo .choose__nojs, .demo .help__feedback { max-width: 640px; margin-inline: auto; text-align: center; }
.demo .help__intro .lead { text-wrap: balance; }
.demo__card { margin-inline: auto; }
.doc__try { margin-top: 4px; }

