/* Self-hosted variable fonts (SIL OFL), latin subset. Paths are relative to this file. */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/assets/fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/assets/fonts/fraunces-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Lantore design tokens - shared by the marketing site and the portal.
   Warm amber on deep navy; calm, parent-first. Light + dark via prefers-color-scheme,
   overridable with [data-theme="light|dark"] on <html>. */

:root {
  color-scheme: light;

  /* brand */
  --navy-950: #070e21;
  --navy-900: #0b1530;
  --navy-800: #12203f;
  --navy-700: #1b2c52;
  --amber-300: #f9cd7e;
  --amber-400: #f6b955;
  --amber-500: #f2a33a;
  --amber-600: #d98a1c;

  /* surfaces */
  --bg: #fbf8f2;
  --bg-elev: #ffffff;
  --surface: #ffffff;
  --surface-2: #f5f0e6;
  --surface-3: #ece5d6;
  --border: #e3dccd;
  --border-strong: #cfc6b3;

  /* text */
  --text: #14203d;
  --text-muted: #4b5878;
  --text-faint: #5a6684;
  --on-accent: #14203d;

  /* accent */
  --accent: #f2a33a;
  --accent-hover: #f6b34f;
  --accent-text: #8f5200; /* amber for text on light surfaces (>= 5:1) */
  --accent-soft: #fdf0d6;
  --focus: #1f5fd6;

  /* hero / always-dark band */
  --band-bg: #0b1530;
  --band-text: #eef1f8;
  --band-muted: #b4bfd9;

  /* semantic */
  --ok-bg: #e0f1e5;
  --ok-fg: #1a6338;
  --warn-bg: #fcefd0;
  --warn-fg: #7a4b00;
  --danger: #b3263f;
  --danger-bg: #fbe3e7;
  --danger-fg: #8c1b33;
  --info-bg: #e6edf9;
  --info-fg: #2b4a82;

  /* severity (always paired with a text label) */
  --sev1-bg: #e6edf9;
  --sev1-fg: #2b4a82;
  --sev1-bd: #c3d2ee;
  --sev2-bg: #fcefd0;
  --sev2-fg: #744700;
  --sev2-bd: #f1d38d;
  --sev3-bg: #fbe0d0;
  --sev3-fg: #84300b;
  --sev3-bd: #f2b99c;
  --sev4-bg: #f9d7dd;
  --sev4-fg: #86182f;
  --sev4-bd: #eba4b2;

  --shadow-sm: 0 1px 2px rgb(20 32 61 / 6%), 0 1px 1px rgb(20 32 61 / 4%);
  --shadow-md: 0 6px 20px rgb(20 32 61 / 8%), 0 2px 6px rgb(20 32 61 / 5%);
  --shadow-lg: 0 18px 50px rgb(20 32 61 / 14%);

  /* shape + rhythm */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 72px;
  --s-9: 112px;

  /* type */
  --font-body: 'Inter Variable', Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Fraunces Variable', Fraunces, 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --font-mono: ui-monospace, 'SF Mono', 'Cascadia Mono', Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    color-scheme: dark;
    --bg: #0a1226;
    --bg-elev: #111c38;
    --surface: #111c38;
    --surface-2: #17264a;
    --surface-3: #1e2f58;
    --border: #25365c;
    --border-strong: #35487a;
    --text: #eef1f8;
    --text-muted: #aab5d0;
    --text-faint: #8a97b8;
    --accent-text: #f7bf66;
    --accent-soft: #2b2412;
    --focus: #8db4ff;
    --ok-bg: #123221;
    --ok-fg: #8fd7a8;
    --warn-bg: #3a2c10;
    --warn-fg: #f5c877;
    --danger: #f28a9c;
    --danger-bg: #4a1522;
    --danger-fg: #f7a5b5;
    --info-bg: #182a52;
    --info-fg: #b3c7ef;
    --sev1-bg: #182a52;
    --sev1-fg: #b3c7ef;
    --sev1-bd: #2d447c;
    --sev2-bg: #3a2c10;
    --sev2-fg: #f5c877;
    --sev2-bd: #6a501a;
    --sev3-bg: #47210f;
    --sev3-fg: #f6b08b;
    --sev3-bd: #7d3b1b;
    --sev4-bg: #4a1522;
    --sev4-fg: #f7a5b5;
    --sev4-bd: #7d2b3e;
    --shadow-sm: 0 1px 2px rgb(0 0 0 / 30%);
    --shadow-md: 0 8px 24px rgb(0 0 0 / 35%);
    --shadow-lg: 0 20px 60px rgb(0 0 0 / 50%);
  }
}

:root[data-theme='dark'] {
  color-scheme: dark;
  --bg: #0a1226;
  --bg-elev: #111c38;
  --surface: #111c38;
  --surface-2: #17264a;
  --surface-3: #1e2f58;
  --border: #25365c;
  --border-strong: #35487a;
  --text: #eef1f8;
  --text-muted: #aab5d0;
  --text-faint: #8a97b8;
  --accent-text: #f7bf66;
  --accent-soft: #2b2412;
  --focus: #8db4ff;
  --ok-bg: #123221;
  --ok-fg: #8fd7a8;
  --warn-bg: #3a2c10;
  --warn-fg: #f5c877;
  --danger: #f28a9c;
  --danger-bg: #4a1522;
  --danger-fg: #f7a5b5;
  --info-bg: #182a52;
  --info-fg: #b3c7ef;
  --sev1-bg: #182a52;
  --sev1-fg: #b3c7ef;
  --sev1-bd: #2d447c;
  --sev2-bg: #3a2c10;
  --sev2-fg: #f5c877;
  --sev2-bd: #6a501a;
  --sev3-bg: #47210f;
  --sev3-fg: #f6b08b;
  --sev3-bd: #7d3b1b;
  --sev4-bg: #4a1522;
  --sev4-fg: #f7a5b5;
  --sev4-bd: #7d2b3e;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 30%);
  --shadow-md: 0 8px 24px rgb(0 0 0 / 35%);
  --shadow-lg: 0 20px 60px rgb(0 0 0 / 50%);
}

/* Lantore marketing site. Mobile-first. Tokens come from shared/tokens.css (prepended at build). */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; line-height: 1.15; color: var(--text); letter-spacing: -0.015em; }
h1, h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 1.4rem + 3.6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem); }
h3 { font-size: 1.15rem; font-weight: 650; line-height: 1.3; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
ul, ol { margin: 0; padding: 0; }
table { border-collapse: collapse; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
.skip-link { position: absolute; left: 12px; top: -64px; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 200; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow-wrap { max-width: 800px; }
.muted { color: var(--text-muted); }
.mt { margin-top: 48px; }
.fine { font-size: 0.875rem; color: var(--text-muted); }
.ic { flex: none; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--navy-800); }
:root[data-theme='dark'] .brand { color: #f4efe3; }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .brand { color: #f4efe3; } }
.brand-word { font-family: var(--font-display); font-weight: 650; font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1; color: var(--text); }
.site-nav ul { list-style: none; display: flex; gap: 4px; }
.site-nav a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--text-muted); font-weight: 550; font-size: 0.95rem; text-decoration: none; }
.site-nav a:hover { background: var(--surface-2); color: var(--text); }
.site-nav a[aria-current='page'] { color: var(--text); background: var(--accent-soft); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 0; background: transparent; color: var(--text-muted); cursor: pointer; }
.icon-btn:hover { background: var(--surface-2); color: var(--text); }
.menu-btn { display: none; }
@media (max-width: 880px) {
  .hide-sm { display: none; }
  .js .menu-btn { display: grid; }
  .site-nav { display: block; width: 100%; order: 5; flex-basis: 100%; }
  .site-nav ul { flex-wrap: wrap; padding: 0 0 12px; }
  .header-in { flex-wrap: wrap; padding-top: 8px; }
  .js .header-in { flex-wrap: nowrap; padding-top: 0; }
  .js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); padding: 8px 20px 16px; }
  .js .site-nav.open { display: block; }
  .js .site-nav ul { flex-direction: column; padding: 0; }
  .js .site-nav a { padding: 14px 12px; font-size: 1.05rem; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 13px; border: 1.5px solid transparent; font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .05s; text-align: center; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-sm-pad { padding: 0 16px; min-height: 42px; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 1.05rem; border-radius: 15px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 2px 10px rgb(242 163 58 / 30%); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { background: var(--surface-2); }
.btn-ghost { background: transparent; color: var(--text-muted); }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgb(255 255 255 / 40%); }
.btn-outline-light:hover { background: rgb(255 255 255 / 10%); border-color: rgb(255 255 255 / 70%); }

/* ---------- typography bits ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 14px; }
.eyebrow-light { color: var(--amber-300); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--amber-400); box-shadow: 0 0 0 0 rgb(246 185 85 / 60%); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgb(246 185 85 / 0%); } 100% { box-shadow: 0 0 0 0 rgb(246 185 85 / 0%); } }
.lead { font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem); color: var(--text-muted); line-height: 1.55; max-width: 62ch; }

/* ---------- hero ---------- */
.hero { background: radial-gradient(900px 500px at 78% 30%, rgb(242 163 58 / 20%), transparent 65%), radial-gradient(700px 400px at 5% 100%, rgb(60 90 170 / 25%), transparent 70%), var(--band-bg); color: var(--band-text); overflow: hidden; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: italic; color: var(--amber-300); font-weight: 500; }
.hero .lead { color: var(--band-muted); margin: 22px 0 30px; }
.hero-in { display: grid; gap: 40px; padding-top: 56px; padding-bottom: 64px; align-items: center; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; color: var(--band-muted); font-size: .95rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .ic { color: var(--amber-400); }
.hero-art { position: relative; display: grid; justify-items: center; min-height: 360px; }
.hero-art .glow { position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgb(246 185 85 / 38%), transparent 68%); top: -30px; left: 50%; transform: translateX(-50%); filter: blur(10px); }
.lantern-big { width: 150px; height: 150px; position: relative; filter: drop-shadow(0 0 30px rgb(246 185 85 / 55%)); }
.alert-mock { position: relative; margin-top: -8px; width: min(100%, 380px); background: var(--surface); color: var(--text); border-radius: 18px; padding: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); border-left: 5px solid #e2b24a; }
.am-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.am-chip { background: var(--sev2-bg); color: var(--sev2-fg); border: 1px solid var(--sev2-bd); font-weight: 700; font-size: .75rem; padding: 2px 10px; border-radius: 999px; }
.am-time { font-size: .78rem; color: var(--text-muted); }
.am-title { font-weight: 700; font-size: 1.05rem; line-height: 1.3; margin-bottom: 6px; }
.am-text { font-size: .9rem; color: var(--text-muted); }
.am-guide { display: flex; gap: 10px; background: var(--surface-2); border-radius: 12px; padding: 10px 12px; font-size: .88rem; margin: 12px 0; }
.am-guide .ic { color: var(--accent-text); margin-top: 2px; }
.am-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.am-shot { aspect-ratio: 16/9; border-radius: 8px; background: linear-gradient(135deg, #2b3f73, #7d5aa6, #e0904f); filter: saturate(.8); display: grid; place-items: center; color: #fff; font-size: .72rem; font-weight: 650; position: relative; overflow: hidden; }
.am-shot::before { content: ''; position: absolute; inset: 0; backdrop-filter: blur(8px); background: rgb(7 14 33 / 35%); }
.am-shot i { position: relative; display: block; text-align: center; font-style: normal; }
.am-shot { gap: 2px; }
@media (min-width: 960px) {
  .hero-in { grid-template-columns: 1.1fr .9fr; padding-top: 88px; padding-bottom: 96px; gap: 56px; }
}

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section.tight { padding: 40px 0 72px; }
.section-tint { background: var(--surface-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 760px; margin: 0 0 40px; }
.section-head .lead { margin-top: 16px; }
@media (min-width: 960px) { .section { padding: 104px 0; } .section.tight { padding: 56px 0 96px; } }

.page-hero { padding: 56px 0 32px; background: radial-gradient(800px 260px at 70% 0%, color-mix(in srgb, var(--amber-500) 14%, transparent), transparent 70%); }
.page-hero h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.2rem); max-width: 22ch; }
.page-hero .lead { margin-top: 20px; }
@media (min-width: 960px) { .page-hero { padding: 88px 0 40px; } }

.pillars { display: grid; gap: 16px; grid-template-columns: 1fr; }
.pillar { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.pillar-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); margin-bottom: 18px; }
.pillar h3 { margin-bottom: 8px; }
.pillar p { color: var(--text-muted); font-size: 1rem; }
@media (min-width: 720px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pillars { grid-template-columns: repeat(4, 1fr); } }

.split { display: grid; gap: 40px; align-items: center; }
.split-copy h2 { margin-bottom: 18px; }
.split-copy .lead { margin-bottom: 24px; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } .split-rev .split-art { order: -1; } }

.tick-list { list-style: none; display: grid; gap: 14px; }
.tick-list li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.tick-list .ic { color: #1a6338; margin-top: 4px; background: var(--ok-bg); border-radius: 50%; padding: 3px; width: 24px; height: 24px; }
:root[data-theme='dark'] .tick-list .ic { color: #8fd7a8; }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .tick-list .ic { color: #8fd7a8; } }
.tick-list.compact { gap: 10px; font-size: 1rem; margin: 20px 0 26px; }
.muted-list { color: var(--text-muted); }

.evidence-mock { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 20px; box-shadow: var(--shadow-md); max-width: 460px; margin: 0 auto; }
.em-head { display: grid; gap: 8px; margin-bottom: 14px; }
.em-sev { justify-self: start; background: var(--sev2-bg); color: var(--sev2-fg); border: 1px solid var(--sev2-bd); font-size: .75rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; }
.em-lines p { background: var(--surface-2); border-radius: 10px; padding: 9px 12px; font-size: .92rem; margin: 0 0 6px; }
.em-lines b { color: var(--text-muted); font-size: .78rem; margin-right: 8px; }
.em-lines .hl { background: var(--sev2-bg); color: var(--sev2-fg); box-shadow: inset 4px 0 0 #d9992c; }
.em-lines .hl span { background: var(--sev2-fg); color: var(--sev2-bg); font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 1px 7px; border-radius: 999px; margin-right: 8px; }
.em-lines .hl b { color: inherit; }
.em-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 8px; }
.blur { aspect-ratio: 16/9; border-radius: 8px; filter: blur(7px); }
.b1 { background: linear-gradient(135deg, #6aa7e8, #4f9d57); } .b2 { background: linear-gradient(135deg, #2b1f4d, #ff8f5a); } .b3 { background: linear-gradient(135deg, #17324d, #7be0c3); }
.em-foot { font-size: .82rem; color: var(--text-muted); }

.steps { list-style: none; display: grid; gap: 16px; counter-reset: s; }
.steps li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; }
.step-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 800; margin-bottom: 14px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--text-muted); }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.center-link { text-align: center; margin-top: 36px; }
.center-link .btn { gap: 10px; }

.child-mock { background: #1b2740; color: #e8ecf6; border-radius: 16px; padding: 22px; max-width: 400px; margin: 0 auto; box-shadow: var(--shadow-lg); border: 1px solid #2d3d63; }
.cm-bar { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid #2d3d63; margin-bottom: 14px; }
.cm-dot { width: 12px; height: 12px; border-radius: 50%; background: #f6b955; box-shadow: 0 0 12px #f6b955; }
.cm-t { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: #aab5d0; margin: 14px 0 8px; font-weight: 700; }
.child-mock ul { list-style: none; display: grid; gap: 8px; font-size: .95rem; }
.child-mock li { display: flex; align-items: center; gap: 10px; }
.child-mock li i { width: 10px; height: 10px; border-radius: 50%; background: #7be0a0; }
.child-mock li i.off { background: #6b7694; }
.cm-s { font-size: .92rem; margin: 0; }

.cols-2 { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .cols-2 { grid-template-columns: 1fr 1fr; } }
.card-plain { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.card-plain h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 1.2rem; }
.card-plain-muted { background: var(--surface-2); }
.list { list-style: none; display: grid; gap: 10px; }
.list li { position: relative; padding-left: 22px; }
.list li::before { content: ''; position: absolute; left: 2px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.list li a { font-weight: 600; }

.tiers { display: grid; gap: 14px; grid-template-columns: 1fr; }
.tier { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 22px; border-top: 4px solid var(--accent); }
.tier h3 { margin-bottom: 6px; font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; }
.tier p { color: var(--text-muted); font-size: .98rem; }
@media (min-width: 640px) { .tiers { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tiers { grid-template-columns: repeat(4, 1fr); } }

.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 0 22px; }
.faq summary { cursor: pointer; padding: 20px 28px 20px 0; font-weight: 650; font-size: 1.08rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 4px; top: 50%; width: 9px; height: 9px; border-right: 2.5px solid var(--text-muted); border-bottom: 2.5px solid var(--text-muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 0 22px; color: var(--text-muted); }

.cta-band { background: radial-gradient(700px 300px at 85% 0%, rgb(242 163 58 / 22%), transparent 70%), var(--band-bg); color: var(--band-text); padding: 64px 0; }
.cta-band h2 { color: #fff; max-width: 20ch; }
.cta-band p { color: var(--band-muted); margin-top: 12px; max-width: 52ch; }
.cta-in { display: grid; gap: 28px; align-items: center; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 960px) { .cta-in { grid-template-columns: 1.2fr 1fr; } .cta-actions { justify-content: flex-end; } }

/* ---------- content pages ---------- */
.prose { max-width: 740px; }
.prose h2 { margin: 0 0 20px; }
.prose h3 { margin: 32px 0 8px; font-size: 1.25rem; }
.prose p, .prose li { color: var(--text-muted); }
.prose p { margin-bottom: 1em; }
.prose strong { color: var(--text); }
.prose .list { margin-bottom: 1em; }
.callouts { display: grid; gap: 12px; }
.callout { background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); border-radius: 16px; padding: 18px 22px; }

.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.table { width: 100%; min-width: 620px; font-size: .98rem; }
.table th, .table td { text-align: left; padding: 14px 18px; vertical-align: top; border-bottom: 1px solid var(--border); }
.table thead th { background: var(--surface-2); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }
.table tbody tr:last-child > * { border-bottom: 0; }
.table tbody th { font-weight: 650; width: 34%; }
.table-retention tbody th { width: 46%; }
.table .plain { display: block; font-weight: 400; color: var(--text-muted); font-size: .9rem; margin-top: 4px; }
.tag { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.tag-beta { background: var(--warn-bg); color: var(--warn-fg); }
.tag-opt { background: var(--info-bg); color: var(--info-fg); }
.tag-no { background: var(--surface-3); color: var(--text-muted); }

.cats { display: grid; gap: 14px; grid-template-columns: 1fr; }
.cat { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 20px 22px; }
.cat h3 { margin-bottom: 6px; }
.cat p { color: var(--text-muted); font-size: .98rem; }
@media (min-width: 700px) { .cats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cats { grid-template-columns: repeat(3, 1fr); } }
.sevs { display: grid; gap: 14px; grid-template-columns: 1fr; }
.sev { border-radius: 18px; padding: 22px; border: 1px solid var(--bd); background: var(--bg-c); color: var(--fg-c); }
.sev h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; color: inherit; }
.sev h3 i { width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.sev p { font-size: .98rem; color: inherit; opacity: .92; }
.sev-1 { --bg-c: var(--sev1-bg); --fg-c: var(--sev1-fg); --bd: var(--sev1-bd); }
.sev-2 { --bg-c: var(--sev2-bg); --fg-c: var(--sev2-fg); --bd: var(--sev2-bd); }
.sev-3 { --bg-c: var(--sev3-bg); --fg-c: var(--sev3-fg); --bd: var(--sev3-bd); }
.sev-4 { --bg-c: var(--sev4-bg); --fg-c: var(--sev4-fg); --bd: var(--sev4-bd); }
@media (min-width: 700px) { .sevs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .sevs { grid-template-columns: repeat(4, 1fr); } }

.plans { display: grid; gap: 20px; grid-template-columns: 1fr; max-width: 880px; margin: 0 auto; }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 32px; display: grid; align-content: start; }
.plan-now { border: 2px solid var(--accent); box-shadow: var(--shadow-md); }
.plan h2 { font-size: 2rem; }
.plan-tag { justify-self: start; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--accent); color: var(--on-accent); padding: 3px 12px; border-radius: 999px; margin-bottom: 14px; }
.plan-tag-soon { background: var(--surface-3); color: var(--text-muted); }
.plan-price { font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; margin: 8px 0 0; line-height: 1.1; }
.plan-price .muted { font-family: var(--font-body); font-size: 1.15rem; font-weight: 500; }
.plan .btn { margin-bottom: 12px; }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; } }
.promises { display: grid; gap: 14px; grid-template-columns: 1fr; }
.promises article { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 22px; }
.promises h3 { margin-bottom: 6px; }
.promises p { color: var(--text-muted); font-size: .98rem; }
@media (min-width: 700px) { .promises { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .promises { grid-template-columns: repeat(4, 1fr); } }

.dl-hero { margin-top: 30px; display: grid; gap: 12px; justify-items: start; }
.dl-meta { color: var(--text-muted); font-size: .95rem; margin: 0; }
.big-steps { list-style: none; display: grid; gap: 14px; counter-reset: b; }
.big-steps li { counter-increment: b; position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 24px 24px 24px 76px; }
.big-steps li::before { content: counter(b); position: absolute; left: 22px; top: 22px; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 800; display: grid; place-items: center; }
.big-steps h2 { font-family: var(--font-body); font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.01em; }
.big-steps p { color: var(--text-muted); }
.checksum { font-family: var(--font-mono); font-size: .8rem; word-break: break-all; background: var(--surface-2); padding: 10px 12px; border-radius: 10px; margin-top: 12px; }

.contact-grid { display: grid; gap: 32px; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1.4fr 1fr; } }
.card-form { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 28px; display: grid; gap: 18px; box-shadow: var(--shadow-sm); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 650; font-size: .95rem; }
.field input, .field textarea { width: 100%; padding: 12px 14px; min-height: 48px; background: var(--bg-elev); border: 1px solid var(--border-strong); border-radius: 12px; }
.field textarea { resize: vertical; }
.hint { font-size: .85rem; color: var(--text-muted); margin: 0; }
.form-msg { min-height: 1.4em; margin: 0; font-weight: 600; }
.form-msg.ok { color: var(--ok-fg); } .form-msg.err { color: var(--danger-fg); }
.contact-side h2 { font-size: 1.5rem; margin-bottom: 14px; }

.center-text { text-align: center; margin-top: 12px; }
.example-alert { display: grid; gap: 10px; max-width: 420px; margin: 24px 0; }
.example-alert .alert-mock, .split-art .alert-mock { width: 100%; max-width: 420px; margin: 0 auto; }
.looks-for { gap: 14px; }
.looks-for li { color: var(--text-muted); }
.looks-for li strong { color: var(--text); }
.prose .example-alert .fine { margin: 0; }

/* ---------- diagram ---------- */
.diagram-fig { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 20px 12px 16px; box-shadow: var(--shadow-sm); }
.diagram { width: 100%; height: auto; }
.diagram-stacked { display: block; max-width: 420px; margin: 0 auto; }
.diagram-wide { display: none; }
@media (min-width: 900px) { .diagram-wide { display: block; } .diagram-stacked { display: none; } .diagram-fig { padding: 28px 24px 20px; } }
.diagram-fig figcaption { text-align: center; color: var(--text-muted); font-size: .92rem; margin-top: 12px; padding: 0 12px; }
.dg-zone { fill: var(--surface-2); stroke: var(--border-strong); stroke-width: 1.5; }
.dg-zone-pc { fill: var(--accent-soft); stroke: color-mix(in srgb, var(--accent) 55%, transparent); }
.dg-zone-t { fill: var(--text); font-family: var(--font-display); font-weight: 650; }
.dg-zone-s { fill: var(--text-muted); font-family: var(--font-body); }
.dg-node { fill: var(--surface); stroke: var(--border-strong); stroke-width: 1.2; }
.dg-ok { fill: var(--ok-bg); stroke: transparent; }
.dg-flag { fill: var(--sev2-bg); stroke: var(--sev2-bd); }
.dg-store { fill: var(--info-bg); stroke: transparent; }
.dg-num { fill: var(--accent); }
.dg-num-t { fill: #14203d; font-family: var(--font-body); font-weight: 800; }
.dg-title { fill: var(--text); font-family: var(--font-body); font-weight: 700; }
.dg-sub { fill: var(--text-muted); font-family: var(--font-body); }
.dg-ok + .dg-title, .dg-ok ~ .dg-sub { }
.dg-label { fill: var(--text-muted); font-family: var(--font-body); font-weight: 600; }
.dg-arrow { fill: none; stroke: var(--text-muted); stroke-width: 2; }
.dg-arrow-big { stroke: var(--accent-text); stroke-width: 3; }
.dg-dashed { stroke-dasharray: 7 7; stroke: var(--text-faint); }
.dg-head { fill: var(--text-muted); }

/* ---------- legal pages ---------- */
.draft-banner { font-size: .9rem; color: var(--text-muted); background: var(--surface-2); border: 1px dashed var(--border-strong); border-radius: 12px; padding: 10px 14px; margin-bottom: 24px; }
.draft-banner strong { color: var(--text); }
.toc { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 18px 22px; margin-bottom: 32px; }
.toc h2 { font-family: var(--font-body); font-size: .8rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px; }
.toc ol { list-style: none; display: grid; gap: 4px 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .toc ol { grid-template-columns: 1fr 1fr; } }
.toc a { display: inline-block; padding: 4px 0; text-decoration: none; font-weight: 550; }
.toc a:hover { text-decoration: underline; }
.legal h2 { margin: 40px 0 14px; scroll-margin-top: 90px; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.legal h2:first-child { margin-top: 0; }
.legal h3 { scroll-margin-top: 90px; }
.legal ul, .legal ol { margin: 0 0 1em; padding-left: 1.3em; display: grid; gap: 6px; }
.legal .table-scroll { margin: 16px 0 24px; }
.legal .table th, .legal .table td { font-size: .92rem; }
.legal .table tbody th { width: auto; font-weight: 650; }
.legal code, .doc-meta code { font-family: var(--font-mono); font-size: .85em; background: var(--surface-2); padding: 1px 6px; border-radius: 6px; }
.doc-meta { margin-top: 40px; }
.band-nav ol { grid-template-columns: 1fr; }
.region-check { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 22px; display: grid; gap: 14px; margin-top: 16px; }
.region-yours { margin: 0; font-weight: 600; }
.region-result { min-height: 1.5em; }
.region-check select { width: 100%; padding: 12px 14px; min-height: 48px; background: var(--bg-elev); border: 1px solid var(--border-strong); border-radius: 12px; }

/* ---------- footer ---------- */
.site-footer { background: var(--surface-2); border-top: 1px solid var(--border); padding: 56px 0 40px; }
.foot-grid { display: grid; gap: 28px 32px; grid-template-columns: 1fr 1fr; }
.foot-brand { grid-column: 1 / -1; max-width: 420px; }
.foot-brand p { color: var(--text-muted); margin-top: 14px; font-size: .98rem; }
.foot-grid h2 { font-family: var(--font-body); font-size: .8rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px; }
.foot-grid ul { list-style: none; display: grid; gap: 4px; }
.foot-grid a { display: inline-block; padding: 6px 0; color: var(--text); text-decoration: none; font-size: .98rem; }
.foot-grid a:hover { text-decoration: underline; }
.foot-fine { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); font-size: .88rem; color: var(--text-muted); display: grid; gap: 10px; max-width: 860px; }
.foot-fine strong { color: var(--text); }
@media (min-width: 960px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1.1fr 1fr; } .foot-brand { grid-column: auto; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media (max-width: 480px) {
  .header-in { gap: 4px; }
  .header-actions { gap: 2px; }
  .icon-btn { width: 40px; height: 40px; }
  .btn-sm-pad { padding: 0 12px; font-size: .92rem; min-height: 40px; }
  .brand-word { font-size: 1.35rem; }
  .brand svg { width: 26px; height: 26px; }
  .wrap { padding: 0 16px; }
}

.brand svg { flex: none; }
.btn.hide-sm { }
@media (max-width: 880px) { .btn.hide-sm { display: none; } }
.nav-signin { display: none; }
@media (max-width: 880px) { .nav-signin { display: block; } .js .nav-signin { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 6px; } }

.table-scroll + .fine { margin-top: 14px; }

.headline-item { background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); border-radius: 16px; padding: 18px 20px; margin-bottom: 18px; }
.headline-item h3 { font-size: 1.25rem; margin-bottom: 8px; }
.headline-item p { color: var(--text); font-size: 1rem; }
