/* Simplify1 marketing site — shared styles (redesign, Oct 2026).
   Every page links this one file. Colours, type and spacing come from the
   design mockups; every hover state from the mockups is a real :hover
   rule here. Nav and footer markup is written into each page by
   tools/build.py. */

:root {
  --ink: #0E1B45;
  --ink-2: #3A4A7A;
  --muted: #546496;
  --bg: #F3F6FC;
  --bg-2: #EAF0FB;
  --line: #D9E3F5;
  --line-2: #C3D1EC;
  --field: #6F7EA3;
  --royal: #1226AA;
  --royal-2: #1B35C4;
  --navy: #0A1660;
  --deep: #0E1B45;
  --violet: #5041F4;
  --sky: #4493EE;
  --gold: #FFD700;
  --night: #0B0E13;
  --night-2: #141922;
  --night-3: #1B222D;
  --night-line: #28313F;
  --night-text: #E9EEF5;
  --night-muted: #A6B2C1;
  --night-dim: #8792A1;
  --ghost: #8F86FF;
  --on-royal: #C9D3FF;
  --on-royal-2: #AFC0FF;
  --grad: linear-gradient(102deg, #4493EE, #5041F4);
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ------------------------------------------------------------ base -- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); -webkit-font-smoothing: antialiased;
}
body.page-dark { background: var(--night); color: var(--night-text); }
img, svg { max-width: 100%; }
a { color: var(--violet); text-decoration: none; }
a:hover { color: var(--royal); }
.page-dark main a:not([class]) { color: var(--ghost); }
.page-dark main a:not([class]):hover { color: #fff; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, blockquote { margin: 0; }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.on-dark :focus-visible, .page-dark :focus-visible, .site-footer :focus-visible { outline-color: #fff; }
input:focus-visible, textarea:focus-visible { outline: 2px solid var(--violet); outline-offset: 1px; }
.on-dark textarea:focus-visible, .page-dark textarea:focus-visible { outline: 2px solid var(--ghost); outline-offset: 2px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--royal); color: #fff; padding: 10px 18px;
  border-radius: 0 0 10px 0; font-weight: 700;
}
.skip-link:focus { left: 0; color: #fff; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------- layout -- */
.wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.wrap-narrow { max-width: 900px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { --py: clamp(64px, 8vw, 112px); --pb: var(--py); padding-top: var(--py); padding-bottom: var(--pb); }
.stack { --gap: 16px; display: flex; flex-direction: column; gap: var(--gap); }
.grid { --gap: 20px; --min: 280px; display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min)), 1fr)); }
.split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.band { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; }
.mt-auto { margin-top: auto; }
.self-start { align-self: flex-start; }
.min0 { min-width: 0; }

.bg-white { background: #fff; }
.bg-royal { background: var(--royal); color: #fff; }
.bg-deep { background: var(--deep); color: #fff; }
.bg-navy { background: var(--navy); color: #fff; }
.bg-night { background: var(--night); color: var(--night-text); }
.bg-night-2 { background: var(--night-2); color: var(--night-text); }

/* ------------------------------------------------------------ type -- */
.eyebrow {
  font: 600 12px/1.3 var(--mono); letter-spacing: .16em; text-transform: uppercase;
  color: var(--violet);
}
.eyebrow.on-royal, .on-dark .eyebrow.soft { color: var(--on-royal-2); }
.eyebrow.ghost { color: var(--ghost); }
.eyebrow.muted { color: var(--muted); letter-spacing: .14em; }
.step-label { font: 600 14px var(--mono); color: var(--violet); }
.step-label.on-royal { color: var(--on-royal-2); }
.mono { font-family: var(--mono); }

.display {
  --fs: clamp(56px, 9vw, 132px); --lh: .88; --ls: -.05em;
  font-size: var(--fs); line-height: var(--lh); font-weight: 900; letter-spacing: var(--ls);
}
.display em, .h2 em, .italic { font-style: italic; }
.h2 {
  --fs: clamp(40px, 5.5vw, 76px); --lh: .95;
  font-size: var(--fs); line-height: var(--lh); font-weight: 900; letter-spacing: -.04em;
}
.h2-m { --fs: clamp(36px, 4.5vw, 60px); --lh: 1; }
.h3 { --fs: 26px; font-size: var(--fs); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.lede { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.body-l { font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.body { font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.body-17 { font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.on-dark .lede, .on-dark .body, .on-dark .body-l, .on-dark .body-17 { color: var(--on-royal); }
.page-dark .lede, .page-dark .body-l, .bg-night .body-l, .bg-night-2 .body-l { color: var(--night-muted); }
.text-link { font-size: 17px; font-weight: 700; }

/* --------------------------------------------------------- buttons -- */
.btn {
  display: inline-block; padding: 17px 26px; border-radius: 999px; border: 0;
  font-size: 17px; font-weight: 800; line-height: 1.2; text-align: center;
  transition: background-color .2s, border-color .2s, filter .2s, color .2s;
}
.btn-lg { padding: 18px 30px; font-size: 18px; }
.btn-block { display: block; padding: 16px 20px; font-size: 16px; }
.btn-white, .btn-white:hover { background: #fff; color: var(--royal); }
.btn-white:hover { background: #E8EEFF; }
.btn-grad, .btn-grad:hover {
  background: var(--grad); color: #fff; box-shadow: 0 10px 24px -10px rgba(80, 65, 244, .8);
}
.btn-grad:hover { filter: brightness(1.08); }
.btn-ghost-light { border: 1.5px solid rgba(255, 255, 255, .4); color: #fff; font-weight: 600; }
.btn-ghost-light:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.btn-outline { border: 1.5px solid var(--line-2); color: var(--ink); font-weight: 700; background: transparent; }
.btn-outline:hover { color: var(--ink); border-color: var(--violet); }
.btn-outline-light { border: 1.5px solid rgba(255, 255, 255, .35); color: #fff; font-weight: 700; }
.btn-outline-light:hover { color: #fff; background: rgba(255, 255, 255, .08); }

/* store chips ("App Store — coming soon") */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-mono {
  display: inline-block; padding: 9px 14px; border-radius: 10px;
  font: 500 13px/1.3 var(--mono);
}
.chip-store { padding: 10px 14px; border-radius: 12px; background: rgba(0, 0, 0, .22); border: 1px solid rgba(255, 255, 255, .16); color: #fff; }
.chip-pill-store { padding: 18px 20px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .35); font-size: 14px; color: #fff; }
.chip-night { padding: 8px 12px; border: 1px solid var(--night-line); color: var(--night-text); }
.chip-tag { padding: 6px 12px; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 600; }
.chip-glass { padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); font: 500 13px var(--mono); }

/* ----------------------------------------------------------- cards -- */
.card { --r: 28px; --p: 28px; --gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: var(--p); display: flex; flex-direction: column; gap: var(--gap); }
.card-soft { --r: 28px; --p: 32px; --gap: 16px; background: var(--bg); border-radius: var(--r); padding: var(--p); display: flex; flex-direction: column; gap: var(--gap); }
.card-line { --r: 28px; --p: 32px; --gap: 14px; border: 1px solid var(--line); border-radius: var(--r); padding: var(--p); display: flex; flex-direction: column; gap: var(--gap); }
.card-deep { --r: 28px; --p: 32px; --gap: 16px; background: var(--deep); color: #fff; border-radius: var(--r); padding: var(--p); display: flex; flex-direction: column; gap: var(--gap); }
.card-navy { --r: 28px; --p: 28px; --gap: 16px; background: var(--navy); color: #fff; border-radius: var(--r); padding: var(--p); display: flex; flex-direction: column; gap: var(--gap); overflow: hidden; }
.card-grad { --r: 28px; --p: 32px; --gap: 14px; background: var(--grad); color: #fff; border-radius: var(--r); padding: var(--p); display: flex; flex-direction: column; gap: var(--gap); }
.card-night { --r: 28px; --p: 28px; --gap: 14px; background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--r); padding: var(--p); display: flex; flex-direction: column; gap: var(--gap); }
.card-deep .body, .card-deep .body-17, .card-navy .body { color: var(--on-royal); }
.card-grad .body, .card-grad .body-17 { color: #fff; }

.row-item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--bg); }
.row-item.on-white { background: #fff; }
.check {
  flex: none; width: 24px; height: 24px; border-radius: 7px; background: var(--grad); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 900;
}
.check-open { flex: none; width: 24px; height: 24px; border-radius: 7px; border: 2px solid var(--field); }
.grade-letter { font-weight: 900; font-style: italic; letter-spacing: -.05em; line-height: 1; }
.avatar-stripe { flex: none; border-radius: 50%; background: repeating-linear-gradient(45deg, #DCE6F8 0 4px, #EAF0FB 4px 8px); }
.placeholder-stripe {
  background: repeating-linear-gradient(135deg, #EAF0FB 0 10px, #F3F6FC 10px 20px);
  display: flex; align-items: center; justify-content: center;
  font: 500 13px var(--mono); color: var(--muted);
}

/* segmented control (pricing period, legal tabs, journal filter) */
.segmented { display: flex; padding: 5px; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 999px; align-self: flex-start; }
.segmented > * {
  padding: 12px 20px; border: 0; border-radius: 999px; background: transparent;
  color: var(--ink-2); font: 600 15px var(--sans); white-space: nowrap;
}
.segmented > *:hover { color: var(--ink); }
.segmented > [aria-pressed="true"], .segmented > [aria-current="page"] {
  background: var(--deep); color: #fff; font-weight: 700;
}
.segmented > [aria-pressed="true"]:hover, .segmented > [aria-current="page"]:hover { color: #fff; }

/* closing band (blue strip with a headline and one button) */
.closer-band { background: var(--royal); color: #fff; }

/* ------------------------------------------------------------- nav -- */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 250, 255, .88);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line); font-family: var(--sans);
}
.nav-bar { max-width: 1240px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 24px; min-height: 66px; }
.nav-brand { display: flex; align-items: center; gap: 10px; flex: none; }
.nav-brand img { display: block; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; flex: 1; min-width: 0; }
.nav-links a {
  position: relative; padding: 8px 12px; border-radius: 999px; font-size: 15px; font-weight: 500;
  color: var(--ink); white-space: nowrap;
}
.nav-links a:hover { background: #E6EDFB; color: var(--ink); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px;
  border-radius: 2px; background: var(--grad);
}
.nav-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.nav-signin { padding: 9px 14px; font-size: 15px; font-weight: 600; color: var(--ink); }
.nav-signin:hover { color: var(--royal); }
.nav-cta, .nav-cta:hover {
  padding: 10px 18px; border-radius: 999px; background: var(--grad); color: #fff;
  font-size: 15px; font-weight: 700; box-shadow: 0 6px 18px -8px rgba(80, 65, 244, .7); white-space: nowrap;
}
.nav-cta:hover { filter: brightness(1.08); }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2);
  background: #fff; color: var(--ink); font: 600 15px var(--mono); line-height: 1;
  align-items: center; justify-content: center; flex: none;
}
.nav-toggle:hover { border-color: var(--violet); }
.nav-menu { display: none; }
.nav-menu a { padding: 14px 10px; font-size: 18px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--bg-2); }
.nav-menu a:hover { color: var(--royal); background: var(--bg); }
.nav-menu a[aria-current="page"] { color: var(--violet); }
.nav-menu a.nav-menu-signin { color: var(--violet); border-bottom: 0; }

@media (max-width: 979.98px) {
  .nav-links, .nav-signin { display: none; }
  .nav-actions { margin-left: auto; }
  .nav-cta { padding: 9px 16px; font-size: 14px; }
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav.is-open .nav-menu {
    display: flex; flex-direction: column; gap: 2px;
    position: absolute; left: 0; right: 0; top: 100%;
    max-height: calc(100vh - 66px); max-height: calc(100dvh - 66px); overflow-y: auto;
    padding: 8px 16px 18px; background: #fff; border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(14, 27, 69, .35);
  }
  /* Without JavaScript there is no toggle: the links sit in a plain row. */
  html:not(.js) .site-nav { position: static; }
  html:not(.js) .nav-menu {
    display: flex; flex-wrap: wrap; gap: 0 4px; padding: 0 14px 10px;
    max-width: 1240px; margin: 0 auto;
  }
  html:not(.js) .nav-menu a { padding: 8px 10px; font-size: 15px; border: 0; }
}
@media (max-width: 380px) {
  .nav-bar { gap: 12px; padding-left: 16px; padding-right: 16px; }
  .nav-brand img + img { display: none; }
}

/* ---------------------------------------------------------- footer -- */
.site-footer { background: var(--navy); color: var(--on-royal); font-family: var(--sans); }
.footer-inner { max-width: 1240px; margin: 0 auto; padding: 72px 24px 36px; display: flex; flex-direction: column; gap: 56px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 18px; grid-column: span 2; min-width: 0; }
@media (max-width: 440px) { .footer-brand { grid-column: auto; } }
.footer-brand img { height: 30px; width: auto; align-self: flex-start; }
.footer-brand p { font-size: 16px; line-height: 1.5; max-width: 34ch; color: var(--on-royal); }
.footer-chip { padding: 9px 14px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 10px; font: 500 13px var(--mono); color: #fff; }
.footer-col { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer-col h2 { font: 600 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #8EA0F0; }
.footer-col a { color: #fff; font-size: 15px; overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--on-royal-2); text-decoration: underline; }
.footer-base {
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13px; color: #A9B6EE;
}

/* ------------------------------------------------------------ home -- */
.home-hero { background: radial-gradient(120% 100% at 85% 0%, #1B35C4 0%, #1226AA 45%, #0A1660 100%); color: #fff; overflow: hidden; }
.home-hero-grid {
  padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(64px, 8vw, 120px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 56px; align-items: center;
}
.status-pill {
  align-self: flex-start; display: flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px; border-radius: 999px; background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18); font: 500 13px/1.3 var(--mono); color: #E3E9FF;
}
.status-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #34C759; }
.home-hero h1 { font-size: clamp(60px, 9vw, 136px); line-height: .88; font-weight: 900; letter-spacing: -.05em; font-stretch: 92%; }
.home-hero .lede { color: #D6DEFF; max-width: 36ch; }
.hero-ring { position: relative; width: 100%; max-width: 500px; justify-self: center; aspect-ratio: 1; }
.hero-ring svg { width: 100%; height: 100%; display: block; }
.hero-arc { transition: stroke-dashoffset 1.1s cubic-bezier(.3, .7, .2, 1); }
.js .hero-arc { stroke-dashoffset: 552.92; }
.js .hero-arc.is-drawn { stroke-dashoffset: 0; }
.ring-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; }
.ring-kicker { font: 600 12px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--on-royal-2); }
.ring-letter { font-size: clamp(96px, 13vw, 170px); font-weight: 900; line-height: .9; letter-spacing: -.06em; font-style: italic; }
.ring-label { font-size: 20px; font-weight: 600; }
.ring-meta { font: 500 13px var(--mono); color: var(--on-royal-2); }
.float-tag {
  position: absolute; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 14px; font-weight: 600; display: flex; gap: 8px; align-items: center; white-space: nowrap;
}
.tag-faith { left: -4%; top: 14%; }
.tag-workout { right: -2%; top: 40%; }
.tag-ghost { left: 6%; bottom: 6%; }
@media (max-width: 560px) {
  .float-tag { padding: 7px 10px; font-size: 12px; border-radius: 12px; }
  .float-tag.dark { font-size: 11px; }
  .tag-faith { left: -2%; top: 12%; }
  .tag-workout { right: -2%; top: 2%; }
  .tag-ghost { left: 4%; bottom: 4%; }
}
.float-tag .dot { width: 8px; height: 8px; border-radius: 50%; }
.float-tag.dark { background: rgba(11, 14, 19, .55); border-color: rgba(255, 255, 255, .16); font: 500 13px var(--mono); }

.no-list { background: #fff; border-bottom: 1px solid var(--line); }
.no-list ul {
  list-style: none; margin: 0 auto; padding: 22px 24px; max-width: 1240px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px;
  font-size: 16px; font-weight: 700; color: var(--ink);
}
.no-list li { display: flex; gap: 32px; }
.no-list li + li::before { content: "/"; color: var(--line-2); margin-right: 0; }
@media (max-width: 720px) {
  .no-list ul { flex-direction: column; gap: 8px; }
  .no-list li + li::before { content: none; }
}

/* the "grade a sample day" demo */
.try-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; align-items: start; }
.pillar-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.pillar { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.pillar-head { display: flex; align-items: center; gap: 10px; }
.pillar-swatch { width: 12px; height: 12px; border-radius: 4px; flex: none; }
.pillar-name { font-size: 20px; font-weight: 800; letter-spacing: -.02em; flex: 1; }
.pillar-share { font: 500 12px var(--mono); color: var(--muted); }
.levels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px; background: var(--bg-2); border-radius: 12px; margin: 0; border: 0; min-width: 0; }
.levels button {
  height: 34px; border: 0; border-radius: 9px; background: transparent; color: var(--ink-2);
  font: 600 12px var(--sans); min-width: 0; padding: 0 2px;
}
.levels button:hover { background: #fff; }
.levels button[aria-pressed="true"] { background: var(--deep); color: #fff; font-weight: 700; }
.items { display: flex; flex-direction: column; gap: 6px; }
.item-toggle {
  display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 12px;
  border-radius: 12px; border: 1px solid #E3EAF7; background: #FAFCFF; text-align: left;
  font: 500 15px var(--sans); color: var(--ink); width: 100%;
}
.item-toggle:hover { border-color: var(--line-2); }
.item-toggle .box { flex: none; width: 24px; height: 24px; border-radius: 7px; border: 2px solid var(--field); display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; font-weight: 900; }
.item-toggle[aria-pressed="true"] .box { border: 0; background: var(--grad); }
.item-toggle[aria-pressed="true"] .box::after { content: "✓"; }
.item-toggle .name { flex: 1; }

.grade-panel {
  position: sticky; top: 88px; background: var(--night); color: var(--night-text); border-radius: 28px;
  padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 24px;
}
.grade-panel-head { display: flex; justify-content: space-between; align-items: center; }
.grade-panel-head .kicker { font: 600 12px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--night-muted); }
.reset-btn { border: 1px solid var(--night-line); background: transparent; color: var(--night-muted); border-radius: 999px; padding: 6px 12px; font: 500 12px var(--mono); }
.reset-btn:hover { color: #fff; border-color: var(--night-muted); }
.demo-ring { position: relative; width: min(280px, 100%); aspect-ratio: 1; align-self: center; }
.demo-ring svg { width: 100%; height: 100%; display: block; }
.demo-arc { transition: stroke-dashoffset .6s cubic-bezier(.3, .7, .2, 1), stroke .3s; }
.demo-ring .ring-center { gap: 4px; }
.demo-letter { font-size: 96px; font-weight: 900; font-style: italic; letter-spacing: -.06em; line-height: .9; }
.demo-label { font-size: 18px; font-weight: 700; color: #fff; }
.demo-meta { font: 500 13px var(--mono); color: var(--night-muted); }
.demo-tip { padding: 14px 16px; border-radius: 16px; background: var(--night-2); border: 1px solid var(--night-line); font-size: 15px; line-height: 1.45; color: var(--night-text); }
.fills { display: flex; flex-direction: column; gap: 12px; }
.fill-row { display: grid; grid-template-columns: 72px 1fr 44px; gap: 12px; align-items: center; font-size: 14px; }
.fill-row .label { color: var(--night-muted); }
.fill-track { height: 8px; border-radius: 8px; background: var(--night-3); overflow: hidden; }
.fill-bar { display: block; height: 100%; border-radius: 8px; transition: width .4s; }
.fill-row .pct { font: 500 12px var(--mono); color: var(--night-muted); text-align: right; }

.step-card { min-height: 300px; }
.step-card h3 { font-size: 30px; font-weight: 800; letter-spacing: -.03em; }

/* Ghost scramble (home + ghost page) */
.cipher-label { font: 600 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--night-muted); }
.cipher-input {
  width: 100%; resize: none; background: var(--night); border: 1px solid var(--night-line); border-radius: 16px;
  padding: 16px; color: #fff; font: 500 18px/1.4 var(--sans);
}
.cipher-out {
  min-height: 104px; background: var(--night); border: 1px dashed var(--night-line); border-radius: 16px;
  padding: 16px; color: var(--ghost); font: 500 14px/1.6 var(--mono); word-break: break-all;
}
.cipher-rule { display: flex; align-items: center; gap: 12px; color: #6E7886; font: 500 12px var(--mono); }
.cipher-rule::before, .cipher-rule::after { content: ""; flex: 1; height: 1px; background: var(--night-line); }
.ghost-link { font-size: 17px; font-weight: 700; color: var(--ghost); }
.ghost-link:hover { color: #fff; }

.board-row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; background: var(--bg); }
.board-row.first { background: var(--deep); color: #fff; }
.board-row .rank { font: 600 13px var(--mono); color: var(--muted); }
.board-row.first .rank { color: var(--gold); }
.board-row .who { flex: 1; font-weight: 600; }
.board-row .g { font-weight: 900; font-style: italic; }

.ladder-mini { flex: none; width: 132px; height: 132px; border-radius: 50%; border: 5px solid #B87333; display: flex; align-items: center; justify-content: center; }
.ladder-mini > div { width: 98px; height: 98px; border-radius: 50%; border: 5px solid #4A78A8; display: flex; align-items: center; justify-content: center; }
.ladder-mini > div > div { width: 64px; height: 64px; border-radius: 50%; border: 5px solid #2E9E6B; display: flex; align-items: center; justify-content: center; }
.ladder-mini > div > div > div { width: 30px; height: 30px; border-radius: 50%; background: var(--gold); }

.price-big { font-size: 56px; font-weight: 900; letter-spacing: -.04em; line-height: 1; }

.closer { background: var(--royal); color: #fff; }
.closer-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 32px; }
.closer blockquote { font-size: clamp(44px, 7vw, 104px); line-height: .95; font-weight: 900; font-style: italic; letter-spacing: -.045em; max-width: 14ch; }
.closer .cite { font: 500 14px var(--mono); color: var(--on-royal-2); }

/* -------------------------------------------------- how it works -- */
.weight-row { display: grid; grid-template-columns: 110px 1fr 70px; gap: 14px; align-items: center; }
.weight-row .n { font-weight: 700; font-size: 16px; }
.weight-row .track { height: 14px; border-radius: 14px; background: var(--bg-2); overflow: hidden; }
.weight-row .bar { display: block; height: 100%; border-radius: 14px; }
.weight-row .tier { font: 600 13px var(--mono); color: var(--ink-2); }
@media (max-width: 420px) { .weight-row { grid-template-columns: 70px 1fr 64px; gap: 10px; } }
.scale-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; align-content: center; }
.scale-cell { padding: 12px; border-radius: 14px; background: var(--bg); display: flex; flex-direction: column; gap: 4px; }
.scale-cell .l { font-size: 28px; font-weight: 900; font-style: italic; letter-spacing: -.04em; }
.scale-cell .t { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.scale-cell .m { font: 500 11px var(--mono); color: var(--muted); }
.never-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1px;
  background: var(--night-line); border: 1px solid var(--night-line); border-radius: 24px; overflow: hidden;
}
.never-grid > div { background: var(--night); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.never-grid h3 { font-size: 22px; font-weight: 800; color: #fff; }
.never-grid p { font-size: 16px; line-height: 1.5; color: var(--night-muted); }

/* ----------------------------------------------------------- ghost -- */
.ghost-hero { background: radial-gradient(90% 80% at 80% 0%, #141922 0%, #0B0E13 70%); }
.ghost-hero h1 { color: #fff; max-width: 10ch; }
.ghost-hero h1 em { color: var(--night-dim); }
.ghost-note { font: 500 13px var(--mono); color: var(--night-dim); }
.nothing-box {
  flex: 1; min-height: 120px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(135deg, #0B0E13 0 10px, #11151C 10px 20px);
  font: 600 15px var(--mono); color: #6E7886;
}
.who-table-wrap { overflow-x: auto; border: 1px solid var(--night-line); border-radius: 24px; }
.who-table { width: 100%; min-width: 720px; border-collapse: collapse; text-align: left; }
.who-table th[scope="col"] {
  padding: 18px 20px; font: 600 12px var(--mono); letter-spacing: .1em; text-transform: uppercase;
  color: var(--night-muted); background: var(--night); border-bottom: 1px solid var(--night-line);
}
.who-table th[scope="row"] { padding: 18px 20px; font-size: 16px; font-weight: 700; color: #fff; border-bottom: 1px solid #1C242F; width: 24%; }
.who-table td { padding: 18px 20px; font-size: 15px; color: #8792A1; border-bottom: 1px solid #1C242F; }
.who-table td.yes { color: var(--night-text); }
.who-table td.yes::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #34C759; margin-right: 8px; vertical-align: middle; }
.who-table tr:last-child > * { border-bottom: 0; }
.qa-night { padding: 22px 24px; border-radius: 20px; border: 1px solid var(--night-line); display: flex; flex-direction: column; gap: 6px; }
.qa-night h3 { font-weight: 800; color: #fff; font-size: 18px; }
.qa-night p { color: var(--night-muted); font-size: 16px; line-height: 1.5; }

/* ------------------------------------------------------- community -- */
.comp-row { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .06); }
.comp-row span:first-child { font: 600 14px var(--mono); color: var(--on-royal-2); }
.comp-row span:nth-child(2) { font-weight: 600; }
.comp-row span:last-child { font-size: 22px; font-weight: 900; font-style: italic; }
.ladder-section { overflow: hidden; }
.tier-list { display: flex; flex-direction: column; gap: 8px; }
.tier-btn {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .12); background: transparent; color: var(--on-royal);
  font: 600 18px var(--sans); text-align: left; width: 100%;
}
.tier-btn:hover { border-color: rgba(255, 255, 255, .35); }
.tier-btn .dot { flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--c); }
.tier-btn .note { display: none; margin-left: auto; font: 500 13px var(--mono); color: var(--on-royal); }
.tier-btn[aria-pressed="true"] { border-color: var(--c); background: rgba(255, 255, 255, .08); color: #fff; font-weight: 800; font-size: 20px; }
.tier-btn[aria-pressed="true"] .note { display: inline; }
.ladder-rings { position: relative; width: 100%; max-width: 480px; aspect-ratio: 1; justify-self: center; }
.ladder-rings .ring { position: absolute; border-radius: 50%; border: 6px solid var(--c); transition: opacity .3s, border-width .3s; }
.ladder-rings .ring.is-active { border-width: 14px; }
.ladder-rings .ring.is-dim { opacity: .25; }
.ladder-rings .core { position: absolute; inset: 40%; border-radius: 50%; background: var(--gold); box-shadow: 0 0 60px rgba(255, 215, 0, .4); }

/* --------------------------------------------------------- pricing -- */
.plan { border-radius: 32px; padding: 36px; display: flex; flex-direction: column; gap: 20px; }
.plan-free { background: #fff; border: 1px solid var(--line); }
.plan-premium { background: linear-gradient(160deg, #1B35C4, #1226AA 50%, #0A1660); color: #fff; box-shadow: 0 30px 60px -30px rgba(18, 38, 170, .7); }
.plan-teams { background: var(--deep); color: #fff; }
.plan .amount { font-size: 72px; font-weight: 900; letter-spacing: -.05em; line-height: 1; }
.plan .per { color: var(--muted); }
.plan-premium .per, .plan-premium .body, .plan-teams .body { color: var(--on-royal); }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.plan li::before { content: "✓ "; }
.save-badge { padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .14); font: 600 12px var(--mono); }
.faq-flat > div { padding: 24px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.faq-flat > div:last-child { border-bottom: 1px solid var(--line); }
.faq-flat h3 { font-size: 20px; font-weight: 800; }
.faq-flat p { font-size: 17px; line-height: 1.55; color: var(--ink-2); }

/* --------------------------------------------------------- journal -- */
.filter-row { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-row button { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font: 600 14px var(--sans); }
.filter-row button:hover { border-color: var(--violet); }
.filter-row button[aria-pressed="true"] { border-color: var(--deep); background: var(--deep); color: #fff; font-weight: 700; }
.feature-post { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); background: #fff; border: 1px solid var(--line); border-radius: 32px; overflow: hidden; }
.feature-art { min-height: 320px; background: var(--grad); display: flex; align-items: center; justify-content: center; }
.feature-art span { font-size: clamp(120px, 16vw, 220px); font-weight: 900; font-style: italic; letter-spacing: -.06em; color: #fff; line-height: 1; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.post { background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; }
.post .cover { aspect-ratio: 16/9; font-size: 12px; }
.post-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-cat { font: 600 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--violet); }
.post h3 { font-size: 22px; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
.post-meta { margin-top: auto; font: 500 12px var(--mono); color: var(--muted); }
.notify-form { display: flex; gap: 8px; flex-wrap: wrap; }
.notify-form input {
  height: 56px; min-width: min(260px, 100%); flex: 1; padding: 0 20px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .06); color: #fff; font: 500 16px var(--sans);
}
.notify-form input::placeholder { color: #B9C4F0; }
.notify-form button { height: 56px; padding: 0 24px; border-radius: 999px; border: 0; background: #fff; color: var(--royal); font: 800 16px var(--sans); }
.notify-form button:hover { background: #E8EEFF; }

/* ------------------------------------------------------- employers -- */
.dash { background: #fff; color: var(--ink); border-radius: 28px; padding: 24px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dash-stats > div { padding: 16px; border-radius: 16px; background: var(--bg); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dash-stats .k { font-size: 12px; color: var(--muted); font-weight: 600; }
.dash-stats .v { font-size: 32px; font-weight: 900; letter-spacing: -.03em; }
.dash-bars { display: flex; align-items: flex-end; gap: 6px; height: 110px; padding: 12px; border-radius: 16px; background: var(--bg); }
.dash-bars > div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.dash-bars i { display: block; width: 100%; border-radius: 6px; background: linear-gradient(180deg, #4493EE, #5041F4); }
.dash-bars span { font: 500 10px var(--mono); color: var(--muted); }
.dash-note { padding: 12px 14px; border-radius: 14px; border: 1px dashed var(--line-2); font-size: 13px; color: var(--muted); }
.kind-row { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--bg); font-weight: 600; }
.kind-row .kind { font: 600 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--violet); width: 84px; flex: none; }
.see-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 17px; }

/* forms (employers, support) */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 14px; font-weight: 700; }
.field input, .field textarea {
  padding: 0 16px; height: 50px; border-radius: 14px; border: 1px solid var(--field);
  font: 500 16px var(--sans); color: var(--ink); background: #fff; width: 100%;
}
.field textarea { height: auto; padding: 16px 18px; font: 500 16px/1.5 var(--sans); resize: vertical; }
.field input::placeholder, .field textarea::placeholder, .search-input::placeholder { color: #6F7EA3; }

/* --------------------------------------------------------- support -- */
.search-input {
  height: 64px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--field);
  background: #fff; font: 500 18px var(--sans); color: var(--ink); width: 100%;
}
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.faq summary {
  display: flex; align-items: center; gap: 16px; padding: 22px 24px; cursor: pointer; list-style: none;
  font: 800 19px/1.3 var(--sans); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 600 18px var(--mono); color: var(--violet); margin-left: auto; flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--royal); }
.faq summary:focus-visible { outline-offset: -3px; border-radius: 20px; }
.faq details p { padding: 0 24px 24px; font-size: 17px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.faq-empty { padding: 32px; text-align: center; color: var(--muted); font-size: 17px; }
.field-input {
  height: 54px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--field); background: #fff;
  font: 500 16px var(--sans); color: var(--ink); width: 100%;
}
textarea.field-input { height: auto; padding: 16px 18px; line-height: 1.5; resize: vertical; }
.field-input::placeholder { color: #6F7EA3; }
form.is-sent [type="submit"] { display: none; }
.form-sent-msg { font-size: 16px; font-weight: 600; color: var(--royal); }

/* ----------------------------------------------------------- legal -- */
.legal-callout { background: var(--royal); color: #fff; border-radius: 28px; padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 12px; max-width: 900px; }
.legal-callout h2 { font: 600 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--on-royal-2); }
.legal-callout p { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.4; font-weight: 600; }
.legal-body { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.legal-toc { flex: 1 1 220px; max-width: 280px; display: flex; flex-direction: column; gap: 4px; }
@media (min-width: 840px) {
  .legal-toc { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow-y: auto; }
}
@media (max-width: 839.98px) { .legal-toc { max-width: none; } }
.legal-toc a { padding: 8px 12px; border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.legal-toc a:hover { background: #fff; color: var(--ink); }
.legal-text { flex: 3 1 460px; display: flex; flex-direction: column; gap: 36px; max-width: 720px; min-width: 0; }
.legal-text section { display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 90px; }
.legal-text h2 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.legal-text p, .legal-text ul { font-size: 17px; line-height: 1.7; color: var(--ink-2); text-wrap: pretty; margin: 0; }
.legal-text ul { padding-left: 22px; display: flex; flex-direction: column; gap: 4px; }
.legal-text a { text-decoration: underline; text-underline-offset: 2px; }

/* ------------------------------------------------------------- 404 -- */
.notfound { min-height: calc(100vh - 66px); display: flex; align-items: center; }

/* ---------------------------------------------------------- motion -- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
