:root {
  color-scheme: light;
  --ink-950: #0b1020;
  --ink-900: #10172a;
  --ink-850: #151e34;
  --ink-800: #1b2640;
  --ink-700: #31405f;
  --ink-600: #50607d;
  --ink-500: #71809a;
  --paper: #fbfaf7;
  --paper-2: #f4f1eb;
  --paper-3: #ece8e0;
  --white: #ffffff;
  --line: #dedbd4;
  --line-dark: rgba(255,255,255,.14);
  --blue: #607bff;
  --blue-deep: #3f58d7;
  --blue-soft: #e9edff;
  --purple: #8c6ee8;
  --purple-soft: #f0ebff;
  --green: #2f8f73;
  --green-soft: #e4f5ef;
  --gold: #b5812d;
  --gold-soft: #fbf0dc;
  --rose: #b85d7e;
  --rose-soft: #f9e9ef;
  --red: #c9434d;
  --red-deep: #aa303a;
  --red-soft: #fff0f1;
  --shadow-sm: 0 2px 8px rgba(11, 16, 32, .06);
  --shadow-md: 0 16px 42px rgba(11, 16, 32, .10);
  --shadow-lg: 0 30px 90px rgba(4, 8, 20, .22);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 38px;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --shell: min(1180px, calc(100vw - 40px));
  --header-height: 76px;
  --ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink-900);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
img, svg { display: block; }
svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid rgba(96, 123, 255, .55); outline-offset: 3px; }
::selection { background: rgba(96, 123, 255, .22); }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link {
  position: fixed;
  z-index: 10000;
  left: 16px;
  top: 12px;
  transform: translateY(-140%);
  background: var(--white);
  border: 2px solid var(--blue);
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 800;
  transition: transform .2s;
}
.skip-link:focus { transform: translateY(0); }
.shell { width: var(--shell); margin-inline: auto; }

h1, h2, h3, p, blockquote { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 {
  font-family: var(--serif);
  letter-spacing: -.035em;
  line-height: 1.02;
}
h1 { font-size: clamp(3.1rem, 7vw, 6.45rem); font-weight: 600; }
h2 { font-size: clamp(2.25rem, 4.5vw, 4.15rem); font-weight: 600; }
h3 { line-height: 1.18; }
p { text-wrap: pretty; }

.app-view { min-height: 80vh; animation: viewIn .35s var(--ease) both; }
.app-view[hidden] { display: none; }
@keyframes viewIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Header */
.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  height: var(--header-height);
  background: rgba(251, 250, 247, .92);
  backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid rgba(16, 23, 42, .08);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex: 0 0 auto; }
.brand-mark { width: 42px; height: 42px; color: var(--blue-deep); fill: none; }
.brand-copy { display: grid; line-height: 1.08; gap: 4px; }
.brand-copy strong { font-family: var(--serif); font-size: 1.14rem; letter-spacing: -.02em; }
.brand-copy span { color: var(--ink-600); font-size: .68rem; font-weight: 750; text-transform: uppercase; letter-spacing: .12em; }
.desktop-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.desktop-nav a { position: relative; text-decoration: none; color: var(--ink-700); font-size: .88rem; font-weight: 720; padding: 10px 11px; border-radius: 10px; transition: color .2s, background .2s; }
.desktop-nav a:hover { color: var(--ink-950); background: rgba(16, 23, 42, .05); }
.desktop-nav a.is-active { color: var(--blue-deep); background: var(--blue-soft); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.quick-exit { color: var(--ink-600); font-size: .78rem; font-weight: 760; text-decoration: underline; text-underline-offset: 3px; }
.quick-exit:hover { color: var(--red-deep); }

/* Buttons */
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 19px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 790;
  font-size: .93rem;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s, background .2s, border-color .2s, color .2s;
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button svg { width: 19px; height: 19px; }
.button.compact { min-height: 40px; padding: 9px 15px; font-size: .82rem; }
.button-primary { background: var(--blue-deep); color: var(--white); box-shadow: 0 8px 18px rgba(63, 88, 215, .22); }
.button-primary:hover { background: #334ac3; box-shadow: 0 10px 24px rgba(63, 88, 215, .28); }
.button-secondary { background: var(--white); color: var(--ink-900); border-color: var(--line); box-shadow: var(--shadow-sm); }
.button-secondary:hover { border-color: #bdc4d1; background: #fff; box-shadow: 0 8px 20px rgba(11,16,32,.09); }
.button-ghost { background: transparent; color: var(--ink-900); border-color: rgba(16,23,42,.25); }
.button-ghost:hover { background: rgba(16,23,42,.05); }
.button-urgent { background: var(--red); color: var(--white); box-shadow: 0 8px 18px rgba(201, 67, 77, .22); }
.button-urgent:hover { background: var(--red-deep); box-shadow: 0 10px 24px rgba(201,67,77,.28); }
.button-danger { background: var(--red); color: white; }
.button-danger-outline { background: transparent; color: var(--red-deep); border-color: rgba(201,67,77,.4); }
.button-danger-outline:hover { background: var(--red-soft); border-color: var(--red); }
.button-link { border: 0; background: none; padding: 0; cursor: pointer; }

/* Shared */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 830; color: rgba(255,255,255,.72); margin-bottom: 22px; }
.eyebrow > span { width: 28px; height: 1px; background: currentColor; }
.eyebrow.dark { color: var(--blue-deep); }
.eyebrow.light { color: #aebcff; }
.section-block { padding-block: 112px; }
.section-heading { margin-bottom: 52px; }
.section-heading h2 { margin-bottom: 20px; }
.section-heading p { color: var(--ink-600); font-size: 1.08rem; line-height: 1.7; }
.split-heading { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 80px; }
.split-heading h2 { margin-bottom: 0; }
.split-heading p { margin-bottom: 6px; }
.centered { max-width: 850px; margin-inline: auto; text-align: center; }
.centered .eyebrow { justify-content: center; }
.step-label { display: block; color: var(--blue-deep); font-size: .72rem; font-weight: 850; text-transform: uppercase; letter-spacing: .15em; margin-bottom: 8px; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal.delay-1 { transition-delay: .08s; }
.reveal.delay-2 { transition-delay: .16s; }
.reveal.delay-3 { transition-delay: .24s; }

/* Hero */
.hero-wrap {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 8%, rgba(96,123,255,.26), transparent 28%),
    linear-gradient(135deg, #10172a 0%, #111a31 48%, #0b1020 100%);
  color: var(--white);
  min-height: calc(100svh - var(--header-height));
  display: grid;
  align-items: center;
}
.hero-wrap::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .25; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, black, transparent 85%); }
.hero-glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(30px); opacity: .6; }
.hero-glow-one { width: 330px; height: 330px; background: rgba(140,110,232,.23); right: 7%; top: 13%; }
.hero-glow-two { width: 260px; height: 260px; background: rgba(184,93,126,.14); right: 28%; bottom: 5%; }
.hero-grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: 70px; align-items: center; padding-block: 80px 96px; }
.hero-copy h1 { max-width: 790px; margin-bottom: 30px; }
.hero-lede { max-width: 690px; color: rgba(255,255,255,.74); font-size: clamp(1.12rem, 2vw, 1.38rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 38px; }
.hero-actions .button-primary { background: var(--white); color: var(--ink-950); box-shadow: 0 12px 28px rgba(0,0,0,.2); }
.hero-actions .button-primary:hover { background: #f5f5f7; }
.hero-actions .button-secondary { background: rgba(255,255,255,.07); color: var(--white); border-color: rgba(255,255,255,.2); box-shadow: none; backdrop-filter: blur(8px); }
.hero-actions .button-secondary:hover { background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.36); }
.trust-row { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 30px; color: rgba(255,255,255,.58); font-size: .8rem; font-weight: 700; }
.trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.trust-row svg { width: 16px; height: 16px; color: #9eb0ff; }
.hero-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-xl);
  background: linear-gradient(155deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  backdrop-filter: blur(16px);
  box-shadow: 0 28px 70px rgba(0,0,0,.25);
}
.hero-card::after { content: ""; position: absolute; width: 180px; height: 180px; right: -80px; top: -70px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; box-shadow: 0 0 0 35px rgba(255,255,255,.025), 0 0 0 70px rgba(255,255,255,.018); }
.hero-card-topline { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.68); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .11em; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #9ce5c9; box-shadow: 0 0 0 5px rgba(156,229,201,.1); }
.hero-card blockquote { position: relative; z-index: 1; margin: 34px 0 28px; font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.35rem); line-height: 1.23; letter-spacing: -.025em; }
.mini-pillars { display: flex; flex-wrap: wrap; gap: 7px; }
.mini-pillars span { padding: 7px 10px; border-radius: 99px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.75); font-size: .72rem; font-weight: 720; }
.memorial-line { display: flex; align-items: center; gap: 13px; margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.72); font-size: .84rem; line-height: 1.35; }
.memorial-line svg { flex: 0 0 auto; width: 26px; height: 26px; color: #e9cf9b; fill: currentColor; stroke: none; }
.memorial-line strong { color: white; }
.memorial-line small { color: rgba(255,255,255,.5); }

/* Home paths */
.start-section { padding-bottom: 128px; }
.path-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.path-card {
  min-height: 126px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  text-align: left;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.path-card:hover { transform: translateY(-3px); border-color: #c4cad5; box-shadow: var(--shadow-md); }
.path-icon { width: 55px; height: 55px; display: grid; place-items: center; border-radius: 16px; color: var(--red); background: var(--red-soft); }
.path-icon svg { width: 27px; height: 27px; }
.path-icon.purple { color: var(--purple); background: var(--purple-soft); }
.path-icon.green { color: var(--green); background: var(--green-soft); }
.path-icon.blue { color: var(--blue-deep); background: var(--blue-soft); }
.path-icon.gold { color: var(--gold); background: var(--gold-soft); }
.path-icon.rose { color: var(--rose); background: var(--rose-soft); }
.path-copy { display: grid; gap: 6px; }
.path-copy strong { font-family: var(--serif); font-size: 1.22rem; line-height: 1.15; letter-spacing: -.015em; }
.path-copy small { color: var(--ink-600); font-size: .82rem; line-height: 1.45; }
.path-arrow { color: var(--ink-500); transition: transform .2s; }
.path-card:hover .path-arrow { transform: translateX(3px); color: var(--blue-deep); }
.urgent-card { font: inherit; color: inherit; }

.section-band { background: var(--ink-900); color: white; position: relative; overflow: hidden; }
.section-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 0, rgba(96,123,255,.17), transparent 36%); }
.section-band .section-block { position: relative; }
.section-band .section-heading p { color: rgba(255,255,255,.66); }
.outcome-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); overflow: hidden; }
.outcome-card { padding: 30px; min-height: 280px; border-right: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.025); }
.outcome-card:last-child { border-right: 0; }
.outcome-card > strong { display: block; color: #aebcff; font-size: .7rem; letter-spacing: .16em; margin-bottom: 60px; }
.outcome-card h3 { font-family: var(--serif); font-size: 1.4rem; margin-bottom: 14px; }
.outcome-card p { color: rgba(255,255,255,.58); font-size: .88rem; margin-bottom: 0; }
.home-cta-wrap { padding-block: 94px; }
.home-cta { padding: 48px; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--blue-soft), #f7eff7); display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; border: 1px solid rgba(96,123,255,.12); }
.home-cta h2 { font-size: clamp(2.1rem, 4vw, 3.5rem); margin-bottom: 12px; }
.home-cta p { color: var(--ink-600); margin-bottom: 0; }
.home-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Page heroes */
.page-hero { position: relative; overflow: hidden; color: white; background: var(--ink-900); }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(to right, black, transparent); }
.page-hero-grid { position: relative; min-height: 430px; padding-block: 82px; display: grid; grid-template-columns: 1fr 360px; gap: 80px; align-items: center; }
.page-hero h1 { font-size: clamp(3.25rem, 6vw, 5.75rem); margin-bottom: 22px; }
.page-hero p { max-width: 720px; color: rgba(255,255,255,.68); font-size: 1.16rem; line-height: 1.7; margin-bottom: 0; }
.page-hero-card, .proposal-card, .action-hero-card, .memorial-card, .vault-security-badge { border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.07); border-radius: var(--radius-lg); backdrop-filter: blur(12px); }
.page-hero-card { padding: 28px; }
.page-hero-card strong { font-family: var(--serif); font-size: 1.45rem; }
.page-hero-card p { font-size: .87rem; line-height: 1.55; margin: 10px 0 20px; }
.support-hero { background: linear-gradient(145deg, #10172a, #152646); }
.vault-hero { background: linear-gradient(145deg, #10172a, #271d43); }
.law-hero { background: linear-gradient(145deg, #10172a, #182b38); }
.action-hero { background: linear-gradient(145deg, #10172a, #34243a); }
.about-hero { background: linear-gradient(145deg, #10172a, #24314c); }
.vault-security-badge { padding: 25px; display: flex; align-items: center; gap: 16px; }
.vault-security-badge > svg { width: 42px; height: 42px; color: #c1b1ff; }
.vault-security-badge div { display: grid; gap: 4px; }
.vault-security-badge strong { font-size: 1rem; }
.vault-security-badge span { color: rgba(255,255,255,.55); font-size: .75rem; }

/* Support */
.support-content { padding-top: 72px; }
.privacy-note { display: flex; align-items: center; gap: 15px; padding: 17px 20px; border-radius: var(--radius-md); background: var(--green-soft); border: 1px solid rgba(47,143,115,.18); margin-bottom: 30px; }
.privacy-note > svg { width: 26px; height: 26px; color: var(--green); flex: 0 0 auto; }
.privacy-note div { display: grid; gap: 2px; }
.privacy-note strong { font-size: .9rem; }
.privacy-note span { color: #477367; font-size: .78rem; }
.inline-exit { margin-left: auto; color: #315e52; }
.resource-tools { display: grid; gap: 18px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.search-box { position: relative; display: flex; align-items: center; min-height: 58px; border-radius: 16px; background: var(--paper-2); border: 1px solid transparent; transition: border .2s, background .2s; }
.search-box:focus-within { background: white; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(96,123,255,.10); }
.search-box > svg { position: absolute; left: 18px; color: var(--ink-500); width: 22px; height: 22px; pointer-events: none; }
.search-box input { width: 100%; height: 58px; padding: 0 52px; border: 0; outline: 0; background: transparent; color: var(--ink-900); font-size: 1rem; }
.search-box input::placeholder { color: var(--ink-500); }
.search-box button { position: absolute; right: 12px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; background: transparent; border-radius: 50%; cursor: pointer; color: var(--ink-600); }
.filter-scroll { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip { min-height: 38px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--ink-600); font-size: .78rem; font-weight: 760; cursor: pointer; transition: .2s; }
.filter-chip:hover { border-color: #b8c0cf; color: var(--ink-900); }
.filter-chip.is-active { background: var(--ink-900); color: white; border-color: var(--ink-900); }
.resource-status-row { display: flex; justify-content: space-between; gap: 20px; color: var(--ink-500); font-size: .76rem; margin: 22px 2px 12px; }
.resource-status-row p { margin: 0; }
.resource-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.resource-card { position: relative; overflow: hidden; display: grid; padding: 25px; min-height: 290px; border-radius: var(--radius-md); border: 1px solid var(--line); background: white; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.resource-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: #c5cad3; }
.resource-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--resource-color, var(--blue)); }
.resource-card-top { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: start; }
.resource-logo { width: 49px; height: 49px; border-radius: 14px; display: grid; place-items: center; background: var(--resource-soft, var(--blue-soft)); color: var(--resource-color, var(--blue-deep)); font-weight: 900; font-size: .8rem; letter-spacing: -.02em; }
.resource-card h2 { font-family: var(--sans); font-size: 1.12rem; letter-spacing: -.02em; line-height: 1.2; margin: 2px 0 4px; font-weight: 820; }
.resource-card .resource-meta { color: var(--ink-500); font-size: .7rem; font-weight: 720; }
.official-badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 999px; background: var(--green-soft); color: #28755f; font-size: .63rem; font-weight: 820; text-transform: uppercase; letter-spacing: .08em; }
.official-badge svg { width: 13px; height: 13px; }
.resource-description { color: var(--ink-600); font-size: .88rem; line-height: 1.6; margin: 20px 0 17px; }
.resource-tags { display: flex; flex-wrap: wrap; gap: 6px; align-self: start; margin-bottom: 20px; }
.resource-tags span { padding: 5px 8px; border-radius: 999px; background: var(--paper-2); color: var(--ink-600); font-size: .65rem; font-weight: 720; }
.resource-actions { display: flex; flex-wrap: wrap; gap: 8px; align-self: end; }
.resource-action { min-height: 40px; display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border-radius: 10px; background: var(--paper-2); border: 1px solid var(--line); text-decoration: none; color: var(--ink-800); font-size: .73rem; font-weight: 780; transition: .2s; }
.resource-action.primary { background: var(--resource-color, var(--blue-deep)); border-color: var(--resource-color, var(--blue-deep)); color: white; }
.resource-action:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.resource-action svg { width: 15px; height: 15px; }
.empty-state, .empty-panel { text-align: center; padding: 60px 20px; color: var(--ink-600); }
.empty-state > svg, .empty-panel > svg { width: 48px; height: 48px; margin: 0 auto 18px; color: var(--ink-500); }
.empty-state h2 { font-size: 2rem; color: var(--ink-900); margin-bottom: 10px; }
.empty-state p { max-width: 520px; margin: 0 auto 22px; }
.scope-disclaimer { margin-top: 50px; padding: 26px 30px; border-radius: var(--radius-md); border: 1px solid var(--line); background: var(--paper-2); }
.scope-disclaimer h2 { font-family: var(--sans); font-size: .95rem; letter-spacing: 0; margin-bottom: 8px; }
.scope-disclaimer p { color: var(--ink-600); font-size: .8rem; line-height: 1.65; margin-bottom: 0; }

/* Vault */
.vault-shell { padding-top: 70px; }
.vault-locked { min-height: 560px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; padding: 58px; border-radius: var(--radius-xl); background: white; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.vault-locked-visual { position: relative; height: 360px; border-radius: var(--radius-lg); display: grid; place-items: center; background: radial-gradient(circle at 50% 38%, rgba(140,110,232,.17), transparent 35%), linear-gradient(145deg, #11182b, #1e1530); overflow: hidden; }
.vault-locked-visual::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 34px 34px; }
.vault-locked-visual > svg { position: relative; z-index: 2; width: 108px; height: 108px; color: #c1b1ff; filter: drop-shadow(0 20px 30px rgba(0,0,0,.25)); }
.vault-locked-visual span { position: absolute; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; }
.vault-locked-visual span:nth-of-type(1) { width: 190px; height: 190px; }
.vault-locked-visual span:nth-of-type(2) { width: 270px; height: 270px; }
.vault-locked-visual span:nth-of-type(3) { width: 360px; height: 360px; }
.vault-locked-copy h2 { margin-bottom: 18px; }
.vault-locked-copy > p { color: var(--ink-600); font-size: 1.05rem; line-height: 1.7; }
.vault-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0; }
.plain-checks { list-style: none; padding: 0; display: grid; gap: 10px; margin: 0; }
.plain-checks li { display: flex; align-items: center; gap: 9px; color: var(--ink-700); font-size: .84rem; }
.plain-checks svg { width: 18px; height: 18px; color: var(--green); }
.vault-warning { display: flex; align-items: flex-start; gap: 12px; margin-top: 28px; padding: 15px 17px; border-radius: 13px; background: var(--gold-soft); color: #6f5525; }
.vault-warning svg { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 2px; }
.vault-warning p { font-size: .76rem; margin: 0; line-height: 1.55; }
.vault-workspace { border-radius: var(--radius-lg); background: white; border: 1px solid var(--line); box-shadow: var(--shadow-md); overflow: hidden; }
.vault-toolbar { min-height: 72px; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); background: #fcfcfb; }
.vault-toolbar > div { display: flex; align-items: center; gap: 13px; }
.unlocked-pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 999px; background: var(--green-soft); color: #28755f; font-size: .7rem; font-weight: 820; }
.unlocked-pill svg { width: 15px; height: 15px; }
.save-state { color: var(--ink-500); font-size: .7rem; }
.toolbar-actions { display: flex; gap: 5px; }
.icon-button { width: 42px; height: 42px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: white; cursor: pointer; transition: .2s; }
.icon-button:hover { background: var(--paper-2); border-color: #bec5d1; }
.icon-button svg { width: 19px; height: 19px; }
.icon-button.labeled { width: auto; display: inline-flex; align-items: center; gap: 7px; padding: 0 12px; font-size: .72rem; font-weight: 760; }
.vault-layout { display: grid; grid-template-columns: 250px 1fr; min-height: 760px; }
.vault-sidebar { padding: 18px 12px; border-right: 1px solid var(--line); background: var(--paper-2); }
.vault-tab { width: 100%; position: relative; display: grid; grid-template-columns: auto 1fr; gap: 11px; align-items: center; padding: 13px; border: 0; border-radius: 13px; background: transparent; text-align: left; cursor: pointer; color: var(--ink-700); }
.vault-tab + .vault-tab { margin-top: 3px; }
.vault-tab:hover { background: rgba(255,255,255,.65); }
.vault-tab.is-active { background: white; color: var(--ink-950); box-shadow: var(--shadow-sm); }
.vault-tab > svg { width: 21px; height: 21px; color: var(--ink-500); }
.vault-tab.is-active > svg { color: var(--blue-deep); }
.vault-tab > span { display: grid; gap: 3px; }
.vault-tab strong { font-size: .78rem; }
.vault-tab small { color: var(--ink-500); font-size: .62rem; line-height: 1.3; }
.vault-tab b { position: absolute; right: 10px; top: 10px; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center; border-radius: 99px; background: var(--blue-soft); color: var(--blue-deep); font-size: .62rem; }
.vault-main { min-width: 0; padding: 38px; }
.vault-panel { animation: panelIn .25s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateX(4px); } to { opacity: 1; transform: none; } }
.panel-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.panel-heading h2 { font-family: var(--sans); font-size: 1.85rem; font-weight: 830; letter-spacing: -.035em; margin-bottom: 7px; }
.panel-heading p { color: var(--ink-600); font-size: .82rem; margin-bottom: 0; }
.autosave-label { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 99px; background: var(--paper-2); color: var(--ink-600); font-size: .68rem; font-weight: 760; white-space: nowrap; }
.autosave-label svg { width: 15px; height: 15px; }
.vault-form { display: grid; gap: 20px; }
.field-grid { display: grid; gap: 16px; }
.field-grid.two { grid-template-columns: repeat(2, 1fr); }
.field { display: grid; gap: 8px; min-width: 0; }
.field > span, .field > legend { color: var(--ink-700); font-size: .75rem; font-weight: 790; }
.field > span:has(b) { display: grid; gap: 2px; }
.field > span b { color: var(--ink-900); }
.field > span em { color: var(--ink-500); font-size: .67rem; font-style: normal; font-weight: 620; }
.field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid #d8d9dd;
  border-radius: 12px;
  background: #fff;
  color: var(--ink-900);
  padding: 12px 13px;
  outline: none;
  transition: border .2s, box-shadow .2s, background .2s;
}
.field input { min-height: 46px; }
.field textarea { resize: vertical; line-height: 1.55; }
.field select { min-height: 46px; appearance: auto; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(96,123,255,.10); }
.field input::placeholder, .field textarea::placeholder { color: #a3a8b1; }
.field small { color: var(--ink-500); font-size: .66rem; line-height: 1.45; }
.evidence-field textarea { background: #fbfcff; border-left: 3px solid var(--blue); }
.inference-field textarea { background: #fffaf1; border-left: 3px solid var(--gold); }
.evidence-guidance { display: flex; align-items: flex-start; gap: 14px; padding: 17px; border-radius: 14px; background: var(--blue-soft); color: #354b9a; margin-bottom: 22px; }
.evidence-guidance svg { width: 24px; height: 24px; flex: 0 0 auto; }
.evidence-guidance strong { font-size: .82rem; }
.evidence-guidance p { font-size: .72rem; margin: 4px 0 0; line-height: 1.5; }
.incident-list, .contact-list { display: grid; gap: 12px; }
.record-card { position: relative; padding: 18px; border-radius: 14px; border: 1px solid var(--line); background: white; transition: .2s; }
.record-card:hover { border-color: #c5cad3; box-shadow: var(--shadow-sm); }
.record-card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.record-card-title { display: grid; gap: 6px; }
.record-card-title h3 { margin: 0; font-size: .98rem; }
.record-meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--ink-500); font-size: .66rem; }
.record-meta span { display: inline-flex; align-items: center; gap: 5px; }
.record-category { padding: 4px 7px; border-radius: 99px; background: var(--purple-soft); color: #684cb9; font-weight: 760; }
.record-summary { color: var(--ink-600); font-size: .76rem; margin: 13px 0 0; line-height: 1.55; white-space: pre-wrap; }
.record-actions { display: flex; gap: 5px; }
.record-actions button { width: 34px; height: 34px; border: 0; border-radius: 9px; background: var(--paper-2); color: var(--ink-600); cursor: pointer; display: grid; place-items: center; }
.record-actions button:hover { color: var(--ink-950); background: var(--paper-3); }
.record-actions button.danger:hover { color: var(--red-deep); background: var(--red-soft); }
.record-actions svg { width: 16px; height: 16px; }
.empty-panel { padding: 70px 20px; }
.empty-panel h3 { color: var(--ink-900); font-family: var(--serif); font-size: 1.55rem; margin-bottom: 8px; }
.empty-panel p { max-width: 480px; margin: 0 auto 20px; font-size: .82rem; }
.privacy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.privacy-card { padding: 21px; border-radius: 15px; background: var(--paper-2); border: 1px solid var(--line); }
.privacy-card > svg { width: 25px; height: 25px; color: var(--blue-deep); margin-bottom: 24px; }
.privacy-card h3 { font-size: .9rem; margin-bottom: 7px; }
.privacy-card p { color: var(--ink-600); font-size: .72rem; margin: 0; }
.backup-actions-card, .danger-zone { margin-top: 18px; padding: 22px; border-radius: 15px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.backup-actions-card h3, .danger-zone h3 { margin-bottom: 5px; font-size: .9rem; }
.backup-actions-card p, .danger-zone p { margin: 0; color: var(--ink-600); font-size: .72rem; }
.danger-zone { border-color: rgba(201,67,77,.25); background: var(--red-soft); }

/* Law */
.proposal-card { padding: 28px; display: grid; gap: 11px; }
.proposal-status { justify-self: start; padding: 6px 9px; border-radius: 99px; color: #ace4d3; background: rgba(47,143,115,.16); border: 1px solid rgba(156,229,201,.18); font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.proposal-card strong { font-family: var(--serif); font-size: 1.4rem; margin-top: 14px; }
.proposal-card p { font-size: .82rem; line-height: 1.6; }
.law-content { padding-top: 88px; }
.law-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; margin-bottom: 58px; }
.law-intro h2 { font-size: clamp(2.4rem, 4vw, 3.7rem); margin-bottom: 0; }
.law-intro > p { color: var(--ink-600); font-size: 1.02rem; line-height: 1.7; margin-bottom: 5px; }
.system-pair { display: grid; grid-template-columns: 1fr 90px 1fr; align-items: center; margin-bottom: 120px; }
.system-card { min-height: 430px; position: relative; overflow: hidden; padding: 34px; border-radius: var(--radius-lg); color: white; }
.system-card::before { content: ""; position: absolute; width: 230px; height: 230px; right: -100px; top: -100px; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 0 0 40px rgba(255,255,255,.025), 0 0 0 80px rgba(255,255,255,.015); }
.system-card.legislative { background: linear-gradient(145deg, #17243c, #10172a); }
.system-card.network { background: linear-gradient(145deg, #1b3c35, #112821); }
.system-number { position: absolute; top: 28px; right: 28px; color: rgba(255,255,255,.36); font-size: .72rem; letter-spacing: .14em; }
.system-card > svg { width: 46px; height: 46px; margin-bottom: 65px; color: #aebcff; }
.system-card.network > svg { color: #9ce5c9; }
.system-card h3 { font-family: var(--serif); font-size: 2rem; margin-bottom: 14px; }
.system-card > p { color: rgba(255,255,255,.64); font-size: .9rem; line-height: 1.6; }
.system-card ul { list-style: none; margin: 24px 0 0; padding: 20px 0 0; border-top: 1px solid rgba(255,255,255,.12); display: grid; gap: 9px; }
.system-card li { color: rgba(255,255,255,.72); font-size: .75rem; }
.system-card li::before { content: "→"; color: rgba(255,255,255,.35); margin-right: 9px; }
.system-connector { display: flex; align-items: center; color: var(--ink-500); }
.system-connector span { height: 1px; flex: 1; background: var(--line); }
.system-connector svg { margin-inline: 8px; width: 24px; height: 24px; }
.pillar-heading { margin-bottom: 58px; }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.pillar-card { position: relative; display: flex; flex-direction: column; min-height: 410px; padding: 27px; border-radius: var(--radius-md); border: 1px solid var(--line); background: white; box-shadow: var(--shadow-sm); }
.pillar-card > span:first-child { position: absolute; top: 24px; right: 24px; color: var(--ink-400, #9ba4b3); font-size: .68rem; font-weight: 800; letter-spacing: .14em; }
.pillar-card > svg { width: 36px; height: 36px; color: var(--blue-deep); margin-bottom: 48px; }
.pillar-card h3 { font-family: var(--serif); font-size: 1.4rem; margin-bottom: 13px; }
.pillar-card > p { color: var(--ink-600); font-size: .8rem; line-height: 1.6; }
.pillar-card details { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.pillar-card summary { cursor: pointer; color: var(--ink-700); font-size: .72rem; font-weight: 790; }
.pillar-card details ul { padding-left: 18px; color: var(--ink-600); font-size: .72rem; line-height: 1.7; }
.final-pillar { color: white; background: linear-gradient(145deg, #4e43a8, #2f2b70); border-color: transparent; }
.final-pillar > span:first-child { color: rgba(255,255,255,.5); }
.final-pillar > svg { color: #d4ccff; }
.final-pillar > p { color: rgba(255,255,255,.67); }
.final-pillar > a { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: white; font-size: .76rem; font-weight: 780; text-decoration: none; }
.final-pillar > a svg { width: 16px; height: 16px; }
.development-callout { margin-top: 90px; display: grid; grid-template-columns: 240px 1fr; gap: 45px; padding: 44px; border-radius: var(--radius-lg); background: var(--ink-900); color: white; }
.development-callout > div { display: grid; place-items: center; min-height: 240px; border-radius: 22px; background: radial-gradient(circle, rgba(96,123,255,.2), transparent 60%); border: 1px solid rgba(255,255,255,.1); }
.development-callout > div svg { width: 85px; height: 85px; color: #aebcff; }
.development-callout .step-label { color: #aebcff; }
.development-callout h2 { font-size: clamp(2.1rem, 4vw, 3.35rem); margin-bottom: 18px; }
.development-callout section > p { color: rgba(255,255,255,.62); line-height: 1.7; }
.development-steps { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 24px; }
.development-steps span { padding: 7px 9px; border-radius: 99px; border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.68); font-size: .66rem; }
.status-clarifier { display: flex; gap: 14px; align-items: flex-start; margin-top: 30px; padding: 18px; border: 1px solid var(--line); background: var(--paper-2); border-radius: 14px; }
.status-clarifier svg { width: 22px; height: 22px; color: var(--gold); flex: 0 0 auto; }
.status-clarifier p { margin: 0; color: var(--ink-600); font-size: .75rem; line-height: 1.6; }

/* Action */
.action-hero-card { padding: 28px; }
.action-hero-card > svg { width: 45px; height: 45px; color: #f0b8ce; margin-bottom: 32px; }
.action-hero-card strong { display: block; font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; }
.action-hero-card p { margin-top: 12px; font-size: .82rem; line-height: 1.6; }
.action-content { padding-top: 80px; }
.action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.letter-builder, .letter-preview { border-radius: var(--radius-lg); border: 1px solid var(--line); background: white; box-shadow: var(--shadow-sm); padding: 30px; }
.ask-fieldset { border: 0; padding: 0; margin: 0; }
.ask-fieldset legend { color: var(--ink-700); font-size: .75rem; font-weight: 790; margin-bottom: 10px; }
.checkbox-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.checkbox-grid label { display: flex; align-items: flex-start; gap: 9px; padding: 11px; border-radius: 10px; border: 1px solid var(--line); cursor: pointer; color: var(--ink-700); font-size: .7rem; font-weight: 700; line-height: 1.35; }
.checkbox-grid label:has(input:checked) { border-color: rgba(96,123,255,.45); background: var(--blue-soft); color: #354b9a; }
.checkbox-grid input { accent-color: var(--blue-deep); margin-top: 1px; }
.letter-preview { position: sticky; top: calc(var(--header-height) + 20px); background: var(--ink-900); color: white; border-color: transparent; box-shadow: var(--shadow-lg); }
.letter-preview-toolbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.12); }
.letter-preview .step-label { color: #aebcff; }
.letter-preview h2 { font-family: var(--sans); font-size: 1.8rem; font-weight: 820; letter-spacing: -.03em; margin: 0; }
.letter-preview .icon-button { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: white; }
.letter-preview .icon-button:hover { background: rgba(255,255,255,.12); }
.generated-letter { max-height: 660px; overflow: auto; margin: 22px 0; padding-right: 8px; color: rgba(255,255,255,.78); font-family: Georgia, serif; font-size: .84rem; line-height: 1.75; white-space: pre-wrap; }
.generated-letter::-webkit-scrollbar { width: 7px; }
.generated-letter::-webkit-scrollbar-thumb { background: rgba(255,255,255,.18); border-radius: 99px; }
.letter-actions { display: flex; gap: 9px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); }
.letter-preview .button-secondary { background: rgba(255,255,255,.08); color: white; border-color: rgba(255,255,255,.16); box-shadow: none; }
.send-steps { margin-top: 110px; }
.send-step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.send-step-grid article { min-height: 275px; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; }
.send-step-grid article > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--blue-soft); color: var(--blue-deep); font-size: .72rem; font-weight: 850; margin-bottom: 52px; }
.send-step-grid h3 { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 10px; }
.send-step-grid p { color: var(--ink-600); font-size: .78rem; }
.send-step-grid article > div { display: grid; gap: 7px; }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--blue-deep); font-size: .74rem; font-weight: 780; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.text-link svg { width: 14px; height: 14px; }
.movement-card { margin-top: 90px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 26px; padding: 38px; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--blue-soft), var(--rose-soft)); border: 1px solid rgba(96,123,255,.12); }
.movement-icon { width: 68px; height: 68px; display: grid; place-items: center; border-radius: 20px; color: var(--purple); background: white; box-shadow: var(--shadow-sm); }
.movement-icon svg { width: 32px; height: 32px; }
.movement-card h2 { font-size: clamp(1.8rem, 3vw, 2.65rem); margin-bottom: 7px; }
.movement-card p { margin: 0; color: var(--ink-600); font-size: .82rem; }
.movement-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* About */
.memorial-card { padding: 30px; display: grid; justify-items: center; text-align: center; }
.memorial-card svg { width: 44px; height: 44px; color: #e9cf9b; fill: currentColor; stroke: none; margin-bottom: 24px; }
.memorial-card span { color: rgba(255,255,255,.55); font-size: .68rem; text-transform: uppercase; letter-spacing: .16em; }
.memorial-card strong { font-family: var(--serif); font-size: 1.8rem; margin: 7px 0 4px; }
.memorial-card small { color: rgba(255,255,255,.55); }
.about-content { padding-top: 90px; }
.about-story { display: grid; grid-template-columns: 300px 1fr; gap: 70px; align-items: start; }
.about-story-mark { position: sticky; top: calc(var(--header-height) + 30px); height: 360px; border-radius: var(--radius-lg); background: linear-gradient(145deg, #171f35, #30233d); display: grid; place-items: center; overflow: hidden; }
.about-story-mark::before, .about-story-mark::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; }
.about-story-mark::before { width: 230px; height: 230px; }
.about-story-mark::after { width: 330px; height: 330px; }
.about-story-mark svg { position: relative; z-index: 2; width: 90px; height: 90px; color: #d8c7ff; }
.about-story h2 { margin-bottom: 26px; }
.about-story p { color: var(--ink-600); font-size: 1rem; line-height: 1.8; }
.about-story .large-copy { color: var(--ink-800); font-family: var(--serif); font-size: 1.45rem; line-height: 1.6; }
.principles-section { margin-top: 125px; }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.principle-grid article { min-height: 250px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; }
.principle-grid article:nth-child(3n) { border-right: 0; }
.principle-grid article:nth-child(n+4) { border-bottom: 0; }
.principle-grid span { display: block; color: var(--blue-deep); font-size: .66rem; letter-spacing: .14em; font-weight: 800; margin-bottom: 60px; }
.principle-grid h3 { font-family: var(--serif); font-size: 1.25rem; }
.principle-grid p { color: var(--ink-600); font-size: .76rem; margin: 0; }
.app-privacy-section { margin-top: 110px; display: grid; grid-template-columns: .75fr 1.25fr; gap: 60px; padding: 45px; border-radius: var(--radius-lg); background: var(--ink-900); color: white; }
.app-privacy-section h2 { font-size: clamp(2.2rem, 4vw, 3.5rem); }
.app-privacy-section .step-label { color: #aebcff; }
.privacy-promise-list { display: grid; gap: 17px; }
.privacy-promise-list p { display: flex; align-items: flex-start; gap: 12px; margin: 0; color: rgba(255,255,255,.66); font-size: .8rem; line-height: 1.6; }
.privacy-promise-list svg { width: 19px; height: 19px; color: #9ce5c9; flex: 0 0 auto; margin-top: 2px; }
.privacy-promise-list strong { color: white; }
.legal-links { grid-column: 2; display: flex; gap: 20px; }
.legal-links a { color: #aebcff; font-size: .73rem; font-weight: 750; }
.about-final { margin-top: 105px; text-align: center; padding: 70px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: linear-gradient(145deg, white, var(--paper-2)); }
.about-final > svg { width: 38px; height: 38px; color: var(--gold); fill: currentColor; stroke: none; margin: 0 auto 28px; }
.about-final blockquote { max-width: 880px; margin: 0 auto 35px; font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.35; letter-spacing: -.025em; }
.about-final > div { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

/* Footer */
.site-footer { background: #080d19; color: white; padding: 72px 0 105px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .65fr .65fr 1fr; gap: 50px; }
.brand.inverse .brand-mark { color: #aebcff; }
.brand.inverse .brand-copy span { color: rgba(255,255,255,.45); }
.footer-brand > p { max-width: 350px; margin: 20px 0 0; color: rgba(255,255,255,.45); font-size: .75rem; line-height: 1.6; }
.footer-grid nav { display: grid; align-content: start; gap: 10px; }
.footer-grid nav strong, .footer-help strong { font-size: .72rem; text-transform: uppercase; letter-spacing: .13em; color: rgba(255,255,255,.5); margin-bottom: 8px; }
.footer-grid nav a { color: rgba(255,255,255,.72); font-size: .76rem; text-decoration: none; }
.footer-grid nav a:hover { color: white; }
.footer-help p { color: rgba(255,255,255,.5); font-size: .73rem; line-height: 1.55; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 34px; margin-top: 55px; border-top: 1px solid rgba(255,255,255,.09); color: rgba(255,255,255,.35); font-size: .66rem; }
.footer-bottom p { margin: 0; }
.mobile-nav { display: none; }

/* Modals */
dialog.modal { width: min(720px, calc(100vw - 28px)); max-height: min(900px, calc(100svh - 28px)); padding: 0; border: 0; border-radius: 24px; background: white; color: var(--ink-900); box-shadow: 0 30px 100px rgba(0,0,0,.36); overflow: hidden; }
dialog.modal::backdrop { background: rgba(5,9,18,.72); backdrop-filter: blur(5px); }
dialog.modal[open] { animation: modalIn .25s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 24px 26px; border-bottom: 1px solid var(--line); }
.modal-kicker { display: block; color: var(--blue-deep); font-size: .65rem; font-weight: 850; text-transform: uppercase; letter-spacing: .13em; margin-bottom: 5px; }
.modal-header h2 { font-family: var(--sans); font-size: 1.55rem; letter-spacing: -.03em; font-weight: 820; margin: 0; }
.modal-close { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: white; cursor: pointer; color: var(--ink-600); }
.modal-close:hover { background: var(--paper-2); color: var(--ink-950); }
.modal-close svg { width: 18px; height: 18px; }
.modal-body { padding: 26px; overflow-y: auto; max-height: calc(100svh - 210px); }
.modal-actions { display: flex; justify-content: flex-end; gap: 9px; padding: 18px 26px; border-top: 1px solid var(--line); background: #fcfcfb; }
.emergency-modal { width: min(780px, calc(100vw - 28px)) !important; }
.emergency-header { background: var(--red-soft); }
.emergency-header .modal-kicker { color: var(--red-deep); }
.emergency-intro { color: var(--ink-600); font-size: .86rem; }
.emergency-options { display: grid; gap: 10px; }
.emergency-option { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 14px; }
.emergency-option.danger { border-color: rgba(201,67,77,.25); background: var(--red-soft); }
.option-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--paper-2); color: var(--blue-deep); }
.danger .option-icon { color: var(--red); background: white; }
.option-icon svg { width: 22px; height: 22px; }
.emergency-option strong { font-size: .82rem; }
.emergency-option p { margin: 3px 0 0; color: var(--ink-600); font-size: .7rem; }
.option-actions { display: flex; gap: 6px; }
.emergency-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.large-exit { display: inline-flex; align-items: center; gap: 8px; color: var(--red-deep); }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 50px; }
.password-wrap button { position: absolute; right: 5px; top: 5px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 9px; background: transparent; color: var(--ink-500); cursor: pointer; }
.password-wrap button:hover { background: var(--paper-2); }
.password-wrap button svg { width: 18px; height: 18px; }
.consent-check { display: flex; gap: 10px; align-items: flex-start; margin-top: 20px; padding: 13px; border-radius: 12px; background: var(--gold-soft); color: #6f5525; font-size: .72rem; line-height: 1.5; }
.consent-check input { margin-top: 3px; accent-color: var(--gold); }
.form-error { padding: 11px 13px; margin-top: 14px; border-radius: 10px; background: var(--red-soft); color: var(--red-deep); font-size: .72rem; font-weight: 700; }
.record-modal { width: min(850px, calc(100vw - 28px)) !important; }
.record-modal-body { display: grid; gap: 18px; }
.confirm-modal { width: min(510px, calc(100vw - 28px)) !important; }
.confirm-modal .modal-body p { color: var(--ink-600); }
.toast { position: fixed; z-index: 9999; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; align-items: center; gap: 9px; padding: 12px 16px; border-radius: 999px; background: var(--ink-900); color: white; box-shadow: var(--shadow-lg); font-size: .78rem; font-weight: 760; }
.toast svg { width: 17px; height: 17px; color: #9ce5c9; }
.toast.show { animation: toastIn .25s var(--ease); }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* Standalone policy pages */
.policy-page { min-height: 100vh; background: var(--paper); }
.policy-main { max-width: 820px; margin: 0 auto; padding: 80px 24px 120px; }
.policy-main h1 { font-size: clamp(2.8rem, 7vw, 5rem); }
.policy-main h2 { font-family: var(--sans); font-size: 1.3rem; letter-spacing: -.02em; margin-top: 42px; }
.policy-main p, .policy-main li { color: var(--ink-600); line-height: 1.75; }
.policy-main .policy-meta { padding: 14px 16px; border-radius: 12px; background: var(--blue-soft); color: #354b9a; font-size: .78rem; }
.policy-back { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--blue-deep); font-weight: 780; margin-bottom: 50px; }

/* Print */
#print-root { display: none; }
@media print {
  body > *:not(#print-root) { display: none !important; }
  #print-root { display: block !important; color: #000; font-family: Arial, sans-serif; }
  #print-root h1 { font-family: Georgia, serif; font-size: 28pt; }
  #print-root h2 { font-family: Arial, sans-serif; font-size: 16pt; margin-top: 28pt; border-bottom: 1px solid #999; padding-bottom: 5pt; }
  #print-root h3 { font-size: 12pt; }
  #print-root p, #print-root li { font-size: 10pt; line-height: 1.5; white-space: pre-wrap; }
  #print-root .print-meta { color: #555; font-size: 8pt; }
  #print-root .print-entry { break-inside: avoid; border: 1px solid #bbb; padding: 12pt; margin: 12pt 0; }
}

/* Responsive */
@media (max-width: 1060px) {
  :root { --shell: min(100% - 32px, 930px); }
  .desktop-nav { display: none; }
  .header-actions { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr .75fr; gap: 38px; }
  .hero-card { padding: 24px; }
  .outcome-grid { grid-template-columns: repeat(2, 1fr); }
  .outcome-card:nth-child(2) { border-right: 0; }
  .outcome-card:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .page-hero-grid { grid-template-columns: 1fr 300px; gap: 45px; }
  .system-pair { grid-template-columns: 1fr 55px 1fr; }
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr .7fr .7fr; }
  .footer-help { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.09); }
  .footer-help strong { margin: 0; }
  .footer-help p { margin: 0 auto 0 0; }
}

@media (max-width: 820px) {
  :root { --header-height: 68px; --shell: calc(100% - 28px); }
  body { padding-bottom: 72px; }
  .site-header { height: var(--header-height); }
  .brand-mark { width: 38px; height: 38px; }
  .brand-copy strong { font-size: 1.03rem; }
  .brand-copy span { font-size: .59rem; }
  .header-actions .button { display: none; }
  .header-actions .quick-exit { font-size: .72rem; }
  .hero-wrap { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; padding-block: 72px 68px; }
  .hero-copy h1 { font-size: clamp(3.25rem, 12vw, 5.2rem); }
  .hero-card { max-width: 590px; }
  .section-block { padding-block: 82px; }
  .split-heading { grid-template-columns: 1fr; gap: 20px; }
  .path-grid { grid-template-columns: 1fr; }
  .outcome-grid { grid-template-columns: 1fr; }
  .outcome-card { min-height: auto; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .outcome-card:last-child { border-bottom: 0; }
  .outcome-card > strong { margin-bottom: 35px; }
  .home-cta { grid-template-columns: 1fr; padding: 34px; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 35px; min-height: auto; padding-block: 70px; }
  .page-hero-card, .proposal-card, .action-hero-card, .memorial-card, .vault-security-badge { max-width: 540px; }
  .resource-grid { grid-template-columns: 1fr; }
  .vault-locked { grid-template-columns: 1fr; gap: 36px; padding: 30px; }
  .vault-locked-visual { height: 280px; }
  .vault-layout { grid-template-columns: 1fr; }
  .vault-sidebar { display: flex; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 10px; scrollbar-width: none; }
  .vault-sidebar::-webkit-scrollbar { display: none; }
  .vault-tab { flex: 0 0 auto; width: 170px; }
  .vault-tab b { right: 7px; }
  .vault-main { padding: 26px; }
  .law-intro { grid-template-columns: 1fr; gap: 25px; }
  .system-pair { grid-template-columns: 1fr; gap: 16px; }
  .system-connector { min-height: 50px; flex-direction: column; }
  .system-connector span { width: 1px; height: auto; flex: 1; }
  .system-connector svg { margin: 7px; }
  .pillar-grid { grid-template-columns: 1fr; }
  .development-callout { grid-template-columns: 1fr; padding: 30px; }
  .development-callout > div { min-height: 200px; }
  .action-grid { grid-template-columns: 1fr; }
  .letter-preview { position: static; }
  .send-step-grid { grid-template-columns: 1fr; }
  .movement-card { grid-template-columns: auto 1fr; }
  .movement-actions { grid-column: 1 / -1; }
  .about-story { grid-template-columns: 1fr; }
  .about-story-mark { position: relative; top: auto; height: 280px; }
  .principle-grid { grid-template-columns: repeat(2, 1fr); }
  .principle-grid article:nth-child(3n) { border-right: 1px solid var(--line); }
  .principle-grid article:nth-child(2n) { border-right: 0; }
  .principle-grid article:nth-child(n+4) { border-bottom: 1px solid var(--line); }
  .principle-grid article:nth-child(n+5) { border-bottom: 0; }
  .app-privacy-section { grid-template-columns: 1fr; }
  .legal-links { grid-column: 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-help { grid-column: 1 / -1; }
  .mobile-nav { position: fixed; z-index: 1100; left: 8px; right: 8px; bottom: max(8px, env(safe-area-inset-bottom)); min-height: 64px; display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px; border-radius: 20px; background: rgba(10,15,28,.94); backdrop-filter: blur(18px); box-shadow: 0 15px 45px rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.1); }
  .mobile-nav a { display: grid; justify-items: center; align-content: center; gap: 3px; border-radius: 14px; text-decoration: none; color: rgba(255,255,255,.5); font-size: .58rem; font-weight: 760; }
  .mobile-nav a svg { width: 20px; height: 20px; }
  .mobile-nav a.is-active { background: rgba(255,255,255,.1); color: white; }
  .site-footer { padding-bottom: 125px; }
  .toast { bottom: 86px; }
}

@media (max-width: 600px) {
  :root { --shell: calc(100% - 22px); }
  .header-inner { gap: 8px; }
  .brand-copy span { display: none; }
  .header-actions { gap: 0; }
  .hero-grid { padding-block: 58px 55px; }
  .hero-copy h1 { font-size: clamp(3rem, 15vw, 4.3rem); }
  .hero-lede { font-size: 1.03rem; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .trust-row { gap: 11px 16px; }
  .hero-card { border-radius: 26px; }
  .section-block { padding-block: 66px; }
  .section-heading { margin-bottom: 36px; }
  .section-heading h2 { font-size: 2.35rem; }
  .path-card { min-height: 112px; padding: 18px; gap: 13px; }
  .path-icon { width: 48px; height: 48px; border-radius: 14px; }
  .path-copy strong { font-size: 1.08rem; }
  .path-copy small { font-size: .75rem; }
  .home-cta { padding: 27px; }
  .home-cta-actions { display: grid; }
  .page-hero-grid { padding-block: 55px; }
  .page-hero h1 { font-size: clamp(3rem, 14vw, 4.3rem); }
  .page-hero p { font-size: 1rem; }
  .privacy-note { align-items: flex-start; flex-wrap: wrap; }
  .inline-exit { width: 100%; margin-left: 41px; }
  .resource-tools { padding: 15px; }
  .filter-scroll { flex-wrap: nowrap; overflow-x: auto; margin-inline: -15px; padding-inline: 15px; scrollbar-width: none; }
  .filter-scroll::-webkit-scrollbar { display: none; }
  .filter-chip { flex: 0 0 auto; }
  .resource-status-row { display: grid; gap: 3px; }
  .resource-card { padding: 20px; }
  .resource-card-top { grid-template-columns: auto 1fr; }
  .official-badge { grid-column: 2; justify-self: start; }
  .resource-actions { display: grid; grid-template-columns: repeat(2, 1fr); }
  .resource-action { justify-content: center; }
  .vault-locked { padding: 20px; border-radius: 24px; }
  .vault-locked-visual { height: 220px; }
  .vault-locked-visual > svg { width: 85px; height: 85px; }
  .vault-actions { display: grid; }
  .vault-toolbar { align-items: flex-start; }
  .vault-toolbar > div:first-child { display: grid; gap: 4px; }
  .toolbar-actions .labeled span { display: none; }
  .icon-button.labeled { width: 40px; padding: 0; justify-content: center; }
  .vault-main { padding: 20px 15px 25px; }
  .panel-heading { display: grid; }
  .panel-heading .button { justify-self: start; }
  .field-grid.two { grid-template-columns: 1fr; }
  .privacy-grid { grid-template-columns: 1fr; }
  .backup-actions-card, .danger-zone { align-items: flex-start; flex-direction: column; }
  .system-card { min-height: 390px; padding: 27px; }
  .system-card > svg { margin-bottom: 55px; }
  .development-callout { padding: 22px; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .letter-builder, .letter-preview { padding: 20px; border-radius: 22px; }
  .letter-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .movement-card { grid-template-columns: 1fr; padding: 27px; }
  .movement-actions { grid-column: auto; display: grid; }
  .about-story-mark { height: 230px; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle-grid article, .principle-grid article:nth-child(3n), .principle-grid article:nth-child(2n), .principle-grid article:nth-child(n+4), .principle-grid article:nth-child(n+5) { border-right: 0; border-bottom: 1px solid var(--line); }
  .principle-grid article:last-child { border-bottom: 0; }
  .app-privacy-section { padding: 28px; }
  .about-final { padding: 42px 23px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand, .footer-help { grid-column: auto; }
  .footer-help { display: grid; }
  .footer-bottom { display: grid; }
  dialog.modal { width: calc(100vw - 16px); max-height: calc(100svh - 16px); border-radius: 20px; }
  .modal-header { padding: 20px; }
  .modal-body { padding: 20px; }
  .modal-actions { padding: 15px 20px; }
  .emergency-option { grid-template-columns: auto 1fr; }
  .emergency-option > .button, .emergency-option > .option-actions { grid-column: 1 / -1; width: 100%; }
  .option-actions .button { flex: 1; }
  .emergency-footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
