/* ==========================================================================
   Stillacre — marketing site
   Palette and type mirror the game: Meadow parchment by day,
   MoonNight by night. Jersey 25 display (never below 15px), Nunito body.
   ========================================================================== */

@font-face {
  font-family: "Jersey 25";
  src: url("../assets/fonts/jersey-25-400.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../assets/fonts/nunito-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../assets/fonts/nunito-700.woff2") format("woff2");
  font-weight: 500 700;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../assets/fonts/nunito-800.woff2") format("woff2");
  font-weight: 800 900;
  font-display: swap;
}

:root {
  /* Meadow (day) */
  --page: #d9c794;
  --paper: #fff3c9;
  --paper-2: #f5dfaa;
  --ink: #3b382f;
  --muted: #5b5144;
  --line: #b49b70;
  --green: #5f9655;
  --green-dark: #2e5934;
  --green-deep: #2c5231;
  --sky: #67b9ed;
  --sky-light: #b9def2;
  --sky-haze: #d8edf2;
  --meadow-light: #c7d9a7;
  --dusk-gold: #e6b178;
  --dusk-rose: #b96f72;
  --soil: #8b644a;
  --accent: #844035;
  --shadow: #6d5b45;

  /* MoonNight (night) */
  --n-deep: #0e1728;
  --n-deeper: #0a1120;
  --n-sky: #16233f;
  --n-inset: #101b31;
  --gold: #f2d488;
  --gold-deep: #e0b45f;
  --parchment: #f5ebd3;
  --mist: #a9b6d2;
  --faint: #8291b2;
  --ready: #9fd9a3;

  --display: "Jersey 25", ui-monospace, monospace;
  --body: "Nunito", -apple-system, "SF Pro Rounded", system-ui, sans-serif;

  --radius: 20px;
  --radius-sm: 14px;
  --border: 3px solid var(--line);
  --card-shadow: 0 10px 0 -4px rgba(109, 91, 69, 0.35);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
.pixel { image-rendering: pixelated; }

a { color: var(--green-dark); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--green-deep); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  color: #fdf7e0;
  background: var(--green-deep);
  border: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

/* ---------- type ---------- */

.eyebrow {
  font-family: var(--display);
  font-size: 16px;               /* pixel face never below 15px */
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--green-dark);
  font-weight: 400;
}
h1, h2, h3 { text-wrap: balance; font-weight: 400; }
h1 { font-family: var(--display); font-size: clamp(44px, 7.5vw, 84px); line-height: 1.02; letter-spacing: 0.01em; }
h2 { font-family: var(--display); font-size: clamp(32px, 4.6vw, 52px); line-height: 1.08; }
h3 { font-family: var(--display); font-size: clamp(22px, 2.6vw, 27px); line-height: 1.15; }
.lede { font-size: clamp(17px, 2vw, 20px); max-width: 58ch; color: var(--ink); }
.muted { color: var(--muted); }
.price { font-variant-numeric: tabular-nums; }

/* ---------- layout ---------- */

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.band { padding: 68px 0; }
.band-head { display: grid; gap: 14px; max-width: 62ch; margin-bottom: 34px; }

/* The home page descends through one continuous day: clear morning,
   warm afternoon, dusk, and finally the Focus-night sections. */
.day-band { position: relative; isolation: isolate; }
.day-band > .wrap { position: relative; z-index: 1; }
.day-morning {
  background: linear-gradient(to bottom, var(--sky-light), var(--sky-haze));
  padding-top: 84px;
  overflow: hidden;
}
.day-clouds { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.day-cloud { position: absolute; height: auto; image-rendering: pixelated; filter: drop-shadow(0 5px 0 rgba(75, 119, 143, 0.12)); }
.cloud-wide { width: clamp(260px, 20vw, 390px); left: clamp(18px, 4vw, 84px); top: 34px; }
.cloud-medium { width: clamp(210px, 16vw, 310px); right: clamp(-34px, 2vw, 44px); top: 122px; opacity: 0.9; }
.cloud-small { width: clamp(105px, 8vw, 150px); left: 17%; bottom: 46px; opacity: 0.72; }
@media (max-width: 900px) {
  .cloud-wide { left: -70px; top: 30px; width: 270px; opacity: 0.68; }
  .cloud-medium { right: -80px; top: 170px; width: 220px; opacity: 0.58; }
  .cloud-small { display: none; }
}

/* ---------- header ---------- */

.site-head {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  padding: 18px 0;
}
.site-head .wrap { display: flex; align-items: center; gap: 14px; }
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
  background: rgba(255, 243, 201, 0.92);
  border: var(--border);
  border-radius: 999px;
  padding: 6px 16px 6px 8px;
  box-shadow: var(--card-shadow);
}
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand span { font-family: var(--display); font-size: 21px; color: var(--ink); white-space: nowrap; }
.site-nav { margin-left: auto; display: flex; gap: 8px; }
.site-nav a {
  font-family: var(--display);
  font-size: 16px;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--ink);
  background: rgba(255, 243, 201, 0.92);
  border: var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  box-shadow: var(--card-shadow);
}
.site-nav a:hover { background: var(--paper-2); color: var(--ink); }
@media (max-width: 640px) { .site-nav a.optional { display: none; } }

/* ---------- hero ---------- */

.hero { position: relative; min-height: 92svh; display: flex; align-items: center; overflow: hidden; }
.hero-art { position: absolute; inset: 0; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 42%; }
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(14, 23, 40, 0.16) 0%, rgba(14, 23, 40, 0) 22%, rgba(185, 222, 242, 0) 55%, rgba(185, 222, 242, 0.82) 88%, var(--sky-light) 100%);
}
.hero-copy { position: relative; width: 100%; padding: 104px 0 46px; display: grid; gap: 18px; justify-items: start; }
.hero-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 247, 218, 0.94);
  border: 2px solid rgba(126, 100, 64, 0.72);
  border-radius: 24px;
  box-shadow: 0 8px 0 -3px rgba(109, 91, 69, 0.46), 0 24px 64px rgba(31, 48, 39, 0.22);
  padding: 30px 36px 34px;
  max-width: 590px;
  display: grid; gap: 15px;
  transform: translateY(-4vh);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(to right, var(--green-dark), var(--green), var(--gold-deep));
}
.hero-card h1 { font-size: clamp(46px, 6.2vw, 70px); line-height: 1.03; }
.hero-card .eyebrow { color: var(--accent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 6px; }

/* On phones, let the portrait art own the top of the page and slide the card below it */
@media (max-width: 700px) {
  .hero { display: block; min-height: 0; }
  .hero-art { position: relative; height: 62svh; }
  .hero-scrim { background: linear-gradient(to bottom, rgba(14, 23, 40, 0.14) 0%, rgba(14, 23, 40, 0) 20%, rgba(185, 222, 242, 0) 72%, var(--sky-light) 100%); }
  .hero-copy { margin-top: -11svh; padding-bottom: 10px; }
  .hero-card { padding: 24px 22px 26px; transform: none; }
  .hero-card h1 { font-size: clamp(44px, 14vw, 62px); }
}

/* Official App Store badge: never restyle, min 40px tall, clear space >= 1/4 height */
.badge-store { display: inline-block; line-height: 0; margin: 4px 14px 4px 0; }
.badge-store img { height: 56px; width: auto; }
.store-status {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  margin: 4px 14px 4px 0;
  padding: 10px 18px;
  color: var(--parchment);
  background: var(--n-deep);
  border: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: 0.02em;
}

.btn {
  display: inline-block;
  font-family: var(--display);
  font-size: 19px;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: #fdf7e0;
  background: var(--green-dark);
  border: 3px solid var(--green-deep);
  border-radius: var(--radius-sm);
  padding: 11px 22px 12px;
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.18), 0 6px 0 -2px rgba(44, 82, 49, 0.55);
}
.btn:hover { background: var(--green); color: #fff; }
.btn:active { transform: translateY(2px); box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.18); }
.btn-ghost {
  background: var(--paper);
  color: var(--green-dark);
  border-color: var(--line);
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.6), 0 6px 0 -2px rgba(109, 91, 69, 0.4);
}
.btn-ghost:hover { background: var(--paper-2); color: var(--green-deep); }
.btn-gold {
  background: var(--gold);
  color: #1c2233;
  border-color: var(--gold-deep);
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.35), 0 6px 0 -2px rgba(224, 180, 95, 0.45);
  font-size: 21px;
  padding: 13px 28px 14px;
}
.btn-gold:hover { background: #f7e0a4; color: #1c2233; }
.btn-disabled { cursor: default; user-select: none; }
.btn-disabled:hover { transform: none; }

/* Sticky mobile CTA bar */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: none;
  align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(10, 17, 32, 0.97);
  border-top: 2px solid var(--n-sky);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  transform: translateY(110%);
  transition: transform 0.35s ease;
}
.sticky-cta.show { transform: none; }
.sticky-cta .price-note { color: var(--mist); font-size: 13.5px; line-height: 1.35; }
.sticky-cta .price-note strong { color: var(--parchment); font-size: 15px; }
.sticky-cta .btn { white-space: nowrap; font-size: 18px; padding: 10px 20px 11px; }
@media (max-width: 820px) {
  .sticky-cta { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
  .sticky-cta { transition: none; }
}

/* ---------- Focus flow ---------- */

.focus-intro { font-size: clamp(18px, 2vw, 22px); max-width: 52ch; color: var(--green-deep); font-weight: 800; }
.focus-flow {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 6px;
  border-top: 2px solid rgba(44, 82, 49, 0.28);
}
.focus-flow li {
  display: flex;
  gap: 16px;
  padding: 28px 30px 10px 0;
}
.focus-flow li + li {
  border-left: 2px solid rgba(44, 82, 49, 0.2);
  padding-left: 30px;
}
.flow-number {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-dark);
  color: #fdf7e0;
  font-family: var(--display);
  font-size: 22px;
  box-shadow: 0 4px 0 rgba(44, 82, 49, 0.24);
}
.focus-flow h3 { font-size: clamp(21px, 2.2vw, 26px); }
.focus-flow p { margin-top: 5px; font-size: 15.5px; color: var(--muted); }
@media (max-width: 760px) {
  .focus-flow { grid-template-columns: 1fr; border-top: 0; }
  .focus-flow li { border-top: 2px solid rgba(44, 82, 49, 0.24); padding: 22px 0; }
  .focus-flow li + li { border-left: 0; padding-left: 0; }
}

/* ---------- product preview ---------- */

.product-band {
  position: relative;
  padding: 100px 0 124px;
  background: linear-gradient(to bottom, var(--sky-haze) 0%, var(--meadow-light) 35%, var(--dusk-gold) 72%, var(--dusk-rose) 100%);
}
.product-preview {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.65fr);
  gap: clamp(48px, 8vw, 96px);
  align-items: center;
}
.product-copy { display: grid; gap: 18px; }
.product-copy h2 { font-size: clamp(40px, 6vw, 64px); }
.product-points { list-style: none; display: grid; gap: 13px; margin-top: 8px; }
.product-points li {
  position: relative;
  padding-left: 32px;
  font-weight: 800;
}
.product-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  background: var(--green);
  border: 2px solid var(--green-deep);
  border-radius: 4px;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.3);
}
.product-media { width: min(100%, 500px); justify-self: center; }
.product-media p { margin-top: 14px; color: rgba(59, 56, 47, 0.78); font-size: 14px; text-align: center; }
.screenshot-stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-bottom: 46px; }
.product-shot { border-radius: 28px; border-width: 4px; box-shadow: 0 24px 52px rgba(75, 48, 45, 0.28); }
.product-shot:last-child { transform: translateY(46px); }
@media (max-width: 800px) {
  .product-band { padding: 76px 0 100px; }
  .product-preview { grid-template-columns: 1fr; gap: 42px; }
  .product-media { width: min(100%, 440px); }
}

/* ---------- screenshots ---------- */

.shot { display: grid; gap: 12px; }
.shot-frame {
  border: var(--border);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  background: var(--paper);
}
.shot-frame img { width: 100%; height: auto; }
.shot figcaption { font-size: 15px; color: var(--muted); padding: 0 6px; }
.shot figcaption strong { color: var(--ink); font-weight: 800; }

/* ---------- features ---------- */

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 980px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .features { grid-template-columns: 1fr; } }
.feature {
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 24px 22px 26px;
  display: grid; gap: 8px; align-content: start;
}
.feature p { font-size: 15.5px; color: var(--ink); }
.feature .quote { color: var(--muted); font-style: italic; font-size: 14.5px; }

/* ---------- night / moonwatch ---------- */

.night {
  position: relative;
  background: linear-gradient(to bottom, var(--dusk-rose) 0%, #765d76 9%, var(--n-sky) 22%, var(--n-deep) 58%, var(--n-deeper) 100%);
  color: var(--parchment);
  overflow: hidden;
  padding: 126px 0 92px;
}
.night .eyebrow { color: var(--gold); }
.night h2, .night h3 { color: var(--parchment); }
.night .lede { color: var(--mist); }
.night a { color: var(--gold); }
.stars, .stars::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(245, 235, 211, 0.9) 50%, transparent 51%),
    radial-gradient(1px 1px at 34% 12%, rgba(245, 235, 211, 0.7) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 56% 30%, rgba(242, 212, 136, 0.8) 50%, transparent 51%),
    radial-gradient(1px 1px at 72% 16%, rgba(245, 235, 211, 0.75) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 88% 26%, rgba(245, 235, 211, 0.85) 50%, transparent 51%),
    radial-gradient(1px 1px at 22% 42%, rgba(169, 182, 210, 0.7) 50%, transparent 51%),
    radial-gradient(1px 1px at 64% 44%, rgba(169, 182, 210, 0.6) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 44% 20%, rgba(245, 235, 211, 0.65) 50%, transparent 51%);
  pointer-events: none;
}
.stars::after { transform: translate(3%, 9%) scale(1.3); opacity: 0.5; }
.night-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; position: relative; }
@media (max-width: 900px) { .night-grid { grid-template-columns: 1fr; } }
.night-copy { display: grid; gap: 16px; }
.night-moon { width: 84px; height: 84px; animation: moon-drift 7s ease-in-out infinite alternate; }
@keyframes moon-drift { from { transform: translateY(0); } to { transform: translateY(-12px); } }
.night-points { display: grid; gap: 14px; padding: 0; list-style: none; }
.night-points li {
  background: var(--n-inset);
  border: 2px solid rgba(169, 182, 210, 0.28);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 15.5px;
  color: var(--mist);
}
.night-points li strong { color: var(--parchment); font-weight: 800; }
.night-shot { max-width: 340px; justify-self: center; }
.night-shot .shot-frame { border-color: var(--n-inset); box-shadow: 0 18px 50px rgba(4, 8, 18, 0.7); }
.night-shot figcaption { color: var(--faint); font-size: 14.5px; padding-top: 10px; }

.firefly {
  position: absolute;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px 3px rgba(242, 212, 136, 0.45);
  opacity: 0;
  animation: firefly 9s ease-in-out infinite;
}
@keyframes firefly {
  0%, 100% { opacity: 0; transform: translate(0, 0); }
  15% { opacity: 0.9; }
  50% { opacity: 0.35; transform: translate(36px, -44px); }
  80% { opacity: 0.8; }
  95% { opacity: 0; transform: translate(-10px, -80px); }
}

/* ---------- pricing ---------- */

.pricing-night {
  background: var(--n-deeper);
  padding: 0 0 48px;
  color: var(--parchment);
}
.pricing-shell {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 62px;
  background: linear-gradient(145deg, #16233f, #101b31 58%, #0e1728);
  border: 2px solid rgba(169, 182, 210, 0.2);
  border-radius: 34px;
  box-shadow: 0 26px 70px rgba(4, 8, 18, 0.42);
}
.pricing-wrap { max-width: 720px; }
.pricing-night .band-head { max-width: none; margin-bottom: 34px; text-align: center; justify-items: center; }
.pricing-night .band-head h2 { color: var(--parchment); }
.pricing-night .band-head .lede { color: var(--mist); max-width: 54ch; }
.pricing-night .band-head .eyebrow { color: var(--gold); }
.pricing-card { display: grid; gap: 22px; }
.pricing-includes { color: var(--mist); text-align: center; font-size: 15px; }
.pricing-includes span { color: var(--gold); padding: 0 7px; }
.plan-options { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8px; }
@media (max-width: 560px) { .plan-options { grid-template-columns: 1fr; } }
.plan-option {
  position: relative;
  text-align: left;
  display: grid; gap: 3px; align-content: start;
  background: var(--n-inset);
  border: 2px solid rgba(169, 182, 210, 0.36);
  border-radius: 16px;
  padding: 22px 22px 20px;
  cursor: pointer;
  font-family: var(--body);
  color: var(--parchment);
}
.plan-option[aria-pressed="true"] {
  border-color: var(--gold);
  background: #182641;
  box-shadow: 0 0 0 2px rgba(242, 212, 136, 0.18), 0 12px 30px rgba(4, 8, 18, 0.36);
}
.po-name { font-family: var(--display); font-size: 21px; letter-spacing: 0.04em; }
.po-badge {
  position: absolute; top: -13px; right: 14px;
  font-family: var(--display); font-size: 15px; letter-spacing: 0.14em;
  background: var(--gold);
  color: #1c2233;
  border: 2px solid var(--gold-deep);
  border-radius: 999px;
  padding: 2px 12px;
}
.po-price { font-family: var(--display); font-size: 42px; color: var(--gold); line-height: 1.08; }
.po-price small { font-family: var(--body); font-size: 14px; font-weight: 700; color: var(--mist); }
.plan-option[aria-pressed="false"] .po-price { color: var(--parchment); }
.po-cadence { font-size: 14px; color: var(--mist); }
.po-cadence strong { color: var(--gold); font-weight: 800; }
.pricing-card .btn-gold { justify-self: center; margin-top: 2px; min-width: 240px; text-align: center; }
.plan-note { font-size: 13.5px; color: var(--faint); line-height: 1.55; text-align: center; }
.pricing-card a { color: var(--gold); }
.pricing-card a.btn-gold { color: #1c2233; }
@media (max-width: 600px) {
  .pricing-shell { padding: 58px 0 48px; border-radius: 26px; }
  .pricing-includes span { padding: 0 3px; }
  .pricing-card .btn-gold { width: 100%; }
}

/* ---------- footer ---------- */

.site-foot {
  background: var(--n-deeper);
  color: var(--mist);
  padding: 34px 0 36px;
  border-top: 1px solid rgba(169, 182, 210, 0.14);
  font-size: 14.5px;
}
.site-foot a { color: var(--gold); }
.foot-top { display: flex; gap: 28px; justify-content: space-between; align-items: center; }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand img { width: 44px; height: 44px; border-radius: 11px; }
.foot-brand span { font-family: var(--display); font-size: 24px; color: var(--parchment); }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: flex-end; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.foot-blurb { margin-top: 24px; max-width: 64ch; color: var(--mist); }
.legal { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(169, 182, 210, 0.16); color: var(--faint); font-size: 12.5px; line-height: 1.65; max-width: 92ch; }
@media (max-width: 700px) {
  .foot-top { align-items: flex-start; flex-direction: column; }
  .foot-links { justify-content: flex-start; }
}
@media (max-width: 820px) {
  .site-foot { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
}

/* ---------- subpages (support / privacy / terms) ---------- */

.page-head {
  background: linear-gradient(145deg, #337da4, #315f69 52%, var(--green-deep));
  padding: 120px 0 56px;
  color: #fdf7e0;
}
.page-head .eyebrow { color: var(--gold); }
.page-head h1 { font-size: clamp(38px, 6vw, 60px); color: #fdf7e0; }
.page-head p { color: rgba(253, 247, 224, 0.85); max-width: 60ch; margin-top: 10px; }
.page-body { padding: 56px 0 88px; }
.prose { max-width: 72ch; display: grid; gap: 18px; }
.prose h2 { font-size: clamp(24px, 3vw, 32px); margin-top: 26px; }
.prose h3 { font-size: 19px; font-family: var(--body); font-weight: 800; }
.prose ul { padding-left: 22px; display: grid; gap: 8px; }
.prose li { font-size: 16px; }
.prose .updated { font-size: 14px; color: var(--muted); }
.callout {
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  box-shadow: var(--card-shadow);
}
.callout strong { font-weight: 800; }
.faq { display: grid; gap: 14px; max-width: 72ch; }
details {
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--card-shadow);
  padding: 0;
}
summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 16.5px;
  padding: 18px 22px;
  list-style: none;
  position: relative;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  font-family: var(--display);
  font-size: 22px;
  position: absolute; right: 20px; top: 14px;
  color: var(--green-dark);
}
details[open] summary::after { content: "–"; }
details p, details ul { padding: 0 22px 18px; color: var(--ink); font-size: 15.5px; }

/* ---------- reveal on scroll ---------- */

.reveal { transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-ready .reveal { opacity: 0; transform: translateY(18px); }
.reveal-ready .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal-ready .reveal { opacity: 1; transform: none; } }
