/* Tendersmith home page (site/home.html). Loaded after tokens.css and site.css; behaviour in home.js.
   Every animation is decoration: content is complete and readable without JavaScript, and prefers-reduced-motion
   turns motion off (tokens.css) and swaps the scroll story for a plain list. Sizes come from tokens.css. */

/* ── Shared pieces ─────────────────────────────────────────────────────────────── */
.display { font-size: var(--fs-d2); letter-spacing: -.038em; line-height: 1.04; font-weight: 640; }
.display .serif, h1 .serif { font-size: 1.08em; letter-spacing: -.012em; line-height: .9; color: var(--brand-2); }
.on-dark .display .serif, .on-dark h1 .serif { color: var(--accent); }
.sec-head { max-width: 760px; margin-bottom: 56px; }
.center-head { margin-left: auto; margin-right: auto; text-align: center; }
.center-head .section-lede { margin-left: auto; margin-right: auto; }
.on-dark { background: var(--brand); color: var(--on-dark); }
.on-dark h2, .on-dark h3 { color: #fff; }
.on-dark .eyebrow { color: var(--accent); }
.on-dark .section-lede, .on-dark p { color: var(--on-dark-muted); }
.on-dark a:not(.btn) { color: #fff; }
.ic-check { width: 1.1em; height: 1.1em; flex: none; }
.pill-g, .pill-a, .pill-r, .pill-k { display: inline-flex; align-items: center; min-height: 22px; padding: 0 9px; border-radius: 999px;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .01em; white-space: nowrap; }
.pill-g { background: var(--color-success-soft); color: var(--color-success); box-shadow: inset 0 0 0 1px #b9dcc7; }
.pill-a { background: var(--accent-soft); color: var(--accent-ink); box-shadow: inset 0 0 0 1px #efd3a4; }
.pill-r { background: var(--color-danger-soft); color: var(--color-danger); box-shadow: inset 0 0 0 1px #f0c4bf; }
.pill-k { background: var(--brand); color: #fff; }
mark.ph { background: #fdf0d5; color: var(--accent-ink); border-radius: 4px; padding: 1px 4px; box-shadow: inset 0 0 0 1px #efcf94;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; font-weight: 550; }
.stage-note { margin: 18px 0 0; font-size: var(--fs-xs); color: var(--muted); letter-spacing: .01em; }
.on-dark-note { color: var(--on-dark-muted); }
.paper { background: #fff; border-radius: 4px; overflow: hidden; box-shadow: 0 0 0 1px rgba(16, 33, 28, .06), 0 2px 4px rgba(16, 33, 28, .06),
  0 18px 40px -12px rgba(16, 33, 28, .35); }
.paper img, .paper picture { display: block; width: 100%; height: auto; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Scroll reveals (home.js adds .reveal-ready to <html>; without it everything simply shows) */
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal-ready [data-reveal] { opacity: 1; transform: none; } }

/* ── Hero ──────────────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; overflow: clip; padding: 56px 0 88px; background:
  radial-gradient(80% 60% at 50% 0%, #2b6453 0%, rgba(43, 100, 83, 0) 70%),
  linear-gradient(180deg, #1d3b34 0%, #173029 100%); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(230, 238, 235, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(230, 238, 235, .05) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 55% at 50% 30%, #000 0%, transparent 75%);
  mask-image: radial-gradient(70% 55% at 50% 30%, #000 0%, transparent 75%); }
.hero-glow { position: absolute; z-index: -1; left: 50%; top: 52%; width: 1100px; height: 520px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(224, 164, 88, .28), rgba(224, 164, 88, 0)); filter: blur(10px); pointer-events: none; }
.hero-inner { text-align: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 7px 14px 7px 12px; border-radius: 999px;
  background: rgba(242, 240, 233, .07); box-shadow: inset 0 0 0 1px rgba(242, 240, 233, .14); color: var(--on-dark); font-size: var(--fs-sm);
  font-weight: 500; }
.hero-kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(224, 164, 88, .2); }
.hero h1 { font-size: var(--fs-d1); color: #fff; letter-spacing: -.045em; line-height: 1; font-weight: 640; max-width: 14ch; margin: 0 auto 22px; }
.hero h1 .serif { display: inline-block; padding-right: .06em; }
.hero-lede { max-width: 640px; margin: 0 auto; font-size: var(--fs-md); color: var(--on-dark-muted); line-height: 1.6; }

.trade-switch { position: relative; max-width: 760px; margin: 28px auto 0; padding: 8px; border-radius: 20px; background: rgba(16, 33, 28, .45);
  box-shadow: inset 0 0 0 1px rgba(242, 240, 233, .1), 0 20px 50px -30px rgba(0, 0, 0, .6); text-align: left; }
.trade-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 2px; }
.trade-tabs button { min-height: 40px; padding: 0 14px; border: 0; border-radius: 12px; background: transparent; color: var(--on-dark-muted);
  font: inherit; font-size: var(--fs-sm); font-weight: 550; cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease); }
.trade-tabs button:hover { color: #fff; background: rgba(242, 240, 233, .06); }
.trade-tabs button[aria-selected="true"] { background: var(--bone); color: var(--brand); box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .5); }
.trade-tabs button:focus-visible, .trade-panel:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.trade-more { position: absolute; right: 16px; bottom: 12px; display: inline-flex; align-items: center; gap: 4px; min-height: 28px; padding: 0 2px;
  color: var(--accent) !important; font-size: var(--fs-xs); font-weight: 600; text-decoration: none; border-radius: 6px; }
.trade-more:hover { text-decoration: underline; }
.trade-panels { position: relative; }
.trade-panel { padding: 12px 16px 8px; border-radius: 14px; min-height: 104px; }
.trade-panel p { margin: 0 0 12px; color: var(--on-dark); font-size: var(--fs-base); line-height: 1.55; }
.trade-panel.is-in { animation: panel-in .45s var(--ease-out); }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }
.std-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 !important; padding-right: 110px; }
.std-label { color: var(--on-dark-muted); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; margin-right: 4px; }
.std { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 8px; background: rgba(224, 164, 88, .12);
  color: #f3cf9c; box-shadow: inset 0 0 0 1px rgba(224, 164, 88, .3); font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 500; }
.hero-ctas { justify-content: center; margin-top: 24px; margin-bottom: 8px; }
.hero-small { margin: 4px auto 0; font-size: var(--fs-sm); color: var(--on-dark-muted); }

/* Hero video slot (hero-video.js): 16:9 frame, poster first; the video fades in once it is playing. */
.hero-video { margin: 0; }
.hero-video-frame { position: relative; aspect-ratio: 16 / 9; width: 100%; overflow: hidden; }
.hero-video-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; background: #000; }
.hero-video.with-sound .hero-video-media { z-index: 2; }
.hero-video-sound { position: absolute; z-index: 3; display: inline-flex; align-items: center; border: 0; border-radius: 999px; color: #fff; font: inherit;
  font-size: var(--fs-sm); font-weight: 600; cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background-color .15s ease, transform .15s ease; }
.hero-video-sound:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.hero-video-sound svg { flex: none; }
/* Text description of the film, for screen readers (the figure is aria-describedby it). */
.hero-video-desc { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: reduce) { .hero-video-sound, .hero-film .film-poster { transition: none; } }

.hero-film { max-width: 1080px; margin: 44px auto 0; perspective: 1600px; }
.hero-film .hero-video-frame { border-radius: 18px; border: 0; background: #0d1c18; transform-origin: 50% 0;
  transform: rotateX(var(--tilt, 0deg)) scale(var(--film-scale, 1)); will-change: transform;
  box-shadow: 0 0 0 1px rgba(242, 240, 233, .14), 0 2px 0 rgba(255, 255, 255, .06) inset, 0 40px 80px -30px rgba(0, 0, 0, .7),
    0 0 120px -30px rgba(224, 164, 88, .35); }
.hero-film .film-poster, .hero-film .film-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1;
  transition: opacity .4s ease; }
.hero-film.is-playing .film-poster { opacity: 0; pointer-events: none; }
.hero-film .hero-video-sound { left: 50%; bottom: 20px; transform: translateX(-50%); min-height: 48px; padding: 0 20px 0 8px; gap: 10px;
  background: rgba(16, 33, 28, .72); box-shadow: inset 0 0 0 1px rgba(242, 240, 233, .2), 0 10px 30px -8px rgba(0, 0, 0, .5); }
.hero-film .hero-video-sound svg { width: 32px; height: 32px; padding: 8px; border-radius: 50%; background: var(--accent); color: #1f1405; }
.hero-film .hero-video-sound:hover { transform: translateX(-50%) translateY(-1px); background: rgba(16, 33, 28, .9); }
.hero-film figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin-top: 14px; color: var(--on-dark-muted);
  font-size: var(--fs-xs); }
@media (prefers-reduced-motion: reduce) { .hero-film .hero-video-frame { transform: none; } .hero-film .hero-video-sound:hover { transform: translateX(-50%); } }

.facts { list-style: none; margin: 56px auto 0; padding: 0; max-width: 1080px; display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(242, 240, 233, .14); }
.facts li { padding: 22px 18px 0; text-align: left; border-left: 1px solid rgba(242, 240, 233, .1); }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts strong { display: block; color: #fff; font-size: var(--fs-d3); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.facts span { display: block; margin-top: 4px; color: var(--on-dark-muted); font-size: var(--fs-sm); line-height: 1.45; }
@media (max-width: 760px) {
  .hero { padding: 48px 0 64px; }
  .hero h1 { max-width: 12ch; }
  .hero-kicker { font-size: var(--fs-xs); padding: 6px 12px; }
  .trade-switch { margin-top: 28px; }
  .trade-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
    mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .trade-tabs::-webkit-scrollbar { display: none; }
  .trade-tabs button { flex: none; }
  .std-row { padding-right: 0; padding-bottom: 30px; }
  .trade-more { left: 16px; right: auto; }
  .trade-panel { min-height: 168px; }
  .hero-film { margin-top: 40px; }
  .hero-film .hero-video-frame { border-radius: 12px; }
  .hero-film .hero-video-sound { bottom: 10px; min-height: 42px; padding: 0 14px 0 6px; font-size: var(--fs-xs); }
  .hero-film .hero-video-sound svg { width: 28px; height: 28px; padding: 7px; }
  .facts { grid-template-columns: 1fr 1fr; margin-top: 40px; }
  .facts li:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts li:nth-child(n+3) { margin-top: 18px; }
}

@media (max-width: 520px) {
  .hero { padding-top: 32px; }
  .hero-kicker { gap: 8px; margin-bottom: 18px; padding: 6px 12px; letter-spacing: -.005em; }
  .hero h1 { margin-bottom: 16px; }
  .hero-lede { font-size: var(--fs-base); }
  .trade-switch { margin-top: 22px; }
  .trade-panel { min-height: 150px; padding: 10px 12px 6px; }
  .trade-panel p { font-size: var(--fs-sm); }
  .hero-ctas { margin-top: 20px; }
  .hero-ctas .btn { flex: 1 1 100%; }
}

/* ── How it works: the scroll story ────────────────────────────────────────────── */
.story-sec { padding-bottom: 40px; }
.story { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; }
.step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; max-width: 460px; }
/* Steps away from the middle of the screen are dimmed with a colour that still passes 4.5:1, not with opacity. */
.step h3, .step p, .step li, .step-num, .step .ic-check { transition: color .45s var(--ease), background-color .45s var(--ease); }
.story.is-live .step:not(.is-active) :is(h3, p, li, .step-kicker, .ic-check) { color: #66726e; }
.story.is-live .step:not(.is-active) .step-num { background: #66726e; color: #fff; }
.step:first-child { min-height: 58vh; justify-content: flex-start; padding-top: 12vh; }
.step:last-child { min-height: 64vh; }
.step-kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; color: var(--brand-2); font-size: var(--fs-sm); font-weight: 600;
  letter-spacing: .02em; }
.step-num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--brand); color: var(--bone);
  font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 600; }
.step h3 { font-size: var(--fs-d3); letter-spacing: -.03em; line-height: 1.15; margin-bottom: 14px; }
.step p { margin: 0 0 16px; color: var(--muted); }
.step-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.step-points li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-size: var(--fs-sm); line-height: 1.5; }
.step-points .ic-check { margin-top: 2px; color: var(--color-success); }

.story-stage { position: sticky; top: calc(50vh - 290px); height: 580px; align-self: start; }
.story-rail ol { display: flex; gap: 4px; list-style: none; margin: 0; padding: 4px; border-radius: 14px; background: #fff;
  box-shadow: inset 0 0 0 1px var(--line); overflow-x: auto; scrollbar-width: none; }
.story-rail ol::-webkit-scrollbar { display: none; }
.story-rail li { flex: 1 0 auto; }
.story-rail a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 0 10px; border-radius: 10px;
  color: var(--muted); font-size: var(--fs-xs); font-weight: 600; text-decoration: none; white-space: nowrap; transition: background-color .25s var(--ease), color .25s var(--ease); }
.story-rail a:hover { color: var(--ink); background: var(--alt); }
.story-rail a[aria-current="step"] { background: var(--brand); color: #fff; }
.rail-n { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: rgba(29, 59, 52, .08);
  font-family: var(--font-mono); font-size: var(--fs-xs); }
.story-rail a[aria-current="step"] .rail-n { background: var(--accent); color: #1f1405; }
@media (max-width: 1279px) {
  .story-rail a { padding: 0 8px; }
  .story-rail a:not([aria-current]) .rail-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .story-rail li { flex: 0 1 auto; }
  .story-rail li:has(a[aria-current]) { flex: 1 0 auto; }
}
.rail-bar { display: block; height: 2px; margin: 10px 6px 0; background: var(--line); border-radius: 2px; overflow: hidden; }
.rail-bar span { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--progress, 0));
  transition: transform .15s linear; }
.stage-frame { position: relative; height: 500px; margin-top: 18px; border-radius: 24px;
  background: radial-gradient(120% 80% at 80% 0%, #e7efe9 0%, #f3f1ea 60%); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; overflow: clip; }
.scene { position: absolute; inset: 0; margin: 0; padding: 28px; opacity: 0; visibility: hidden; transform: translateY(18px) scale(.985);
  transition: opacity .55s var(--ease-out), transform .7s var(--ease-out), visibility 0s linear .55s; }
.scene.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .55s var(--ease-out), transform .7s var(--ease-out), visibility 0s; }
.stage-note { text-align: left; }

/* product window chrome */
.win { position: relative; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px rgba(16, 33, 28, .08), 0 24px 50px -24px rgba(16, 33, 28, .45); }
.win-bar { display: flex; align-items: center; gap: 12px; height: 34px; padding: 0 14px; background: #f7f6f1; border-bottom: 1px solid var(--line);
  color: var(--muted); font-size: var(--fs-xs); font-weight: 600; }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #d9dcd6; }
.scene-shot img { width: 100%; height: auto; display: block; }
.float { position: absolute; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-radius: 14px;
  padding: 14px 16px; box-shadow: 0 0 0 1px rgba(16, 33, 28, .08), 0 20px 40px -16px rgba(16, 33, 28, .45); font-size: var(--fs-sm); }
.float-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 8px; color: var(--ink); font-weight: 600; font-size: var(--fs-sm); }
.float-br { right: 20px; bottom: 22px; }
.float-bl { left: 20px; bottom: 22px; }
.float-tl { left: 20px; top: 24px; }
.scene .float { transform: translateY(14px); opacity: 0; transition: transform .7s var(--ease-out) .2s, opacity .5s ease .2s; }
.scene.is-active .float { transform: none; opacity: 1; }

.feed { padding: 16px; }
.feed-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.chip { display: inline-flex; align-items: center; gap: 5px; min-height: 28px; padding: 0 10px; border-radius: 999px; background: var(--alt);
  color: var(--muted); font-size: var(--fs-xs); font-weight: 550; }
.chip.on { background: var(--color-primary-soft); color: var(--brand); box-shadow: inset 0 0 0 1px var(--color-primary-line); }
.feed-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.feed-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 14px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line);
  opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .6s var(--ease-out); }
.scene.is-active .feed-list li { opacity: 1; transform: none; }
.scene.is-active .feed-list li:nth-child(2) { transition-delay: .08s; }
.scene.is-active .feed-list li:nth-child(3) { transition-delay: .16s; }
.scene.is-active .feed-list li:nth-child(4) { transition-delay: .24s; }
.feed-list li.hot { background: linear-gradient(90deg, #fffaf1, #fff); box-shadow: inset 0 0 0 1.5px #e9c287, 0 10px 24px -14px rgba(176, 122, 44, .6); }
.ft { margin: 0 0 3px; color: var(--ink); font-weight: 600; font-size: var(--fs-sm); line-height: 1.35; }
.fb { margin: 0; color: var(--muted); font-size: var(--fs-xs); }
.ftags { display: flex; flex-wrap: wrap; gap: 5px; margin: 8px 0 0; }
.tag { display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; border-radius: 6px; background: var(--alt); color: var(--ink);
  font-size: var(--fs-xs); font-weight: 550; }
.tag.new { background: var(--accent); color: #1f1405; }
.fv { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex: none; text-align: right; }
.fv strong { color: var(--ink); font-size: var(--fs-base); letter-spacing: -.02em; }
.fv span { color: var(--muted); font-size: var(--fs-xs); }
.fv .fake-btn { margin-top: 6px; padding: 5px 10px; border-radius: 8px; background: var(--brand); color: #fff; font-weight: 600; }

.reviewers { width: 236px; }
.reviewers .count { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--color-success); }
.reviewers ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; }
.reviewers li { display: flex; align-items: center; gap: 6px; color: var(--ink); font-size: var(--fs-xs); font-weight: 550; opacity: 0;
  transition: opacity .4s ease calc(.25s + var(--i) * .09s); }
.scene.is-active .reviewers li { opacity: 1; }
.reviewers .ic-check { color: var(--color-success); }
.draft { width: min(400px, 78%); }
.draft .wc { color: var(--muted); font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 400; }
.draft-text { margin: 0; color: var(--ink); line-height: 1.6; font-family: Georgia, "Times New Roman", serif; font-size: var(--fs-sm); }
.scene-price .paper-back { position: absolute; left: 36px; right: 120px; bottom: 36px; transform: rotate(-2deg); }
.scene-price .paper-front { position: absolute; right: 36px; top: 30px; width: 44%; transform: rotate(2.5deg); }
.total { width: 220px; }
.total-n { margin: 0; color: var(--ink); font-size: var(--fs-xl); font-weight: 650; letter-spacing: -.03em; font-feature-settings: "tnum"; }
.ok { display: flex; align-items: center; gap: 6px; margin: 6px 0 0; color: var(--color-success); font-size: var(--fs-xs); font-weight: 600; }
.fan { position: absolute; inset: 0; display: grid; place-items: center; }
.fan .paper { position: absolute; width: 36%; transition: transform .8s var(--ease-out); }
.fan-c { z-index: 3; width: 42% !important; transform: translateY(6px); }
.fan-l { transform: translate(-62%, 22px) rotate(-7deg) scale(.94); }
.fan-r { transform: translate(62%, 22px) rotate(7deg) scale(.94); }
.scene-design:not(.is-active) .fan-l, .scene-design:not(.is-active) .fan-r { transform: translate(0, 30px) scale(.9); }
.gate { width: 260px; }
.gate-row { display: flex; align-items: center; gap: 8px; margin: 6px 0 0; color: var(--ink); font-size: var(--fs-xs); line-height: 1.4; }
.zip-body { padding: 18px; }
.zip-head { display: flex; gap: 14px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.zip-head svg { width: 38px; height: 46px; flex: none; }
.zip-name { margin: 0; color: var(--ink); font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 600; word-break: break-all; }
.zip-meta { display: flex; align-items: center; gap: 8px; margin: 4px 0 0; color: var(--muted); font-size: var(--fs-xs); }
.zip-meta .ok { margin: 0; }
.zip-files { list-style: none; margin: 10px 0 0; padding: 0; }
.zip-files li { display: flex; align-items: center; gap: 10px; padding: 6px 0; color: var(--ink); font-size: var(--fs-xs); border-bottom: 1px dashed var(--line);
  opacity: 0; transform: translateX(-8px); transition: opacity .35s ease calc(var(--i) * .06s), transform .45s var(--ease-out) calc(var(--i) * .06s); }
.scene.is-active .zip-files li { opacity: 1; transform: none; }
.zip-files .more { color: var(--muted); border-bottom: 0; }
.ext { display: inline-grid; place-items: center; min-width: 38px; height: 20px; border-radius: 5px; font-family: var(--font-mono);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .02em; }
.ext-pdf { background: #fbecea; color: var(--color-danger); }
.ext-docx { background: var(--color-info-soft); color: var(--color-info); }

/* Phones, tablets and reduced motion: each scene follows its step, as a simple list. */
@media (max-width: 959px) {
  .story, .story.is-live { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
  .story-steps, .story-stage, .stage-frame { display: contents; }
  .story-rail, .rail-bar { display: none; }
  .step { min-height: 0; padding: 40px 0 20px; max-width: none; }
  .step:first-child { padding-top: 8px; }
  .step:first-child, .step:last-child { min-height: 0; justify-content: flex-start; }
  .scene, .scene.is-active { position: relative; inset: auto; opacity: 1; visibility: visible; transform: none; height: 420px; border-radius: 20px;
    background: radial-gradient(120% 80% at 80% 0%, #e7efe9 0%, #f3f1ea 60%); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; padding: 18px; }
  .scene .float, .scene .feed-list li, .scene .reviewers li, .scene .zip-files li { opacity: 1; transform: none; }
  .step[data-step="1"] { order: 1; } .scene[data-step="1"] { order: 2; }
  .step[data-step="2"] { order: 3; } .scene[data-step="2"] { order: 4; }
  .step[data-step="3"] { order: 5; } .scene[data-step="3"] { order: 6; }
  .step[data-step="4"] { order: 7; } .scene[data-step="4"] { order: 8; }
  .step[data-step="5"] { order: 9; } .scene[data-step="5"] { order: 10; }
  .step[data-step="6"] { order: 11; } .scene[data-step="6"] { order: 12; }
  .step[data-step="7"] { order: 13; } .scene[data-step="7"] { order: 14; }
  .stage-note { order: 15; }
  .float-br, .float-bl { left: 14px; right: 14px; bottom: 14px; width: auto; }
  .float-tl { left: 14px; top: 14px; }
  .scene-price .paper-back { left: 14px; right: 70px; bottom: 26px; }
  .scene-price .paper-front { right: 14px; top: 90px; width: 46%; }
}
@media (prefers-reduced-motion: reduce) and (min-width: 960px) {
  .story, .story.is-live { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .story-steps, .story-stage, .stage-frame { display: contents; }
  .story-rail, .rail-bar { display: none; }
  .story.is-live .step, .step, .step:first-child, .step:last-child { opacity: 1; min-height: 0; padding: 48px 0 20px; }
  .scene, .scene.is-active { position: relative; inset: auto; opacity: 1; visibility: visible; transform: none; height: 520px; max-width: 760px;
    border-radius: 24px; background: #f3f1ea; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
  .scene .float, .scene .feed-list li, .scene .reviewers li, .scene .zip-files li { opacity: 1; transform: none; }
  .step[data-step="1"] { order: 1; } .scene[data-step="1"] { order: 2; }
  .step[data-step="2"] { order: 3; } .scene[data-step="2"] { order: 4; }
  .step[data-step="3"] { order: 5; } .scene[data-step="3"] { order: 6; }
  .step[data-step="4"] { order: 7; } .scene[data-step="4"] { order: 8; }
  .step[data-step="5"] { order: 9; } .scene[data-step="5"] { order: 10; }
  .step[data-step="6"] { order: 11; } .scene[data-step="6"] { order: 12; }
  .step[data-step="7"] { order: 13; } .scene[data-step="7"] { order: 14; }
  .stage-note { order: 15; }
}
@media (max-width: 520px) {
  .scene, .scene.is-active { height: 380px; padding: 12px; }
  .feed { padding: 10px; }
  .feed-list li { padding: 10px; }
  .feed-list li:nth-child(n+4) { display: none; }
  .fv span:not(.fake-btn) { display: none; }
  .reviewers ul { grid-template-columns: 1fr 1fr 1fr; }
  .zip-files li:nth-child(n+6):not(.more) { display: none; }
}

/* ── Before and after ─────────────────────────────────────────────────────────── */
.compare-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: center; }
.diff-points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; }
.diff-points li { padding-left: 18px; border-left: 2px solid var(--accent); color: var(--muted); }
.diff-points strong { display: block; color: var(--ink); }
.compare { position: relative; aspect-ratio: 880 / 940; border-radius: 16px; overflow: hidden; overflow: clip; background: #fff; user-select: none;
  -webkit-user-select: none; touch-action: pan-y; cursor: ew-resize; box-shadow: 0 0 0 1px rgba(16, 33, 28, .08), var(--shadow-float); }
.compare-pane { position: absolute; inset: 0; }
.compare-img, .compare-img img { width: 100%; height: auto; display: block; -webkit-user-drag: none; pointer-events: none; }
.compare-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); background: #fdfdfb; }
.essay { padding: 7% 8%; color: #3b4541; font-family: Georgia, "Times New Roman", serif; font-size: var(--fs-base); line-height: 1.65; }
.essay p { position: relative; margin: 0 0 1.1em; }
.essay-q { display: flex; justify-content: space-between; font-family: var(--font); font-weight: 650; color: var(--ink); font-size: var(--fs-md);
  border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 20px !important; }
.essay-q span { color: var(--muted); font-weight: 500; }
.note { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 6px; background: #fbecea; color: #9b2c24; font-family: var(--font);
  font-style: normal; font-size: var(--fs-xs); font-weight: 600; transform: rotate(-1.5deg); box-shadow: inset 0 0 0 1px #f0c4bf; }
.compare-label { position: absolute; bottom: 14px; padding: 6px 10px; border-radius: 8px; font-size: var(--fs-xs); font-weight: 600; white-space: nowrap;
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .35); }
.label-before { left: 14px; background: #fff; color: var(--color-danger); box-shadow: inset 0 0 0 1px #f0c4bf, 0 6px 16px -8px rgba(0, 0, 0, .35); }
.label-after { right: 14px; background: var(--brand); color: #fff; }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 44px; margin-left: -22px; display: grid; place-items: center; cursor: ew-resize;
  z-index: 3; touch-action: none; }
.compare-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: #fff;
  box-shadow: 0 0 0 1px rgba(16, 33, 28, .15), 0 0 20px rgba(16, 33, 28, .25); }
.grip { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .9), 0 10px 24px -6px rgba(16, 33, 28, .6); transition: transform .2s var(--ease); }
.grip svg { width: 20px; height: 20px; }
.compare-handle:hover .grip, .compare.is-dragging .grip { transform: scale(1.08); }
.compare-handle:focus-visible { outline: none; }
.compare-handle:focus-visible .grip { outline: 3px solid var(--color-focus); outline-offset: 4px; }
.compare.is-hinting .compare-before, .compare.is-hinting .compare-handle { transition: clip-path .9s var(--ease-out), left .9s var(--ease-out); }
@media (max-width: 959px) { .compare-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
@media (max-width: 520px) { .essay { font-size: var(--fs-sm); padding: 6% 6%; line-height: 1.55; } .essay-q { font-size: var(--fs-base); }
  .note { display: none; } .compare { aspect-ratio: 880 / 1040; }
  .compare-label { bottom: auto; top: 10px; padding: 4px 8px; } .label-before { top: auto; bottom: 10px; left: 10px; } .label-after { right: 10px; } }

/* ── Built not to invent facts ────────────────────────────────────────────────── */
.facts-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.guards { list-style: none; margin: 30px 0 18px; padding: 0; display: grid; gap: 22px; }
.guards li { display: flex; gap: 16px; }
.g-n { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink);
  font-weight: 700; font-size: var(--fs-sm); box-shadow: inset 0 0 0 1px #efd3a4; }
.guards h3 { margin: 4px 0 4px; }
.guards p { margin: 0; color: var(--muted); }
.guards code { white-space: normal; background: #fdf0d5; color: var(--accent-ink); }
.facts-demo { position: relative; }
.editor { background: #fff; border-radius: 20px; padding: 22px; box-shadow: 0 0 0 1px rgba(16, 33, 28, .08), var(--shadow-float); }
.editor-head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.q-ref { display: inline-grid; place-items: center; min-width: 32px; height: 26px; border-radius: 7px; background: var(--brand); color: #fff;
  font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 600; }
.q-title { flex: 1; color: var(--ink); font-weight: 600; font-size: var(--fs-sm); }
.q-w { color: var(--muted); font-size: var(--fs-xs); font-family: var(--font-mono); }
.editor-text { margin: 18px 0; color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: var(--fs-md); line-height: 1.7; }
.slot mark { transition: background-color .5s ease, box-shadow .5s ease; }
.ph.is-leaving { animation: ph-out .45s var(--ease) forwards; }
@keyframes ph-out { to { opacity: 0; filter: blur(4px); } }
mark.filled { background: var(--color-success-soft); color: #1b5a3c; border-radius: 4px; padding: 1px 4px; box-shadow: inset 0 0 0 1px #b9dcc7;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; }
mark.filled.is-new { animation: fill-in .7s var(--ease-out); }
@keyframes fill-in { from { opacity: 0; filter: blur(6px); background-color: #d6f0e0; } to { opacity: 1; filter: none; } }
.vault-card { margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; background: var(--alt); box-shadow: inset 0 0 0 1px var(--line);
  animation: vault-in .5s var(--ease-out); }
@keyframes vault-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.vault-h { margin: 0 0 6px; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.vault-rec { display: flex; gap: 10px; margin: 0; font-size: var(--fs-sm); color: var(--ink); line-height: 1.45; }
.vault-ic { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--color-success-soft); color: var(--color-success); flex: none; }
.editor-status p { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.editor-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.audit-table { margin-top: 18px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line); overflow: hidden; font-size: var(--fs-sm); }
.at-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; padding: 12px 16px; border-top: 1px solid var(--line); align-items: start; }
.at-row > span:last-child { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; color: var(--muted); }
.at-row code { font-size: var(--fs-xs); background: #fdf0d5; color: var(--accent-ink); }
.at-head { border-top: 0; background: var(--alt); color: var(--muted); font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.at-row:not(.at-head) > span:first-child { color: var(--ink); font-family: Georgia, "Times New Roman", serif; }
.demo-note { margin: 10px 2px 0; font-size: var(--fs-xs); color: var(--muted); }
@media (max-width: 959px) { .facts-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } .facts-demo { position: static; } }
@media (max-width: 520px) { .at-row { grid-template-columns: 1fr; gap: 6px; } .editor { padding: 18px; } .editor-text { font-size: var(--fs-base); } }

/* ── Pricing demo (dark) ──────────────────────────────────────────────────────── */
.price-sec { position: relative; background: radial-gradient(70% 60% at 85% 10%, #2b6453 0%, rgba(43, 100, 83, 0) 70%), #1a352e; }
.price-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
.price-side { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.side-h { grid-column: 1 / -1; }
@media (max-width: 700px) { .options { grid-template-columns: minmax(0, 1fr); } }
.sched-card { background: #fff; color: var(--ink); border-radius: 20px; padding: 22px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); }
.sched-card p { color: var(--muted); }
.sched-card h3 { color: var(--ink); margin: 0; font-size: var(--fs-md); }
.sched-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.sched-kicker { margin: 0 0 4px; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.replay { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); font: inherit; font-size: var(--fs-xs); font-weight: 600; cursor: pointer; }
.replay svg { width: 16px; height: 16px; }
.replay:hover { border-color: var(--brand); }
.sched-scroll { overflow-x: auto; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.sched { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); font-feature-settings: "tnum"; min-width: 700px; }
.sched th, .sched td { padding: 10px 12px; text-align: right; border-bottom: 1px solid #eef1ee; white-space: nowrap; }
.sched thead th { background: var(--brand); color: #fff; font-weight: 600; position: sticky; top: 0; }
.sched thead th:first-child { text-align: left; }
.sched tbody th, .sched tfoot th { text-align: left; color: var(--ink); font-weight: 550; }
.sched td { color: var(--ink); transition: background-color .4s ease, color .3s ease; }
.sched td.na { color: #b5beba; text-align: center; }
.sched .tcol { background: #f5f7f5; font-weight: 650; }
.sched thead .tcol { background: #163029; }
.sched tfoot th, .sched tfoot td { background: #f1f6f4; font-weight: 700; border-bottom: 0; }
.sched tfoot .grand { background: var(--accent); color: #1f1405; }
.sched.is-filling td.p, .sched.is-filling td.rt, .sched.is-filling td.ct, .sched.is-filling td.grand { color: transparent; }
.sched td.is-lit { color: var(--ink) !important; background: #fff4e0; }
.sched td.is-done { color: var(--ink) !important; }
.sched tfoot td.grand.is-done { color: #1f1405 !important; }
.sched-check { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; color: var(--color-success) !important; font-weight: 600; font-size: var(--fs-sm);
  transition: opacity .4s ease, transform .5s var(--ease-out); }
.sched-check.is-waiting { opacity: 0; transform: translateY(6px); }
.side-h { margin: 0 0 12px; color: #fff !important; font-weight: 600; }
.options { display: grid; gap: 10px; }
.opt { padding: 14px 16px; border-radius: 14px; background: rgba(242, 240, 233, .06); box-shadow: inset 0 0 0 1px rgba(242, 240, 233, .12); }
.opt.rec { background: var(--bone); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); }
.opt.rec p, .opt.rec .opt-n, .opt.rec .opt-p { color: var(--ink) !important; }
.opt-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.opt-n { display: flex; align-items: center; gap: 8px; margin: 0; color: #fff !important; font-weight: 600; font-size: var(--fs-sm); }
.opt-p { margin: 0; color: #fff !important; font-weight: 650; font-size: var(--fs-md); letter-spacing: -.02em; font-feature-settings: "tnum"; }
.opt-p span { font-weight: 400; font-size: var(--fs-xs); color: var(--on-dark-muted); letter-spacing: 0; }
.opt.rec .opt-p span { color: var(--muted); }
.bars { display: flex; gap: 3px; height: 6px; margin: 10px 0 6px; }
.bars span { width: var(--w); border-radius: 3px; }
.b-oh { background: #7fa89a; } .b-rk { background: var(--accent); } .b-mg { background: #cfe3da; }
.opt.rec .b-mg { background: var(--brand); }
.opt-k { margin: 0; font-size: var(--fs-xs); color: var(--on-dark-muted); }
.opt.rec .opt-k { color: var(--muted) !important; }
.price-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 24px; }
@media (max-width: 959px) { .price-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .price-list { grid-template-columns: minmax(0, 1fr); } }
.price-list li { display: flex; gap: 10px; color: var(--on-dark); font-size: var(--fs-sm); }
.price-list .ic-check { color: var(--accent); margin-top: 2px; }
@media (max-width: 959px) { .price-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .sched-card { padding: 16px; border-radius: 16px; } .sched-top { flex-direction: column; } }

/* ── Bid pack flip-through ────────────────────────────────────────────────────── */
/* clip, not hidden: a hidden box can still be scrolled sideways by focus or scrollIntoView */
.pack-sec { overflow: hidden; overflow: clip; }
.pack-sec .stage-note { text-align: center; }
.deck { position: relative; }
.deck-stage { position: relative; height: 600px; perspective: 1800px; touch-action: pan-y; }
.deck-card { position: absolute; left: 50%; top: 10px; width: 400px; margin-left: -200px; border-radius: 6px; overflow: hidden; cursor: pointer;
  background: #fff; box-shadow: 0 0 0 1px rgba(16, 33, 28, .06), 0 30px 60px -24px rgba(16, 33, 28, .5);
  transform: translateX(calc(var(--d, 0) * 62%)) translateZ(calc(var(--ad, 0) * -140px)) rotateY(calc(var(--d, 0) * -24deg));
  opacity: var(--op, 1); z-index: var(--z, 1); transition: transform .8s var(--ease-out), opacity .6s ease, filter .6s ease; filter: saturate(var(--sat, 1)); }
.deck-card.is-active { cursor: default; }
.deck-card img { width: 100%; height: auto; display: block; pointer-events: none; }
html:not(.js) .deck-card:not(.is-active) { display: none; }
.deck-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 26px; }
.deck-btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--color-line-strong); background: #fff;
  color: var(--ink); cursor: pointer; flex: none; transition: border-color .2s ease, transform .2s var(--ease); }
.deck-btn:hover { border-color: var(--brand); transform: translateY(-1px); }
.deck-btn svg { width: 22px; height: 22px; }
.deck-caption { width: min(520px, 100%); min-height: 3.4em; text-align: center; }
.deck-caption p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.deck-caption strong { display: block; color: var(--ink); font-size: var(--fs-base); }
.deck-dots { display: flex; justify-content: center; gap: 6px; margin-top: 16px; flex-wrap: wrap; }
.deck-dots button { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 50%; }
.deck-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #c4cdc9; transition: width .3s var(--ease), background-color .3s ease; }
.deck-dots button[aria-current="true"]::before { width: 22px; border-radius: 4px; background: var(--brand); }
.dot-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.policies { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 48px; align-items: center; max-width: 900px; margin: 72px auto 0;
  padding: 28px 32px; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.policies h3 { font-size: var(--fs-lg); }
.policies p { margin: 0; color: var(--muted); }
.policy-fan { position: relative; width: 250px; height: 190px; }
.pf { position: absolute; left: 60px; top: 10px; width: 118px; transform-origin: 50% 110%;
  transform: rotate(calc((var(--i) - 2) * 9deg)) translateX(calc((var(--i) - 2) * 14px)); z-index: calc(10 - var(--i)); }
.policies:hover .pf { transform: rotate(calc((var(--i) - 2) * 13deg)) translateX(calc((var(--i) - 2) * 20px)); transition: transform .5s var(--ease-out); }
.pf { transition: transform .5s var(--ease-out); }
@media (max-width: 760px) {
  .deck-stage { height: 470px; }
  .deck-card { width: 300px; margin-left: -150px; transform: translateX(calc(var(--d, 0) * 78%)) translateZ(calc(var(--ad, 0) * -120px)) rotateY(calc(var(--d, 0) * -20deg)); }
  .policies { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 24px; justify-items: center; text-align: center; }
}
@media (max-width: 400px) { .deck-stage { height: 420px; } .deck-card { width: 264px; margin-left: -132px; } .deck-controls { gap: 10px; } }

/* ── Trades ───────────────────────────────────────────────────────────────────── */
.trade-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.trade-card { position: relative; padding: 20px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out); }
.trade-card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--color-primary-line), 0 20px 40px -24px rgba(16, 33, 28, .35); }
.trade-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; margin-bottom: 14px; background: var(--color-primary-soft);
  color: var(--brand); transition: background-color .3s ease, color .3s ease; }
.trade-card:hover .trade-ic { background: var(--brand); color: var(--accent); }
.trade-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.trade-card h3 { margin: 0 0 6px; font-size: var(--fs-base); }
.trade-card p { margin: 0; color: var(--muted); font-size: var(--fs-sm); line-height: 1.5; }
.trade-std { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 14px !important; }
.trade-std span:not(.visually-hidden) { display: inline-flex; align-items: center; min-height: 24px; padding: 0 8px; border-radius: 6px; background: var(--alt);
  color: var(--ink); font-family: var(--font-mono); font-size: var(--fs-xs); }
@media (max-width: 1100px) { .trade-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px) { .trade-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .trade-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .trade-card { display: grid; grid-template-columns: 42px minmax(0, 1fr); column-gap: 14px; padding: 16px; }
  .trade-ic { grid-row: span 3; margin: 0; } .trade-std { margin-top: 10px !important; } }
@media (prefers-reduced-motion: reduce) { .trade-card:hover { transform: none; } }

/* ── Data and trust (dark) ────────────────────────────────────────────────────── */
.trust-sec { background: var(--deep); }
.trust-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.trust-card { padding: 26px; border-radius: 20px; background: linear-gradient(180deg, rgba(242, 240, 233, .06), rgba(242, 240, 233, .02));
  box-shadow: inset 0 0 0 1px rgba(242, 240, 233, .1); }
.t-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; margin-bottom: 18px; background: rgba(224, 164, 88, .12);
  box-shadow: inset 0 0 0 1px rgba(224, 164, 88, .3); color: var(--accent); }
.t-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.trust-card h3 { font-size: var(--fs-md); margin-bottom: 8px; }
.trust-card p { margin: 0; font-size: var(--fs-sm); line-height: 1.6; }
.trust-foot { max-width: 760px; margin: 28px 0 0; font-size: var(--fs-xs); }
@media (max-width: 1000px) { .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .trust-grid { grid-template-columns: minmax(0, 1fr); } }

/* ── Honest limits ────────────────────────────────────────────────────────────── */
.limits-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.limits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.limits li { padding: 18px 20px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); font-size: var(--fs-sm); }
.limits li:last-child { grid-column: 1 / -1; }
.limits strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: var(--fs-base); }
@media (max-width: 959px) { .limits-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
@media (max-width: 640px) { .limits { grid-template-columns: minmax(0, 1fr); } }

/* ── Plans ────────────────────────────────────────────────────────────────────── */
.pilot-banner { display: flex; align-items: center; gap: 14px; max-width: 960px; margin: 0 auto 22px; padding: 14px 18px; border-radius: 16px;
  background: var(--accent-soft); box-shadow: inset 0 0 0 1px #efd3a4; }
.pilot-banner p { margin: 0; flex: 1; color: var(--accent-ink); font-size: var(--fs-sm); }
@media (max-width: 640px) { .pilot-banner { flex-direction: column; align-items: flex-start; } }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 1080px; margin: 0 auto; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 28px; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.plan.featured { background: var(--brand); box-shadow: 0 40px 80px -40px rgba(16, 33, 28, .7); }
.plan.featured h3, .plan.featured .price { color: #fff; }
.plan.featured > p:not(.price), .plan.featured li, .plan.featured .price span { color: var(--on-dark-muted); }
.plan.featured li::before { background-color: var(--accent); }
.plan.featured .btn { background: var(--accent); border-color: var(--accent); color: #1f1405; }
.plan.featured .btn:hover { background: #e8b26c; border-color: #e8b26c; }
.plan-flag { position: absolute; top: -12px; left: 28px; margin: 0; padding: 4px 10px; border-radius: 999px; background: var(--accent);
  color: #1f1405 !important; font-size: var(--fs-xs); font-weight: 650; }
.plan h3 { font-size: var(--fs-md); margin-bottom: 10px; }
.plan .price { margin: 0 0 12px; color: var(--ink); font-size: var(--fs-d3); font-weight: 650; letter-spacing: -.035em; line-height: 1.1; }
.plan .price span { display: block; margin-top: 6px; font-size: var(--fs-sm); line-height: 1.4; font-weight: 450; color: var(--muted); letter-spacing: 0; }
.plan > p:not(.price) { margin: 0 0 18px; color: var(--muted); font-size: var(--fs-sm); }
.plan ul { list-style: none; flex: 1; margin: 0 0 24px; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.plan.featured ul { border-top-color: rgba(242, 240, 233, .14); }
.plan li { position: relative; padding-left: 26px; color: var(--ink); font-size: var(--fs-sm); line-height: 1.5; }
.plan li::before { content: ""; position: absolute; left: 0; top: .2em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--color-success) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.2L11.5 5.8' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.plan .btn { width: 100%; }
.plan-notes { max-width: 860px; margin: 26px auto 0; text-align: center; }
@media (max-width: 900px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; } }

/* ── FAQ ──────────────────────────────────────────────────────────────────────── */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; display: flex; align-items: center; min-height: 64px; padding: 16px 48px 16px 0; cursor: pointer; list-style: none;
  color: var(--ink); font-weight: 600; font-size: var(--fs-md); letter-spacing: -.01em; border-radius: 6px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  background: var(--alt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.5v9M3.5 8h9' stroke='%231d3b34' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .3s var(--ease), background-color .3s ease; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--accent-soft); }
.faq summary:hover { color: var(--brand-2); }
.faq-a p { margin: 0 0 22px; color: var(--muted); max-width: 64ch; }
.faq details[open] .faq-a { animation: faq-in .35s var(--ease-out); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (max-width: 959px) { .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
@media (max-width: 520px) { .faq summary { font-size: var(--fs-base); } }

/* ── Closing band ─────────────────────────────────────────────────────────────── */
.cta-band { position: relative; overflow: hidden; overflow: clip; padding: 112px 0; isolation: isolate;
  background: radial-gradient(60% 80% at 50% 100%, #2b6453 0%, rgba(43, 100, 83, 0) 70%), var(--brand); }
.cta-band .hero-glow { top: 70%; }
.cta-inner p { font-size: var(--fs-md); }
.cta-inner .cta-row { margin-top: 30px; }
@media (max-width: 760px) { .cta-band { padding: 80px 0; } }
