/* YAF Academy prototype.  Dark navy base from the brand, electric blue and
   green accents, one vivid gradient per package.  Mobile first: the app is a
   single column that sits centred on wider screens. */

:root {
  --bg: #050b1a;
  --bg-2: #0a1530;
  --surface: rgba(255, 255, 255, .05);
  --surface-2: rgba(255, 255, 255, .085);
  --surface-solid: #0e1a36;
  --line: rgba(255, 255, 255, .09);
  --ink: #eef3ff;
  --ink-dim: #9aa9cc;
  --ink-faint: #64749a;
  --blue: #2f6fed;
  --blue-bright: #5b9bff;
  --green: #22c97a;
  --lime: #5dff8f;
  --pink: #ff4d8d;
  --orange: #ff8a3d;
  --violet: #8b5cf6;
  --yellow: #ffd23f;
  --red: #ff5d6c;
  --g-brand: linear-gradient(135deg, #2f6fed 0%, #22c97a 100%);
  --g-go: linear-gradient(135deg, #22c97a 0%, #5dff8f 100%);
  --g-mint: linear-gradient(135deg, #0fbf7f 0%, #10a6b8 100%);
  --g-violet: linear-gradient(135deg, #6d4aff 0%, #c04bff 100%);
  --g-sunset: linear-gradient(135deg, #ff7a3d 0%, #ff3d81 100%);
  --g-ocean: linear-gradient(135deg, #2f6fed 0%, #16c6dc 100%);
  --r-xl: 28px;
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 12px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .45);
  --shell: 480px;
  --nav-h: 74px;
  --font-head: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --glow-a: rgba(47, 111, 237, .28);
  --glow-b: rgba(34, 201, 122, .18);
  --shell-bg: rgba(5, 11, 26, .35);
  --bar-bg: rgba(5, 11, 26, .96);
  --nav-bg: rgba(8, 16, 36, .88);
  --toast-bg: rgba(14, 26, 54, .96);
  --track: rgba(255, 255, 255, .09);
  --field: rgba(255, 255, 255, .06);
  --line-strong: rgba(255, 255, 255, .25);
  --ink-body: #d7e0f5;
  --logo-a: #4f97ff;
  --logo-b: #1f62e6;
  --logo-c: #1fd16a;
  --logo-d: #5dff8f;
  --logo-word: #ffffff;
  --logo-tag: #5dff8f;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font: 400 15px/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60vmax 45vmax at 0% 0%, var(--glow-a), transparent 60%),
    radial-gradient(50vmax 40vmax at 100% 100%, var(--glow-b), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg-2) 60%, var(--bg));
}
a { color: var(--blue-bright); text-decoration: none; }
img, video { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0; line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: 28px; font-weight: 800; }
h2 { font-size: 21px; font-weight: 700; }
h3 { font-size: 17px; font-weight: 700; }
h4 { font-size: 15px; font-weight: 600; }
p { margin: 0; }
small, .small { font-size: 13px; }
.dim { color: var(--ink-dim); }
.faint { color: var(--ink-faint); }
.center { text-align: center; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ------------------------------------------------------------ shell -------- */
.shell {
  max-width: var(--shell);
  margin: 0 auto;
  min-height: 100vh;
  padding: 0 18px calc(var(--nav-h) + 28px);
  position: relative;
}
.shell.no-nav { padding-bottom: 32px; }
@media (min-width: 560px) {
  .shell { border-left: 1px solid var(--line); border-right: 1px solid var(--line); background: var(--shell-bg); }
}

.topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  /* Full bleed across the shell's 18px gutters, so the bar's background
     reaches the screen edge instead of leaving a strip of the glow. */
  margin: 0 -18px;
  padding: 18px 18px 14px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(180deg, var(--bar-bg) 70%, transparent);
  backdrop-filter: blur(6px);
}
.topbar .title { flex: 1; min-width: 0; }
.topbar .title h1 { font-size: 22px; }
.topbar .title p { font-size: 13px; color: var(--ink-dim); }
.back {
  width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink);
  flex: none;
}
.back svg { width: 20px; height: 20px; }
.avatar {
  width: 44px; height: 44px; border-radius: 16px; flex: none;
  display: grid; place-items: center;
  font: 700 15px var(--font-head);
  background: var(--g-brand);
  color: #fff;
  box-shadow: 0 6px 20px rgba(47, 111, 237, .4);
}
.avatar.lg { width: 76px; height: 76px; border-radius: 26px; font-size: 26px; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font: 600 13px var(--font-head);
  white-space: nowrap;
}
.chip.fire { color: #ffb86b; }
.chip.xp { color: var(--lime); }
.chip.trial { background: rgba(255, 210, 63, .12); border-color: rgba(255, 210, 63, .35); color: var(--yellow); }

/* ------------------------------------------------------------ bottom nav --- */
.nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, var(--shell));
  height: var(--nav-h);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--nav-bg);
  backdrop-filter: blur(18px);
  border-top: 1px solid var(--line);
  z-index: 50;
}
.nav a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--ink-faint);
  font: 600 11px var(--font-head);
  border-radius: 16px;
  transition: color .2s, background .2s;
}
.nav a svg { width: 23px; height: 23px; }
.nav a.on { color: var(--ink); background: var(--surface); }
.nav a.on svg { color: var(--lime); }
/* Sidebar-only parts, shown from 1024 px (see "Desktop" at the end). */
.nav .nav-logo, .nav .nav-more, .nav .nav-me { display: none; }

/* ------------------------------------------------------------ cards ------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px;
}
.card + .card, .stack > * + * { margin-top: 14px; }
.card.tight { padding: 14px; }
/* A whole card as one link.  An <a> is inline, so without this its padding
   and border wrap each line of text instead of the block. */
a.card { color: var(--ink); }
a.card:not(.row) { display: block; }
.card.solid { background: var(--surface-solid); }
.card.glow { position: relative; overflow: hidden; }
.card.glow::after {
  content: ""; position: absolute; width: 220px; height: 220px; right: -80px; top: -90px;
  background: radial-gradient(circle, rgba(93, 255, 143, .22), transparent 65%);
  pointer-events: none;
}
.section { margin-top: 26px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
/* The padding gives a 44 px tap area; the negative margin keeps the layout. */
.section-head a { font: 600 13px var(--font-head); display: inline-flex; align-items: center; justify-content: flex-end; min-height: 44px; min-width: 44px; margin: -12px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row { display: flex; align-items: center; gap: 12px; }
.row.wrap { flex-wrap: wrap; gap: 8px; }
.row.between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.eyebrow { font: 700 11px var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-bright); }

.theme-mint { background: var(--g-mint); }
.theme-violet { background: var(--g-violet); }
.theme-sunset { background: var(--g-sunset); }
.theme-ocean { background: var(--g-ocean); }
.text-mint { color: #3ee6b0; }
.text-violet { color: #b99bff; }
.text-sunset { color: #ff8f7a; }
.text-ocean { color: #5fd3ff; }

/* ------------------------------------------------------------ buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 16px;
  border: 0;
  font: 700 15px var(--font-head);
  cursor: pointer;
  color: #04120b;
  background: var(--g-go);
  box-shadow: 0 10px 28px rgba(34, 201, 122, .32);
  transition: transform .12s ease, filter .2s;
  text-align: center;
}
.btn:active { transform: scale(.97); }
.btn:hover { filter: brightness(1.06); }
.btn.block { display: flex; width: 100%; }
.btn.blue { background: var(--g-brand); color: #fff; box-shadow: 0 10px 28px rgba(47, 111, 237, .35); }
.btn.ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn.small { min-height: 44px; padding: 0 14px; font-size: 13px; border-radius: 12px; }
.btn.danger { background: rgba(255, 93, 108, .12); color: var(--red); border: 1px solid rgba(255, 93, 108, .3); box-shadow: none; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.linkish { background: none; border: 0; color: var(--blue-bright); font: 600 14px var(--font-head); cursor: pointer; padding: 0; min-height: 44px; margin: -12px 0; }
form.inline { display: inline; }

/* ------------------------------------------------------------ bars + rings - */
.bar { height: 9px; border-radius: 99px; background: var(--track); overflow: hidden; }
.bar > span { display: block; height: 100%; border-radius: inherit; background: var(--g-go); transition: width .6s ease; }
.bar.blue > span { background: var(--g-brand); }
.bar.warn > span { background: linear-gradient(90deg, var(--orange), var(--red)); }
.bar.thin { height: 6px; }
.ring { position: relative; display: grid; place-items: center; flex: none; }
.ring svg { transform: rotate(-90deg); }
.ring .ring-track { stroke: var(--track); }
.ring .ring-val { stroke: url(#ringGrad); stroke-linecap: round; transition: stroke-dasharray .8s ease; }
.ring .ring-label { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.ring .ring-label b { font: 800 28px var(--font-head); display: block; line-height: 1; }
.ring .ring-label span { font-size: 11px; color: var(--ink-dim); }

/* ------------------------------------------------------------ home -------- */
.hello h1 { font-size: 24px; }
.health { display: flex; gap: 18px; align-items: center; }
.health-parts { flex: 1; display: grid; gap: 7px; }
.health-parts .hp { display: grid; grid-template-columns: 22px 1fr 30px; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-dim); }
.health-parts .hp b { color: var(--ink); text-align: right; font-weight: 600; }
.move {
  border-radius: var(--r-lg);
  padding: 20px;
  background: var(--g-brand);
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(47, 111, 237, .35);
}
.move::after {
  content: ""; position: absolute; right: -40px; bottom: -60px; width: 200px; height: 200px;
  border-radius: 50%; background: rgba(255, 255, 255, .12);
}
.move .eyebrow { color: rgba(255, 255, 255, .8); }
.move h3 { font-size: 19px; margin: 6px 0 4px; padding-right: 48px; color: #fff; }
.move .eyebrow { padding-right: 48px; }
.move p { color: rgba(255, 255, 255, .85); }
.move .btn { margin-top: 14px; background: #fff; color: #0b1838; box-shadow: none; position: relative; z-index: 1; }
.move .big-emoji { position: absolute; right: 16px; top: 14px; font-size: 40px; z-index: 1; }
.snap { display: block; color: var(--ink); padding: 14px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.snap .k { font-size: 12px; color: var(--ink-dim); display: flex; align-items: center; gap: 6px; }
.snap .v { font: 700 19px var(--font-head); margin: 4px 0 8px; }
.journey { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.journey::-webkit-scrollbar { display: none; }
.journey a {
  scroll-snap-align: start; flex: 0 0 150px; padding: 14px; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--line); color: var(--ink);
}
.journey .n { font: 700 11px var(--font-head); color: var(--ink-faint); }
.journey .e { font-size: 28px; margin: 6px 0; }
.journey h4 { font-size: 14px; min-height: 36px; }
.journey .done-tag { color: var(--lime); font: 600 12px var(--font-head); }

.myth { text-align: center; }
.myth .statement { font: 700 18px var(--font-head); margin: 10px 0 16px; }
.myth .choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.myth .verdict { margin-top: 14px; padding: 14px; border-radius: var(--r-md); background: var(--surface-2); text-align: left; }
.myth .verdict b { font-family: var(--font-head); }
.myth .verdict.right b { color: var(--lime); }
.myth .verdict.wrong b { color: var(--orange); }

/* ------------------------------------------------------------ learn ------- */
.pkg {
  display: block; position: relative; overflow: hidden;
  border-radius: var(--r-xl); padding: 22px; color: #fff; min-height: 150px;
  box-shadow: var(--shadow);
}
.pkg + .pkg { margin-top: 14px; }
.pkg .e { font-size: 44px; position: absolute; right: 18px; top: 14px; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .25)); }
.pkg .num { font: 800 12px var(--font-head); letter-spacing: .14em; opacity: .8; }
.pkg h2 { font-size: 26px; font-weight: 800; margin: 4px 0 6px; max-width: 75%; }
.pkg p { opacity: .9; max-width: 82%; }
.pkg .meta { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.pkg .meta span { background: rgba(0, 0, 0, .2); padding: 5px 10px; border-radius: 99px; font: 600 12px var(--font-head); }
.pkg::after {
  content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%;
  right: -60px; bottom: -80px; background: rgba(255, 255, 255, .14);
}
.hero-pkg { border-radius: 0 0 var(--r-xl) var(--r-xl); margin: 0 -18px; padding: 70px 22px 26px; }

.course {
  display: flex; gap: 14px; align-items: center;
  padding: 14px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); color: var(--ink);
}
.course + .course { margin-top: 10px; }
.course .ce { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; font-size: 28px; flex: none; }
.course h4 { font-size: 15px; }
.course .sub { font-size: 12px; color: var(--ink-dim); margin-top: 2px; }
.course .bar { margin-top: 8px; }
.course.soon { opacity: .55; }
.tag {
  display: inline-block; padding: 2px 8px; border-radius: 99px;
  font: 700 10px var(--font-head); letter-spacing: .06em; text-transform: uppercase;
}
.tag.free { background: rgba(93, 255, 143, .14); color: var(--lime); }
.tag.builder { background: rgba(255, 210, 63, .14); color: var(--yellow); }
.tag.soon { background: var(--track); color: var(--ink-dim); }
.tag.done { background: rgba(93, 255, 143, .14); color: var(--lime); }
.tag.draft { background: rgba(255, 138, 61, .15); color: var(--orange); }

.video-wrap { border-radius: var(--r-lg); overflow: hidden; background: #000; border: 1px solid var(--line); }
/* The intro is 9:16 with its content in the middle band, so a 4:5 crop
   keeps all of it and stops it filling a whole phone screen. */
.video-wrap video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.module { margin-top: 18px; }
.module-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.module-head .mn {
  width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center;
  font: 800 13px var(--font-head); background: var(--surface-2);
}
.step {
  display: flex; align-items: center; gap: 12px; padding: 13px 14px;
  border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); color: var(--ink);
}
.step + .step { margin-top: 8px; }
.step .dot {
  width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center;
  border: 2px solid var(--line); font-size: 14px;
}
.step.done .dot { background: var(--green); border-color: var(--green); color: #04120b; }
.step.quiz .dot { border-color: var(--yellow); }
.step.passed .dot { background: var(--yellow); border-color: var(--yellow); color: #231a00; }
.step .meta { font-size: 12px; color: var(--ink-dim); }
.lock-card { text-align: center; padding: 26px 20px; border-radius: var(--r-lg); background: linear-gradient(160deg, rgba(255, 210, 63, .14), rgba(255, 77, 141, .1)); border: 1px solid rgba(255, 210, 63, .25); }
.lock-card .e { font-size: 40px; }

/* ------------------------------------------------------------ lesson player */
.player { position: fixed; inset: 0; display: flex; flex-direction: column; max-width: var(--shell); margin: 0 auto; padding: 14px 18px calc(18px + env(safe-area-inset-bottom)); }
.player-top { display: flex; align-items: center; gap: 12px; }
.segments { flex: 1; display: flex; gap: 5px; }
.segments i { flex: 1; height: 5px; border-radius: 9px; background: var(--track); overflow: hidden; }
.segments i.on { background: var(--lime); }
.close {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink); flex: none;
}
.close svg { width: 18px; height: 18px; }
.player-title { margin: 14px 0 0; font: 600 12px var(--font-head); color: var(--ink-dim); letter-spacing: .04em; }
.screens { flex: 1; position: relative; margin: 10px 0 14px; overflow: hidden; }
.screen {
  position: absolute; inset: 0; overflow-y: auto; padding: 8px 2px 10px;
  opacity: 0; transform: translateX(40px); pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
  display: flex; flex-direction: column; justify-content: center;
}
.screen.on { opacity: 1; transform: none; pointer-events: auto; }
.intro-screen { overflow: hidden; }
.intro-screen h2 { font-size: 28px; }
.intro-orb {
  position: absolute; width: 240px; height: 240px; right: -80px; top: 18%; border-radius: 50%;
  background: var(--g-brand); opacity: .22; filter: blur(30px); pointer-events: none;
  /* Fade the glow out before the screen's edge clips it into a hard line. */
  -webkit-mask-image: linear-gradient(90deg, #000 25%, transparent 64%);
  mask-image: linear-gradient(90deg, #000 25%, transparent 64%);
}
.intro-list { list-style: none; margin: 10px 0 16px; padding: 0; }
.intro-list li { display: flex; gap: 12px; align-items: center; padding: 10px 12px; margin-top: 8px;
  border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); font-weight: 600; }
.intro-list .n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--g-brand); color: #fff; font: 700 13px var(--font-head); }
@keyframes intro-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes intro-float { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-24px, 18px) scale(1.12); } }
.screen.on .intro-in { animation: intro-rise .55s ease both; }
.screen.on .intro-orb { animation: intro-float 6s ease-in-out infinite; }
.intro-in.d1 { animation-delay: .12s; } .intro-in.d2 { animation-delay: .3s; }
.intro-in.d3 { animation-delay: .45s; } .intro-in.d4 { animation-delay: .6s; }
.intro-in.d5 { animation-delay: .75s; } .intro-in.d6 { animation-delay: .9s; }
.intro-in.d7 { animation-delay: 1.05s; } .intro-in.d8 { animation-delay: 1.2s; }
.intro-in.d9 { animation-delay: 1.4s; }
@media (prefers-reduced-motion: reduce) {
  .screen.on .intro-in, .screen.on .intro-orb { animation: none; }
}
.screen.prev { transform: translateX(-40px); }
.screen h2 { font-size: 26px; font-weight: 800; margin-bottom: 14px; }
.screen p.body { font-size: 17px; line-height: 1.6; color: var(--ink-body); }
.screen .stat-val {
  font: 800 52px/1 var(--font-head); letter-spacing: -.02em;
  background: var(--g-go); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 10px;
}
.screen .stat-label { font: 700 19px var(--font-head); margin-bottom: 14px; }
.screen .li { display: flex; gap: 14px; padding: 13px 14px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.screen .li + .li { margin-top: 9px; }
.screen .li .e { font-size: 24px; width: 30px; text-align: center; flex: none; }
.screen .li h4 { margin-bottom: 2px; }
.screen .li p { font-size: 14px; color: var(--ink-dim); }
.screen .list-note { margin-top: 12px; font-size: 14px; color: var(--ink-dim); }
.tipbox { border-radius: var(--r-lg); padding: 22px; background: linear-gradient(150deg, rgba(255, 210, 63, .16), rgba(255, 138, 61, .08)); border: 1px solid rgba(255, 210, 63, .28); }
.tipbox .eyebrow { color: var(--yellow); }
.tipbox h2 { margin: 8px 0 10px; }
.choice {
  display: block; width: 100%; text-align: left; margin-top: 10px; padding: 15px 16px;
  border-radius: var(--r-md); background: var(--surface); border: 1.5px solid var(--line);
  color: var(--ink); font: 600 15px var(--font-body); cursor: pointer; transition: border-color .2s, background .2s;
}
.choice:hover { border-color: var(--line-strong); }
.choice.good { border-color: var(--green); background: rgba(34, 201, 122, .14); }
.choice.bad { border-color: var(--orange); background: rgba(255, 138, 61, .1); }
.choice .fb { display: none; font-weight: 400; font-size: 14px; color: var(--ink-dim); margin-top: 6px; }
.choice.good .fb, .choice.bad .fb { display: block; }
.infographic img { border-radius: var(--r-md); border: 1px solid var(--line); cursor: zoom-in; }
.infographic .cap { margin-top: 10px; font-size: 13px; color: var(--ink-dim); text-align: center; }
.action-box { border-radius: var(--r-lg); padding: 22px; background: var(--g-brand); }
.action-box .eyebrow { color: rgba(255, 255, 255, .8); }
.action-box h2 { margin: 8px 0 0; font-size: 22px; }
.player-nav { display: grid; grid-template-columns: 56px 1fr; gap: 10px; }
.player-nav .btn.ghost { padding: 0; }
.player-nav.quiz-nav { grid-template-columns: 1fr; }
.zoom { position: fixed; inset: 0; z-index: 200; background: rgba(0, 0, 0, .92); display: grid; place-items: center; padding: 12px; overflow: auto; }
.zoom img { max-width: none; width: 100%; max-width: 1100px; }

/* ------------------------------------------------------------ quiz -------- */
.q-count { font: 700 13px var(--font-head); color: var(--ink-dim); }
.q-prompt { font: 700 22px/1.3 var(--font-head); margin: 10px 0 18px; }
.opt {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  padding: 15px 16px; margin-top: 10px; border-radius: var(--r-md);
  background: var(--surface); border: 1.5px solid var(--line); color: var(--ink);
  font: 600 15px var(--font-body); cursor: pointer; transition: all .2s;
}
.opt .letter {
  width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; flex: none;
  background: var(--surface-2); font: 800 13px var(--font-head);
}
.opt.correct { border-color: var(--green); background: rgba(34, 201, 122, .15); }
.opt.correct .letter { background: var(--green); color: #04120b; }
.opt.wrong { border-color: var(--red); background: rgba(255, 93, 108, .12); animation: shake .35s; }
.opt.wrong .letter { background: var(--red); color: #fff; }
.opt:disabled { cursor: default; }
.explain { margin-top: 14px; padding: 14px 16px; border-radius: var(--r-md); background: var(--surface-2); font-size: 14px; }
.explain b { font-family: var(--font-head); }
@keyframes shake { 0%, 100% { transform: none; } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.result { text-align: center; padding-top: 30px; }
.result .big { font-size: 72px; }
.result .score { font: 800 46px var(--font-head); margin: 8px 0; }
.cert-card { border-radius: var(--r-lg); padding: 20px; background: linear-gradient(150deg, rgba(255, 210, 63, .18), rgba(93, 255, 143, .12)); border: 1px solid rgba(255, 210, 63, .35); text-align: left; }

/* ------------------------------------------------------------ money ------- */
.balance { text-align: center; padding: 24px 18px; }
.balance .amt { font: 800 40px var(--font-head); letter-spacing: -.02em; margin: 4px 0; }
.balance .amt.neg { color: var(--orange); }
.line-row { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.line-row:last-child { border-bottom: 0; }
.line-row .e { font-size: 22px; text-align: center; }
.line-row .amts { text-align: right; font: 600 14px var(--font-head); }
.line-row .amts small { display: block; font: 400 12px var(--font-body); color: var(--ink-dim); }
.line-row .over { color: var(--orange); }
.method { font-size: 11px; color: var(--ink-faint); }
.txn { display: grid; grid-template-columns: 40px 1fr auto auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.txn:last-child { border-bottom: 0; }
.txn .e { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: var(--surface-2); font-size: 18px; }
.txn .amt { font: 700 14px var(--font-head); }
.txn .x { background: none; border: 0; color: var(--ink-faint); cursor: pointer; font-size: 20px; width: 44px; height: 44px; margin: -6px -12px -6px 0; border-radius: 12px; }
.txn .x:hover { color: var(--red); background: var(--surface); }
.goal { padding: 16px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.goal + .goal { margin-top: 12px; }
.goal .ge { font-size: 30px; }
.goal .amts { font: 700 15px var(--font-head); }
.fab {
  position: fixed; right: max(18px, calc(50% - var(--shell) / 2 + 18px)); bottom: calc(var(--nav-h) + 16px);
  width: 58px; height: 58px; border-radius: 20px; display: grid; place-items: center; z-index: 40;
  background: var(--g-go); color: #04120b; box-shadow: 0 12px 30px rgba(34, 201, 122, .45);
}
.fab svg { width: 26px; height: 26px; }
.quick-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.quick-cats label { cursor: pointer; }
.quick-cats input { position: absolute; opacity: 0; }
.quick-cats span {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px;
  border-radius: var(--r-md); background: var(--surface); border: 1.5px solid var(--line);
  font-size: 11px; text-align: center; color: var(--ink-dim); line-height: 1.2;
}
.quick-cats span b { font-size: 22px; }
.quick-cats input:checked + span { border-color: var(--lime); background: rgba(93, 255, 143, .1); color: var(--ink); }
.amount-input { text-align: center; }
.amount-input input { font: 800 44px var(--font-head); text-align: center; background: none; border: 0; color: var(--ink); width: 100%; outline: none; }
.budget-row { display: grid; grid-template-columns: 30px 1fr 110px; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.budget-row .opts { grid-column: 2 / 4; display: flex; gap: 8px; align-items: center; }
.budget-row select { padding: 7px 10px; font-size: 13px; min-height: 44px; }
.budget-row .check { margin: 0; padding: 0; align-items: center; }

/* ------------------------------------------------------------ credit ------ */
.trend { width: 100%; height: 70px; display: block; }
.trend polyline { fill: none; stroke: url(#sparkGrad); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.trend .dot { stroke: var(--lime); stroke-width: 11; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.gauge { position: relative; width: 250px; margin: 6px auto 0; }
.gauge svg { width: 100%; overflow: visible; }
.gauge .g-track { stroke: var(--track); }
.gauge .g-val { stroke: url(#gaugeGrad); stroke-linecap: round; }
.gauge .g-num { position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; }
.gauge .g-num b { font: 800 54px/1 var(--font-head); display: block; }
.gauge .g-num span { font: 700 14px var(--font-head); color: var(--lime); }
.factor { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.factor:last-child { border-bottom: 0; }
.factor .e { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 13px; background: var(--surface-2); font-size: 18px; }
.factor .lvl { font: 700 12px var(--font-head); padding: 4px 10px; border-radius: 99px; }
.lvl.high { background: rgba(93, 255, 143, .14); color: var(--lime); }
.lvl.med { background: rgba(255, 210, 63, .14); color: var(--yellow); }

/* ------------------------------------------------------------ vault ------- */
.vault-hero { text-align: center; padding: 30px 10px 10px; }
.vault-hero .lock {
  width: 86px; height: 86px; border-radius: 30px; margin: 0 auto 16px; display: grid; place-items: center;
  font-size: 40px; background: var(--g-violet); box-shadow: 0 16px 40px rgba(139, 92, 246, .45);
}
.pin-dots { display: flex; justify-content: center; gap: 16px; margin: 22px 0; }
.pin-dots i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--ink-faint); transition: all .15s; }
.pin-dots i.on { background: var(--lime); border-color: var(--lime); transform: scale(1.1); }
.pinpad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 290px; margin: 0 auto; }
.pinpad button {
  height: 64px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface);
  color: var(--ink); font: 700 24px var(--font-head); cursor: pointer;
}
.pinpad button:active { background: var(--surface-2); transform: scale(.96); }
.pinpad .ghost-key { background: none; border: 0; font-size: 15px; color: var(--ink-dim); }
.sect {
  display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); color: var(--ink); min-height: 128px;
}
.sect .e { font-size: 28px; }
.sect h4 { font-size: 14px; }
.sect .cnt { font: 600 12px var(--font-head); color: var(--ink-faint); margin-top: auto; }
.sect.has .cnt { color: var(--lime); }
.vitem { padding: 16px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.vitem + .vitem { margin-top: 10px; }
/* Labels capped at 42% so a long label cannot squeeze its value into a sliver. */
.vitem dl { display: grid; grid-template-columns: minmax(0, 42%) 1fr; gap: 6px 14px; margin: 10px 0 0; font-size: 13px; }
.vitem dd { overflow-wrap: anywhere; }
.vitem dt { color: var(--ink-faint); }
.vitem dd { margin: 0; }
.notice { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--r-md); font-size: 13px; background: rgba(91, 155, 255, .1); border: 1px solid rgba(91, 155, 255, .25); color: #c8d8ff; }
.notice.warn { background: rgba(255, 138, 61, .1); border-color: rgba(255, 138, 61, .3); color: #ffd2b5; }

/* ------------------------------------------------------------ forms ------- */
label.f { display: block; font: 600 13px var(--font-head); color: var(--ink-dim); margin: 14px 0 6px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=tel], select, textarea {
  width: 100%; padding: 13px 14px; border-radius: 14px;
  background: var(--field); border: 1.5px solid var(--line); color: var(--ink);
  font: 500 15px var(--font-body); outline: none; transition: border-color .2s;
}
input:focus, select:focus, textarea:focus { border-color: var(--blue-bright); }
select option { background: var(--surface-solid); }
textarea { min-height: 90px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-dim); margin-top: 4px; padding: 10px 0; min-height: 44px; cursor: pointer; }
.check input { margin-top: 0; flex: none; }
/* Our own tick box: the native one is a bright white square on the dark looks. */
input[type=checkbox] {
  -webkit-appearance: none; appearance: none; margin: 0;
  width: 20px; height: 20px; border-radius: 6px; flex: none; cursor: pointer;
  border: 1.5px solid var(--line-strong); background: var(--field);
  transition: background-color .15s, border-color .15s;
}
input[type=checkbox]:hover { border-color: var(--blue-bright); }
input[type=checkbox]:checked {
  border-color: var(--green);
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%2304120b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
}
input[type=checkbox]:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 2px; }
.money-input { position: relative; }
.money-input::before { content: "R"; position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--ink-faint); font-weight: 600; }
.money-input input { padding-left: 28px; }
input::file-selector-button {
  margin-right: 12px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface-2); color: var(--ink); font: 600 13px var(--font-head); cursor: pointer;
}

/* ------------------------------------------------------------ toasts ------ */
.toasts { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); width: min(92vw, 440px); z-index: 300; display: grid; gap: 8px; }
.toast {
  padding: 13px 16px; border-radius: 16px; font: 600 14px var(--font-head);
  background: var(--toast-bg); border: 1px solid var(--line); box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  animation: toastIn .4s ease both, toastOut .4s ease 3.6s forwards;
}
.toast.xp { background: linear-gradient(135deg, rgba(34, 201, 122, .95), rgba(16, 166, 184, .95)); color: #02150c; border: 0; }
.toast.level { background: linear-gradient(135deg, #ffd23f, #ff8a3d); color: #2a1600; border: 0; }
.toast.error { border-color: rgba(255, 93, 108, .5); color: #ffc2c8; }
.toast.success { border-color: rgba(93, 255, 143, .4); }
/* Stays longer than the others, so there is time to tap Undo. */
.toast.undo {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 16px;
  animation: toastIn .4s ease both, toastOut .4s ease 8s forwards;
}
@keyframes toastIn { from { opacity: 0; transform: translateY(-14px) scale(.97); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-14px); visibility: hidden; } }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 250; overflow: hidden; }
.confetti i { position: absolute; top: -20px; width: 9px; height: 14px; border-radius: 2px; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); } }

/* ------------------------------------------------------------ me ---------- */
.profile { text-align: center; padding: 10px 0 4px; }
.profile h1 { margin-top: 12px; font-size: 24px; }
.level-card { border-radius: var(--r-lg); padding: 18px; background: var(--g-violet); box-shadow: 0 16px 40px rgba(139, 92, 246, .35); color: #fff; }
.level-card .eyebrow { color: rgba(255, 255, 255, .8); }
.level-card .chip { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .3); color: #fff; }
.level-card .bar { background: rgba(255, 255, 255, .25); margin-top: 10px; }
.level-card .bar > span { background: #fff; }
.badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.badge { text-align: center; font-size: 11px; color: var(--ink-dim); line-height: 1.25; }
.badge .b {
  width: 58px; height: 58px; margin: 0 auto 6px; border-radius: 20px; display: grid; place-items: center;
  font-size: 26px; background: var(--surface-2); border: 1px solid var(--line);
}
.badge.off .b { filter: grayscale(1); opacity: .35; }
.badge.on .b { background: linear-gradient(150deg, rgba(255, 210, 63, .25), rgba(93, 255, 143, .18)); border-color: rgba(255, 210, 63, .4); }
.menu a, .menu button {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 15px 4px;
  border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--ink);
  font: 600 15px var(--font-head); text-align: left; cursor: pointer;
}
.menu a:last-child { border-bottom: 0; }
.menu .mi { width: 38px; height: 38px; border-radius: 13px; display: grid; place-items: center; font-size: 18px; background: var(--surface-2); }
.menu .chev { margin-left: auto; color: var(--ink-faint); }

/* ------------------------------------------------------------ plans ------- */
.plan { border-radius: var(--r-xl); padding: 22px; background: var(--surface); border: 1.5px solid var(--line); position: relative; }
.plan + .plan { margin-top: 14px; }
.plan.pop { border-color: transparent; background: linear-gradient(var(--surface-solid), var(--surface-solid)) padding-box, var(--g-brand) border-box; border: 2px solid transparent; }
.plan .ribbon { position: absolute; top: -12px; right: 18px; padding: 5px 12px; border-radius: 99px; background: var(--g-go); color: #04120b; font: 800 11px var(--font-head); letter-spacing: .06em; }
.plan .price { font: 800 36px var(--font-head); margin: 8px 0 2px; }
.plan .price small { font-size: 14px; color: var(--ink-dim); font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 14px 0 18px; display: grid; gap: 8px; }
.plan li { display: flex; gap: 10px; font-size: 14px; }
.plan li::before { content: "✓"; color: var(--lime); font-weight: 800; }
.plan.current { border-color: var(--lime); }

/* ------------------------------------------------------------ shop -------- */
.product { display: flex; gap: 14px; padding: 14px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); align-items: center; }
.product + .product { margin-top: 10px; }
.product .cover { width: 66px; height: 84px; border-radius: 14px; display: grid; place-items: center; font-size: 30px; flex: none; box-shadow: 0 8px 20px rgba(0, 0, 0, .3); }
.product .grow { min-width: 0; }
.hold { display: block; }
.spark { width: 100%; height: 26px; display: block; }
.spark.big { height: 60px; }
.spark polyline { fill: none; stroke: var(--lime); stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.tip-card { display: block; border-color: var(--line-strong); }
.ws { display: flex; gap: 12px; padding: 12px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.ws-month { width: 48px; height: 48px; border-radius: 14px; flex: none; display: grid; place-items: center; background: var(--g-brand); color: #fff; font: 800 14px var(--font-head); text-transform: uppercase; }
.ws-price { padding: 12px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.ws-price.best { border-color: var(--lime); }
.ws-price b { font: 800 20px var(--font-head); }
.ws-price span { font-size: 12px; }
.mat { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.mat img { width: 96px; height: 64px; object-fit: cover; border-radius: 10px; flex: none; cursor: zoom-in; }
.mat .grow { min-width: 0; }
.mat h4 { font-size: 14px; }
.mat .meta { display: block; font-size: 12px; color: var(--ink-faint); }
.mat .btn { display: inline-block; }
.looks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.look {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 10px; border-radius: var(--r-md); border: 1px solid var(--line);
  color: #1d1430; line-height: 1.25;
}
.look img { width: 40px; height: 40px; margin-bottom: 4px; }
.look b { font: 700 13px var(--font-head); }
.look span { font-size: 11px; opacity: .8; }
.bs-lavender { background: linear-gradient(135deg, #e8daef, #d2b4de); }
.bs-pastel { background: linear-gradient(135deg, #e4f1e6, #ffe1c7); }
.bs-night { background: linear-gradient(135deg, #0e1a36, #1c3266); color: #eef3ff; border-color: #2d4a85; }
.bs-sunset { background: linear-gradient(135deg, #ffe6d6, #ffd9a8); }
.product .price { font: 800 16px var(--font-head); }

/* ------------------------------------------------------------ tools ------- */
.tool-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.tool-tabs button {
  flex: none; min-height: 44px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink-dim); font: 600 13px var(--font-head); cursor: pointer;
}
.tool-tabs button.on { background: var(--g-brand); color: #fff; border-color: transparent; }
.slider-row { margin-top: 16px; }
.slider-row .row b { font-family: var(--font-head); }
input[type=range] { width: 100%; accent-color: var(--green); height: 44px; margin: -8px 0; }
.big-out { font: 800 38px var(--font-head); letter-spacing: -.02em; background: var(--g-go); -webkit-background-clip: text; background-clip: text; color: transparent; }
.chart { width: 100%; height: 160px; margin-top: 10px; }
.chart .area { fill: url(#areaGrad); }
.chart .line { fill: none; stroke: var(--lime); stroke-width: 2.5; }
.chart .paid { fill: none; stroke: var(--blue-bright); stroke-width: 2; stroke-dasharray: 5 5; }
.legend { display: flex; gap: 16px; font-size: 12px; color: var(--ink-dim); margin-top: 6px; }
.legend i { display: inline-block; width: 12px; height: 3px; margin-right: 6px; vertical-align: middle; }
.legend .l1 { background: var(--lime); }
.legend .l2 { background: var(--blue-bright); }
.calc-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 12px; }
.calc-table td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.calc-table td:last-child { text-align: right; font: 600 14px var(--font-head); }
.calc-table tr.total td { border-bottom: 0; font-weight: 700; font-size: 16px; color: var(--lime); }

/* ------------------------------------------------------------ landing ----- */
.land { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.land-nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.land-nav .mark { width: 86px; }
.land-nav nav { display: flex; gap: 10px; align-items: center; }
.land-hero { display: grid; gap: 40px; align-items: center; padding: 40px 0 60px; }
@media (min-width: 900px) { .land-hero { grid-template-columns: 1.1fr .9fr; padding-top: 60px; } }
.land-hero h1 { font-size: clamp(38px, 7vw, 64px); line-height: 1.04; font-weight: 800; letter-spacing: -.03em; }
.land-hero h1 em { font-style: normal; background: var(--g-go); -webkit-background-clip: text; background-clip: text; color: transparent; }
.land-hero .lead { font-size: 18px; color: var(--ink-dim); margin: 18px 0 26px; max-width: 520px; }
.land-hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.land-hero .proof { margin-top: 22px; display: flex; gap: 18px; flex-wrap: wrap; color: var(--ink-dim); font-size: 13px; }
.land-hero .proof b { color: var(--ink); font-family: var(--font-head); }
.phone {
  width: 300px; max-width: 100%; margin: 0 auto; border-radius: 44px; padding: 12px;
  background: linear-gradient(160deg, #1b2a52, #0a142c); box-shadow: 0 40px 90px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08);
  transform: rotate(-3deg);
}
.phone-screen { border-radius: 34px; overflow: hidden; background: var(--bg); padding: 22px 16px 18px; }
.phone-screen .move { padding: 16px; }
.phone-screen .move h3 { font-size: 16px; }
.land-section { padding: 50px 0; }
.land-section > h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; text-align: center; letter-spacing: -.02em; }
.land-section > p.sub { text-align: center; color: var(--ink-dim); margin: 10px auto 30px; max-width: 560px; }
.pkg-grid { display: grid; gap: 14px; }
@media (min-width: 720px) { .pkg-grid { grid-template-columns: 1fr 1fr; } .pkg-grid .pkg + .pkg { margin-top: 0; } }
.feat-grid { display: grid; gap: 14px; }
@media (min-width: 720px) { .feat-grid { grid-template-columns: repeat(3, 1fr); } }
.feat { padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.feat .fe { width: 52px; height: 52px; border-radius: 17px; display: grid; place-items: center; font-size: 26px; margin-bottom: 14px; }
.feat p { color: var(--ink-dim); margin-top: 6px; font-size: 14px; }
.plans-row { display: grid; gap: 14px; }
/* Three across only where the page is wide enough: the landing page, and the
   app's wide desktop shell.  Inside the phone column they stay stacked. */
@media (min-width: 900px) { .land .plans-row { grid-template-columns: repeat(3, 1fr); align-items: start; } .land .plans-row .plan + .plan { margin-top: 0; } }
.land-foot { border-top: 1px solid var(--line); padding: 30px 0 50px; color: var(--ink-faint); font-size: 13px; text-align: center; }
.land-foot p + p { margin-top: 6px; }
.connect { margin: 18px 0 10px; }
.socials { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.soc { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 600 12px var(--font-head); }
.soc svg { width: 18px; height: 18px; }
.soc.soon { opacity: .55; }
.contact { margin-top: 10px; font-size: 13px; text-align: center; }
.copy { font-size: 12px; color: var(--ink-faint); text-align: center; }
.me-foot { padding-bottom: 6px; }
.ticks { margin: 0; padding-left: 18px; }
.ticks li + li { margin-top: 6px; }
.prose h3 { font-size: 16px; }
.prose p { margin-top: 8px; color: var(--ink-body); font-size: 14px; }
.logo-full { width: 220px; margin: 0 auto; }
.proto-bar { background: rgba(255, 210, 63, .1); color: var(--yellow); text-align: center; font: 600 12px var(--font-head); padding: 7px 12px; border-bottom: 1px solid rgba(255, 210, 63, .2); }

/* ------------------------------------------------------------ auth -------- */
.auth { padding-top: 30px; }
.auth .logo-full { width: 170px; margin-bottom: 20px; }
.persona {
  display: flex; gap: 14px; align-items: center; width: 100%; text-align: left;
  padding: 14px; border-radius: var(--r-lg); background: var(--surface); border: 1.5px solid var(--line);
  color: var(--ink); cursor: pointer; transition: border-color .2s, transform .1s;
}
.persona:hover { border-color: var(--blue-bright); }
.persona:active { transform: scale(.98); }
.persona + .persona, form + form .persona { margin-top: 10px; }
.persona p { font-size: 13px; color: var(--ink-dim); }
.divider { display: flex; align-items: center; gap: 12px; color: var(--ink-faint); font-size: 12px; margin: 26px 0 8px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.stages { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stages label { cursor: pointer; }
.stages input { position: absolute; opacity: 0; }
.stages span {
  display: flex; flex-direction: column; gap: 6px; padding: 16px 14px; border-radius: var(--r-lg);
  background: var(--surface); border: 1.5px solid var(--line); font: 600 14px var(--font-head); min-height: 96px;
}
.stages span b { font-size: 28px; }
.stages input:checked + span { border-color: var(--lime); background: rgba(93, 255, 143, .09); }

/* ------------------------------------------------------------ admin ------- */
.admin { max-width: 980px; margin: 0 auto; padding: 0 20px 60px; }
.admin-top { display: flex; align-items: center; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); margin-bottom: 22px; flex-wrap: wrap; }
.admin-top .mark { width: 70px; }
.admin-top nav { display: flex; gap: 6px; flex-wrap: wrap; margin-left: auto; }
.admin-top nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--ink-dim); font: 600 13px var(--font-head); }
.admin-top nav a.on, .admin-top nav a:hover { background: var(--surface); color: var(--ink); }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.kpi { padding: 16px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.kpi b { display: block; font: 800 28px var(--font-head); }
.kpi span { font-size: 12px; color: var(--ink-dim); }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font: 600 12px var(--font-head); color: var(--ink-faint); text-transform: uppercase; letter-spacing: .06em; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr:hover td { background: var(--surface); }
.admin-grid { display: grid; gap: 16px; }
@media (min-width: 860px) { .admin-grid { grid-template-columns: 1.4fr 1fr; } }
.screen-edit { padding: 14px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.screen-edit + .screen-edit { margin-top: 10px; }
.screen-edit .k { font: 700 11px var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--blue-bright); }
.form-row { display: grid; gap: 12px; }
@media (min-width: 700px) { .form-row.two { grid-template-columns: 1fr 1fr; } .form-row.three { grid-template-columns: repeat(3, 1fr); } }
.opt-edit { display: grid; grid-template-columns: 26px 1fr; gap: 8px; align-items: center; margin-top: 8px; }
.opt-edit input[type=radio] { accent-color: var(--green); width: 18px; height: 18px; }

/* Bar widths as classes, so templates never need an inline style (CSP). */
.w-0 { width: 0%; }
.w-1 { width: 1%; }
.w-2 { width: 2%; }
.w-3 { width: 3%; }
.w-4 { width: 4%; }
.w-5 { width: 5%; }
.w-6 { width: 6%; }
.w-7 { width: 7%; }
.w-8 { width: 8%; }
.w-9 { width: 9%; }
.w-10 { width: 10%; }
.w-11 { width: 11%; }
.w-12 { width: 12%; }
.w-13 { width: 13%; }
.w-14 { width: 14%; }
.w-15 { width: 15%; }
.w-16 { width: 16%; }
.w-17 { width: 17%; }
.w-18 { width: 18%; }
.w-19 { width: 19%; }
.w-20 { width: 20%; }
.w-21 { width: 21%; }
.w-22 { width: 22%; }
.w-23 { width: 23%; }
.w-24 { width: 24%; }
.w-25 { width: 25%; }
.w-26 { width: 26%; }
.w-27 { width: 27%; }
.w-28 { width: 28%; }
.w-29 { width: 29%; }
.w-30 { width: 30%; }
.w-31 { width: 31%; }
.w-32 { width: 32%; }
.w-33 { width: 33%; }
.w-34 { width: 34%; }
.w-35 { width: 35%; }
.w-36 { width: 36%; }
.w-37 { width: 37%; }
.w-38 { width: 38%; }
.w-39 { width: 39%; }
.w-40 { width: 40%; }
.w-41 { width: 41%; }
.w-42 { width: 42%; }
.w-43 { width: 43%; }
.w-44 { width: 44%; }
.w-45 { width: 45%; }
.w-46 { width: 46%; }
.w-47 { width: 47%; }
.w-48 { width: 48%; }
.w-49 { width: 49%; }
.w-50 { width: 50%; }
.w-51 { width: 51%; }
.w-52 { width: 52%; }
.w-53 { width: 53%; }
.w-54 { width: 54%; }
.w-55 { width: 55%; }
.w-56 { width: 56%; }
.w-57 { width: 57%; }
.w-58 { width: 58%; }
.w-59 { width: 59%; }
.w-60 { width: 60%; }
.w-61 { width: 61%; }
.w-62 { width: 62%; }
.w-63 { width: 63%; }
.w-64 { width: 64%; }
.w-65 { width: 65%; }
.w-66 { width: 66%; }
.w-67 { width: 67%; }
.w-68 { width: 68%; }
.w-69 { width: 69%; }
.w-70 { width: 70%; }
.w-71 { width: 71%; }
.w-72 { width: 72%; }
.w-73 { width: 73%; }
.w-74 { width: 74%; }
.w-75 { width: 75%; }
.w-76 { width: 76%; }
.w-77 { width: 77%; }
.w-78 { width: 78%; }
.w-79 { width: 79%; }
.w-80 { width: 80%; }
.w-81 { width: 81%; }
.w-82 { width: 82%; }
.w-83 { width: 83%; }
.w-84 { width: 84%; }
.w-85 { width: 85%; }
.w-86 { width: 86%; }
.w-87 { width: 87%; }
.w-88 { width: 88%; }
.w-89 { width: 89%; }
.w-90 { width: 90%; }
.w-91 { width: 91%; }
.w-92 { width: 92%; }
.w-93 { width: 93%; }
.w-94 { width: 94%; }
.w-95 { width: 95%; }
.w-96 { width: 96%; }
.w-97 { width: 97%; }
.w-98 { width: 98%; }
.w-99 { width: 99%; }
.w-100 { width: 100%; }

.section-tight { margin-top: 8px; }
.ce-lg { width: 76px; height: 76px; border-radius: 24px; display: grid; place-items: center; font-size: 38px; margin: 4px 0 14px; box-shadow: var(--shadow); }
.ce-sm { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; background: var(--surface-2); flex: none; }
.center-block { margin: 0 auto; }
.logo-nav { width: 140px; }
.feedback-bar { color: var(--ink); }
.stack-choices { display: grid; gap: 8px; }
.pick { cursor: pointer; }
.pick input { position: absolute; opacity: 0; }
.pick span { display: block; padding: 14px 16px; border-radius: var(--r-md); background: var(--surface); border: 1.5px solid var(--line); font: 600 14px var(--font-head); }
.pick input:checked + span { border-color: var(--lime); background: rgba(93, 255, 143, .09); }
.term {
  display: inline; padding: 0; margin: 0; border: 0; background: none; color: inherit; font: inherit; cursor: help;
  text-decoration: underline dotted var(--lime); text-decoration-thickness: 2px; text-underline-offset: 4px;
}
.sheet {
  position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); width: min(100%, var(--shell)); z-index: 120;
  padding: 22px 20px calc(22px + env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0;
  background: var(--surface-solid); border-top: 1px solid var(--line); box-shadow: 0 -20px 50px rgba(0, 0, 0, .5);
  animation: sheetUp .25s ease;
}
@keyframes sheetUp { from { transform: translate(-50%, 40px); opacity: 0; } }
.glossary-link { color: var(--ink); }
.search { width: 100%; padding: 13px 16px; border-radius: 14px; background: var(--field); border: 1.5px solid var(--line); color: var(--ink); font: 500 15px var(--font-body); outline: none; }
.search:focus { border-color: var(--blue-bright); }
.gloss { padding: 13px 2px; border-bottom: 1px solid var(--line); }
.gloss h4 { margin-bottom: 2px; }
.slip { border-radius: var(--r-md); background: #f4f7ff; color: #0b1838; padding: 6px 16px; box-shadow: var(--shadow); }
.slip-row { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px dashed #c9d3ea; font-size: 14px; }
.slip-row:last-child { border-bottom: 0; }
.slip-row span { flex: 1 1 45%; min-width: 0; }
.slip-row b { font-family: var(--font-head); text-align: right; flex: 0 1 55%; overflow-wrap: anywhere; }
.slip-total { border-top: 2px solid #0b1838; font-weight: 700; }
.slip-total b { color: #0f9d5c; font-size: 16px; }
.slip .term { text-decoration-color: #0f9d5c; }
.why { font-size: 12px; color: var(--ink-faint); margin-top: 5px; line-height: 1.45; }
.sect.locked { opacity: .6; }
.sect .small { line-height: 1.35; }
.vault-progress { color: var(--ink); }
a.vault-progress { padding: 12px 0; margin: 14px 0 -12px; }
.add-entry summary { cursor: pointer; list-style: none; padding: 12px 0; margin: -12px 0; }
.add-entry summary::-webkit-details-marker { display: none; }
.add-entry[open] summary { margin-bottom: -8px; }
.check-step .mn { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font: 800 13px var(--font-head); background: var(--surface-2); flex: none; }
.check-step.is-done { border-color: rgba(93, 255, 143, .35); }
.check-step.is-done .mn { background: var(--green); color: #04120b; }
.faq { border-bottom: 1px solid var(--line); padding: 2px 2px; }
.faq summary { cursor: pointer; font: 600 15px var(--font-head); list-style: none; padding: 12px 0; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--lime); }
.faq[open] summary::after { content: "-"; }
.faq p { margin: -2px 0 12px; color: var(--ink-dim); font-size: 14px; }
.steps3 { display: grid; gap: 10px; }
.steps3 div { display: flex; gap: 12px; align-items: center; font-size: 14px; }
.steps3 b { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--g-brand); font: 800 13px var(--font-head); flex: none; }
.file-input { width: 100%; padding: 14px; border-radius: 14px; border: 1.5px dashed var(--line); background: var(--field); color: var(--ink-dim); }
.review-row { padding: 12px 0; border-bottom: 1px solid var(--line); }
.review-row:last-child { border-bottom: 0; }
.review-row select { padding: 8px 10px; font-size: 13px; }
.review-row.is-in { opacity: .75; }
.import-cta { color: var(--ink); }

/* ------------------------------------------------------- CI flavours --- */
/* Backlog item 3: three looks for Tanja and Caroline to choose from.  Each
   flavour is only a block of tokens.  It applies to the whole app through
   html[data-flavour] (set from a cookie, see /brand), and to a single preview
   card on the /brand page through .fl-<key>.  Electric Night is :root above;
   it is repeated here only so its preview card holds up inside another look. */

.fl-electric {
  --bg: #050b1a; --bg-2: #0a1530;
  --surface: rgba(255, 255, 255, .05); --surface-2: rgba(255, 255, 255, .085); --surface-solid: #0e1a36;
  --line: rgba(255, 255, 255, .09); --line-strong: rgba(255, 255, 255, .25);
  --ink: #eef3ff; --ink-dim: #9aa9cc; --ink-faint: #64749a; --ink-body: #d7e0f5;
  --blue: #2f6fed; --blue-bright: #5b9bff; --green: #22c97a; --lime: #5dff8f; --yellow: #ffd23f; --orange: #ff8a3d;
  --g-brand: linear-gradient(135deg, #2f6fed 0%, #22c97a 100%);
  --g-go: linear-gradient(135deg, #22c97a 0%, #5dff8f 100%);
  --track: rgba(255, 255, 255, .09); --field: rgba(255, 255, 255, .06);
  --glow-a: rgba(47, 111, 237, .28); --glow-b: rgba(34, 201, 122, .18);
  --logo-a: #4f97ff; --logo-b: #1f62e6; --logo-c: #1fd16a; --logo-d: #5dff8f; --logo-word: #ffffff; --logo-tag: #5dff8f;
  --font-head: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

/* Sunset Hustle: warm plum with coral, amber and teal. */
html[data-flavour="sunset"], .fl-sunset {
  --bg: #170b1f; --bg-2: #241030;
  --surface: rgba(255, 255, 255, .055); --surface-2: rgba(255, 255, 255, .09); --surface-solid: #2a1338;
  --line: rgba(255, 255, 255, .1); --line-strong: rgba(255, 255, 255, .28);
  --ink: #fff4ee; --ink-dim: #c9adc6; --ink-faint: #8d7291; --ink-body: #f1dfe6;
  --blue: #ff5e62; --blue-bright: #ff8a6b; --green: #19c3b1; --lime: #5ef2d6;
  --pink: #ff4d8d; --orange: #ff9a3d; --violet: #a35cff; --yellow: #ffc145; --red: #ff5d6c;
  --g-brand: linear-gradient(135deg, #ff4f6d 0%, #ffb23f 100%);
  --g-go: linear-gradient(135deg, #19c3b1 0%, #5ef2d6 100%);
  --glow-a: rgba(255, 79, 109, .26); --glow-b: rgba(255, 178, 63, .16);
  --shell-bg: rgba(23, 11, 31, .35); --bar-bg: rgba(23, 11, 31, .96); --nav-bg: rgba(30, 14, 40, .9);
  --toast-bg: rgba(42, 19, 56, .96); --track: rgba(255, 255, 255, .1); --field: rgba(255, 255, 255, .06);
  --logo-a: #4f97ff; --logo-b: #1f62e6; --logo-c: #1fd16a; --logo-d: #5dff8f; --logo-word: #ffffff; --logo-tag: #5dff8f;
  --font-head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, sans-serif;
}

/* Electric Sunset: Electric Night's navy and blue, warmed with Sunset
   Hustle's coral, amber and teal (Tanja, 2026-10-06). */
html[data-flavour="dusk"], .fl-dusk {
  --bg: #0b0a22; --bg-2: #1a1036;
  --surface: rgba(255, 255, 255, .05); --surface-2: rgba(255, 255, 255, .085); --surface-solid: #181337;
  --line: rgba(255, 255, 255, .09); --line-strong: rgba(255, 255, 255, .26);
  --ink: #f3f2ff; --ink-dim: #aaa6d0; --ink-faint: #75709c; --ink-body: #dfdcf5;
  --blue: #2f6fed; --blue-bright: #6a9dff; --green: #19c3b1; --lime: #5ef2d6;
  --pink: #ff4f6d; --orange: #ff9a3d; --violet: #8b5cf6; --yellow: #ffc145; --red: #ff5d6c;
  --g-brand: linear-gradient(135deg, #2f6fed 0%, #ff4f6d 100%);
  --g-go: linear-gradient(135deg, #19c3b1 0%, #5ef2d6 100%);
  --glow-a: rgba(47, 111, 237, .28); --glow-b: rgba(255, 79, 109, .2);
  --shell-bg: rgba(11, 10, 34, .35); --bar-bg: rgba(11, 10, 34, .96); --nav-bg: rgba(16, 13, 42, .9);
  --toast-bg: rgba(24, 19, 55, .96); --track: rgba(255, 255, 255, .09); --field: rgba(255, 255, 255, .06);
  --logo-a: #4f97ff; --logo-b: #1f62e6; --logo-c: #1fd16a; --logo-d: #5dff8f; --logo-word: #ffffff; --logo-tag: #5dff8f;
  --font-head: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, sans-serif;
}

/* Logo and chart gradients follow the tokens. */
.lg-a { stop-color: var(--logo-a); }
.lg-b { stop-color: var(--logo-b); }
.lg-c { stop-color: var(--logo-c); }
.lg-d { stop-color: var(--logo-d); }
.lg-word { fill: var(--logo-word); }
.lg-tag { fill: var(--logo-tag); }
.sg-a { stop-color: var(--blue-bright); }
.sg-b { stop-color: var(--lime); }

/* The /brand comparison page. */
.fl-card {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl); border: 1px solid var(--line);
  background:
    radial-gradient(80% 60% at 0% 0%, var(--glow-a), transparent 70%),
    radial-gradient(70% 60% at 100% 100%, var(--glow-b), transparent 70%),
    var(--bg);
  color: var(--ink); font-family: var(--font-body);
  box-shadow: var(--shadow);
}
.fl-card.is-on { outline: 3px solid var(--lime); outline-offset: 3px; }
.fl-preview { padding: 22px 18px 16px; }
.fl-logo .logo-full { width: 150px; }
.fl-mock {
  margin-top: 16px; padding: 16px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line);
}
.fl-mock h3 { margin-top: 4px; }
.fl-mock .row { gap: 8px; }
.fl-btn { margin-top: 14px; pointer-events: none; }
.fl-swatches { display: flex; gap: 6px; margin-top: 14px; }
.fl-swatches i { flex: 1; height: 22px; border-radius: 8px; border: 1px solid var(--line); }
.fl-swatches .s1 { background: var(--bg-2); }
.fl-swatches .s2 { background: var(--blue); }
.fl-swatches .s3 { background: var(--green); }
.fl-swatches .s4 { background: var(--yellow); }
.fl-swatches .s5 { background: var(--g-brand); }
.fl-info { padding: 16px 18px 18px; background: var(--surface-2); border-top: 1px solid var(--line); }
.fl-info .row { justify-content: space-between; }
.fl-name { font-family: var(--font-head); }

/* ------------------------------------------------------------ desktop ----- */
/* Backlog 49.  Below 1024 px nothing here applies and the app is the phone
   column.  From 1024 px the bottom bar becomes a sidebar, pages sit in a
   reading column, and pages marked `wide` (Home, Money, Me, Plans) split
   into two columns through .cols.  Pages without the nav (sign-in, the
   lesson player, quizzes) keep their centred phone layout. */
.cols > .col { min-width: 0; }
@media (min-width: 1024px) {
  :root { --side: 248px; --gutter: 40px; }
  body.has-nav { padding-left: var(--side); }
  body.has-nav::before {
    background:
      radial-gradient(50vmax 40vmax at 20% 0%, var(--glow-a), transparent 60%),
      radial-gradient(45vmax 35vmax at 100% 100%, var(--glow-b), transparent 60%),
      linear-gradient(180deg, var(--bg), var(--bg-2) 60%, var(--bg));
  }
  .has-nav .shell {
    max-width: 820px; padding: 0 var(--gutter) 72px;
    border: 0; background: none;
  }
  .has-nav .shell.wide { max-width: 1180px; }

  /* The sidebar is the navigation here, so the title bar no longer sticks. */
  .has-nav .topbar {
    position: static; margin: 0; padding: 36px 0 18px;
    background: none; backdrop-filter: none;
  }
  .has-nav .topbar .title h1 { font-size: 28px; }
  .has-nav .topbar .title p { font-size: 14px; }
  .has-nav .hero-pkg { margin: 32px 0 0; border-radius: var(--r-xl); padding: 36px 32px 30px; }

  /* Sidebar */
  .nav {
    top: 0; bottom: 0; left: 0; transform: none;
    width: var(--side); height: auto;
    padding: 26px 16px 18px;
    display: flex; flex-direction: column; gap: 4px;
    border-top: 0; border-right: 1px solid var(--line);
    overflow-y: auto; scrollbar-width: thin;
  }
  .nav a {
    flex-direction: row; justify-content: flex-start; gap: 12px;
    min-height: 46px; padding: 0 14px; border-radius: 14px;
    font: 600 14px var(--font-head); color: var(--ink-dim);
  }
  .nav a:hover { color: var(--ink); background: var(--surface); }
  .nav a svg { width: 21px; height: 21px; flex: none; }
  .nav .nav-logo { display: block; min-height: 0; padding: 0 10px 22px; }
  .nav .nav-logo:hover { background: none; }
  .nav .nav-logo .logo-nav { width: 132px; height: auto; }
  .nav .nav-more { display: flex; flex-direction: column; gap: 2px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
  .nav-more .eyebrow { padding: 0 14px 6px; color: var(--ink-faint); }
  .nav-more a { min-height: 44px; font-size: 13px; }
  .nav-more .ni { width: 21px; text-align: center; font-size: 16px; }
  .nav .nav-me {
    display: flex; margin-top: auto; min-height: 0; padding: 12px;
    border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  }
  .nav-me .avatar { width: 38px; height: 38px; border-radius: 13px; font-size: 13px; box-shadow: none; }
  .nav-me b { display: block; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .nav-me small { display: block; font: 500 11px var(--font-body); color: var(--ink-dim); white-space: nowrap; }

  /* Things that were centred on the phone column follow the content area. */
  .has-nav .toasts, .has-nav .sheet { left: calc(50% + var(--side) / 2); }
  .has-nav .sheet { bottom: 24px; border-radius: 26px; border: 1px solid var(--line); }
  .has-nav .fab { display: none; }

  /* Two columns.  Each .col keeps the phone's order top to bottom. */
  .cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 28px; align-items: start; }
  .cols > .col > :first-child { margin-top: 0; }
  .cols.first-gap { margin-top: 26px; }
  .home-video video { aspect-ratio: 1; }
  /* A mouse has no swipe and the scroller hides its bar, so show every step. */
  .journey { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); overflow: visible; }

  .desk-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .desk-grid-2 > .pkg + .pkg { margin-top: 0; }
  .desk-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .desk-grid-4 { grid-template-columns: repeat(4, 1fr); }
  .shell.wide .plans-row { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .shell.wide .plans-row .plan + .plan { margin-top: 0; }
}
