/* Sixth, sixthapp.com.au
   One stylesheet. Mobile first. Ocean palette, Inter, crystal-ball mark.
   Spacing tokens only: 8 / 16 / 24 / 40 / 64 / 96.
   Motion is CSS only and switched off under prefers-reduced-motion. */

@font-face {
  font-family: "Inter";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/Inter-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/Inter-SemiBold.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/Inter-Bold.woff2") format("woff2");
}

:root {
  color-scheme: light dark;
  /* spacing */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 40px; --s5: 64px; --s6: 96px;
  --max: 1080px;
  --gutter: 16px;
  --prose: 64ch;
  --radius: 20px;
  --radius-sm: 12px;
  --pad: var(--s3);
  /* colour */
  --bg: #f4f8fd;
  --bg-2: #ffffff;
  --bg-3: #e6effa;
  --ink: #1e3a5f;
  --ink-strong: #0a2540;
  --ink-soft: #4a6484;
  --line: #d8e4f2;
  --line-strong: #b7cfe8;
  --accent: #28508c;
  --accent-strong: #1c4880;
  --accent-soft: #dceaf6;
  --deep-1: #06182b;
  --deep-2: #0a1f3a;
  --deep-3: #1b4274;
  --on-deep: #ffffff;
  --on-deep-soft: #cfe0f2;
  --sky: #5b86b5;
  --pale: #bcd6ee;
  --focus: #3b78c2;
  --tag-free-bg: #dff3ea; --tag-free-ink: #145a3a;
  --tag-pro-bg: #dceaf6; --tag-pro-ink: #1c4880;
  --tag-yearly-bg: #ece6fa; --tag-yearly-ink: #4b3a8c;
  --tag-lifetime-bg: #fbeedb; --tag-lifetime-ink: #7a4b0c;
  --shadow: 0 1px 2px rgba(10, 37, 64, .05), 0 8px 24px rgba(10, 37, 64, .07);
  --shadow-lift: 0 2px 4px rgba(10, 37, 64, .06), 0 18px 40px rgba(10, 37, 64, .12);
  --grad-accent: linear-gradient(135deg, #3b6fae, #28508c);
  --grad-border: linear-gradient(135deg, #bcd6ee, #5b86b5 50%, #28508c);
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}
@media (min-width: 760px) { :root { --gutter: 24px; } }

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #071527;
    --bg-2: #0d2038;
    --bg-3: #112944;
    --ink: #cfe0f2;
    --ink-strong: #ffffff;
    --ink-soft: #a3bbd6;
    --line: #1f3a5c;
    --line-strong: #2f557f;
    --accent: #9ec3ec;
    --accent-strong: #c6dcf3;
    --accent-soft: #163357;
    --deep-1: #030d1a;
    --deep-2: #071527;
    --deep-3: #163a66;
    --focus: #8fb8e4;
    --tag-free-bg: #123d2b; --tag-free-ink: #a7e3c6;
    --tag-pro-bg: #163357; --tag-pro-ink: #bcd6ee;
    --tag-yearly-bg: #2c2452; --tag-yearly-ink: #cfc3f5;
    --tag-lifetime-bg: #4a300c; --tag-lifetime-ink: #f6d7a4;
    --shadow: none;
    --shadow-lift: 0 18px 40px rgba(0, 0, 0, .35);
    --grad-accent: linear-gradient(135deg, #bcd6ee, #8db4de);
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@media (min-width: 760px) { body { font-size: 18px; } }

h1, h2, h3, h4 { color: var(--ink-strong); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 var(--s2); font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(34px, 7vw, 56px); letter-spacing: -0.03em; }
h2 { font-size: clamp(27px, 5vw, 40px); }
h3 { font-size: clamp(19px, 2.4vw, 22px); }
h4 { font-size: 1em; }
p { margin: 0 0 var(--s2); }
a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .15s ease; }
a:hover { color: var(--accent-strong); text-decoration-thickness: 2px; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.2em; margin: 0 0 var(--s2); }
li { margin: 0 0 var(--s1); }
li > ul, li > ol { margin-bottom: 0; margin-top: var(--s1); }
strong { color: var(--ink-strong); }
small { font-size: .85em; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--s4) 0; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; background: var(--bg-3); border-radius: 6px; padding: .1em .4em; color: var(--ink-strong); }
table { border-collapse: collapse; width: 100%; font-size: .95em; }
th, td { text-align: left; padding: var(--s1) var(--s2); border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--ink-strong); font-weight: 600; background: var(--bg-3); }
thead th { border-bottom: 1px solid var(--line-strong); }
tbody tr:last-child td { border-bottom: 0; }
blockquote { margin: var(--s3) 0; padding: var(--s2) var(--s3); border-left: 4px solid var(--sky); background: var(--bg-2); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--ink); font-size: 1.05em; }
blockquote p:last-child { margin-bottom: 0; }
dl { margin: 0 0 var(--s2); }
dt { font-weight: 600; color: var(--ink-strong); }
dd { margin: 0 0 var(--s1); }
figure { margin: var(--s3) 0; }
figcaption { font-size: .9em; color: var(--ink-soft); margin-top: var(--s1); }
svg { display: inline-block; vertical-align: middle; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--bg-2); color: var(--ink-strong); padding: var(--s1) var(--s2); border-radius: 0 0 var(--radius-sm) 0;
  box-shadow: var(--shadow); font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 0; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.narrow { max-width: var(--prose); margin-left: auto; margin-right: auto; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.note { color: var(--ink-soft); font-size: .95em; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media (prefers-reduced-motion: no-preference) {
  .js:not(.no-reveal) .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--d, 0) * 90ms); }
  .js:not(.no-reveal) .reveal.in { opacity: 1; transform: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s1);
  background: var(--grad-accent); color: #fff; font-weight: 600; text-decoration: none;
  padding: 14px var(--s3); border-radius: 999px; border: 1px solid transparent; line-height: 1.2;
  box-shadow: 0 6px 18px rgba(40, 80, 140, .25);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn:hover { color: #fff; text-decoration: none; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(40, 80, 140, .32); filter: brightness(1.06); }
.btn:active { transform: translateY(0) scale(.98); box-shadow: 0 3px 10px rgba(40, 80, 140, .25); }
.btn-small { padding: 10px var(--s2); font-size: 15px; }
.btn-ghost { background: var(--bg-2); color: var(--accent); border-color: var(--line-strong); box-shadow: none; }
.btn-ghost:hover { color: var(--accent-strong); box-shadow: var(--shadow); filter: none; }
.btn-light { background: #fff; color: var(--deep-2); box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.btn-light:hover { color: var(--deep-1); }
@media (prefers-color-scheme: dark) {
  .btn { color: var(--deep-1); box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
  .btn:hover { color: var(--deep-1); }
  .btn-ghost { background: var(--bg-2); color: var(--accent); }
  .btn-ghost:hover { color: var(--ink-strong); }
  .btn-light { background: #fff; color: var(--deep-2); }
}

/* Store buttons: glass with a gradient border */
.store-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s2); margin: 0 0 var(--s2); }
.store-btn {
  display: inline-flex; align-items: center; gap: var(--s2);
  color: var(--ink-strong); text-decoration: none;
  padding: 12px 22px 12px 18px; border-radius: 16px; border: 1.5px solid transparent;
  background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, var(--grad-border) border-box;
  line-height: 1.15; min-width: 236px; box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.store-btn:hover { color: var(--ink-strong); text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.store-btn:active { transform: translateY(0) scale(.98); }
.store-btn svg { flex: 0 0 auto; color: var(--accent); }
.store-btn small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.store-btn span { font-weight: 700; font-size: 17px; }
.band-deep .store-btn, .hero .store-btn, .cta-band .store-btn, .site-footer .store-btn {
  color: #fff;
  background: linear-gradient(rgba(188, 214, 238, .16), rgba(91, 134, 181, .12)) padding-box, linear-gradient(135deg, rgba(255, 255, 255, .7), rgba(188, 214, 238, .35) 50%, rgba(91, 134, 181, .6)) border-box;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}
.band-deep .store-btn:hover, .hero .store-btn:hover, .cta-band .store-btn:hover, .site-footer .store-btn:hover {
  color: #fff; background: linear-gradient(rgba(255, 255, 255, .16), rgba(255, 255, 255, .1)) padding-box, linear-gradient(135deg, #fff, var(--pale) 50%, var(--sky)) border-box;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .35), 0 0 0 4px rgba(188, 214, 238, .12);
}
.band-deep .store-btn svg, .hero .store-btn svg, .cta-band .store-btn svg, .site-footer .store-btn svg { color: var(--pale); }
.band-deep .store-btn small, .hero .store-btn small, .cta-band .store-btn small, .site-footer .store-btn small { color: var(--on-deep-soft); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px);
}
.is-home .site-header { background: var(--deep-2); border-bottom-color: rgba(255, 255, 255, .1); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1) var(--s2); padding-top: var(--s1); padding-bottom: var(--s1); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink-strong); text-decoration: none; font-size: 20px; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; color: var(--ink-strong); }
.brand .orb { filter: drop-shadow(0 2px 4px rgba(10, 37, 64, .25)); }
.site-header .btn { margin-left: auto; }
.site-nav { display: flex; flex-wrap: wrap; gap: 0 4px; order: 3; width: 100%; justify-content: center; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; padding: 6px 10px; border-radius: 999px; transition: background .15s ease, color .15s ease; }
.site-nav a:hover { background: var(--accent-soft); color: var(--ink-strong); }
.site-nav a[aria-current] { color: var(--accent-strong); background: var(--accent-soft); }
.is-home .brand, .is-home .site-nav a { color: #fff; }
.is-home .site-nav a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.is-home .site-nav a[aria-current] { background: rgba(255, 255, 255, .14); color: #fff; }
.is-home .site-header .btn { background: #fff; color: var(--deep-2); box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }
.is-home .site-header .btn:hover { color: var(--deep-1); }
@media (max-width: 759px) {
  .site-header { position: relative; }
}
@media (min-width: 760px) {
  .site-header .wrap { flex-wrap: nowrap; gap: var(--s3); padding-top: 12px; padding-bottom: 12px; }
  .site-nav { order: 0; width: auto; justify-content: flex-start; margin-left: var(--s1); }
  .site-nav a { font-size: 15px; padding: 8px 14px; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; text-align: center; color: var(--on-deep);
  background: radial-gradient(900px 520px at 50% -8%, var(--deep-3) 0%, var(--deep-2) 55%, var(--deep-1) 100%);
  padding: var(--s4) 0 var(--s4);
}
.hero-stars, .hero-stars::after {
  content: ""; position: absolute; inset: -10%; pointer-events: none;
  background-image:
    radial-gradient(1.6px 1.6px at 18px 30px, rgba(255,255,255,.75), transparent 70%),
    radial-gradient(1.2px 1.2px at 120px 90px, rgba(255,255,255,.55), transparent 70%),
    radial-gradient(1.8px 1.8px at 210px 40px, rgba(255,255,255,.65), transparent 70%),
    radial-gradient(1.2px 1.2px at 60px 180px, rgba(255,255,255,.5), transparent 70%),
    radial-gradient(1.4px 1.4px at 240px 200px, rgba(255,255,255,.6), transparent 70%),
    radial-gradient(1px 1px at 160px 250px, rgba(255,255,255,.45), transparent 70%);
  background-size: 280px 280px;
  opacity: .55;
  animation: drift 120s linear infinite;
}
.hero-stars::after { background-size: 420px 420px; opacity: .35; animation-duration: 200s; animation-direction: reverse; }
@keyframes drift { from { background-position: 0 0; } to { background-position: 280px 280px; } }
.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.hero-art { position: relative; width: 280px; height: 280px; margin: 0 auto var(--s3); display: grid; place-items: center; }
.hero-art .orb { position: relative; z-index: 2; filter: drop-shadow(0 18px 30px rgba(4, 12, 26, .6)); width: 132px; height: 132px; animation: float 7s ease-in-out infinite; }
.hero-glow { position: absolute; inset: 15%; border-radius: 50%; background: radial-gradient(circle, rgba(188, 214, 238, .5), rgba(91, 134, 181, .18) 45%, transparent 70%); filter: blur(10px); animation: pulse 6s ease-in-out infinite alternate; }
.orbit-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit-ring { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 1; stroke-dasharray: 2 7; }
.orbit { transform-origin: 160px 160px; animation: spin 48s linear infinite; }
.orbit .sym { color: #eaf3fc; stroke: currentColor; fill: currentColor; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; transform-box: fill-box; transform-origin: center; animation: spin 48s linear infinite reverse; filter: drop-shadow(0 0 6px rgba(188, 214, 238, .6)); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pulse { from { transform: scale(.92); opacity: .75; } to { transform: scale(1.1); opacity: 1; } }
.hero .eyebrow { color: var(--pale); justify-content: center; }
.hero h1 { color: #fff; font-size: clamp(36px, 9vw, 64px); margin: 0 0 var(--s2); max-width: 14ch; }
.hero .lede { max-width: 38ch; margin: 0 auto var(--s3); color: var(--on-deep-soft); font-size: clamp(18px, 2.6vw, 22px); line-height: 1.45; }
.hero .store-buttons { margin: 0 0 var(--s2); }
.hero-note { color: var(--on-deep-soft); font-size: 15px; margin: 0; opacity: .85; }
@media (min-width: 760px) {
  .hero { padding: var(--s5) 0 var(--s6); }
  .hero-art { width: 320px; height: 320px; margin-bottom: var(--s4); }
  .hero-art .orb { width: 150px; height: 150px; }
}

/* ---------- page hero (inner pages) ---------- */
.band-deep { background: linear-gradient(180deg, var(--deep-2), var(--deep-1)); color: var(--on-deep); }
.band-deep h1, .band-deep h2, .band-deep h3, .band-deep strong { color: #fff; }
.band-deep p, .band-deep li { color: var(--on-deep-soft); }
.band-deep .eyebrow { color: var(--pale); }
.band-deep a:not(.btn):not(.store-btn) { color: var(--pale); }
.band-deep a:not(.btn):not(.store-btn):hover { color: #fff; }
.band-soft { background: linear-gradient(180deg, var(--bg-3), var(--bg)); }
.page-hero { padding: 0 0 var(--s4); }
.page-head { padding: var(--s3) 0 0; }
.page-head.center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.page-head h1 { margin-bottom: var(--s2); }
.page-head .lede { font-size: clamp(18px, 2.3vw, 22px); color: var(--ink-soft); max-width: var(--prose); margin: 0; line-height: 1.5; text-wrap: pretty; }
.page-head.center .lede { max-width: 44ch; }
.page-head.center .crumbs { justify-content: center; }
.page-head.center .eyebrow { justify-content: center; }
.page-head .effective { color: var(--ink-soft); font-weight: 600; margin: 0 0 var(--s1); }
.page-head .eyebrow { margin-bottom: var(--s2); }
.meta-line { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); color: var(--ink-soft); font-size: .92em; margin: 0; }
.crumbs { padding-top: var(--s2); font-size: .9em; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.crumbs li { margin: 0; display: inline-flex; align-items: center; }
.crumbs li + li::before { content: "/"; color: var(--line-strong); padding: 0 var(--s1); }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink-strong); font-weight: 600; }
@media (min-width: 760px) { .page-head { padding-top: var(--s4); } .page-hero { padding-bottom: var(--s5); } }

.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 var(--s2); display: flex; align-items: center; gap: var(--s1); flex-wrap: wrap; }

/* ---------- prose ---------- */
.prose { padding: var(--s4) 0; }
.prose > :is(p, ul, ol, h2, h3, h4, blockquote, dl, .callout, .key-facts, aside, figure, details, .table-wrap, table) { max-width: var(--prose); }
.prose > h2 { margin-top: var(--s4); }
.prose > .wide { max-width: none; }
.prose > h3 { margin-top: var(--s3); }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose img { border-radius: var(--radius-sm); }
.prose .lede { font-size: 1.12em; color: var(--ink-soft); }
.prose table { margin: 0 0 var(--s3); }
.article > p:first-child { font-size: 1.15em; line-height: 1.55; color: var(--ink-strong); }
.article > p:first-child::first-letter { font-size: 2.6em; font-weight: 700; float: left; line-height: .85; margin: 6px 10px 0 0; color: var(--accent); }
.table-wrap { overflow-x: auto; margin: 0 0 var(--s3); border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-2); box-shadow: var(--shadow); }
.table-wrap table { margin: 0; min-width: 520px; }
.table-wrap th:first-child, .table-wrap td:first-child { padding-left: var(--s2); }
table .num { text-align: right; font-variant-numeric: tabular-nums; }
table .yes { color: var(--tag-free-ink); font-weight: 600; }
table .no { color: var(--ink-soft); }
@media (prefers-color-scheme: dark) { table .yes { color: #a7e3c6; } }

.callout, .key-facts, .box, .prose aside {
  position: relative; background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: var(--s3); margin: var(--s3) 0; box-shadow: var(--shadow);
}
.key-facts, .prose aside { border-left: 5px solid var(--sky); }
.callout > :last-child, .key-facts > :last-child, .box > :last-child, .prose aside > :last-child { margin-bottom: 0; }
.key-facts h2, .key-facts h3, .prose aside h2, .prose aside h3 { margin: 0 0 var(--s2); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.key-facts ul, .prose aside ul { margin-bottom: 0; padding-left: 1.1em; }
.key-facts li, .prose aside li { font-size: 1.02em; color: var(--ink-strong); }
.formula { font-size: 1.05em; }
.formula p { font-variant-numeric: tabular-nums; }

details { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0; margin: 0 0 var(--s2); background: var(--bg-2); overflow: hidden; }
summary { cursor: pointer; font-weight: 600; color: var(--ink-strong); padding: 14px var(--s2); list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--s2); transition: background .15s ease; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: 0 0 auto; width: 10px; height: 10px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); transition: transform .2s ease; margin-right: 4px; }
details[open] > summary::after { transform: rotate(-135deg); margin-top: 6px; }
summary:hover { background: var(--bg-3); }
details > :not(summary) { padding: 0 var(--s2); }
details > :not(summary):last-child { padding-bottom: var(--s2); }
details p:last-child, details ul:last-child, details ol:last-child { margin-bottom: 0; }
details.fine { margin-top: var(--s3); }
details.fine summary { font-size: .95em; color: var(--ink-soft); }
details.on-deep { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
details.on-deep summary { color: #fff; }
details.on-deep summary:hover { background: rgba(255, 255, 255, .08); }
details.on-deep summary::after { border-color: var(--pale); }
details.on-deep p { color: var(--on-deep-soft); }

.checks { list-style: none; padding: 0; margin: 0 0 var(--s2); }
.checks li { position: relative; padding-left: 30px; margin: 0 0 var(--s1); }
.checks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft); }
.checks li::after { content: ""; position: absolute; left: 7px; top: calc(.32em + 5px); width: 5px; height: 9px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); }
.band-deep .checks li::before { background: rgba(255, 255, 255, .14); }
.band-deep .checks li::after { border-color: var(--pale); }

/* "A good run" bars on mode pages */
.runs { list-style: none; padding: 0; margin: 0 0 var(--s2); display: grid; gap: var(--s1); }
.runs li { position: relative; display: grid; grid-template-columns: 84px 1fr; align-items: center; gap: var(--s2); margin: 0; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px var(--s2); overflow: hidden; }
.runs li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--sd, 1) / 3 * 100%); background: linear-gradient(90deg, var(--accent-soft), transparent); z-index: 0; }
.runs strong { position: relative; font-size: 1.1em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.runs span { position: relative; color: var(--ink); font-size: .95em; }

/* ---------- sections and grids ---------- */
.section { padding: var(--s4) 0; }
.section-head { max-width: 640px; margin: 0 auto var(--s4); text-align: center; }
.section-head h2 { margin-bottom: var(--s2); }
.section-head p:not(.eyebrow) { color: var(--ink-soft); margin: 0; font-size: 1.05em; text-wrap: pretty; }
.section-head .eyebrow { justify-content: center; }
.section-foot { margin: var(--s4) 0 0; text-align: center; }
.band-deep .section-head p:not(.eyebrow) { color: var(--on-deep-soft); }
@media (min-width: 760px) { .section { padding: var(--s5) 0; } }

.grid { display: grid; gap: var(--s2); }
@media (min-width: 600px) { .cols-2, .cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .cols-3 { grid-template-columns: repeat(3, 1fr); } .grid { gap: var(--s3); } }

.card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--pad); box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--line-strong); }
.card > .tag { margin-bottom: var(--s2); align-self: flex-start; }
.card h3 { margin: 0 0 var(--s2); }
.card p { color: var(--ink-soft); margin-bottom: 0; }
.card .checks { margin-bottom: var(--s2); }
.card .checks:last-child { margin-bottom: 0; }

.split { display: grid; gap: var(--s4); align-items: center; }
.split-text .lede { font-size: clamp(18px, 2.3vw, 22px); line-height: 1.45; margin-bottom: var(--s3); }
.split-text .btn { margin-bottom: 0; }
.split-art { display: flex; justify-content: center; }
@media (max-width: 899px) { .split-text { text-align: center; display: flex; flex-direction: column; align-items: center; } .split-text .checks { text-align: left; } .split-text details { width: 100%; text-align: left; } }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr 1fr; gap: var(--s5); } }

/* steps with demos */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: var(--s2); }
.steps > li { counter-increment: step; position: relative; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--pad); margin: 0; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; text-align: center; transition: transform .2s ease, box-shadow .2s ease; }
.steps > li:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.steps > li::before { content: counter(step); position: absolute; top: var(--s2); left: var(--s2); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-strong); font-weight: 700; font-size: 15px; }
.steps > li > h3 { margin: 0 0 var(--s1); }
.steps > li > p { margin: 0; color: var(--ink-soft); max-width: 30ch; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: var(--s3); } }

.demo { height: 150px; width: 100%; display: grid; place-items: center; margin: 0 0 var(--s2); color: var(--accent); }
.demo-flip { perspective: 700px; }
.flip { position: relative; width: 86px; height: 120px; transform-style: preserve-3d; transform: rotateY(180deg); animation: flip 7s cubic-bezier(.6, 0, .3, 1) infinite; }
.flip-face { position: absolute; inset: 0; border-radius: 12px; display: grid; place-items: center; -webkit-backface-visibility: hidden; backface-visibility: hidden; box-shadow: 0 10px 24px rgba(10, 37, 64, .18); }
.flip-front { background: linear-gradient(160deg, var(--deep-3), var(--deep-1)); color: var(--pale); }
.flip-back { background: linear-gradient(160deg, #fff, var(--pale)); color: var(--accent-strong); transform: rotateY(180deg); }
.flip-face svg { width: 60px; height: 84px; }
@keyframes flip { 0%, 28% { transform: rotateY(0); } 42%, 86% { transform: rotateY(180deg); } 100% { transform: rotateY(360deg); } }

.demo-dial svg { width: 130px; height: 130px; }
.dial-track { stroke: var(--accent-soft); }
.dial-fill { stroke: var(--accent); stroke-dasharray: 289; stroke-dashoffset: 101; animation: dial 7s ease-in-out infinite; }
.dial-num { fill: var(--ink-strong); animation: fadein 7s ease infinite; }
.dial-sub { fill: var(--ink-soft); }
@keyframes dial { 0%, 10% { stroke-dashoffset: 289; } 50%, 88% { stroke-dashoffset: 101; } 100% { stroke-dashoffset: 289; } }
@keyframes fadein { 0%, 20% { opacity: 0; } 50%, 88% { opacity: 1; } 100% { opacity: 0; } }

.demo-ticks ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s1); width: 170px; }
.demo-ticks li { margin: 0; display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 10px; background: var(--bg-3); border-radius: 999px; padding: 6px 14px 6px 6px; font-size: 14px; color: var(--ink); animation: pop 7s ease infinite; animation-delay: calc(var(--i) * .55s); }
.demo-ticks strong { font-variant-numeric: tabular-nums; }
.tick { width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; }
.tick svg { width: 16px; height: 16px; }
@keyframes pop { 0%, 6% { opacity: 0; transform: translateX(-10px) scale(.96); } 14%, 84% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateX(-10px) scale(.96); } }
@media (prefers-color-scheme: dark) { .tick { color: var(--deep-1); } }

/* ---------- Sense Score meter ---------- */
.meter { margin: 0; width: 100%; max-width: 420px; }
.meter svg { width: 100%; height: auto; overflow: visible; }
.meter-bands .b1 { stroke: #c7d9ec; } .meter-bands .b2 { stroke: #a6c3e3; } .meter-bands .b3 { stroke: #86add8; }
.meter-bands .b4 { stroke: #6694c8; } .meter-bands .b5 { stroke: #4777b1; } .meter-bands .b6 { stroke: #2a5890; }
.meter-labels text { fill: var(--on-deep-soft); }
.meter-needle { transform-origin: 120px 112px; animation: needle 1.8s cubic-bezier(.3, 1.3, .4, 1) 1; }
.meter-needle line { stroke: #fff; }
.meter-needle circle { fill: #fff; }
.meter-value { fill: #fff; }
.meter-sub { fill: var(--pale); }
@keyframes needle { from { transform: rotate(-70deg); } to { transform: rotate(0); } }
.tiers { list-style: none; padding: 0; margin: var(--s3) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s1); }
.tiers li { margin: 0; display: flex; flex-direction: column; align-items: center; text-align: center; padding: var(--s1) 0 0; border-top: 4px solid; font-size: 13px; line-height: 1.3; }
.tiers span { font-weight: 700; color: #fff; }
.tiers small { color: var(--on-deep-soft); font-size: 12px; }
.tiers .t1 { border-color: #c7d9ec; } .tiers .t2 { border-color: #a6c3e3; } .tiers .t3 { border-color: #86add8; }
.tiers .t4 { border-color: #6694c8; } .tiers .t5 { border-color: #4777b1; } .tiers .t6 { border-color: #2a5890; }
@media (min-width: 600px) { .tiers { grid-template-columns: repeat(6, 1fr); } }
/* meter on a light background (sense-score page) */
.meter.on-light .meter-labels text { fill: var(--ink-soft); }
.meter.on-light .meter-needle line { stroke: var(--ink-strong); }
.meter.on-light .meter-needle circle { fill: var(--ink-strong); }
.meter.on-light .meter-value { fill: var(--ink-strong); }
.meter.on-light .meter-sub { fill: var(--ink-soft); }
.meter.on-light .tiers span { color: var(--ink-strong); }
.meter.on-light .tiers small { color: var(--ink-soft); }
.meter-wrap { display: flex; justify-content: center; margin: 0 0 var(--s4); }

/* ---------- mode grid and glyphs ---------- */
.glyph-badge { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--accent-soft); color: var(--accent-strong); flex: 0 0 auto; transition: transform .2s ease, background .2s ease; }
.glyph-badge-lg { width: 84px; height: 84px; border-radius: var(--radius); margin-bottom: var(--s3); background: var(--bg-2); box-shadow: var(--shadow); border: 1px solid var(--line); }
.mode-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s2); }
@media (min-width: 600px) { .mode-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 700px) { .mode-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .mode-grid { gap: var(--s3); } }
.mode-grid li { margin: 0; }
.mode-card {
  display: flex; align-items: center; gap: var(--s2); height: 100%; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s2); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.mode-card:hover { border-color: var(--line-strong); color: var(--ink); text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.mode-card:hover .glyph-badge { transform: scale(1.08) rotate(-4deg); }
.mode-card:active { transform: translateY(0) scale(.99); }
.mode-card-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.mode-card strong { font-size: 1.08em; color: var(--ink-strong); }
.mode-card .odds { color: var(--ink-soft); font-size: .9em; }
.mode-card .tag { flex: 0 0 auto; align-self: center; }
@media (min-width: 760px) { .mode-card { padding: var(--s3); } }

.tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; white-space: nowrap; line-height: 1.4;
}
.tag-free { background: var(--tag-free-bg); color: var(--tag-free-ink); }
.tag-pro { background: var(--tag-pro-bg); color: var(--tag-pro-ink); }
.tag-yearly { background: var(--tag-yearly-bg); color: var(--tag-yearly-ink); }
.tag-lifetime { background: var(--tag-lifetime-bg); color: var(--tag-lifetime-ink); }

/* mode page facts */
.facts { display: grid; gap: var(--s1); grid-template-columns: repeat(2, 1fr); margin: var(--s4) auto 0; max-width: 760px; }
@media (min-width: 600px) { .facts { grid-template-columns: repeat(4, 1fr); gap: var(--s2); } }
.facts div { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: var(--s2); text-align: center; box-shadow: var(--shadow); }
.facts dt { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.facts dd { margin: 4px 0 0; color: var(--ink-strong); font-weight: 700; font-size: 1.05em; }
.mode-page { padding-top: var(--s4); }

.adjacent { display: grid; gap: var(--s1); grid-template-columns: 1fr 1fr; margin: 0 0 var(--s4); max-width: var(--prose); }
.adjacent a { display: flex; align-items: center; gap: var(--s1); flex-wrap: wrap; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px var(--s2); text-decoration: none; font-weight: 600; color: var(--ink-strong); box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease; }
.adjacent a:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.adjacent a small { flex: 1 0 100%; font-weight: 600; color: var(--ink-soft); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.adjacent .glyph { color: var(--accent); }
.adjacent .all { grid-column: 1 / -1; justify-content: center; color: var(--accent); }
@media (min-width: 600px) { .adjacent { grid-template-columns: 1fr auto 1fr; gap: var(--s2); } .adjacent .all { grid-column: auto; } }

/* ---------- FAQ accordion ---------- */
.faq-list { margin: 0 auto var(--s2); max-width: var(--prose); }
.prose .faq-list { margin-left: 0; }
.faq-item { margin: 0 0 var(--s1); border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.faq-item summary { padding: var(--s2); }
.faq-item summary h3 { margin: 0; font-size: 1.05em; font-weight: 600; letter-spacing: 0; flex: 1 1 auto; }
.faq-item .faq-body { padding: 0 var(--s2) var(--s2); }
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* ---------- gallery ---------- */
.gallery-section { padding-bottom: var(--s4); }
.gallery { display: flex; gap: var(--s3); overflow-x: auto; scroll-snap-type: x mandatory; padding: var(--s1) max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))) var(--s3); margin: 0; list-style: none; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .3) transparent; }
.gallery::-webkit-scrollbar { height: 8px; }
.gallery::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .25); border-radius: 8px; }
.gallery li { margin: 0; }
.phone { scroll-snap-align: center; flex: 0 0 auto; width: 220px; margin: 0; background: #0c1a2e; border-radius: 36px; padding: 9px; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 24px 50px rgba(3, 13, 26, .5); transition: transform .25s ease; }
.phone:hover { transform: translateY(-6px); }
.phone .screen { border-radius: 28px; overflow: hidden; background: #000; aspect-ratio: 600 / 1304; }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.phone figcaption { text-align: center; color: var(--pale); font-size: 13px; font-weight: 600; margin-top: 12px; }
.gallery-hint { text-align: center; color: var(--pale); font-size: 14px; margin: 0; opacity: .8; padding: 0 var(--gutter); }

/* ---------- privacy tiles ---------- */
.privacy-grid { display: grid; gap: var(--s2); }
@media (min-width: 600px) { .privacy-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .privacy-grid { grid-template-columns: repeat(4, 1fr); gap: var(--s3); } }
.privacy-grid > div { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--pad); box-shadow: var(--shadow); text-align: center; display: flex; flex-direction: column; align-items: center; transition: transform .2s ease, box-shadow .2s ease; }
.privacy-grid > div:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.privacy-grid strong { display: block; margin-bottom: var(--s1); font-size: 1.08em; }
.privacy-grid p { margin: 0; font-size: .95em; color: var(--ink-soft); }
.pill-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-strong); margin-bottom: var(--s2); }
.pill-icon svg { width: 26px; height: 26px; }

/* ---------- CTA band ---------- */
.cta-wrap { padding: var(--s4) 0 var(--s5); }
.cta-band {
  position: relative; overflow: hidden; text-align: center;
  background: radial-gradient(600px 300px at 50% 0%, var(--deep-3), transparent 70%), linear-gradient(180deg, var(--deep-2), var(--deep-1));
  color: #fff; border-radius: var(--radius); padding: var(--s4) var(--s3); box-shadow: var(--shadow-lift);
}
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(1.4px 1.4px at 20% 30%, rgba(255,255,255,.6), transparent 70%), radial-gradient(1.2px 1.2px at 80% 25%, rgba(255,255,255,.5), transparent 70%), radial-gradient(1.6px 1.6px at 65% 75%, rgba(255,255,255,.5), transparent 70%), radial-gradient(1px 1px at 30% 80%, rgba(255,255,255,.4), transparent 70%); pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: var(--s2); }
.cta-band p { color: var(--on-deep-soft); max-width: 44ch; margin: 0 auto var(--s3); font-size: 1.05em; }
.cta-band .store-buttons { margin-bottom: var(--s2); }
.cta-band .store-buttons:last-child { margin-bottom: 0; }
.cta-band .note { font-size: 14px; margin: 0; opacity: .8; }
@media (min-width: 760px) { .cta-wrap { padding: var(--s5) 0 var(--s6); } .cta-band { padding: var(--s5) var(--s4); } }

/* ---------- related ---------- */
.related { border-top: 1px solid var(--line); padding: var(--s3) 0 0; max-width: var(--prose); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1) var(--s2); }
.related h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-soft); margin: 0; }
.related ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--s1); }
.related li { margin: 0; }
.related li a { display: inline-block; font-weight: 600; text-decoration: none; background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; color: var(--ink-strong); box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.related li a:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); border-color: var(--line-strong); text-decoration: none; }

/* ---------- guides ---------- */
.guide-list { list-style: none; padding: 0; margin: 0 0 var(--s4); display: grid; gap: var(--s2); }
@media (min-width: 760px) { .guide-list { grid-template-columns: repeat(2, 1fr); gap: var(--s3); } }
.guide-list li { margin: 0; }
.guide-list a { display: flex; flex-direction: column; height: 100%; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--pad); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.guide-list a:hover { color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.guide-list strong { display: block; font-size: 1.15em; color: var(--ink-strong); margin-bottom: var(--s1); line-height: 1.25; }
.guide-list p { margin: 0 0 var(--s2); font-size: .95em; color: var(--ink-soft); flex: 1 0 auto; }
.guide-list small { color: var(--accent); font-weight: 600; }
.toc { margin: var(--s4) 0 0; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s3); box-shadow: var(--shadow); }
.toc p { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin: 0 0 var(--s1); }
.toc ol { margin: 0; padding-left: 1.3em; columns: 1; }
.toc li { margin: 4px 0; }
.toc a { text-decoration: none; font-weight: 600; color: var(--ink-strong); }
.toc a:hover { text-decoration: underline; }
@media (min-width: 600px) { .toc ol { columns: 2; column-gap: var(--s3); } }
.guide .prose { padding-top: var(--s4); }
.guide .prose h2 { scroll-margin-top: var(--s6); }
.guide .prose table { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }

/* compare table (Pro) */
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; white-space: nowrap; }
.compare th:first-child, .compare td:first-child { min-width: 220px; }
.table-wrap .compare { min-width: 720px; }
.compare td:first-child { font-weight: 500; color: var(--ink-strong); }

/* plans (Pro) */
.plans { display: grid; gap: var(--s2); margin: 0 0 var(--s4); }
@media (min-width: 600px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .plans { grid-template-columns: repeat(4, 1fr); gap: var(--s3); } }
.plans .card { display: flex; flex-direction: column; }
.plans .card h3 { font-size: 1.3em; }
.plans .card .plan-sub { color: var(--ink-soft); font-size: .92em; margin-bottom: var(--s2); }
.plans .card .checks { margin-top: 0; }
.plans .card.featured { border-color: var(--sky); box-shadow: 0 0 0 1px var(--sky), var(--shadow-lift); }

/* step cards (daily challenge etc.) */
.step-cards { list-style: none; counter-reset: sc; padding: 0; margin: 0 0 var(--s3); display: grid; gap: var(--s2); max-width: none !important; }
@media (min-width: 600px) { .step-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .step-cards { grid-template-columns: repeat(4, 1fr); } }
.step-cards li { counter-increment: sc; margin: 0; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--pad); box-shadow: var(--shadow); }
.step-cards li::before { content: counter(sc); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-strong); font-weight: 700; font-size: 15px; margin-bottom: var(--s2); }
.step-cards strong { display: block; font-size: 1.08em; margin-bottom: 4px; }
.step-cards p { margin: 0; color: var(--ink-soft); font-size: .95em; }

/* stat tiles */
.stat-grid { display: grid; gap: var(--s2); grid-template-columns: repeat(2, 1fr); margin: 0 0 var(--s3); max-width: none !important; }
@media (min-width: 760px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-grid div { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: var(--s2); text-align: center; box-shadow: var(--shadow); }
.stat-grid .big { display: block; font-size: clamp(28px, 5vw, 40px); font-weight: 700; color: var(--accent); line-height: 1.1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat-grid small { display: block; color: var(--ink-soft); font-size: 13px; margin-top: 4px; line-height: 1.3; }

/* legal pages */
.legal .prose h2 { font-size: clamp(21px, 3vw, 26px); }
.legal .prose .callout { border-left: 5px solid var(--accent); }
.legal .article > p:first-child::first-letter { font-size: inherit; float: none; margin: 0; color: inherit; font-weight: inherit; }

/* ---------- footer ---------- */
.site-footer { background: var(--deep-1); color: #b9cce4; padding: var(--s5) 0 calc(var(--s4) + env(safe-area-inset-bottom, 0px)); }
.site-footer a { color: #dceaf6; }
.site-footer .brand { color: #fff; }
.foot-top { display: grid; gap: var(--s4); text-align: center; justify-items: center; }
@media (min-width: 760px) { .foot-top { text-align: left; justify-items: stretch; } }
@media (min-width: 760px) { .foot-top { grid-template-columns: 1.4fr 1fr 1.6fr; gap: var(--s3); } }
.foot-brand p { margin: var(--s2) 0 0; font-size: .95em; max-width: 34ch; color: #b9cce4; }
.foot-nav { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); font-size: 15px; font-weight: 600; align-content: start; justify-content: center; }
@media (min-width: 760px) { .foot-nav { justify-content: flex-start; } }
.foot-nav a { text-decoration: none; }
.foot-nav a:hover { text-decoration: underline; }
.foot-store .store-buttons { margin: 0; justify-content: center; }
@media (min-width: 760px) { .foot-store .store-buttons { justify-content: flex-end; } }
.foot-legal { border-top: 1px solid rgba(255, 255, 255, .12); margin: var(--s4) 0 0; padding-top: var(--s3); color: #8fa8c6; font-size: 13.5px; max-width: 80ch; text-align: center; margin-left: auto; margin-right: auto; }
@media (min-width: 760px) { .foot-legal { text-align: left; margin-left: 0; } }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: var(--s5) 0; display: flex; flex-direction: column; align-items: center; }
.notfound .orb { margin: 0 auto var(--s3); }
.notfound p { max-width: 44ch; }
.notfound .links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s1); margin-bottom: var(--s3); }
.notfound .links li { margin: 0; }
.notfound .links a { display: inline-block; background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: var(--s1) var(--s2); text-decoration: none; font-weight: 600; box-shadow: var(--shadow); }
.notfound .links a:hover { border-color: var(--line-strong); }
