/* ==========================================================================
   Fishing Time guide - design system
   Low-poly arctic dusk. Frosted glass over the landscape, dusk-ink type,
   sunset-gold CTAs. System fonts only (no webfont request, no FOIT).
   ========================================================================== */

/* --- Tokens -------------------------------------------------------------- */
:root {
  --bg:        #e4cfe0;
  --bg-2:      rgba(255, 248, 252, 0.52);
  --surface:   rgba(255, 250, 253, 0.68);
  --surface-2: rgba(255, 255, 255, 0.86);
  --line:      rgba(90, 52, 108, 0.16);
  --line-soft: rgba(90, 52, 108, 0.09);

  --text:      #322445;
  --text-dim:  #5a4a68;
  --text-mute: #5c4c6a; /* AA on --bg (was #746484 at 3.7:1) */
  --heading:   #241833;

  --ice:       #0a5c6c; /* AA on --bg (was #0e7489 at 3.7:1) */
  --ice-soft:  #084954;
  --ice-glow:  #3ec8dc;
  --aurora:    #2d6a4f;
  --amber:     #ffb340;
  --amber-2:   #ff7a24;
  --sun:       #ffd7b0;
  --dusk:      #6b4578;
  --hole:      #1a2b3c;

  /* Wheel sector colours, used consistently across every page */
  --fish-white:  #eef4fa;
  --fish-black:  #47596b;
  --fish-blue:   #3b82f6;
  --fish-yellow: #fbbf24;
  --fish-red:    #ef4444;

  --radius:    0.7rem;
  --radius-sm: 0.4rem;
  --fold:      0.18rem 1.05rem 0.18rem 1.05rem;
  --shadow:    0 1px 1px rgba(80, 40, 90, .06), 0 10px 28px -14px rgba(80, 40, 90, .28);
  --shadow-lg: 0 2px 8px rgba(80, 40, 90, .1), 0 28px 64px -24px rgba(40, 16, 50, .42), 0 48px 80px -36px rgba(80, 40, 90, .28);

  --wrap:  72rem;
  --wrap-n: 72rem;   /* same as --wrap: prose uses the site content width, not a centred reading column */

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --glass: none; /* blur applied after first paint via html.fx */
  --glass-sm: none;
}
html.fx {
  --glass: blur(18px) saturate(150%);
  --glass-sm: blur(10px);
}

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

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(255, 179, 64, .35);
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: 4.75rem;   /* clears the sticky header on anchor jumps */
  scroll-padding-bottom: 5.5rem; /* clears the persistent CTA dock */
  text-rendering: auto;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1.025rem/1.72 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1;
  overflow-wrap: break-word;
  padding-bottom: calc(4.6rem + env(safe-area-inset-bottom, 0px));
}

::selection {
  background: rgba(255, 179, 64, .42);
  color: var(--heading);
}

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

/* Every raster/vector slot declares its ratio so nothing reflows on load. */
img[width][height] { height: auto; }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.022em; color: var(--heading); }
h1 { font-size: clamp(1.85rem, 5.2vw, 3.05rem); letter-spacing: -.032em; text-shadow: 0 1px 0 rgba(255,255,255,.75), 0 12px 28px rgba(255,248,252,.55); }
h2 { font-size: clamp(1.45rem, 3.6vw, 2.1rem); }
h3 { font-size: clamp(1.13rem, 2.3vw, 1.36rem); }
h4 { font-size: 1.03rem; }

p, ul, ol, table, figure, pre { margin: 0 0 1.15rem; }
li + li { margin-top: .45rem; }
strong, b { color: var(--heading); font-weight: 650; }
small { font-size: .875rem; }

a { color: var(--ice); text-decoration-thickness: 1px; text-underline-offset: .18em; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 3px; }
/* Own box-shadow, not outline: overflow:hidden on .btn clips outline in WebKit. */
.btn:focus-visible,
.hdr-cta:focus-visible,
.nav .nav-cta a:focus-visible,
.hero-media-btn:focus-visible,
.demo-fs-chip:focus-visible,
.nav-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #fff, 0 0 0 5px var(--amber-2);
}

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

/* --- Layout -------------------------------------------------------------- */
.wrap   { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 1.15rem; }
.wrap-n { width: 100%; max-width: var(--wrap-n); margin-inline: auto; padding-inline: 1.15rem; }
@media (min-width: 40em) { .wrap, .wrap-n { padding-inline: 1.75rem; } }

main > section { padding-block: clamp(2.75rem, 6.5vw, 5rem); }
/* Skip the first section: content-visibility: auto delays LCP of hero text/images. */
main > section:not(:first-of-type) {
  content-visibility: auto;
  contain-intrinsic-size: auto 720px;
}
section.tight { padding-block: clamp(1.85rem, 4vw, 3.2rem); }
.alt {
  background: rgba(255, 248, 252, 0.38);
  border-block: 1px solid rgba(255, 255, 255, 0.48);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4);
}

main > section > .wrap > h2:first-child,
main > section > .wrap-n > h2:first-child {
  padding-bottom: .35rem;
}
main > section > .wrap > h2:first-child::after,
main > section > .wrap-n > h2:first-child::after {
  content: "";
  display: block;
  width: 2.6rem;
  height: 3px;
  margin-top: .7rem;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--amber), var(--amber-2));
}

.lede { font-size: clamp(1.05rem, 2.1vw, 1.2rem); color: var(--text-dim); }
.center { text-align: center; }
.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Skip link */
.skip {
  position: absolute; left: .75rem; top: -4rem; z-index: 200;
  background: var(--amber); color: #1a1000; font-weight: 700;
  padding: .6rem 1rem; border-radius: var(--radius-sm); transition: top .15s;
}
.skip:focus { top: .75rem; color: #1a1000; }

/* --- Header / nav -------------------------------------------------------- */
.hdr {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 248, 252, 0.94);
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 10px 28px -18px rgba(80, 40, 90, .4);
}
html.fx .hdr { background: rgba(255, 248, 252, 0.72); }
.hdr::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.45), transparent 46%);
}
.hdr-in { display: flex; align-items: center; gap: 1rem; min-height: 3.75rem; position: relative; z-index: 1; }

.brand {
  display: inline-flex; align-items: center;
  text-decoration: none; margin-right: auto; flex-shrink: 1; min-width: 0;
}
.brand img {
  display: block; height: 2.05rem; width: auto; max-width: min(10.5rem, 44vw);
  filter: drop-shadow(0 2px 6px rgba(80, 40, 90, .28));
}
@media (min-width: 40em) {
  .brand img { height: 2.45rem; max-width: 15rem; }
}

.nav-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--surface); color: var(--text); border: 1px solid var(--line);
  border-radius: var(--fold); padding: .5rem .7rem; font: inherit;
  font-size: .9rem; font-weight: 600; cursor: pointer;
  min-width: 2.75rem; min-height: 2.75rem;
}
.nav-btn .icon-close { display: none; }
.nav-btn[aria-expanded="true"] .icon-menu { display: none; }
.nav-btn[aria-expanded="true"] .icon-close { display: block; }
.nav-btn[aria-expanded="true"] { font-size: 0; gap: 0; }
.nav-btn svg { width: 1.1rem; height: 1.1rem; }
@media (max-width: 26em) {
  .nav-btn { font-size: 0; gap: 0; padding: .5rem .55rem; }
  .nav-btn svg { width: 1.25rem; height: 1.25rem; }
}
@media (min-width: 60em) { .nav-btn { display: none; } }

/* Compact header CTA for viewports where the nav button is inside the menu. */
.hdr-cta {
  display: none;
  align-items: center; justify-content: center;
  flex: none; padding: .45rem .85rem; border-radius: var(--fold);
  background: linear-gradient(180deg, var(--amber), var(--amber-2));
  color: #1a1000; font-weight: 800; font-size: .88rem; text-decoration: none;
  box-shadow: 0 6px 16px -8px rgba(255,122,36,.75);
  position: relative; overflow: hidden;
}
.hdr-cta:hover { color: #1a1000; }

.nav { display: none; }
.nav.open { display: block; }

.nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: .15rem;
}
.nav li { margin: 0; }
.nav a {
  display: block; padding: .7rem .85rem; border-radius: var(--radius-sm);
  color: var(--text-dim); text-decoration: none; font-weight: 600; font-size: .95rem;
}
.nav a[aria-current="page"] { color: var(--heading); background: rgba(255,255,255,.78); }

/* Mobile: the panel drops below the bar */
@media (max-width: 59.99em) {
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: rgba(255, 248, 252, 0.96);
    backdrop-filter: var(--glass);
    -webkit-backdrop-filter: var(--glass);
    border-bottom: 1px solid var(--line);
    padding: .6rem 1.15rem 1rem; box-shadow: var(--shadow-lg);
    text-align: center;
  }
  .nav a { text-align: center; min-height: 2.75rem; }
  .nav .nav-cta { display: none; }
  .nav .hdr-cta {
    display: inline-flex;
    width: 100%;
    margin-top: .5rem;
    padding: .75rem 1rem;
    font-size: 1rem;
  }
}
@media (min-width: 60em) {
  .hdr-in { flex-wrap: nowrap; }
  .nav, .nav.open {
    display: flex;
    align-items: center;
    flex: none;
    position: static;
    background: none;
    box-shadow: none;
    border: 0;
    padding: 0;
  }
  .nav .hdr-cta { display: none; }
  .nav ul {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: .1rem;
  }
  .nav a {
    padding: .5rem .7rem;
    font-size: .9rem;
    text-align: left;
    white-space: nowrap;
  }
  .nav .nav-cta { display: list-item; }
  .nav .nav-cta a {
    background: linear-gradient(180deg, var(--amber), var(--amber-2));
    color: #1a1000; margin-left: .5rem;
    border-radius: var(--fold);
  }
  .nav .nav-cta a:hover { color: #1a1000; }
}

/* --- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.5rem; border-radius: var(--fold);
  font-weight: 700; font-size: 1rem; line-height: 1.25;
  text-decoration: none; text-align: center; cursor: pointer;
  border: 1px solid transparent; transition: filter .15s, transform .15s, background .15s;
  position: relative; overflow: hidden;
}
.btn:active { transform: translateY(1px); }
.btn svg, .btn > * { position: relative; z-index: 1; }
.btn svg { width: 1.15rem; height: 1.15rem; flex: none; }

.btn-primary {
  background: linear-gradient(180deg, var(--amber), var(--amber-2));
  color: #1a1000; box-shadow: 0 8px 22px -10px rgba(255,122,36,.7);
}
.btn-primary:hover { color: #1a1000; }

.btn-demo {
  background: linear-gradient(180deg, #56d9ee, #1aa8c0);
  color: #04222a;
}
.btn-demo:hover { color: #04222a; }

/* Ice-shine sweep - the game's frozen-block letters catching a light. */
.btn-primary::after, .btn-demo::after, .hdr-cta::after, .nav .nav-cta a::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.55) 48%, transparent 66%);
  transform: translateX(-130%);
  animation: ice-shine 4.8s ease-in-out 1.2s infinite;
  mix-blend-mode: overlay;
}
.nav .nav-cta a { position: relative; overflow: hidden; }

.btn-ghost {
  background: var(--surface);
  color: var(--heading);
  border-color: rgba(255,255,255,.7);
  backdrop-filter: var(--glass-sm);
  -webkit-backdrop-filter: var(--glass-sm);
}
.btn-ghost:hover { color: var(--heading); }

.btn-row { display: flex; flex-wrap: wrap; gap: .7rem; margin: 0 0 1.15rem; }
.btn-row .btn { flex: 1 1 15rem; }
@media (max-width: 30em) { .btn-row .btn { flex-basis: 100%; } }

/* Persistent conversion dock. Fixed, not sticky: a sticky bar at the end of
   the document is off-screen for most of the scroll, which is the opposite
   of what this is for. One CTA stays in the viewport on every screen. */
.cta-dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: rgba(255, 248, 252, 0.86);
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
  border-top: 1px solid rgba(255, 255, 255, 0.55);
  padding: .55rem 1rem calc(.55rem + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -16px 36px -18px rgba(80, 40, 90, .4);
}
.cta-dock-in {
  width: 100%; max-width: var(--wrap); margin-inline: auto;
  display: flex; gap: .55rem; align-items: stretch;
}
.cta-dock .btn {
  padding: .8rem 1rem; font-size: .92rem; margin: 0;
}
.cta-dock .btn-primary {
  flex: 1 1 auto;
  animation: cta-pulse 2.4s ease-in-out infinite;
}
.cta-dock .btn-demo { flex: 0 1 9.5rem; min-width: 7.5rem; }
@media (min-width: 40em) {
  .cta-dock .btn { padding: .85rem 1.35rem; font-size: 1rem; }
  .cta-dock .btn-demo { flex-basis: 11.5rem; }
}
@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 8px 22px -10px rgba(255,122,36,.7); }
  50%      { box-shadow: 0 0 0 4px rgba(255,179,64,.35), 0 10px 28px -8px rgba(255,122,36,.9); }
}
@media (prefers-reduced-motion: reduce) {
  .cta-dock .btn-primary { animation: none; }
}

/* --- Hero ---------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: transparent;
  border-bottom: 0;
  padding-block: clamp(1.1rem, 3.5vw, 2.75rem);
}
.hero-grid {
  display: grid;
  gap: .9rem;
  align-items: start;
}
@media (min-width: 62em) {
  .hero-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

.hero-copy,
.hero-grid > div:first-child {
  background: var(--surface);
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  padding: 1.45rem 1.5rem 1.35rem;
  box-shadow: var(--shadow-lg);
  margin-bottom: 1.25rem;
}
.hero .hero-grid > .hero-copy {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: .75rem;
}
.hero .hero-grid > .hero-copy h1 {
  text-shadow: 0 1px 0 rgba(255,255,255,.8), 0 10px 28px rgba(255,248,252,.55);
}
.hero .hero-grid > .hero-copy .lede {
  text-shadow: 0 1px 0 rgba(255,255,255,.6);
}
.hero-grid > .hero-copy,
.hero-grid > div:first-child { margin-bottom: 0; }
.hero-copy.center { max-width: 42rem; margin-inline: auto; }
.hero-copy > :last-child,
.hero-grid > div:first-child > :last-child { margin-bottom: 0; }

.hero-copy-main > :last-child,
.hero-copy-actions > :last-child { margin-bottom: 0; }

/* Homepage 50/50 hero: compact copy so it sits beside the square trailer.
   Do not apply these to other .hero-grid pages (bonus-features clips if
   the copy column is forced to 1:1 with overflow:hidden). */
.hero .hero-grid > .hero-copy .eyebrow {
  margin-bottom: .4rem;
  font-size: .68rem;
  padding: .28rem .7rem;
}
.hero .hero-grid > .hero-copy h1 {
  font-size: clamp(1.28rem, 2.15vw + .4rem, 1.85rem);
  line-height: 1.18;
  margin-bottom: .4rem;
  text-wrap: balance;
}
.hero .hero-grid > .hero-copy .lede {
  font-size: clamp(.88rem, .35vw + .8rem, 1.02rem);
  line-height: 1.45;
  margin-bottom: .7rem;
  max-width: none;
}
.hero .hero-grid > .hero-copy .btn-row {
  gap: .5rem;
  margin-bottom: .55rem;
}
.hero .hero-grid > .hero-copy .btn-row .btn {
  flex: 1 1 100%;
  padding: .7rem .85rem;
  font-size: .88rem;
  white-space: normal;
}
.hero .hero-grid > .hero-copy .btn-row .btn-primary {
  flex-basis: 100%;
}
.hero .hero-grid > .hero-copy .badges {
  margin: 0;
  gap: .35rem;
  justify-content: center;
}
.hero .hero-grid > .hero-copy .badges li {
  font-size: .72rem;
  padding: .28rem .6rem;
}
.hero .hero-grid > .hero-copy .figure-big {
  padding: .7rem .9rem;
  margin-bottom: .8rem;
  gap: .4rem .75rem;
}
.hero .hero-grid > .hero-copy .figure-big b {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
}
.hero .hero-grid > .hero-copy .figure-big span { font-size: .82rem; }

.hero-grid > .hero-media {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-lg);
}
.hero-grid > .hero-media img,
.hero-grid > .hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* In-flow poster so LCP can paint with first layout, not after abs-pos containment. */
.hero-grid > .hero-media .hero-poster {
  position: static;
  aspect-ratio: 1 / 1;
  height: auto;
  filter: none;
}
.hero-grid > .hero-media video {
  opacity: 0;
  pointer-events: none;
}
.hero-grid > .hero-media.is-playing video {
  opacity: 1;
  pointer-events: auto;
}
.hero-grid > .hero-media video {
  background: var(--hole);
  border: 0;
  outline: 0;
}
.hero-grid > .hero-media video::-webkit-media-controls,
.hero-grid > .hero-media video::-webkit-media-controls-enclosure,
.hero-grid > .hero-media video::-webkit-media-controls-overlay-enclosure,
.hero-grid > .hero-media video::-webkit-media-controls-panel,
.hero-grid > .hero-media video::-webkit-media-controls-start-playback-button,
.hero-grid > .hero-media video::-webkit-media-controls-play-button,
.hero-grid > .hero-media video::-webkit-media-controls-timeline,
.hero-grid > .hero-media video::-webkit-media-controls-current-time-display,
.hero-grid > .hero-media video::-webkit-media-controls-time-remaining-display,
.hero-grid > .hero-media video::-webkit-media-controls-mute-button,
.hero-grid > .hero-media video::-webkit-media-controls-volume-slider,
.hero-grid > .hero-media video::-webkit-media-controls-fullscreen-button {
  display: none !important;
  opacity: 0 !important;
  appearance: none;
  -webkit-appearance: none;
  width: 0 !important;
  height: 0 !important;
}
.hero-grid > .hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.7),
    inset 0 1px 0 rgba(255,255,255,.45),
    inset 0 -48px 70px -24px rgba(20, 10, 30, .38);
  background:
    linear-gradient(135deg, rgba(255,255,255,.2) 0%, transparent 42%),
    linear-gradient(180deg, transparent 58%, rgba(36, 24, 51, .28) 100%);
}

.hero-media-ui {
  position: absolute;
  right: .7rem;
  bottom: .7rem;
  z-index: 2;
  display: flex;
  gap: .4rem;
}
.hero-media-btn {
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border-radius: var(--fold);
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 248, 252, 0.72);
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
  color: var(--heading);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px -12px rgba(80, 40, 90, .45);
}
.hero-media-btn svg { width: 1.05rem; height: 1.05rem; display: block; }
.hero-media .icon-play,
.hero-media .icon-sound { display: none; }
.hero-media.is-paused .icon-pause { display: none; }
.hero-media.is-paused .icon-play { display: block; }
.hero-media:not(.is-muted) .icon-muted { display: none; }
.hero-media:not(.is-muted) .icon-sound { display: block; }

.hero-grid > .hero-media figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  font-size: .75rem;
  padding: .5rem .75rem .6rem;
  background: rgba(255, 248, 252, 0.82);
  backdrop-filter: var(--glass-sm);
  -webkit-backdrop-filter: var(--glass-sm);
}

@media (min-width: 62em) {
  .hero .hero-grid > .hero-media {
    aspect-ratio: 1 / 1;
    width: 100%;
    height: auto;
    min-height: 0;
    overflow: hidden;
  }
  .hero .hero-grid {
    align-items: center;
  }
  .hero .hero-grid > .hero-copy {
    aspect-ratio: auto;
    overflow: visible;
    justify-content: flex-start;
    padding: 0;
    gap: .85rem;
  }
  .hero .hero-grid > .hero-copy h1 {
    font-size: clamp(1.5rem, 2.4vw, 2.2rem);
    margin-bottom: .45rem;
  }
  .hero .hero-grid > .hero-copy .lede {
    font-size: clamp(.95rem, .45vw + .82rem, 1.08rem);
    line-height: 1.5;
    margin-bottom: 0;
  }
  .hero .hero-grid > .hero-copy .btn-row {
    margin-bottom: .55rem;
  }
  .hero .hero-grid > .hero-copy .btn-row .btn {
    padding: .8rem 1rem;
    font-size: .92rem;
    flex: 1 1 calc(50% - .25rem);
  }
  .hero .hero-grid > .hero-copy .btn-row .btn-primary {
    flex-basis: 100%;
  }
  .hero-grid > .wheel-fig {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: .85rem 1rem .7rem;
    background: var(--surface);
    backdrop-filter: var(--glass);
    -webkit-backdrop-filter: var(--glass);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
  }
  .hero-grid > .wheel-fig img,
  .hero-grid > .wheel-fig svg {
    width: 100%;
    max-width: 100%;
    max-height: none;
    height: auto;
    margin-inline: auto;
    object-fit: contain;
  }
  .hero-grid > .wheel-fig .legend {
    margin-top: .55rem;
    gap: .15rem .6rem;
    font-size: .8rem;
  }
  .hero-grid > .wheel-fig figcaption {
    margin-top: .45rem;
    font-size: .75rem;
  }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .74rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--dusk); background: rgba(152, 123, 154, .16);
  border: 1px solid rgba(152, 123, 154, .32); border-radius: 100px;
  padding: .34rem .8rem; margin-bottom: 1rem;
}
.hero h1, .hero-copy h1 { margin-bottom: .7rem; text-shadow: none; }
.hero .lede { margin-bottom: 1.6rem; }
.hero-grid .lede { max-width: none; }

.hero-media, .media-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78); background: var(--hole);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.4);
  margin: 0;
}
.wrap-n > .media-card {
  margin: 1.4rem 0 1.65rem;
}
.hero-media img:not(.hero-poster), .media-card img {
  display: block; width: 100%; height: auto;
  filter: saturate(1.05) contrast(1.04);
}
.hero-media figcaption, .media-card figcaption {
  font-size: .82rem; color: var(--text-mute); text-align: center;
  margin: 0; padding: .65rem .9rem .8rem;
  background: rgba(255, 248, 252, 0.72); border-top: 1px solid var(--line);
}

/* --- Stat bar ------------------------------------------------------------ */
.stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line-soft); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; margin: 0;
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
}
@media (min-width: 34em) { .stats { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 62em) { .stats { grid-template-columns: repeat(6, 1fr); } }
.stats > div { background: var(--surface); padding: 1rem .85rem; text-align: center; }
.stats dt {
  font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-mute); margin-bottom: .28rem;
}
.stats dd { margin: 0; font-size: 1.14rem; font-weight: 800; color: var(--heading); letter-spacing: -.025em; }
.stats dd small { display: block; font-size: .7rem; font-weight: 600; color: var(--text-mute); letter-spacing: 0; }

/* --- Cards / grids ------------------------------------------------------- */
.grid { display: grid; gap: 1.15rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 44em) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 44em) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 66em) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background:
    linear-gradient(155deg, rgba(255,255,255,.62) 0%, rgba(255,255,255,.08) 42%, transparent 68%),
    var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius);
  padding: 1.5rem 1.45rem 1.4rem;
  box-shadow: var(--shadow);
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
}
.card > :last-child { margin-bottom: 0; }
.card h3 { margin-bottom: .5rem; }
.card-top { border-top: 3px solid var(--line); }

/* Bonus tier cards keyed to sector colour */
.tier { position: relative; padding-top: 1.5rem; }
.tier::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 4px;
  border-radius: var(--radius) var(--radius) 0 0; background: var(--tier, var(--ice-glow));
}
.tier-blue   { --tier: var(--fish-blue); }
.tier-yellow { --tier: var(--fish-yellow); }
.tier-red    { --tier: var(--fish-red); }

.tier-head { display: flex; align-items: center; gap: .8rem; margin-bottom: .9rem; }
.tier-head svg, .tier-head img { width: 3.15rem; height: 4.05rem; flex: none; }
.tier-head img {
  width: 3.15rem; height: 4.1rem; object-fit: cover;
  border-radius: .42rem;
  box-shadow: 0 4px 12px -6px rgba(40, 16, 50, .45);
}
.tier-head h3 { margin: 0; }
.tier-head p { margin: 0; font-size: .84rem; color: var(--text-mute); }

.payout {
  font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em;
  color: var(--tier, var(--ice)); font-variant-numeric: tabular-nums;
}

/* Key-value strip inside cards */
.kv { list-style: none; margin: 0 0 1.05rem; padding: 0; font-size: .92rem; }
.kv li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .48rem 0; border-bottom: 1px dashed var(--line-soft); margin: 0;
}
.kv li:last-child { border-bottom: 0; }
.kv span:first-child { color: var(--text-mute); }
.kv span:last-child { font-weight: 700; color: var(--heading); font-variant-numeric: tabular-nums; }

/* --- Lists --------------------------------------------------------------- */
.ticks { list-style: none; padding: 0; }
.ticks li { position: relative; padding-left: 1.85rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: rgba(45,106,79,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232d6a4f' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/.72rem no-repeat;
}
.crosses { list-style: none; padding: 0; }
.crosses li { position: relative; padding-left: 1.85rem; }
.crosses li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: rgba(239,68,68,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ef4444' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center/.68rem no-repeat;
}

/* Numbered steps */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; }
.steps > li {
  counter-increment: s; position: relative;
  padding: 0 0 1.5rem 3.4rem; margin: 0;
}
.steps > li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 2.3rem; height: 2.3rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--line);
  color: var(--ice); font-weight: 800; font-size: .98rem;
  box-shadow: 0 4px 12px -6px rgba(80, 40, 90, .3);
}
/* Connector line between steps */
.steps > li:not(:last-child)::after {
  content: ""; position: absolute; left: 1.15rem; top: 2.55rem; bottom: .35rem;
  width: 1px; background: linear-gradient(180deg, var(--line), transparent);
}
.steps .btn-row { margin-top: .9rem; }
.sim + .note { margin-top: 1.5rem; }

/* --- Tables -------------------------------------------------------------- */
.table-scroll {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); margin-bottom: 1.15rem;
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
}
table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 0; min-width: 34rem; }
caption {
  text-align: left; padding: .9rem 1rem; font-size: .84rem; color: var(--text-mute);
  border-bottom: 1px solid var(--line);
}
th, td { padding: .72rem 1rem; text-align: left; border-bottom: 1px solid var(--line-soft); }
thead th {
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(152, 123, 154, .14));
  color: var(--heading); font-size: .74rem;
  letter-spacing: .07em; text-transform: uppercase; white-space: nowrap;
}
tbody tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
tfoot td { background: rgba(152, 123, 154, .1); font-weight: 700; color: var(--heading); }

/* Colour chip used in sector tables */
.chip {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 650; color: var(--heading);
  white-space: nowrap;
}
.chip::before {
  content: ""; width: .8rem; height: .8rem; border-radius: 50%; flex: none;
  background: var(--c, var(--ice-glow)); box-shadow: 0 0 0 1px rgba(36, 24, 51, .28);
}
.c-white  { --c: var(--fish-white); }
.c-black  { --c: var(--fish-black); }
.c-blue   { --c: var(--fish-blue); }
.c-yellow { --c: var(--fish-yellow); }
.c-red    { --c: var(--fish-red); }

.risk { font-size: .78rem; font-weight: 700; padding: .18rem .55rem; border-radius: 100px; white-space: nowrap; }
.risk-low  { background: rgba(45,106,79,.12); color: #1b5c3c; }
.risk-med  { background: rgba(14,116,137,.12); color: #0a5c6c; }
.risk-high { background: rgba(255,138,43,.18); color: #9a4a00; }
.risk-vhigh{ background: rgba(239,68,68,.12); color: #b91c1c; }

/* --- Callouts ------------------------------------------------------------ */
.note {
  border: 1px solid var(--line); border-left: 4px solid var(--ice);
  background: var(--surface); border-radius: var(--radius-sm);
  padding: 1.05rem 1.2rem; margin: 0 0 1.15rem;
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
}
.note > :last-child { margin-bottom: 0; }
.note strong:first-child { display: block; margin-bottom: .3rem; }
.note-warn  { border-left-color: var(--amber-2); }
.note-fact  { border-left-color: var(--aurora); }
.note-alert { border-left-color: var(--fish-red); }

/* Emphasised single figure */
.figure-big {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem 1rem;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.1rem 1.3rem; margin-bottom: 1.15rem;
}
.figure-big b {
  font-size: clamp(1.9rem, 5.5vw, 2.6rem); line-height: 1;
  color: var(--ice); letter-spacing: -.035em; font-variant-numeric: tabular-nums;
}
.figure-big span { color: var(--text-dim); font-size: .95rem; flex: 1 1 12rem; }

/* --- Demo embed ---------------------------------------------------------- */
.demo-frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(255,255,255,.4);
  background: #c9b8c8;
  aspect-ratio: 16 / 10; box-shadow: var(--shadow-lg);
}
.demo-poster {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; pointer-events: none;
}
.demo-frame.is-ready .demo-poster { opacity: 0; }
@media (max-width: 44em) { .demo-frame { aspect-ratio: 4 / 5; } }
.demo-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.demo-fs-chip {
  position: absolute; top: .7rem; right: .7rem; z-index: 4;
  display: none; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; padding: 0; border: 0; cursor: pointer;
  border-radius: var(--fold);
  background: rgba(255, 248, 252, 0.86);
  color: var(--heading);
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
  box-shadow: 0 8px 20px -12px rgba(40, 16, 50, .55);
}
.demo-frame.is-ready .demo-fs-chip { display: inline-flex; }
.demo-fs-chip svg { width: 1.1rem; height: 1.1rem; display: block; }
.demo-fs-chip .icon-collapse { display: none; }
.demo-frame.is-expanded .demo-fs-chip .icon-expand,
.demo-frame:fullscreen .demo-fs-chip .icon-expand,
.demo-frame:-webkit-full-screen .demo-fs-chip .icon-expand { display: none; }
.demo-frame.is-expanded .demo-fs-chip .icon-collapse,
.demo-frame:fullscreen .demo-fs-chip .icon-collapse,
.demo-frame:-webkit-full-screen .demo-fs-chip .icon-collapse { display: block; }

.demo-frame:fullscreen,
.demo-frame:-webkit-full-screen,
.demo-frame.is-expanded {
  aspect-ratio: auto;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  border-radius: 0;
  border: 0;
  background: #071019;
}
.demo-frame.is-expanded {
  position: fixed;
  inset: 0;
  z-index: 220;
}
body.demo-fs-open { overflow: hidden; }

.demo-bar-actions { display: flex; flex-wrap: wrap; gap: .65rem 1rem; align-items: center; }
.demo-fs {
  appearance: none; font: inherit; font-weight: 700; cursor: pointer;
  color: var(--ice); background: transparent; border: 0;
  min-height: 2.75rem; padding: .35rem .15rem;
  display: inline-flex; align-items: center;
  text-decoration: underline; text-underline-offset: .18em;
}

/* Click-to-load facade: keeps the third-party game bundle off the critical
   path so it cannot delay LCP or block the main thread on first paint. */
.demo-facade {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: grid; place-content: center;
  padding: 1.75rem; cursor: pointer;
  background: rgba(20, 12, 32, .38);
  border: 0; color: #eef4fa;
}
.demo-play {
  width: 4.75rem; height: 4.75rem; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(180deg, var(--amber), var(--amber-2));
  box-shadow: 0 12px 34px -10px rgba(255,122,36,.8);
  transition: transform .18s, filter .18s;
}
.demo-play svg { width: 1.9rem; height: 1.9rem; margin-left: .18rem; }

.demo-bar {
  display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center;
  justify-content: space-between; margin-top: .8rem;
  font-size: .85rem; color: var(--text-mute);
}
.demo-bar a { font-weight: 600; }

/* --- Wheel figure -------------------------------------------------------- */
.wheel-fig { margin: 0; }
.wheel-fig img, .wheel-fig svg { width: 100%; max-width: 30rem; margin-inline: auto; display: block; }
.wheel-fig img { border-radius: calc(var(--radius) - .35rem); }
figcaption { font-size: .85rem; color: var(--text-mute); text-align: center; margin-top: .7rem; }

.legend { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: .4rem; }
@media (min-width: 34em) { .legend { grid-template-columns: repeat(2, 1fr); } }
.legend li { display: flex; align-items: center; gap: .6rem; font-size: .88rem; margin: 0; }
.legend b { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--heading); }

/* --- Simulator ----------------------------------------------------------- */
.sim {
  background: var(--surface); border: 1px solid rgba(255,255,255,.7);
  border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow);
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
}
.sim-controls { display: grid; gap: 1rem; margin-bottom: 1.2rem; }
@media (min-width: 40em) { .sim-controls { grid-template-columns: 1fr 1fr; } }

.field { display: block; }
.field > span {
  display: block; font-size: .78rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--text-mute); margin-bottom: .4rem;
}
.field select, .field input[type="number"] {
  width: 100%; min-height: 2.75rem; padding: .65rem .8rem;
  font: inherit; font-size: 1rem;
  color: var(--text); background: rgba(255,255,255,.88);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.field select { appearance: none; padding-right: 2.2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a4a68' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .7rem center; background-size: 1.1rem;
}
.sim-out { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-soft);
  border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
@media (min-width: 48em) { .sim-out { grid-template-columns: repeat(4, 1fr); } }
.sim-out > div { background: rgba(255,255,255,.72); padding: .9rem; text-align: center; }
.sim-out dt { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-mute); margin-bottom: .25rem; }
.sim-out dd { margin: 0; font-size: 1.25rem; font-weight: 800; color: var(--heading);
  letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.sim > h3 {
  font-size: .82rem; letter-spacing: .09em; text-transform: uppercase;
  color: var(--text-mute); margin: 0 0 .55rem;
}
.sim > .sim-out { margin-bottom: 1.2rem; }
.sim > .sim-out:last-of-type { margin-bottom: 0; }
.sim-note { font-size: .82rem; color: var(--text-mute); margin: 1rem 0 0; }

/* --- FAQ ----------------------------------------------------------------- */
.faq { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface);
  backdrop-filter: var(--glass); -webkit-backdrop-filter: var(--glass); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  cursor: pointer; padding: 1.05rem 3rem 1.05rem 1.2rem; position: relative;
  font-weight: 650; color: var(--heading); list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 1.15rem; top: 50%; width: 1.05rem; height: 1.05rem;
  transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e7489' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .18s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(180deg); }
.faq summary:focus-visible {
  outline: 3px solid var(--amber); outline-offset: -3px;
}
.faq .faq-body { padding: 0 1.2rem 1.2rem; color: var(--text-dim); }
.faq .faq-body > :last-child { margin-bottom: 0; }

/* --- Internal link cards ------------------------------------------------- */
.next { display: grid; gap: 1rem; }
@media (min-width: 44em) { .next { grid-template-columns: repeat(2, 1fr); } }
.next a {
  display: block; text-decoration: none; color: inherit;
  background: var(--surface); border: 1px solid rgba(255,255,255,.7);
  border-radius: var(--radius); padding: 1.15rem 1.3rem;
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
}
.next b { display: block; color: var(--heading); margin-bottom: .25rem; font-size: 1.02rem; }
.next b::after { content: " →"; color: var(--ice); }
.next span { font-size: .9rem; color: var(--text-mute); }

/* --- Trust / badges ------------------------------------------------------ */
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; list-style: none; padding: 0; margin: 0 0 1.15rem; }
.badges li {
  display: inline-flex; align-items: center; gap: .45rem; margin: 0;
  font-size: .82rem; font-weight: 650; color: var(--text-dim);
  background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.7);
  border-radius: 100px; padding: .4rem .85rem;
}
.badges svg { width: 1rem; height: 1rem; color: var(--aurora); }

/* --- ToC ----------------------------------------------------------------- */
.toc { background: var(--surface); border: 1px solid rgba(255,255,255,.7); border-radius: var(--radius); padding: 1.2rem 1.4rem;
  backdrop-filter: var(--glass); -webkit-backdrop-filter: var(--glass); }
.toc h2 { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-mute); margin-bottom: .7rem; }
.toc ol { margin: 0; padding-left: 1.25rem; font-size: .93rem; }
.toc li { margin-top: .3rem; }
.toc a { text-decoration: none; }

/* --- Breadcrumbs --------------------------------------------------------- */
.crumbs { font-size: .82rem; color: var(--text-mute); padding-top: 1rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.crumbs li { margin: 0; display: flex; gap: .4rem; align-items: center; }
.crumbs li + li::before { content: "/"; color: var(--text-mute); opacity: .55; }
.crumbs a { color: var(--text-mute); text-decoration: none; }
.crumbs [aria-current] { color: var(--text-dim); }

/* --- Final CTA band ------------------------------------------------------ */
.cta-band {
  background:
    radial-gradient(90% 140% at 50% -10%, rgba(255,179,64,.32), transparent 58%),
    radial-gradient(70% 90% at 82% 110%, rgba(62,200,220,.16), transparent 58%),
    radial-gradient(50% 80% at 12% 100%, rgba(232,180,201,.18), transparent 55%),
    rgba(255, 248, 252, 0.58);
  border-block: 1px solid rgba(255,255,255,.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
}
.cta-band .wrap-n { text-align: center; }
.cta-band .btn-row { justify-content: center; }
.cta-band .btn { flex: 0 1 17rem; }

/* --- Footer -------------------------------------------------------------- */
.ftr {
  background: linear-gradient(180deg, rgba(58, 36, 72, 0.78), rgba(32, 20, 44, 0.9));
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
  border-top: 1px solid rgba(255,255,255,.12);
  padding-block: 2.75rem 2rem; font-size: .88rem; color: rgba(255, 244, 250, .7);
}
.ftr-grid { display: grid; gap: 1.75rem; margin-bottom: 2rem; }
@media (min-width: 48em) { .ftr-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.ftr a { color: rgba(255, 244, 250, .88); text-decoration: none; }
.ftr .ftr-h { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,244,250,.78); margin: 0 0 .8rem; text-shadow: none; }
.ftr ul { list-style: none; padding: 0; margin: 0; }
.ftr li { margin: 0 0 .5rem; }
.ftr strong { color: #fff; }

.age {
  display: inline-grid; place-items: center; flex: none;
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: #7f1d1d;
  border: 2px solid #fca5a5; color: #fff;
  font-weight: 800; font-size: .82rem;
}
.rg-box { display: flex; gap: 1rem; align-items: flex-start;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  border-left: 4px solid var(--fish-red);
  border-radius: var(--radius-sm); padding: 1.05rem 1.2rem; margin-bottom: 1.5rem; }
.rg-box p { margin: 0; font-size: .87rem; }
.rg-box p + p { margin-top: .5rem; }

.disclosure {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.5rem;
  font-size: .82rem; line-height: 1.65; color: rgba(255, 244, 250, .78);
}
.disclosure p { margin: 0 0 .7rem; }
.disclosure p:last-child { margin: 0; }
.disclosure strong { color: rgba(255,244,250,.88); }

main, footer { position: relative; z-index: 2; }
body.nav-open { overflow: hidden; }
@media (min-width: 60em) { body.nav-open { overflow: visible; } }

/* ==========================================================================
   Landscape, snow motes, frozen shine.
   Transform/opacity only. Honours prefers-reduced-motion via the global rule
   plus an explicit kill-switch so looping backgrounds do not flicker.
   Fixed layer (not background-attachment) so iOS does not drop the image.
   ========================================================================== */

body::before {
  content: "";
  position: fixed; inset: 0;
  z-index: 0; pointer-events: none;
  background:
    radial-gradient(120% 70% at 50% -10%, rgba(255, 215, 176, .28), transparent 52%),
    radial-gradient(80% 50% at 100% 20%, rgba(152, 90, 160, .18), transparent 50%),
    linear-gradient(180deg,
      rgba(255, 248, 252, 0.08) 0%,
      rgba(255, 248, 252, 0.06) 22%,
      rgba(248, 236, 246, 0.38) 58%,
      rgba(250, 244, 250, 0.82) 100%);
  background-color: var(--bg);
}
html.fx body::before {
  background-image:
    radial-gradient(120% 70% at 50% -10%, rgba(255, 215, 176, .28), transparent 52%),
    radial-gradient(80% 50% at 100% 20%, rgba(152, 90, 160, .18), transparent 50%),
    linear-gradient(180deg,
      rgba(255, 248, 252, 0.08) 0%,
      rgba(255, 248, 252, 0.06) 22%,
      rgba(248, 236, 246, 0.38) 58%,
      rgba(250, 244, 250, 0.82) 100%),
    url("/assets/img/bg-arctic.webp") center top / cover no-repeat;
}

/* Film grain and snow: after LCP so feTurbulence / compositing stay off the critical path. */
html.fx::after {
  content: "";
  position: fixed; inset: 0;
  z-index: 0; pointer-events: none;
  opacity: .055;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55  0 0 0 0 .4  0 0 0 0 .5  0 0 0 .7 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

html.fx body::after {
  content: "";
  position: fixed; inset: 0;
  z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.95) 1.15px, transparent 1.7px),
    radial-gradient(circle, rgba(232,180,201,.55) 1px, transparent 1.5px);
  background-size: 110px 150px, 170px 210px;
  animation: ice-fall 18s linear infinite;
  opacity: .28;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.5), transparent 88%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.5), transparent 88%);
}

@keyframes ice-fall {
  from { background-position: 0 -240px; }
  to   { background-position: 40px 240px; }
}
@keyframes ice-shine {
  0%, 62% { transform: translateX(-130%); }
  78%, 100% { transform: translateX(130%); }
}
@keyframes ice-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes ice-glow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(152,123,154,.2), 0 8px 24px -12px rgba(152,123,154,.3); }
  50% { box-shadow: 0 0 0 1px rgba(232,180,201,.55), 0 12px 32px -10px rgba(232,180,201,.45); }
}

.hero::before {
  content: "";
  position: absolute; inset: -30% -12% auto;
  height: 75%;
  background:
    radial-gradient(ellipse at 50% 8%, rgba(255, 215, 176, .35), transparent 55%),
    radial-gradient(ellipse at 78% 30%, rgba(232, 180, 201, .18), transparent 50%);
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; }
.hero-grid > * { min-width: 0; }

.eyebrow {
  box-shadow: 0 0 16px rgba(152, 123, 154, .12);
  animation: ice-glow 5s ease-in-out infinite;
}

.hero-media {
  animation: ice-float 7s ease-in-out infinite;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.6), 0 32px 64px -22px rgba(40, 16, 50, .45);
}
.hero-grid > .hero-media { animation: none; }
.media-card {
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.45);
}

.stats {
  box-shadow: 0 0 0 1px rgba(255,255,255,.4), var(--shadow);
}

.table-scroll:focus-visible {
  outline: 3px solid var(--amber); outline-offset: 2px;
}

.card, .next a, .table-scroll, .faq, .sim, .note {
  transition: border-color .2s, box-shadow .2s, transform .2s;
}

.cta-dock {
  border-top-color: rgba(232, 180, 201, .45);
}

/* Hover-only: iOS otherwise sticks the hover state after a tap. */
@media (hover: hover) {
  a:hover:not(.btn):not(.hdr-cta) { color: var(--ice-soft); }
  .nav-btn:hover { background: var(--surface-2); }
  .nav a:hover { background: rgba(255,255,255,.7); color: var(--heading); }
  .hdr-cta:hover, .nav .nav-cta a:hover { filter: brightness(1.08); color: #1a1000; }
  .btn-primary:hover { filter: brightness(1.08); color: #1a1000; }
  .btn-demo:hover { filter: brightness(1.08); color: #04222a; }
  .btn-ghost:hover { background: var(--surface-2); color: var(--heading); }
  .hero-media-btn:hover { background: rgba(255, 255, 255, 0.92); color: var(--heading); }
  .demo-facade:hover .demo-play { transform: scale(1.06); filter: brightness(1.1); }
  .demo-fs:hover { color: var(--ice-soft); }
  tbody tr:hover { background: rgba(152, 123, 154, .08); }
  .faq summary:hover { background: rgba(255,255,255,.55); }
  .next a:hover { color: inherit; border-color: var(--ice-glow); transform: translateY(-2px); }
  .crumbs a:hover { color: var(--ice); text-decoration: underline; }
  .toc a:hover { text-decoration: underline; }
  .ftr a:hover { color: var(--ice-glow); text-decoration: underline; }
  .card:hover, .next a:hover {
    border-color: rgba(232, 180, 201, .85);
    box-shadow: var(--shadow), 0 0 28px -8px rgba(152, 123, 154, .4);
  }
  .tier-blue:hover   { box-shadow: var(--shadow), 0 0 28px -8px rgba(59,130,246,.4); }
  .tier-yellow:hover { box-shadow: var(--shadow), 0 0 28px -8px rgba(251,191,36,.4); }
  .tier-red:hover    { box-shadow: var(--shadow), 0 0 28px -8px rgba(239,68,68,.4); }
}

@media (prefers-reduced-motion: reduce) {
  html.fx body::after, .hero::before, html.fx::after { display: none !important; }
  .hero-media, .eyebrow, .btn-primary::after, .btn-demo::after,
  .hdr-cta::after, .nav .nav-cta a::after { animation: none !important; }
}

/* --- Print --------------------------------------------------------------- */
@media print {
  .hdr, .nav, .cta-band, .cta-dock, .demo-frame, .btn-row, .sim { display: none !important; }
  body { background: #fff; color: #000; padding-bottom: 0; }
  body::before, html.fx body::after, html.fx::after { display: none !important; }
  main > section { content-visibility: visible; contain-intrinsic-size: none; }
  h1, h2, h3, h4, strong, b { color: #000; }
}
