/* LawMuse website — 2026-10-29: the app's identity, so the site and the web app read as one product.
   Indigo and violet with an amber / orange accent (lib/theme.dart: AppColors, AppGradients), Source Serif
   headlines and Inter, the sign-in panel's indigo-violet-pink gradient in the hero, the app's colourful
   icon tiles. No external requests: fonts are self-hosted and everything satisfies the strict CSP. */

@font-face { font-family: "LM Serif"; src: url("fonts/SourceSerif4-Variable.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "LM Sans"; src: url("fonts/Inter-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "LM Sans"; src: url("fonts/Inter-SemiBold.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }

:root {
  --paper: #f6f5ff;
  --surface: #ffffff;
  --sunk: #eeecfb;
  --ink: #1a1832;
  --muted: #5e5a7a;
  --rule: #e4e1f5;
  --navy: #4338ca;            /* the app's primary (indigo 700) */
  --navy-2: #4f46e5;
  --navy-deep: #1e1b4b;       /* ink panels */
  --navy-ink: #110e2e;
  --logo-gold: #f59e0b;
  --brass: #c2410c;           /* accent text on light (orange 700) */
  --brass-bright: #fbbf24;    /* amber 400: highlights on dark */
  --brass-mid: #f97316;
  --brass-soft: #ffedd5;
  --violet: #7c3aed;
  --pink: #db2777;
  --ok: #059669;
  --warn: #b45309;
  --mark: #fef3c7;
  --btn-bg: #4338ca;
  --btn-fg: #ffffff;
  --hero-grad: linear-gradient(135deg, #4f46e5 0%, #7c3aed 55%, #db2777 100%);
  --panel-grad: linear-gradient(170deg, #1e1b4b 0%, #2e1065 60%, #3b0764 100%);
  --serif: "LM Serif", "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "LM Sans", Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.9rem, 1.35rem + 2vw, 2.75rem);
  --step-4: clamp(2.6rem, 1.6rem + 4.2vw, 4.6rem);
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --radius-l: 22px;
  --radius-xl: 30px;
  --max: 1180px;
  --shadow-s: 0 1px 2px rgba(30, 27, 75, .06), 0 2px 8px -2px rgba(30, 27, 75, .06);
  --shadow-m: 0 2px 4px rgba(30, 27, 75, .04), 0 12px 32px -12px rgba(30, 27, 75, .18);
  --shadow-l: 0 30px 80px -30px rgba(17, 14, 46, .55);
  --card: var(--surface);
  --card-line: var(--rule);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0d0b1f; --surface: #17142f; --sunk: #120f28; --ink: #ecebfa; --muted: #a8a4c9; --rule: #2a2650;
    --navy: #a5b4fc; --logo-gold: #fbbf24; --brass: #fbbf24; --brass-soft: #3a2a12; --ok: #34d399; --warn: #fbbf24;
    --mark: #3a2a12; --card: #17142f; --card-line: #2a2650; --btn-bg: #818cf8; --btn-fg: #0d0b1f;
    --shadow-s: none; --shadow-m: 0 20px 40px -24px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0d0b1f; --surface: #17142f; --sunk: #120f28; --ink: #ecebfa; --muted: #a8a4c9; --rule: #2a2650;
  --navy: #a5b4fc; --logo-gold: #fbbf24; --brass: #fbbf24; --brass-soft: #3a2a12; --ok: #34d399; --warn: #fbbf24;
  --mark: #3a2a12; --card: #17142f; --card-line: #2a2650; --btn-bg: #818cf8; --btn-fg: #0d0b1f;
  --shadow-s: none; --shadow-m: 0 20px 40px -24px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--navy); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--brass); }
:focus-visible { outline: 3px solid var(--brass-bright); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; text-wrap: balance; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow { display: inline-block; font: 600 0.95rem/1.3 var(--sans); color: var(--violet); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .eyebrow { color: #c4b5fd; } }
:root[data-theme="dark"] .eyebrow { color: #c4b5fd; }
.lede { font-size: var(--step-1); color: var(--muted); max-width: 62ch; }
.num { font-variant-numeric: tabular-nums lining-nums; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 20; border-radius: 8px; }
.skip:focus { left: 8px; }
.grad { font-style: normal; color: inherit; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--paper) 80%, transparent);
  backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s, background .2s;
}
.site-header.scrolled { border-bottom-color: var(--rule); box-shadow: var(--shadow-s); }
.bar { position: relative; display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font: 650 1.2rem/1 var(--serif); letter-spacing: -0.01em; }
.brand svg { flex: none; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; color: var(--muted); font-size: var(--step--1); font-weight: 600; padding: 8px 12px; border-radius: 999px; transition: color .15s, background .15s; }
.nav a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.nav a.btn { margin-left: 8px; color: var(--btn-fg); }
.nav a.btn:hover { color: var(--btn-fg); background: var(--btn-bg); }
.menu-btn { display: none; margin-left: auto; background: var(--surface); border: 1px solid var(--rule); border-radius: 999px; padding: 8px 14px; color: var(--ink); font: 600 var(--step--1) var(--sans); cursor: pointer; }
@media (max-width: 880px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 6px); flex-direction: column; align-items: stretch; gap: 2px;
         background: var(--surface); border: 1px solid var(--rule); border-radius: 18px; padding: 10px; box-shadow: var(--shadow-m); }
  .nav a { padding: 12px 14px; font-size: var(--step-0); }
  .nav a.btn { margin: 6px 0 0; }
  .nav.open { display: flex; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
       border-radius: 999px; font: 600 var(--step-0)/1 var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer;
       transition: transform .15s ease, box-shadow .2s, background .2s, color .2s, border-color .2s, filter .2s; }
.btn:hover { transform: translateY(-1px); }
.btn svg { flex: none; }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); box-shadow: 0 10px 24px -12px rgba(67, 56, 202, .75); }
.btn-primary:hover { color: var(--btn-fg); filter: brightness(1.15); }
.btn-brass { background: linear-gradient(135deg, #fbbf24, #f97316); color: #1a1004; box-shadow: 0 12px 28px -12px rgba(249, 115, 22, .8); }
.btn-brass:hover { color: #1a1004; filter: brightness(1.06); }
.btn-ghost { border-color: var(--rule); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--brass-mid); color: var(--ink); }
.btn-glass { border-color: rgba(255, 255, 255, .22); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-glass:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.nav .btn { min-height: 40px; padding: 0 18px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  background:
    radial-gradient(55% 65% at 88% 8%, rgba(251, 191, 36, .28), transparent 60%),
    radial-gradient(60% 70% at 0% 100%, rgba(30, 27, 75, .55), transparent 65%),
    linear-gradient(135deg, #4f46e5 0%, #7c3aed 55%, #db2777 100%);
  padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 110px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(70% 70% at 50% 30%, #000 30%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 5vw, 72px); align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero .eyebrow { color: var(--brass-bright); }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; font-weight: inherit; }
.hero .lede { color: rgba(245, 243, 255, .8); margin-top: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 16px; font-size: var(--step--1); color: rgba(245, 243, 255, .65); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; font-size: .82rem; font-weight: 600;
            color: rgba(255, 255, 255, .88); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
.chips svg { color: var(--brass-bright); }

/* Phone mockup (pure HTML/CSS) */
.device { position: relative; justify-self: center; width: min(340px, 84vw); }
.device::before { content: ""; position: absolute; inset: 8% -18% -8% -18%; z-index: -1; background: radial-gradient(closest-side, rgba(251, 191, 36, .35), transparent); filter: blur(10px); }
.phone { border-radius: 44px; padding: 10px; background: linear-gradient(160deg, #2e2a5c, #110e2e); box-shadow: var(--shadow-l), inset 0 0 0 1px rgba(255, 255, 255, .12); transform: rotate(-2deg); }
.screen { border-radius: 36px; overflow: hidden; background: #f6f5ff; color: #1a1832; min-height: 600px; position: relative; }
.screen-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 22px 6px; font: 600 .72rem/1 var(--sans); color: #1a1832; }
.notch { width: 92px; height: 24px; border-radius: 999px; background: #110e2e; }
.app-bar { display: flex; align-items: center; justify-content: space-between; padding: 8px 18px; }
.app-bar b { font: 650 1.05rem/1 var(--serif); }
.app-bar .bell { position: relative; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #eceafd; color: #4338ca; }
.app-bar .bell i { position: absolute; top: 4px; right: 5px; width: 8px; height: 8px; border-radius: 50%; background: #f97362; border: 2px solid #f6f5ff; }
.hero-card { margin: 6px 14px 0; padding: 16px; border-radius: 22px; color: #fff; position: relative; overflow: hidden;
             background: radial-gradient(70% 80% at 100% 0%, rgba(251, 191, 36, .35), transparent 60%), linear-gradient(135deg, #4f46e5 0%, #7c3aed 55%, #db2777 100%); }
.hero-card small { font: 600 .66rem/1 var(--sans); color: #fde68a; }
.hero-card strong { display: block; margin-top: 6px; font: 600 1.25rem/1.15 var(--serif); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; }
.stats span { background: rgba(255, 255, 255, .16); border-radius: 12px; padding: 8px; font-size: .62rem; color: rgba(255, 255, 255, .75); }
.stats b { display: block; color: #fff; font-size: 1.05rem; }
.mini-list { padding: 10px 14px 80px; display: grid; gap: 8px; }
.mini { display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: center; background: #fff; border: 1px solid #e4e1f5; border-radius: 16px; padding: 10px; }
.mini .date { text-align: center; border-radius: 10px; background: linear-gradient(135deg, #6366f1, #4338ca); padding: 4px 0; font: 700 .55rem/1.1 var(--sans); color: #e0e7ff; }
.mini .date b { display: block; font: 700 1rem/1.1 var(--sans); color: #fff; }
.mini:nth-of-type(3) .date { background: linear-gradient(135deg, #f97362, #f59e0b); color: #fff7ed; }
.mini p { font-size: .72rem; color: #5e5a7a; line-height: 1.35; }
.mini p b { display: block; color: #1a1832; font-size: .78rem; }
.mini.order { grid-template-columns: 28px 1fr; background: #fff7ed; border-color: #fed7aa; }
.mini.order .ico { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: linear-gradient(135deg, #fbbf24, #f97316); color: #fff; }
.due { display: inline-block; margin-top: 3px; padding: 2px 7px; border-radius: 999px; background: #ffedd5; color: #c2410c; font-weight: 700; font-size: .62rem; }
.tabbar { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr); padding: 10px 10px 16px; background: #fff; border-top: 1px solid #e4e1f5; }
.tabbar span { text-align: center; font-size: .58rem; color: #5e5a7a; font-weight: 600; }
.tabbar span::before { content: ""; display: block; margin: 0 auto 4px; width: 34px; height: 6px; border-radius: 999px; background: #e4e1f5; }
.tabbar span.on { color: #4338ca; }
.tabbar span.on::before { background: #4338ca; }
.float-card { position: absolute; right: -44px; bottom: 34px; width: 214px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .97); color: #1a1832;
              box-shadow: var(--shadow-l); font-size: .74rem; transform: rotate(3deg); }
.float-card .k { display: block; font: 600 .68rem/1 var(--sans); color: #7c3aed; margin-bottom: 6px; }
.float-card b { font: 650 .95rem/1.2 var(--serif); }
.float-card .arrow { color: #f97316; font-weight: 700; padding-inline: 4px; }
.float-card small { display: flex; align-items: center; gap: 5px; margin-top: 6px; color: #059669; font-weight: 700; }
@media (max-width: 520px) { .float-card { right: -4px; bottom: 30px; width: 180px; } .screen { min-height: 560px; } }

/* ---------- Courts strip ---------- */
.courts { padding-block: 22px; border-bottom: 1px solid var(--rule); background: var(--surface); }
.courts .wrap { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; justify-content: center; text-align: center; }
.courts span { font: 600 .82rem/1.3 var(--sans); color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.courts span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brass-mid); }

/* ---------- Sections ---------- */
section { scroll-margin-top: 84px; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section.alt { background: var(--sunk); }
.section-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }

/* How it works: a court day */
.day-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; counter-reset: daystep; position: relative; }
.day-steps::before { content: ""; position: absolute; top: 23px; left: 6%; right: 6%; height: 2px; background: linear-gradient(90deg, transparent, var(--brass-mid), transparent); opacity: .5; }
@media (max-width: 1000px) { .day-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .day-steps::before { display: none; } }
@media (max-width: 600px) { .day-steps { grid-template-columns: minmax(0, 1fr); } }
.day-steps li { counter-increment: daystep; position: relative; display: grid; gap: 10px; align-content: start; }
.day-steps li::before { content: counter(daystep); width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center;
                        background: linear-gradient(135deg, #4f46e5, #7c3aed); color: #fff; font: 650 1.1rem/1 var(--serif); box-shadow: var(--shadow-m); }
.day-steps .when { font: 700 .72rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--brass); }
.day-steps p { color: var(--muted); font-size: .95rem; }

/* Bento features */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tile { grid-column: span 2; position: relative; overflow: hidden; display: grid; gap: 10px; align-content: start;
        background: var(--card); border: 1px solid var(--card-line); border-radius: var(--radius-l); padding: 24px; box-shadow: var(--shadow-s);
        transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); border-color: color-mix(in srgb, var(--brass-mid) 45%, var(--card-line)); }
.tile.wide { grid-column: span 3; }
.tile.xl { grid-column: span 4; }
.tile.dark { color: #ecebfa; border-color: transparent;
             background: radial-gradient(70% 90% at 100% 0%, rgba(251, 191, 36, .22), transparent 60%), linear-gradient(150deg, #312e81, #1e1b4b 55%, #2e1065); }
.tile.dark h3 { color: #fff; }
.tile.dark p { color: rgba(245, 243, 255, .78); }
/* The app's icon tiles: one accent per feature, white icon on a two-tone gradient (AppPalette.gradient). */
.tile .ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: #fff; }
.tile:nth-child(8n+1) .ico { background: linear-gradient(135deg, #818cf8, #4f46e5); box-shadow: 0 8px 18px -10px #4f46e5; }
.tile:nth-child(8n+2) .ico { background: linear-gradient(135deg, #fb9a8b, #ef4444); box-shadow: 0 8px 18px -10px #ef4444; }
.tile:nth-child(8n+3) .ico { background: linear-gradient(135deg, #34d399, #059669); box-shadow: 0 8px 18px -10px #059669; }
.tile:nth-child(8n+4) .ico { background: linear-gradient(135deg, #a78bfa, #6d28d9); box-shadow: 0 8px 18px -10px #6d28d9; }
.tile:nth-child(8n+5) .ico { background: linear-gradient(135deg, #fcd34d, #f59e0b); box-shadow: 0 8px 18px -10px #f59e0b; }
.tile:nth-child(8n+6) .ico { background: linear-gradient(135deg, #38bdf8, #0284c7); box-shadow: 0 8px 18px -10px #0284c7; }
.tile:nth-child(8n+7) .ico { background: linear-gradient(135deg, #f472b6, #be185d); box-shadow: 0 8px 18px -10px #be185d; }
.tile:nth-child(8n+8) .ico { background: linear-gradient(135deg, #2dd4bf, #0f766e); box-shadow: 0 8px 18px -10px #0f766e; }
.tile.dark .ico { background: rgba(255, 255, 255, .08); color: var(--brass-bright); }
.tile p { color: var(--muted); font-size: .95rem; }
.tile .head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tag { font: 600 .74rem/1 var(--sans); padding: 5px 9px; border-radius: 999px; background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); white-space: nowrap; }
.tag.new { background: color-mix(in srgb, var(--brass-bright) 22%, transparent); color: var(--brass); }
.tile.dark .tag.new { color: var(--brass-bright); }
@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile, .tile.wide { grid-column: span 1; } .tile.xl { grid-column: span 2; } }
@media (max-width: 640px) { .bento { grid-template-columns: minmax(0, 1fr); } .tile.xl { grid-column: span 1; } }

/* Small illustrations inside tiles */
.demo { margin-top: 6px; border-radius: 16px; background: var(--sunk); border: 1px solid var(--card-line); padding: 14px; display: grid; gap: 10px; font-size: .85rem; }
.tile.dark .demo { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .1); }
.demo .row { display: flex; gap: 10px; align-items: flex-start; justify-content: space-between; }
.demo .row b { display: block; }
.demo q { display: block; font-family: var(--serif); font-style: italic; color: var(--muted); font-size: .86rem; }
.tile.dark .demo q { color: rgba(245, 243, 255, .72); }
.demo .pillrow { display: flex; flex-wrap: wrap; gap: 6px; }
.convert { display: flex; align-items: center; justify-content: space-between; gap: 10px; font: 650 1.35rem/1 var(--serif); }
.convert .to { color: var(--brass); }
.convert .arrow { font-family: var(--sans); color: var(--muted); font-size: 1rem; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 74px; }
.bars i { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--navy), color-mix(in srgb, var(--navy) 55%, transparent)); }
.bars i:first-child { background: linear-gradient(180deg, var(--brass-bright), var(--brass-mid)); }
.bars .h1 { height: 30%; } .bars .h2 { height: 55%; } .bars .h3 { height: 80%; } .bars .h4 { height: 45%; }
.bars .h5 { height: 95%; } .bars .h6 { height: 60%; } .bars .h7 { height: 38%; } .bars .h8 { height: 70%; }

.pill { display: inline-flex; align-items: center; gap: 5px; font: 600 0.72rem/1 var(--sans); padding: 5px 9px; border-radius: 999px; background: var(--brass-soft); color: var(--brass); white-space: nowrap; }
.pill.ok { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.pill.warn { background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--warn); }

/* Everywhere: web + Android */
.parity { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .parity { grid-template-columns: minmax(0, 1fr); } }
.get-card { position: relative; border: 1px solid var(--card-line); border-radius: var(--radius-l); padding: 28px; background: var(--card); display: grid; gap: 12px; align-content: start; box-shadow: var(--shadow-s); }
.get-card ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; color: var(--muted); font-size: .95rem; }
.get-card li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.get-card li svg { margin-top: 4px; color: var(--ok); }
.get-card .btn { justify-self: start; margin-top: 6px; }
.status { display: inline-flex; align-items: center; gap: 8px; font: 700 0.7rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent); }
.status.soon { color: var(--warn); }
.status.live { color: var(--ok); }
.callout-line { margin-top: 18px; display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); background: var(--brass-soft); color: var(--ink); }
.callout-line svg { flex: none; margin-top: 2px; color: var(--brass); }

/* Trust (dark band) */
.trust { position: relative; isolation: isolate; color: #ecebfa;
         background: radial-gradient(50% 60% at 100% 0%, rgba(219, 39, 119, .18), transparent 60%), linear-gradient(170deg, #1e1b4b 0%, #2e1065 60%, #3b0764 100%); }
.trust .eyebrow { color: var(--brass-bright); }
.trust h2 { color: #fff; }
.trust .lede { color: #c9c5ee; }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1000px) { .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .trust-grid { grid-template-columns: minmax(0, 1fr); } }
.trust-item { padding: 22px; border-radius: var(--radius-l); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); display: grid; gap: 8px; align-content: start; }
.trust-item .ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(251, 191, 36, .14); color: var(--brass-bright); }
.trust-item h3 { color: #fff; font-size: 1.08rem; }
.trust-item p { color: #c9c5ee; font-size: .92rem; }
.trust a { color: var(--brass-bright); }

/* Pricing */
.toggle { display: inline-flex; border: 1px solid var(--rule); border-radius: 999px; padding: 4px; background: var(--surface); gap: 4px; box-shadow: var(--shadow-s); }
.toggle button { border: 0; background: none; padding: 10px 18px; border-radius: 999px; font: 600 var(--step--1) var(--sans); color: var(--muted); cursor: pointer; }
.toggle button[aria-pressed="true"] { background: var(--btn-bg); color: var(--btn-fg); }
.toggle .save { color: var(--ok); font-weight: 700; }
.toggle button[aria-pressed="true"] .save { color: var(--brass-bright); }
.launch { margin-top: 18px; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius); background: var(--brass-soft); color: var(--ink); max-width: 760px; }
.launch svg { flex: none; margin-top: 2px; color: var(--brass); }
.launch p { margin: 0; }
.launch p + p { margin-top: 6px; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 30px; align-items: stretch; }
@media (max-width: 1080px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .plans { grid-template-columns: minmax(0, 1fr); } }
.plan { position: relative; background: var(--card); border: 1px solid var(--card-line); border-radius: var(--radius-l); padding: 26px 22px 22px;
        display: grid; gap: 14px; grid-template-rows: auto auto auto auto 1fr auto; box-shadow: var(--shadow-s); transition: transform .25s, box-shadow .25s; }
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
.plan.featured { background: linear-gradient(var(--card), var(--card)) padding-box, linear-gradient(140deg, #4f46e5, #7c3aed 55%, #db2777) border-box;
                 border: 2px solid transparent; box-shadow: var(--shadow-m); }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.plan h3 { font-size: var(--step-2); }
.plan .who { color: var(--muted); font-size: var(--step--1); min-height: 2.8em; }
.price { font: 650 2.5rem/1 var(--serif); font-variant-numeric: tabular-nums lining-nums; letter-spacing: -0.02em; }
.price small { font: 400 var(--step--1) var(--sans); color: var(--muted); margin-left: 4px; letter-spacing: 0; }
.price-note { font-size: 0.8rem; color: var(--muted); min-height: 1.3em; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 0.93rem; align-content: start; }
.plan li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; }
.plan li svg { margin-top: 4px; color: var(--ok); }
.plan li.no { color: var(--muted); }
.plan li.no svg { color: var(--muted); }
.plan .plan-cta { justify-self: stretch; margin-top: 6px; }
.fine { margin-top: 20px; font-size: var(--step--1); color: var(--muted); max-width: 80ch; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq.center { margin-inline: auto; }
.faq details { border: 1px solid var(--card-line); border-radius: var(--radius); background: var(--card); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: color-mix(in srgb, var(--brass-mid) 50%, var(--card-line)); box-shadow: var(--shadow-s); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; position: relative; font: 600 1.08rem/1.35 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
                      border-right: 2px solid var(--brass-mid); border-bottom: 2px solid var(--brass-mid); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 20px 18px; color: var(--muted); max-width: 70ch; }

/* Final call to action */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: clamp(32px, 6vw, 64px); color: #fff; text-align: center; display: grid; gap: 16px; justify-items: center;
            background: radial-gradient(60% 90% at 50% 0%, rgba(251, 191, 36, .28), transparent 60%), linear-gradient(135deg, #4f46e5 0%, #7c3aed 55%, #db2777 100%); box-shadow: var(--shadow-l); }
.cta-band h2 { color: #fff; max-width: 22ch; }
.cta-band p { color: rgba(245, 243, 255, .8); max-width: 56ch; }
.cta-band .hero-actions { justify-content: center; margin-top: 8px; }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); background: var(--surface); padding-block: 48px 28px; font-size: var(--step--1); color: var(--muted); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.site-footer h4 { margin: 0 0 12px; font: 700 0.72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.foot-base { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.foot-tag { margin-top: 12px; max-width: 34ch; }

/* Legal / document pages */
.doc { padding-block: clamp(36px, 6vw, 64px) 80px; }
.doc-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
@media (max-width: 860px) { .doc-grid { grid-template-columns: minmax(0, 1fr); } .toc { display: none; } }
.toc { position: sticky; top: 92px; font-size: var(--step--1); padding: 18px; border-radius: var(--radius-l); background: var(--card); border: 1px solid var(--card-line); }
.toc ol { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 7px; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--ink); }
.doc article { max-width: 72ch; min-width: 0; }
.doc h1 { font-size: var(--step-3); }
.doc .meta { margin-top: 10px; color: var(--muted); font-size: var(--step--1); }
.doc h2 { font-size: var(--step-2); margin: 44px 0 12px; padding-top: 18px; border-top: 1px solid var(--rule); }
.doc p, .doc li { color: var(--ink); }
.doc p + p { margin-top: 12px; }
.doc ul, .doc ol.plain { margin: 12px 0; padding-left: 22px; display: grid; gap: 8px; }
.doc .callout { margin: 20px 0; padding: 16px 18px; border-left: 3px solid var(--brass-mid); background: var(--brass-soft); border-radius: 0 var(--radius) var(--radius) 0; }
.doc .steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 14px; margin: 16px 0; }
.doc .steps li { counter-increment: step; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; }
.doc .steps li::before { content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 11px; background: linear-gradient(135deg, #4f46e5, #7c3aed); color: #fff; font: 650 0.9rem/1 var(--serif); }
.doc dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 20px; margin: 16px 0; }
.doc dt { font-weight: 600; }
.doc dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 520px) { .doc dl { grid-template-columns: minmax(0, 1fr); } .doc dd { margin-bottom: 8px; } }
mark.todo { background: var(--mark); color: var(--ink); padding: 0 3px; border-radius: 3px; }
.back { display: inline-flex; gap: 6px; align-items: center; font-size: var(--step--1); font-weight: 600; text-decoration: none; margin-bottom: 18px; }
.doc-narrow { max-width: 72ch; }
.doc-narrow .btn { margin-top: 12px; }

/* Reveal on scroll (only when JavaScript runs; content is visible without it) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .06s; }
.js .reveal.d2 { transition-delay: .12s; }
.js .reveal.d3 { transition-delay: .18s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .phone, .float-card { transform: none; }
}
@media print {
  .site-header, .hero::before, .device, .menu-btn { display: none; }
  .hero { color: #000; background: none; padding: 0; }
  .hero h1, .hero .lede { color: #000; }
}

/* join.html */
.invite-code{font-size:1.8rem;font-weight:700;letter-spacing:.12em;margin:.2em 0}
