/* Setavaria marketing site. Plain CSS, no build step (the News pages are built by Eleventy; this file is not).
   Layout: Pocket-style app page. Light page, navy feature band, phone mockups over the brand orbit.
   Brand colors and fonts: Setavaria Brand v1 (brand/). Text neutrals and gain green match the app's light theme. */

@font-face {
  font-family: "IBM Plex Sans";
  src: url("brand/fonts/ibm-plex-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("brand/fonts/space-grotesk-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --navy: #143B59;
  --navy-deep: #0D2A40;      /* phone frame, footer ink */
  --cool: #F7F9FC;
  --steel: #C2D4E1;
  --peri: #CBD5FF;
  --tint: #EEF1FF;
  --white: #FFFFFF;
  --ink: #171717;            /* app light --foreground */
  --muted: #52525B;          /* app light --muted */
  --line: #E4E4E7;           /* app light --line */
  --gain: #15803D;           /* app light --gain */
  --on-navy-muted: #B9CADA;

  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy); margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
p { margin: 0; }
section[id], .prose h2[id] { scroll-margin-top: 80px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 6px; }

.wrap {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}

/* Buttons. Labels never wrap. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  white-space: nowrap;
  font: 600 15px/1 var(--font-body);
  text-decoration: none;
  border-radius: 10px;
  padding: 12px 18px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
span.btn { cursor: default; } /* not a link until launch */
.btn-navy { background: var(--navy); color: var(--cool); }
a.btn-navy:hover { background: var(--navy-deep); }
.btn-line { background: var(--white); color: var(--navy); border-color: var(--line); }
a.btn-line:hover { border-color: var(--navy); }
.btn-steel { background: var(--steel); color: var(--navy); }
a.btn-steel:hover { background: var(--peri); }

/* Header */
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: rgba(255, 255, 255, .92);
}
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.logo-link { display: block; flex: none; }
.logo-link img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--navy); }
.auth { display: flex; align-items: center; gap: 10px; }
.auth .btn { padding: 10px 16px; font-size: 14px; }
@media (max-width: 820px) { .nav-links { display: none; } }
@media (max-width: 380px) { .logo-link img { height: 32px; } .auth .btn { padding: 9px 12px; } }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--white) 0%, var(--cool) 100%); }
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center; gap: 48px;
  padding-block: 72px 0;
}
.hero-copy { padding-bottom: 72px; min-width: 0; }
.hero h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.04; font-weight: 700; }
.hero .lede { margin-top: 22px; font-size: clamp(17px, 2vw, 19px); color: var(--muted); max-width: 34em; }
.store-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.store {
  display: inline-flex; flex-direction: column; justify-content: center;
  min-width: 168px; padding: 9px 18px 10px;
  background: var(--navy-deep); color: var(--cool);
  border-radius: 12px; text-decoration: none; line-height: 1.15; white-space: nowrap;
}
.store small { font-size: 11px; letter-spacing: .02em; color: var(--on-navy-muted); }
.store span { font: 600 19px/1.15 var(--font-head); letter-spacing: -.01em; }
a.store:hover { background: var(--navy); }
.hero .fine { margin-top: 16px; font-size: 14px; color: var(--muted); }
.games { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding: 0; list-style: none; }
.games li {
  font-size: 13px; font-weight: 500; color: var(--navy);
  background: var(--tint); border: 1px solid var(--peri);
  padding: 5px 11px; border-radius: 999px; white-space: nowrap;
}
.games-label { margin-top: 40px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.games-label + .games { margin-top: 12px; }

.hero-art { position: relative; align-self: end; display: flex; justify-content: center; min-width: 0; }
.orbit { position: absolute; width: 620px; max-width: none; left: 50%; top: 18px; transform: translateX(-50%); pointer-events: none; }
.hero-art .phone { position: relative; margin-bottom: -60px; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-block: 48px 0; }
  .hero-copy { padding-bottom: 24px; }
  .orbit { width: 520px; top: 6px; }
}

/* Phone mockup. Everything inside scales with the phone's font-size. */
.phone {
  --frame: var(--navy-deep);
  width: 292px; font-size: 11px;
  aspect-ratio: 292 / 600;
  background: var(--frame);
  border-radius: 46px;
  padding: 10px;
  box-shadow: 0 1px 0 1px rgba(255, 255, 255, .06) inset, 0 40px 80px -30px rgba(13, 42, 64, .55);
  flex: none;
}
@media (max-width: 420px) { .phone { width: 252px; font-size: 9.5px; } }
.screen {
  position: relative; height: 100%; overflow: hidden;
  border-radius: 37px; background: var(--white); color: var(--ink);
  display: flex; flex-direction: column;
  font-family: var(--font-body);
}
.screen[hidden] { display: none; }
.notch { position: absolute; top: .7em; left: 50%; transform: translateX(-50%); width: 7.5em; height: 2.1em; border-radius: 2em; background: var(--frame); z-index: 2; }
.status { display: flex; justify-content: space-between; align-items: center; padding: 1.15em 2.2em .3em; font-weight: 600; font-size: 1.05em; }
.status .icons { display: flex; gap: .35em; align-items: center; }
.status .icons i { display: block; background: currentColor; border-radius: .15em; }
.status .icons i:nth-child(1) { width: 1.3em; height: .75em; clip-path: polygon(0 100%, 100% 0, 100% 100%); border-radius: 0; }
.status .icons i:nth-child(2) { width: 2em; height: .95em; border-radius: .3em; }
.appbar { display: flex; align-items: center; gap: .7em; padding: .9em 1.4em .8em; }
.appbar img { width: auto; height: 2.4em; }
.appbar b { font: 700 1.55em/1 var(--font-head); color: var(--navy); letter-spacing: -.01em; }
.appbar .sub { margin-left: auto; color: var(--muted); font-size: .95em; }

.w-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8em; padding: 0 1.2em 1.2em; }
.w { background: var(--cool); border: 1px solid var(--line); border-radius: 1.1em; padding: .9em 1em; min-width: 0; }
.w.large { grid-column: span 2; }
.w-t { font-weight: 600; font-size: .95em; color: var(--navy); }
.w-big { font: 700 1.75em/1.2 var(--font-head); margin-top: .35em; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.w-note { font-size: .9em; color: var(--gain); font-weight: 600; margin-top: .1em; }
.split-bar { display: flex; height: .8em; border-radius: .4em; overflow: hidden; margin: .8em 0 .7em; }
.split-bar span { display: block; }
.legend { display: grid; grid-template-columns: 1fr 1fr; gap: .25em .8em; font-size: .9em; }
.legend div { display: flex; align-items: center; gap: .45em; min-width: 0; }
.legend i { width: .7em; height: .7em; border-radius: .2em; flex: none; }
.legend b { margin-left: auto; font-weight: 600; font-variant-numeric: tabular-nums; }
.c1 { background: var(--navy); } .c2 { background: #4F7798; } .c3 { background: #8EA9C7; } .c4 { background: var(--peri); } .c5 { background: var(--steel); }
.set-row { display: grid; grid-template-columns: 1fr auto; gap: .3em .6em; margin-top: .75em; font-size: .92em; }
.set-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.set-row b { font-variant-numeric: tabular-nums; }
.meter { grid-column: span 2; height: .55em; border-radius: .3em; background: var(--tint); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--navy); border-radius: .3em; }

/* Abstract card art. Never real card images. */
.art {
  position: relative; aspect-ratio: 63 / 88; border-radius: .55em;
  background: linear-gradient(150deg, var(--peri) 0%, var(--steel) 48%, #6E8FAD 100%);
  box-shadow: inset 0 0 0 .3em rgba(255, 255, 255, .55);
  overflow: hidden;
}
.art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); }
.art.alt { background: linear-gradient(150deg, #E3E9FF 0%, var(--peri) 50%, #7A86C9 100%); }
.art.dark { background: linear-gradient(150deg, #4F7798 0%, var(--navy) 70%, var(--navy-deep) 100%); }
.art svg { position: absolute; width: 34%; height: auto; aspect-ratio: 1; left: 33%; top: 50%; transform: translateY(-50%); fill: var(--white); opacity: .9; }

/* Scan screen */
.screen.scan { background: #0B1620; color: var(--cool); }
.viewfinder { position: relative; flex: 1; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #27435C 0%, #0B1620 70%); }
.viewfinder .art { width: 52%; transform: rotate(-4deg); }
.guide { position: absolute; width: 64%; aspect-ratio: 63 / 88; border-radius: 1em; }
.guide::before, .guide::after { content: ""; position: absolute; inset: 0; border: .22em solid var(--cool); border-radius: 1em; }
.guide::before { clip-path: polygon(0 0, 22% 0, 22% 100%, 0 100%, 0 0, 100% 0, 100% 16%, 0 16%); }
.guide::after { clip-path: polygon(78% 0, 100% 0, 100% 100%, 78% 100%, 78% 84%, 0 84%, 0 100%, 100% 100%); }
.sheet { background: var(--white); color: var(--ink); border-radius: 1.6em 1.6em 0 0; padding: 1.3em 1.4em 2em; }
.sheet .found { font-size: .9em; color: var(--gain); font-weight: 600; }
.sheet .name { font: 700 1.5em/1.2 var(--font-head); color: var(--navy); margin-top: .2em; }
.sheet .meta { color: var(--muted); font-size: .95em; }
.sheet .acts { display: grid; grid-template-columns: 1fr 1.5fr; gap: .6em; margin-top: 1em; }
.sheet .acts span { text-align: center; padding: .8em 0; border-radius: .8em; font-weight: 600; font-size: .95em; white-space: nowrap; }
.sheet .acts .a1 { border: 1px solid var(--line); color: var(--navy); }
.sheet .acts .a2 { background: var(--navy); color: var(--cool); }

/* Card detail screen */
.detail { padding: .4em 1.4em 1.4em; display: flex; flex-direction: column; gap: 1em; }
.detail .art { width: 54%; margin: 0 auto; }
.detail .name { font: 700 1.55em/1.2 var(--font-head); color: var(--navy); text-align: center; }
.detail .meta { color: var(--muted); text-align: center; margin-top: -.6em; }
.price-box { background: var(--cool); border: 1px solid var(--line); border-radius: 1.1em; padding: .9em 1em; }
.price-box .top { display: flex; align-items: baseline; justify-content: space-between; }
.price-box .big { font: 700 1.9em/1 var(--font-head); font-variant-numeric: tabular-nums; }
.price-box .chg { color: var(--gain); font-weight: 600; font-size: .95em; }
.price-box svg { width: 100%; height: 4.6em; margin-top: .6em; display: block; }
.prints { display: flex; gap: .5em; }
.prints span { flex: 1; text-align: center; padding: .55em 0; border-radius: .7em; border: 1px solid var(--line); font-size: .9em; font-weight: 500; white-space: nowrap; }
.prints span.on { border-color: var(--navy); background: var(--tint); color: var(--navy); font-weight: 600; }

/* Pocket count line under the price box */
.binder-foot { display: flex; justify-content: space-between; align-items: center; padding: 0 1.4em; color: var(--muted); font-size: .95em; }
.binder-foot b { color: var(--navy); }

/* Binders: an open binder (two pages, a narrow navy spine), beside the copy */
.binders { background: var(--tint); padding-block: 96px; }
.binders-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.spread {
  display: grid; grid-template-columns: minmax(0, 1fr) 10px minmax(0, 1fr);
  background: var(--navy); border-radius: 22px; padding: 14px;
  box-shadow: 0 40px 70px -40px rgba(13, 42, 64, .6);
}
.bpage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; padding: 12px; border-radius: 10px; background: linear-gradient(180deg, var(--white), #F1F3F7); }
.bp { position: relative; aspect-ratio: 63 / 88; border-radius: 6px; background: linear-gradient(180deg, var(--white), #EEF0F4); box-shadow: inset 0 0 0 1px rgba(17, 24, 39, .09); }
.bp .art { position: absolute; inset: 4px; aspect-ratio: auto; border-radius: 4px; }
.bp.missing .art { opacity: .35; filter: grayscale(.7); }
.bp em { position: absolute; inset: 0; display: grid; place-items: center; font: 600 14px/1 var(--font-body); font-style: normal; color: rgba(17, 24, 39, .4); font-variant-numeric: tabular-nums; }
.binders-copy { min-width: 0; }
.binders-copy h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.1; }
.binders-copy .lede { margin-top: 14px; color: var(--muted); font-size: 18px; }
.bpoints { display: flex; flex-direction: column; gap: 22px; margin-top: 32px; }
.bpoints div { border-left: 3px solid var(--navy); padding-left: 18px; }
.bpoints h3 { font-size: 19px; line-height: 1.3; }
.bpoints p { margin-top: 4px; color: var(--muted); font-size: 15.5px; }
@media (max-width: 900px) {
  .binders { padding-block: 72px; }
  .binders-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .binders-copy { order: -1; }
}
@media (max-width: 520px) {
  .spread { padding: 8px; border-radius: 14px; grid-template-columns: minmax(0, 1fr) 6px minmax(0, 1fr); }
  .bpage { padding: 6px; gap: 4px; border-radius: 6px; }
  .bp { border-radius: 4px; }
  .bp .art { inset: 2px; border-radius: 3px; }
  .bp em { font-size: 11px; }
}

/* Feature band */
.band { background: var(--navy); color: var(--cool); padding-block: 96px; overflow: hidden; }
.band h2 { color: var(--cool); font-size: clamp(30px, 4vw, 42px); line-height: 1.1; max-width: 18em; }
.band .intro { margin-top: 16px; color: var(--on-navy-muted); font-size: 18px; max-width: 36em; }
.feature-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; margin-top: 56px; }
.tabs { display: flex; flex-direction: column; gap: 10px; }
.tab {
  text-align: left; font: inherit; color: inherit; cursor: pointer;
  background: transparent; border: 1px solid transparent; border-radius: 16px;
  padding: 20px 22px; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 16px;
  transition: background-color .15s, border-color .15s;
}
.tab:hover { background: rgba(255, 255, 255, .05); }
.tab[aria-selected="true"] { background: rgba(255, 255, 255, .08); border-color: rgba(194, 212, 225, .35); }
.tab .ico { grid-row: span 2; width: 40px; height: 40px; border-radius: 10px; background: rgba(203, 213, 255, .14); display: grid; place-items: center; }
.tab .ico svg { width: 22px; height: 22px; stroke: var(--peri); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tab[aria-selected="true"] .ico { background: var(--peri); }
.tab[aria-selected="true"] .ico svg { stroke: var(--navy); }
.tab b { font: 600 19px/1.3 var(--font-head); color: var(--cool); }
.tab span { color: var(--on-navy-muted); font-size: 15.5px; line-height: 1.5; }
.feature-art { position: relative; display: flex; justify-content: center; min-width: 0; }
.feature-art .halo { position: absolute; width: 440px; max-width: none; aspect-ratio: 1; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(203, 213, 255, .22) 0%, rgba(203, 213, 255, 0) 65%); }
.feature-art .phone { --frame: #071C2C; position: relative; }
@media (max-width: 900px) {
  .band { padding-block: 72px; }
  .feature-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .tabs { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter) var(--gutter-r); gap: 10px; padding-bottom: 6px; margin-inline: calc(-1 * var(--gutter)) calc(-1 * var(--gutter-r)); padding-inline: var(--gutter) var(--gutter-r); scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: 0 0 78%; scroll-snap-align: start; border-color: rgba(194, 212, 225, .2); }
}

/* Phones: the script turns the tabs into swipe slides (text + its own phone) with dots. Without it, the tabs above. */
.slides, .dots { display: none; }
@media (max-width: 900px) {
  .feature-grid.has-slides { display: block; margin-top: 40px; }
  .has-slides .tabs, .has-slides .feature-art { display: none; }
  .has-slides .slides {
    display: flex; gap: 16px; position: relative;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
  }
  .slides::-webkit-scrollbar { display: none; }
  .slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: center; scroll-snap-stop: always; display: flex; flex-direction: column; align-items: center; gap: 24px; }
  .slide-text { flex: 1; text-align: center; max-width: 30em; }
  .slide-text h3 { color: var(--cool); font-size: 22px; line-height: 1.25; }
  .slide-text p { margin-top: 8px; color: var(--on-navy-muted); font-size: 16px; line-height: 1.5; }
  .slide-art { width: 100%; display: flex; justify-content: center; background: radial-gradient(circle at 50% 50%, rgba(203, 213, 255, .2) 0%, rgba(203, 213, 255, 0) 62%); }
  .slide .phone { --frame: #071C2C; width: 236px; font-size: 9px; }
  .has-slides .dots { display: flex; justify-content: center; gap: 4px; margin-top: 20px; }
  .dots button { width: 28px; height: 28px; padding: 0; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
  .dots button::after { content: ""; width: 8px; height: 8px; border-radius: 4px; background: rgba(203, 213, 255, .35); transition: width .2s, background-color .2s; }
  .dots button[aria-current="true"]::after { width: 22px; background: var(--peri); }
}

/* More features */
.more { padding-block: 96px; background: var(--white); }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.1; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 18px; max-width: 36em; }
.more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.more-item { border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px 28px; background: var(--white); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.more-item .top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.more-item .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--tint); display: grid; place-items: center; }
.more-item .ico svg { width: 23px; height: 23px; stroke: var(--navy); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.more-item h3 { font-size: 20px; line-height: 1.3; margin-top: 8px; }
.more-item p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 960px) { .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .more-grid { grid-template-columns: minmax(0, 1fr); } }

/* Get the app */
.cta { padding-block: 0 96px; background: var(--white); }
.cta-card {
  position: relative; overflow: hidden;
  background: var(--navy); color: var(--cool); border-radius: 28px;
  padding: 64px 56px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center;
}
.cta-card h2 { color: var(--cool); font-size: clamp(28px, 3.6vw, 38px); line-height: 1.12; }
.cta-card p { margin-top: 12px; color: var(--on-navy-muted); font-size: 17px; max-width: 30em; }
.cta-card .store-row { margin-top: 0; position: relative; }
.cta-card .store { background: var(--cool); color: var(--navy); }
.cta-card .store small { color: var(--muted); }
.cta-card a.store:hover { background: var(--tint); }
.cta-card .ring { position: absolute; width: 360px; right: -90px; top: -150px; opacity: .35; pointer-events: none; }
.cta-card > div { position: relative; min-width: 0; }
@media (max-width: 820px) { .cta-card { grid-template-columns: minmax(0, 1fr); padding: 44px 28px; } .cta-card .ring { display: none; } }

/* Plans */
.plans { padding-block: 96px; background: var(--cool); border-top: 1px solid var(--line); }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; align-items: start; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 30px 28px 32px; display: flex; flex-direction: column; min-width: 0; }
.plan h3 { font-size: 22px; }
.plan .for { color: var(--muted); font-size: 15px; margin-top: 4px; }
.plan .price { display: flex; align-items: baseline; gap: 6px; margin-top: 22px; }
.plan .price b { font: 700 44px/1 var(--font-head); color: var(--navy); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.plan .price span { color: var(--muted); font-size: 15px; }
.plan .btn { margin-top: 24px; width: 100%; }
.plan ul { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 11px; font-size: 15px; }
.plan li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; }
.plan li svg { width: 20px; height: 20px; margin-top: 2px; stroke: var(--navy); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.plan.featured { background: var(--navy); border-color: var(--navy); color: var(--cool); }
.plan.featured h3, .plan.featured .price b { color: var(--cool); }
.plan.featured .for, .plan.featured .price span { color: var(--on-navy-muted); }
.plan.featured li svg { stroke: var(--peri); }
.plans .note { margin-top: 24px; color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .plan-grid { grid-template-columns: minmax(0, 1fr); max-width: 480px; } }

/* FAQ */
.faq { padding-block: 96px; background: var(--white); }
.faq-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 36px; margin-top: 48px; }
.faq-grid h3 { font: 600 18px/1.4 var(--font-head); letter-spacing: -.01em; }
.faq-grid p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* Footer */
.site-footer { background: var(--white); border-top: 1px solid var(--line); padding-block: 56px 40px; padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
.foot-top .logo-link img { height: 32px; }
.foot-top .tag { margin-top: 14px; color: var(--muted); font-size: 15px; max-width: 22em; }
.foot-col h4 { margin: 0; font: 600 13px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--navy); }
.foot-col ul { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-col a, .foot-col span { color: var(--muted); text-decoration: none; font-size: 15px; }
.foot-col a:hover { color: var(--navy); }
.foot-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; color: var(--muted); font-size: 13px; }
.foot-bottom .notice { font-size: 12px; line-height: 1.55; max-width: 72em; }
@media (max-width: 820px) { .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: span 2; } }

/* News (/news). Pages are built from news/ by Eleventy; see README. */
.nav-links a.on { color: var(--navy); }
.news, .post { padding-block: 56px 96px; }
.news .section-head h1 { font-size: clamp(36px, 5vw, 52px); line-height: 1.05; }
.post-meta { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.post-meta .game, .prose h2 .tag {
  font: 500 13px/1 var(--font-body); letter-spacing: 0; color: var(--navy);
  background: var(--tint); border: 1px solid var(--peri); padding: 5px 10px; border-radius: 999px; white-space: nowrap;
}
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.news-card {
  display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  border: 1px solid var(--line); border-radius: 18px; background: var(--white);
  color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .15s;
}
.news-card:hover { border-color: var(--steel); box-shadow: 0 10px 30px rgba(13, 42, 64, .08); }
.news-card img { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; }
.news-card .body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 24px; }
.news-card h2 { font-size: 22px; line-height: 1.2; }
.news-card p { color: var(--muted); font-size: 15px; }
@media (min-width: 821px) {
  .news-grid.lead .news-card:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .news-grid.lead .news-card:first-child img { height: 100%; }
  .news-grid.lead .news-card:first-child .body { justify-content: center; padding: 32px 36px; }
  .news-grid.lead .news-card:first-child h2 { font-size: 32px; }
  .news-grid.lead .news-card:first-child p { font-size: 17px; }
}
@media (max-width: 960px) { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .news-grid { grid-template-columns: minmax(0, 1fr); } }
.pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; margin-top: 48px; }
.pager .newer { grid-column: 1; justify-self: start; }
.pager .count { grid-column: 2; color: var(--muted); font-size: 14px; white-space: nowrap; }
.pager .older { grid-column: 3; justify-self: end; }

.wrap.post-wrap { max-width: 768px; }
.post .back { display: inline-block; margin-bottom: 28px; color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.post .back:hover { color: var(--navy); }
.post h1 { margin-top: 16px; font-size: clamp(34px, 5vw, 48px); line-height: 1.08; }
.post .dek { margin-top: 14px; font-size: clamp(18px, 2.2vw, 20px); color: var(--muted); }
.post .cover { margin-top: 32px; width: 100%; height: auto; border-radius: 18px; }
.prose { margin-top: 36px; font-size: 18px; line-height: 1.7; }
.prose::after { content: ""; display: table; clear: both; }
.prose > * + * { margin-top: 18px; }
.prose > p:last-child { clear: both; padding-top: 8px; }
.prose a { color: var(--navy); }
.prose h2 { clear: both; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 52px; font-size: 26px; line-height: 1.2; }
.card-fig { float: right; width: 210px; margin: 6px 0 18px 32px; }
.card-fig .imgs { display: flex; gap: 3px; }
.card-fig img { flex: 1 1 0; min-width: 0; height: auto; filter: drop-shadow(0 8px 14px rgba(13, 42, 64, .2)); }
.card-fig figcaption { margin-top: 12px; font-size: 13px; line-height: 1.45; color: var(--muted); text-align: center; }
.card-fig figcaption span { display: block; }
.card-fig.pair { float: none; width: auto; max-width: 440px; margin: 28px auto; }
@media (max-width: 620px) {
  .card-fig { float: none; width: 220px; margin: 20px auto; }
  .card-fig.pair { width: auto; max-width: 400px; }
}
.post .source { clear: both; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.post .source a { color: var(--navy); }

/* Legal pages (news/legal): same column as a post, smaller type, tables. */
.legal .prose { font-size: 16px; line-height: 1.65; }
.legal .prose > * + * { margin-top: 14px; }
.legal .prose h2 { margin-top: 40px; font-size: 22px; }
.legal .prose ul { padding-left: 1.2em; display: flex; flex-direction: column; gap: 8px; }
.legal .prose table { display: block; overflow-x: auto; width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.legal .prose th, .legal .prose td { text-align: left; vertical-align: top; padding: 8px 14px 8px 0; border-bottom: 1px solid var(--line); }
.legal .prose th { color: var(--navy); font-weight: 600; white-space: nowrap; }
.legal .prose td:first-child { font-weight: 600; color: var(--navy); min-width: 9em; }
@media (max-width: 620px) {
  .legal .prose table, .legal .prose tbody, .legal .prose tr, .legal .prose td { display: block; }
  .legal .prose thead { display: none; }
  .legal .prose tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .legal .prose td { border: 0; padding: 2px 0; }
  .legal .prose td:nth-child(3) { color: var(--muted); }
}
.post-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 40px; padding: 28px; border-radius: 18px; background: var(--tint); }
.post-cta h2 { font-size: 22px; line-height: 1.2; }
.post-cta p { margin-top: 6px; color: var(--muted); font-size: 15px; }
@media (max-width: 620px) { .post-cta { flex-direction: column; align-items: flex-start; } }
