* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-head); letter-spacing: -0.02em; line-height: 1.06; margin: 0; color: var(--brand-deep); font-weight: 700; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
hr { border: 0; height: 1px; background: var(--line-soft); margin: 0; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: -100px; left: 12px; z-index: 100;
  background: var(--brand-deep); color: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: 14px;
  padding: 10px 16px; border-radius: var(--r-pill);
}
.skip-link:focus { top: 12px; }

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease);
}
header.site.scrolled { border-bottom-color: var(--line-soft); }
.nav { display: flex; align-items: center; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; color: var(--ink); margin-right: auto; }
.brand .logo-wordmark { height: 26px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 28px; margin-right: 8px; }
.nav-links a.link {
  font-family: var(--font-head); font-size: 14.5px; font-weight: 600;
  color: var(--ink-2); transition: color .2s var(--ease);
}
.nav-links a.link:hover, .nav-links a.link[aria-current="page"] { color: var(--brand-deep); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  margin-left: auto;
  padding: 10px;
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle:hover { background: var(--paper-soft); }
.nav-toggle-bars {
  display: grid; gap: 5px;
}
.nav-toggle-bars span {
  display: block; width: 22px; height: 2px;
  background: currentColor; border-radius: 1px;
  transition: transform .28s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 22px var(--gut) 28px;
  display: grid; gap: 6px;
  box-shadow: 0 14px 28px -14px rgba(21, 51, 103, 0.22);
  z-index: 49;
}
.mobile-menu[hidden] { display: none; }
.mm-cta { width: 100%; justify-content: center; margin-bottom: 8px; }
.mm-link {
  display: block;
  font-family: var(--font-head); font-weight: 700;
  font-size: 17px; color: var(--brand-deep);
  padding: 14px 4px;
  border-top: 1px solid var(--line-soft);
}
.mm-legal {
  margin-top: 14px; padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; gap: 18px;
  font-size: 13px;
}
.mm-legal a { color: var(--ink-3); font-family: var(--font-head); font-weight: 500; }
.mm-legal a:hover { color: var(--brand); }

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav { height: 64px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  padding: 12px 22px; border-radius: var(--r-pill);
  background: var(--brand); color: #fff;
  border: 1px solid var(--brand);
  cursor: pointer; white-space: nowrap;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { background: var(--brand-strong); border-color: var(--brand-strong); }
.btn:active { transform: translateY(1px); }
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--lg { padding: 14px 26px; font-size: 16px; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--paper-soft); color: var(--brand-deep); border-color: var(--ink-3); }
:focus-visible { outline: 2.5px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

/* ---------- Sections (v2.5: full-bleed bands) ---------- */
section { padding-block: clamp(72px, 11vw, 152px); position: relative; }
section.section-tight { padding-block: clamp(56px, 8vw, 112px); }
section.tinted { background: var(--paper-soft); }
section.tinted-brand { background: var(--brand-tint); }
section.tinted-deep { background: var(--brand-deep); color: #fff; }
section.tinted-deep .h1, section.tinted-deep .h2, section.tinted-deep .h3 { color: #fff; }
section.tinted-deep .lede { color: rgba(255, 255, 255, 0.78); }
section.tinted-deep .kicker { color: rgba(255, 255, 255, 0.62); }
section.divider-top { border-top: 1px solid var(--line-soft); }
section.divider-bottom { border-bottom: 1px solid var(--line-soft); }

.sec-head { margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head .h2 { margin-top: 4px; max-width: 28ch; }
.sec-head--center { text-align: center; margin-inline: auto; max-width: 64ch; }
.sec-head--center .h2 { margin-inline: auto; }

/* ---------- Typography units ---------- */
.kicker {
  display: inline-block;
  font-family: var(--font-head); font-weight: 600;
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 18px;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-head); font-weight: 600;
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3);
}

.h1 { font-size: clamp(2.6rem, 6vw + 0.5rem, 6rem); font-weight: 800; letter-spacing: -0.028em; line-height: 1.02; color: var(--brand-deep); }
.h2 { font-size: clamp(1.9rem, 2.4vw + 0.6rem, 2.75rem); font-weight: 700; letter-spacing: -0.022em; line-height: 1.1; color: var(--brand-deep); }
.h3 { font-size: clamp(1.35rem, 0.8vw + 1rem, 1.75rem); font-weight: 700; letter-spacing: -0.018em; line-height: 1.18; color: var(--brand-deep); }

.lede {
  font-family: var(--font-body);
  font-size: clamp(1.125rem, 0.4vw + 1rem, 1.3125rem);
  line-height: 1.55; color: var(--ink-2);
  max-width: 56ch;
}

.body { max-width: 64ch; color: var(--ink); line-height: 1.7; }
.body p + p { margin-top: 1.1em; }

/* ---------- Hero (v2.5: full-bleed brand-tint, animated mockup) ---------- */
.hero {
  padding-block: clamp(80px, 11vw, 168px) clamp(64px, 10vw, 144px);
  background: var(--brand-tint);
  background-image:
    radial-gradient(70% 70% at 92% 0%, rgba(47, 109, 191, 0.10) 0%, transparent 60%),
    radial-gradient(60% 60% at 0% 100%, rgba(13, 148, 136, 0.06) 0%, transparent 55%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.hero-copy .h1 { margin-bottom: 28px; max-width: 16ch; }
.hero-copy .lede { margin-bottom: 36px; max-width: 38ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.hero-meta { margin-top: 22px; font-size: 14px; color: var(--ink-2); font-family: var(--font-head); font-weight: 500; }
.hero-visual { display: flex; justify-content: center; align-items: center; }
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; align-items: start; }
  .hero-copy .h1 { max-width: none; }
  .hero-visual { justify-content: flex-start; }
}

/* ---------- Phone Mockup (v2.5: looping animated chat) ---------- */
.phone-mock {
  --pm-dur: 10s;
  position: relative;
  width: min(100%, 380px);
  background: #0F1A2E;
  border-radius: 44px;
  padding: 12px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 24px 56px -20px rgba(21, 51, 103, 0.32),
    0 6px 16px -8px rgba(21, 51, 103, 0.18);
  transform: rotate(-1.4deg);
}
.phone-mock::before {
  content: ""; position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 22px; background: #0F1A2E; border-radius: 0 0 12px 12px; z-index: 2;
}
.pm-screen {
  background: var(--paper);
  border-radius: 34px;
  overflow: hidden;
  min-height: 540px;
  display: flex; flex-direction: column;
}
.pm-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 28px 6px;
  font-family: var(--font-head); font-weight: 600; font-size: 13px;
  color: var(--ink);
}
.pm-status .pm-icons { display: inline-flex; gap: 4px; align-items: center; }
.pm-status .pm-icons span {
  width: 14px; height: 8px; background: var(--ink);
  display: inline-block; border-radius: 2px;
}
.pm-status .pm-icons span:nth-child(2) { width: 10px; height: 10px; border-radius: 50%; }
.pm-status .pm-icons span:nth-child(3) { width: 18px; height: 9px; border-radius: 2px; border: 1px solid var(--ink); background: transparent; position: relative; }
.pm-status .pm-icons span:nth-child(3)::after { content: ""; position: absolute; top: 2px; left: 2px; right: 6px; bottom: 2px; background: var(--ink); border-radius: 1px; }

.pm-head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px 16px;
  border-bottom: 1px solid var(--line-soft);
}
.pm-back {
  width: 22px; height: 22px; color: var(--brand);
  flex: none; display: grid; place-items: center;
}
.pm-back svg { width: 18px; height: 18px; }
.pm-av {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--brand-tint); color: var(--brand-deep);
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
  flex: none; position: relative;
}
.pm-av .pm-presence {
  position: absolute; right: -1px; bottom: -1px;
  width: 11px; height: 11px; border-radius: 50%;
  background: #22C55E; border: 2px solid var(--paper);
}
.pm-name-row { display: flex; align-items: center; gap: 6px; line-height: 1.2; }
.pm-who { font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--ink); }
.pm-who .vmark { width: 15px; height: 15px; color: var(--teal); flex: none; display: inline-block; vertical-align: -2px; margin-left: 2px; }
.pm-role { font-size: 12px; color: var(--ink-3); margin-top: 2px; font-family: var(--font-body); }

.pm-chat {
  flex: 1;
  padding: 18px 16px 14px;
  background: var(--paper);
  display: flex; flex-direction: column; gap: 8px;
  position: relative;
}
.pm-bubble {
  max-width: 78%;
  padding: 9px 13px;
  border-radius: 16px;
  font-size: 13.5px; line-height: 1.42;
  background: var(--paper-tint); color: var(--ink);
  border-bottom-left-radius: 5px;
  font-family: var(--font-body);
  opacity: 0;
  transform: translateY(6px);
}
.pm-bubble.out {
  background: var(--brand); color: #fff;
  margin-left: auto;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 16px;
}
.pm-bubble.stat { background: rgba(224, 92, 43, 0.10); color: var(--ink); border: 1px solid rgba(224, 92, 43, 0.30); }
.pm-bubble .stat-flag {
  display: inline-block;
  font-family: var(--font-head); font-weight: 800;
  font-size: 9.5px; letter-spacing: 0.08em;
  color: #fff; background: #E05C2B;
  padding: 2px 6px; border-radius: 4px;
  margin-right: 8px; vertical-align: 1px;
}
.pm-bubble .pm-time {
  display: block;
  font-family: var(--font-head); font-weight: 500;
  font-size: 10px; opacity: 0.7;
  margin-top: 3px; text-align: right;
}
.pm-bubble.out .pm-time { color: rgba(255, 255, 255, 0.78); }
.pm-bubble .pm-tick {
  display: inline-block; width: 14px; height: 9px;
  margin-left: 4px; vertical-align: -1px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.4s var(--ease);
}
.pm-bubble.out.read .pm-tick { color: #6DD3FF; }

.pm-typing {
  display: inline-flex; gap: 4px;
  padding: 10px 12px;
  background: var(--paper-tint);
  border-radius: 16px; border-bottom-left-radius: 5px;
  align-self: flex-start;
  opacity: 0;
}
.pm-typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ink-3);
}

.pm-foot {
  padding: 12px 16px 16px;
  border-top: 1px solid var(--line-soft);
  display: flex; align-items: center; gap: 8px;
  background: var(--paper);
}
.pm-input {
  flex: 1;
  background: var(--paper-soft);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12.5px; color: var(--ink-2);
  font-family: var(--font-body);
}
.pm-send {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: grid; place-items: center;
  flex: none;
}
.pm-send svg { width: 14px; height: 14px; }

/* ---- Loop keyframes — 10s cycle ----
   0%   start (blank)
   8%   msg-in pops in
   18%  typing dots appear
   28%  typing dots out, msg-out pops in
   42%  STAT msg pops in
   54%  out msg flips to "read"
   85%  hold full state
   95%  fade out
   100% restart
*/
@keyframes pmIn1   { 0%, 6% { opacity: 0; transform: translateY(6px) scale(0.96); } 9%, 92% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes pmTyp   { 0%, 16% { opacity: 0; transform: translateY(4px); } 19%, 27% { opacity: 1; transform: none; } 30%, 100% { opacity: 0; transform: translateY(-4px); } }
@keyframes pmOut1  { 0%, 26% { opacity: 0; transform: translateY(6px) scale(0.96); } 30%, 92% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes pmStat  { 0%, 40% { opacity: 0; transform: translateY(6px) scale(0.96); } 44%, 92% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes pmDot1  { 0%, 100% { transform: translateY(0); opacity: 0.35; } 20% { transform: translateY(-3px); opacity: 1; } 40% { transform: translateY(0); opacity: 0.35; } }
@keyframes pmRead  { 0%, 53% { color: rgba(255, 255, 255, 0.6); } 56%, 100% { color: #6DD3FF; } }

.phone-mock.playing .pm-bubble.in   { animation: pmIn1   var(--pm-dur) var(--ease) infinite both; }
.phone-mock.playing .pm-typing      { animation: pmTyp   var(--pm-dur) var(--ease) infinite both; }
.phone-mock.playing .pm-bubble.out  { animation: pmOut1  var(--pm-dur) var(--ease) infinite both; }
.phone-mock.playing .pm-bubble.stat { animation: pmStat  var(--pm-dur) var(--ease) infinite both; }
.phone-mock.playing .pm-typing span:nth-child(1) { animation: pmDot1 1.2s ease-in-out infinite both; }
.phone-mock.playing .pm-typing span:nth-child(2) { animation: pmDot1 1.2s ease-in-out infinite both; animation-delay: 0.18s; }
.phone-mock.playing .pm-typing span:nth-child(3) { animation: pmDot1 1.2s ease-in-out infinite both; animation-delay: 0.36s; }
.phone-mock.playing .pm-bubble.out .pm-tick { animation: pmRead var(--pm-dur) var(--ease) infinite both; }

/* When NOT playing (offscreen) — pause to save cpu */
.phone-mock:not(.playing) .pm-bubble,
.phone-mock:not(.playing) .pm-typing { opacity: 1; transform: none; }
.phone-mock:not(.playing) .pm-typing { display: none; }
.phone-mock:not(.playing) .pm-bubble.out .pm-tick { color: #6DD3FF; }

@media (prefers-reduced-motion: reduce) {
  .phone-mock.playing .pm-bubble,
  .phone-mock.playing .pm-typing,
  .phone-mock.playing .pm-typing span,
  .phone-mock.playing .pm-bubble.out .pm-tick { animation: none !important; opacity: 1 !important; transform: none !important; }
  .phone-mock.playing .pm-typing { display: none; }
  .phone-mock.playing .pm-bubble.out .pm-tick { color: #6DD3FF; }
}

/* ---------- HeroPill (v2.7: replaces hero kicker w/ HIPAA-led badge) ---------- */
.hero-pill {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--brand-tint);
  color: var(--brand-deep);
  border: 1px solid color-mix(in oklch, var(--brand) 18%, transparent);
  padding: 7px 16px;
  border-radius: 999px;
  font-family: var(--font-head); font-weight: 700;
  font-size: 13px; letter-spacing: 0.01em;
  margin-bottom: 22px;
}
.hero-pill .dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: currentColor; opacity: 0.55;
}

/* ---------- Privacy 3-up grid (v2.7) ---------- */
.privacy-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.2vw, 28px);
}
.privacy-grid-3 .card {
  padding: clamp(28px, 3vw, 40px) clamp(4px, 1vw, 12px) 8px;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 22px;
}
.privacy-grid-3 .card-icon {
  color: var(--brand);
}
.privacy-grid-3 .card-icon svg { width: 30px; height: 30px; }
.privacy-grid-3 .card h3 {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.25rem, 0.6vw + 1rem, 1.5rem);
  color: var(--brand-deep);
  letter-spacing: -0.018em; line-height: 1.18;
  margin-bottom: -6px;
}
.privacy-grid-3 .card p {
  font-size: 16px; color: var(--ink-2);
  line-height: 1.6; margin: 0;
  max-width: 32ch;
}
@media (max-width: 880px) {
  .privacy-grid-3 { grid-template-columns: 1fr; }
}

/* ---------- Privacy 2-up callout (v2.7) ---------- */
.privacy-callout {
  background: var(--brand-deep);
  color: #fff;
  padding-block: clamp(72px, 9vw, 128px);
  position: relative; overflow: hidden;
}
.privacy-callout::before {
  content: ""; position: absolute; inset: 0; opacity: 0.6; pointer-events: none;
  background-image: radial-gradient(60% 60% at 90% 0%, rgba(79, 209, 197, 0.12) 0%, transparent 55%);
}
.privacy-callout .wrap { position: relative; }
.privacy-callout h2 {
  color: #fff;
  font-size: clamp(2rem, 3vw + 0.6rem, 3rem);
  margin-bottom: 18px; max-width: 22ch;
}
.privacy-callout .callout-sub {
  color: rgba(255, 255, 255, 0.78);
  font-size: 17.5px; line-height: 1.6;
  max-width: 60ch; margin-bottom: 64px;
}
.privacy-callout-phones {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(20px, 3vw, 56px);
  align-items: center;
  max-width: 880px; margin-inline: auto;
}
.privacy-callout-phone {
  width: min(220px, 100%);
  aspect-ratio: 9/19;
  margin-inline: auto;
  background: #fff; border-radius: 32px;
  padding: 14px;
  box-shadow: 0 24px 56px -20px rgba(0, 0, 0, 0.5);
  position: relative;
}
.privacy-callout-phone::before {
  content: ""; position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 64px; height: 16px; background: var(--brand-deep);
  border-radius: 0 0 10px 10px; z-index: 2;
}
.privacy-callout-phone .pcp-screen {
  background: var(--paper-soft);
  border-radius: 22px; height: 100%;
  padding: 40px 14px 14px;
  display: flex; flex-direction: column; gap: 14px;
}
.privacy-callout-phone .pcp-msg {
  background: var(--brand); color: #fff;
  padding: 10px 14px; border-radius: 14px;
  font-size: 13px; line-height: 1.4;
  border-bottom-right-radius: 5px;
  max-width: 88%; margin-left: auto;
  font-family: var(--font-body);
}
.privacy-callout-phone.right .pcp-msg {
  background: #fff; color: var(--ink);
  margin-left: 0; margin-right: auto;
  border-bottom-right-radius: 14px;
  border-bottom-left-radius: 5px;
  border: 1px solid var(--line-soft);
}
.privacy-callout-phone .pcp-tag {
  display: inline-flex; align-items: center; gap: 6px;
  align-self: center; margin-top: auto;
  font-family: var(--font-head); font-weight: 600;
  font-size: 11.5px; color: var(--teal-deep);
  background: var(--mint, #F0FDFA);
  padding: 5px 11px; border-radius: 999px;
}
.privacy-callout-phone .pcp-tag svg { width: 12px; height: 12px; }
.privacy-callout-arc {
  display: grid; place-items: center;
}
.privacy-callout-arc svg {
  width: clamp(60px, 8vw, 120px); height: auto;
  color: rgba(255, 255, 255, 0.5);
}
@media (max-width: 720px) {
  .privacy-callout-phones {
    grid-template-columns: 1fr; gap: 24px;
  }
  .privacy-callout-arc svg {
    transform: rotate(90deg); width: 60px;
  }
}

/* ---------- Privacy "What we hold" centered card (v2.7) ---------- */
.privacy-hold-wrap { max-width: 860px; margin-inline: auto; text-align: center; }
.privacy-hold-wrap h2 { margin-inline: auto; max-width: 22ch; }
.privacy-hold-wrap .hold-sub {
  color: var(--ink-2); font-size: 17px;
  margin-top: 14px; margin-bottom: 48px;
  margin-inline: auto; max-width: 52ch;
}
.privacy-hold-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(28px, 3.2vw, 44px);
  box-shadow: var(--shadow-card);
  text-align: left;
}
.privacy-hold-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2.4vw, 32px);
}
.privacy-hold-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 6px;
}
.privacy-hold-item .icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--brand-tint); color: var(--brand);
  display: grid; place-items: center; flex: none;
}
.privacy-hold-item .icon svg { width: 17px; height: 17px; }
.privacy-hold-item .label {
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  color: var(--brand-deep);
}
.privacy-hold-item .sub {
  font-size: 13.5px; color: var(--ink-2); margin-top: 3px;
}
@media (max-width: 720px) {
  .privacy-hold-grid { grid-template-columns: 1fr; }
}

/* ---------- TrustStrip (v2.6: under hero) ---------- */
.trust-strip {
  background: var(--paper-soft);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding-block: 18px;
}
.trust-strip-row {
  display: flex; flex-wrap: wrap; gap: 14px 36px;
  align-items: center; justify-content: center;
}
.trust-item {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600;
  font-size: 13.5px; color: var(--ink-2);
  letter-spacing: 0.01em;
}
.trust-item svg { width: 16px; height: 16px; color: var(--brand); flex: none; }
@media (max-width: 720px) {
  .trust-strip-row { gap: 12px 18px; }
  .trust-item { font-size: 13px; }
}

/* ---------- FAQ (v2.6) ---------- */
.faq { max-width: 760px; margin-inline: auto; }
.faq details {
  border-top: 1px solid var(--line-soft);
}
.faq details:last-child { border-bottom: 1px solid var(--line-soft); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 8px 22px 4px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  font-family: var(--font-head); font-weight: 700; font-size: 17px;
  color: var(--brand-deep);
  line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .plus {
  flex: none; width: 24px; height: 24px; position: relative;
  color: var(--brand);
  transition: transform 0.3s var(--ease);
}
.faq .plus::before, .faq .plus::after {
  content: ""; position: absolute;
  background: currentColor; border-radius: 2px;
}
.faq .plus::before { top: 11px; left: 4px; right: 4px; height: 2px; }
.faq .plus::after  { left: 11px; top: 4px; bottom: 4px; width: 2px; transition: transform 0.3s var(--ease); }
.faq details[open] .plus::after { transform: scaleY(0); }
.faq .faq-ans {
  padding: 0 4px 22px;
  color: var(--ink-2);
  font-size: 16px; line-height: 1.65;
  max-width: 64ch;
}
.faq .faq-ans strong { color: var(--brand-deep); }
.faq .faq-ans a { color: var(--brand); border-bottom: 1px solid currentColor; }

/* ---------- v3.2: Reporting visual (thread header + menu) ---------- */
.fv-thread-head {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
}
.fv-thread-head .fv-av { width: 40px; height: 40px; font-size: 13.5px; }
.fv-thread-head .fv-name { font-size: 15px; }
.fv-thread-head .fv-meta { font-size: 12.5px; margin-top: 2px; }
.fv-thread-head .menu-dots {
  margin-left: auto;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  color: var(--ink-2);
  border-radius: 8px;
}
.fv-thread-head .menu-dots svg { width: 18px; height: 18px; }

.fv-menu {
  margin: 10px 0 0 auto;
  width: min(260px, 100%);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: 0 18px 32px -16px rgba(21, 51, 103, 0.22);
  overflow: hidden;
}
.fv-menu-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  font-family: var(--font-head); font-weight: 600; font-size: 14px;
  color: var(--ink);
}
.fv-menu-row + .fv-menu-row { border-top: 1px solid var(--line-soft); }
.fv-menu-row .micon {
  width: 22px; height: 22px; display: grid; place-items: center;
  color: var(--ink-2);
  flex: none;
}
.fv-menu-row .micon svg { width: 16px; height: 16px; }
.fv-menu-row.report { color: var(--brand-deep); }
.fv-menu-row.report .micon { color: var(--brand); }

/* ---------- v3.2: Settings visual w/ danger row ---------- */
.fv-settings { display: grid; gap: 0; }
.fv-settings-row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 14px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-head); font-weight: 600; font-size: 14.5px;
  color: var(--ink);
}
.fv-settings-row:first-child { border-top: 0; }
.fv-settings-row .sicon {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  background: var(--paper-soft);
  border-radius: 8px;
  color: var(--ink-2);
  flex: none;
}
.fv-settings-row .sicon svg { width: 15px; height: 15px; }
.fv-settings-row .chev {
  margin-left: auto;
  color: var(--ink-3);
}
.fv-settings-row .chev svg { width: 16px; height: 16px; }
.fv-settings-row.danger {
  color: #B43A1A;
  border-top: 1px solid var(--line);
  margin-top: 6px;
}
.fv-settings-row.danger .sicon {
  background: rgba(224, 92, 43, 0.08);
  color: #B43A1A;
}

/* ---------- Privacy visual sections (v2.6) ---------- */
.privacy-stack { display: grid; gap: clamp(72px, 9vw, 132px); }
.privacy-section {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.privacy-section:nth-child(even) .privacy-visual { order: -1; }
.privacy-copy { max-width: 40ch; }
.privacy-copy .kicker { margin-bottom: 12px; }
.privacy-copy .h3 { margin-bottom: 16px; }
.privacy-copy p { color: var(--ink-2); font-size: 17px; line-height: 1.6; }
.privacy-visual { display: flex; justify-content: center; }
@media (max-width: 880px) {
  .privacy-section { grid-template-columns: 1fr; gap: 28px; }
  .privacy-section:nth-child(even) .privacy-visual { order: 0; }
}

/* Privacy mock variants */
.pv-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 36px);
  box-shadow: var(--shadow-card);
  width: 100%; max-width: 460px;
}
.pv-card.center { display: grid; place-items: center; }
.pv-phone {
  width: 168px; aspect-ratio: 9/19;
  background: var(--brand-deep); border-radius: 30px;
  padding: 10px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 24px 48px -22px rgba(21,51,103,0.32);
}
.pv-phone-screen {
  width: 100%; height: 100%; background: var(--paper);
  border-radius: 22px;
  display: grid; place-items: center;
}
.pv-phone-screen .padlock-big {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--brand-tint); color: var(--brand);
  display: grid; place-items: center;
}
.pv-phone-screen .padlock-big svg { width: 30px; height: 30px; }
.pv-encrypt-tag {
  margin-top: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 13px;
  color: var(--brand-deep); background: var(--brand-tint);
  padding: 8px 14px; border-radius: 999px;
}
.pv-encrypt-tag svg { width: 14px; height: 14px; }

.pv-list { display: grid; gap: 10px; }
.pv-list-row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  background: var(--paper-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
}
.pv-list-row .icon {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--brand-tint); color: var(--brand);
  display: grid; place-items: center; flex: none;
}
.pv-list-row .icon svg { width: 15px; height: 15px; }
.pv-list-row .label {
  font-family: var(--font-head); font-weight: 600; font-size: 14.5px;
  color: var(--ink);
}
.pv-list-row .sub { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }

/* Closing zero-strip */
.privacy-zero {
  padding-block: clamp(80px, 10vw, 132px);
  background: var(--brand-deep);
  color: #fff;
  text-align: center;
}
.privacy-zero h2 {
  color: #fff;
  font-size: clamp(1.6rem, 2.4vw + 0.4rem, 2.5rem);
  margin-bottom: 56px;
  max-width: 22ch;
  margin-inline: auto;
}
.privacy-zero-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px);
  max-width: 880px; margin-inline: auto;
}
.privacy-zero-num {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(3.2rem, 6vw + 1rem, 6rem);
  line-height: 1; color: #fff;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}
.privacy-zero-lbl {
  font-family: var(--font-head); font-weight: 600;
  font-size: 14px; color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.06em; text-transform: uppercase;
}
@media (max-width: 640px) {
  .privacy-zero-row { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- StepRow (How it works) ---------- */
.steprows { display: grid; gap: 0; max-width: 780px; margin-inline: auto; }
.steprow {
  display: grid; grid-template-columns: minmax(0, 0.5fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  padding-block: clamp(32px, 4vw, 56px);
  border-top: 1px solid var(--line-soft);
}
.steprow:last-child { border-bottom: 1px solid var(--line-soft); }
.steprow-num {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(2.5rem, 4vw, 4rem);
  letter-spacing: -0.04em;
  color: var(--brand);
  line-height: 1;
}
.steprow .h3 { margin-bottom: 12px; }
.steprow p { color: var(--ink-2); max-width: 50ch; }
@media (max-width: 720px) {
  .steprow { grid-template-columns: 1fr; gap: 14px; }
  .steprow-num { font-size: 2.2rem; }
}

/* ---------- FeatureRow (v2.5: 50/50 visual+copy, alternating sides) ---------- */
.featurerows { display: grid; gap: clamp(72px, 9vw, 132px); }
.featurerow {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.featurerow-copy { max-width: 36ch; }
.featurerow-copy .kicker { margin-bottom: 14px; }
.featurerow-copy .h3 { margin-bottom: 16px; }
.featurerow-copy p { color: var(--ink-2); font-size: 17px; line-height: 1.55; }
.featurerow-copy a { color: var(--brand); border-bottom: 1px solid currentColor; }
.featurerow-copy a:hover { color: var(--brand-strong); }
.featurerow:nth-child(even) .featurerow-visual { order: -1; }
@media (max-width: 880px) {
  .featurerow { grid-template-columns: 1fr; gap: 28px; }
  .featurerow:nth-child(even) .featurerow-visual { order: 0; }
}

/* ---------- Feature visuals (custom UI mockup panels) ---------- */
.fv-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(20px, 2.6vw, 32px);
  box-shadow: var(--shadow-card);
  position: relative;
}
.fv-panel.dark { background: var(--brand-deep); color: #fff; border-color: var(--brand-deep); }
.fv-panel.dark .fv-name { color: #fff; }
.fv-panel.dark .fv-meta { color: rgba(255, 255, 255, 0.65); }
.fv-stage {
  background: linear-gradient(180deg, var(--paper-tint), var(--paper-soft));
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 40px);
}

/* Directory card */
.fv-dir {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px;
  background: var(--paper); border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
}
.fv-dir + .fv-dir { margin-top: 12px; }
.fv-av {
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--font-head); font-weight: 700;
  flex: none;
  overflow: hidden;
}
.fv-dir .fv-av { width: 48px; height: 48px; font-size: 16px; }
.fv-name { font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--ink); display: flex; align-items: center; gap: 6px; }
.fv-name .vmark { width: 16px; height: 16px; color: var(--teal); flex: none; }
.fv-meta { font-size: 13px; color: var(--ink-3); margin-top: 3px; }
.fv-tag {
  display: inline-block;
  font-family: var(--font-head); font-weight: 600; font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--brand-deep); background: var(--brand-tint);
  padding: 4px 10px; border-radius: 999px;
  margin-left: auto;
}

/* Message + group panel */
.fv-msgs { display: grid; gap: 10px; }
.fv-msg {
  max-width: 86%; padding: 10px 14px; border-radius: 14px;
  font-size: 14px; line-height: 1.45;
  background: var(--paper); color: var(--ink); border: 1px solid var(--line-soft);
  border-bottom-left-radius: 5px;
}
.fv-msg.out {
  background: var(--brand); color: #fff; border-color: var(--brand);
  margin-left: auto;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 14px;
}
.fv-groupline { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 12px; color: var(--ink-3); font-family: var(--font-head); font-weight: 600; letter-spacing: 0.04em; }
.fv-groupline .dots { display: inline-flex; }
.fv-groupline .dots span { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--paper); display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 10px; }
.fv-groupline .dots span + span { margin-left: -8px; }

/* Presence list */
.fv-presence { display: grid; gap: 12px; }
.fv-presence-row { display: flex; align-items: center; gap: 14px; padding: 12px 14px; background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r-md); }
.fv-presence-row .fv-av { width: 40px; height: 40px; font-size: 13.5px; }
.fv-presence-row .pdot { width: 10px; height: 10px; border-radius: 50%; flex: none; margin-left: auto; }
.fv-presence-status { font-size: 12.5px; color: var(--ink-2); margin-top: 2px; font-family: var(--font-head); font-weight: 500; }

/* Device lock panel */
.fv-device {
  display: grid; place-items: center;
  padding: clamp(28px, 4vw, 48px) 0;
}
.fv-device-frame {
  width: 110px; height: 180px;
  background: var(--brand-deep); border-radius: 22px;
  padding: 8px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 16px 32px -12px rgba(21,51,103,0.32);
  position: relative;
}
.fv-device-screen {
  width: 100%; height: 100%; background: var(--paper);
  border-radius: 16px; display: grid; place-items: center;
  position: relative;
}
.fv-device-screen .padlock {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--brand-tint); color: var(--brand);
  display: grid; place-items: center;
}
.fv-device-screen .padlock svg { width: 22px; height: 22px; }
.fv-recovery-chip {
  margin-top: 22px;
  font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
  font-size: 12.5px; color: var(--ink-2);
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 8px; padding: 8px 14px;
  letter-spacing: 0.1em;
  display: inline-flex; gap: 8px; align-items: center;
}
.fv-recovery-chip .key { color: var(--teal); }

/* Access timeline */
.fv-timeline { display: grid; gap: 0; position: relative; padding-left: 22px; }
.fv-timeline::before { content: ""; position: absolute; left: 5px; top: 12px; bottom: 12px; width: 1.5px; background: var(--line); }
.fv-tl-row { position: relative; padding: 14px 0; display: grid; gap: 4px; }
.fv-tl-row::before { content: ""; position: absolute; left: -22px; top: 18px; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); border: 3px solid var(--paper); box-shadow: 0 0 0 1.5px var(--brand-tint); }
.fv-tl-when { font-size: 11.5px; color: var(--ink-3); font-family: var(--font-head); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.fv-tl-what { font-size: 14px; color: var(--ink); font-family: var(--font-head); font-weight: 600; }
.fv-tl-detail { font-size: 13px; color: var(--ink-2); }

/* ---------- Privacy Q&A (v2.5) ---------- */
.qa-list { display: grid; gap: 0; max-width: 64ch; }
.qa-item {
  display: grid; grid-template-columns: 44px 1fr;
  gap: 18px;
  padding-block: 24px;
  border-top: 1px solid var(--line-soft);
}
.qa-list .qa-item:last-child { border-bottom: 1px solid var(--line-soft); }
.qa-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--brand-tint); color: var(--brand);
  display: grid; place-items: center;
  flex: none;
}
.qa-icon svg { width: 18px; height: 18px; }
.qa-q {
  font-family: var(--font-head); font-weight: 700; font-size: 17px;
  color: var(--brand-deep); margin-bottom: 6px;
}
.qa-a { color: var(--ink-2); font-size: 16px; line-height: 1.6; max-width: 56ch; }
.qa-a a { color: var(--brand); border-bottom: 1px solid currentColor; }
.qa-a + .qa-a { margin-top: 0.6em; }
@media (max-width: 520px) {
  .qa-item { grid-template-columns: 1fr; gap: 10px; }
  .qa-icon { display: none; }
}

/* ---------- Pull quote ---------- */
.pullquote {
  padding-block: clamp(72px, 10vw, 128px);
  border-top: 1px solid var(--line-soft);
}
.pullquote .wrap { text-align: center; }
.pullquote blockquote {
  margin: 0 auto; max-width: 28ch;
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(1.5rem, 2.2vw + 0.6rem, 2.25rem);
  line-height: 1.28; letter-spacing: -0.018em;
  color: var(--brand-deep);
}
.pullquote cite {
  display: block;
  margin: 28px auto 0;
  font-family: var(--font-head); font-weight: 500; font-style: normal;
  font-size: 0.92rem; letter-spacing: 0.04em; color: var(--ink-3);
}

/* ---------- Final CTA ---------- */
.finalcta {
  padding-block: clamp(88px, 12vw, 168px);
  border-top: 1px solid var(--line-soft);
  background: var(--paper-soft);
}
.finalcta .h2 { max-width: 22ch; margin-bottom: 22px; }
.finalcta p.body-lead { max-width: 48ch; color: var(--ink-2); margin-bottom: 36px; font-size: 1.0625rem; }
.finalcta .actions { display: flex; flex-wrap: wrap; gap: 14px; }
.finalcta-meta { margin-top: 22px; font-size: 14px; color: var(--ink-3); font-family: var(--font-head); font-weight: 500; }

/* ---------- Footer ---------- */
footer.site-footer {
  padding-block: clamp(56px, 6vw, 80px) 32px;
  border-top: 1px solid var(--line-soft);
  background: var(--paper);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  margin-bottom: 48px;
}
.foot-brand p { font-size: 14.5px; color: var(--ink-2); max-width: 30ch; margin-top: 14px; }
.foot-brand .logo-wordmark { height: 22px; }
.foot-col h4, .foot-col-h {
  font-family: var(--font-head); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-2);
  margin: 0 0 16px;
}
.foot-col a {
  display: block; font-size: 14px; color: var(--ink-2);
  margin-bottom: 10px;
  transition: color .2s var(--ease);
}
.foot-col a:hover { color: var(--brand); }
.foot-bot {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: space-between; align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px; color: var(--ink-2);
  font-family: var(--font-head); font-weight: 500;
}
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal animations ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .48s var(--ease), transform .48s var(--ease);
}
.js .reveal.seen { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .12s; }
.reveal.d2 { transition-delay: .24s; }
.reveal.d3 { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .ui-fragment .uf-head,
  .ui-fragment .uf-bubble,
  .ui-fragment .uf-foot { opacity: 1 !important; transform: none !important; transition: none !important; }
  .ui-fragment { transform: none !important; }
  .btn { transition: none; }
}

/* ---------- Long-form text page (Privacy plain-English) ---------- */
.longform { padding-block: clamp(72px, 9vw, 132px); }
.longform .h1 { font-size: clamp(2.25rem, 3.5vw, 3.5rem); margin-bottom: 20px; max-width: 22ch; }
.longform .kicker { margin-bottom: 14px; }
.longform .lede { margin-bottom: 48px; max-width: 52ch; }
.longform .body h2 { font-size: clamp(1.35rem, 1.2vw + 0.6rem, 1.75rem); margin: 1.8em 0 0.5em; color: var(--brand-deep); }
.longform .body h3 { font-size: 1.1rem; margin: 1.4em 0 0.4em; color: var(--brand-deep); font-family: var(--font-head); font-weight: 700; }
.longform .body p { color: var(--ink); }
.longform .body ul { padding-left: 1.2em; }
.longform .body li { margin-bottom: 0.5em; color: var(--ink); }
.longform .body a { color: var(--brand); border-bottom: 1px solid currentColor; }
.longform .body a:hover { color: var(--brand-strong); }
.longform .body strong { color: var(--brand-deep); font-weight: 700; }

/* ---------- Legal pages (restyled) ---------- */
.legal { padding-block: clamp(64px, 7vw, 112px); }
.legal-head { margin-bottom: 40px; max-width: 60ch; }
.legal-head h1 { font-size: clamp(2rem, 3vw, 2.75rem); margin-bottom: 12px; color: var(--brand-deep); font-weight: 700; letter-spacing: -0.02em; }
.legal-head .meta { color: var(--ink-3); font-size: 13.5px; font-family: var(--font-head); font-weight: 500; letter-spacing: 0.02em; }
.legal-body { max-width: 70ch; }
.legal-body h2 { font-size: 1.25rem; margin: 2em 0 0.6em; color: var(--brand-deep); font-family: var(--font-head); font-weight: 700; }
.legal-body h3 { font-size: 1.05rem; margin: 1.5em 0 0.5em; font-family: var(--font-head); font-weight: 700; color: var(--brand-deep); }
.legal-body p, .legal-body li { color: var(--ink); line-height: 1.7; font-size: 16px; }
.legal-body p + p { margin-top: 1em; }
.legal-body ul, .legal-body ol { padding-left: 1.2em; }
.legal-body li { margin-bottom: 0.4em; }
.legal-body li::marker { color: var(--ink-3); }
.legal-body a { color: var(--brand); border-bottom: 1px solid currentColor; }
.legal-body a:hover { color: var(--brand-strong); }
.legal-body strong { color: var(--brand-deep); font-weight: 700; }
.legal-body table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 14.5px; }
.legal-body th, .legal-body td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.legal-body th {
  font-family: var(--font-head); font-weight: 700;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--ink-3); border-bottom-color: var(--line);
}
.legal-nav { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line-soft); font-size: 14px; }
.legal-nav a { font-family: var(--font-head); font-weight: 600; color: var(--ink-2); }
.legal-nav a:hover { color: var(--brand); }
.legal-nav a[aria-current="page"] { color: var(--brand-deep); }

/* ---------- 404 (page not found) ---------- */
.notfound { min-height: 64vh; display: flex; align-items: center; overflow-x: clip; }
.nf-grid {
  display: grid; grid-template-columns: auto auto;
  justify-content: center; gap: clamp(28px, 5vw, 72px);
  align-items: center; width: 100%;
}
.nf-art { display: flex; justify-content: center; }
.nf-mascot { display: block; width: clamp(150px, 22vw, 240px); height: auto; color: var(--brand); }
.nf-m-fill { fill: var(--brand-tint); }
.nf-body { max-width: 50ch; }
.nf-kicker {
  font-family: var(--font-head); font-weight: 800; color: var(--brand);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem); letter-spacing: 0.04em; margin: 0 0 6px;
}
.nf-title {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.25rem); line-height: 1.04;
  letter-spacing: -0.025em; color: var(--brand-deep); margin: 0;
}
.nf-lead {
  font-family: var(--font-body); color: var(--ink-2);
  font-size: clamp(1rem, 0.5vw + 0.9rem, 1.15rem); line-height: 1.7;
  max-width: 52ch; margin: 18px 0 0;
}
.nf-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.nf-links { display: flex; flex-wrap: wrap; align-items: baseline; gap: 18px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line-soft); font-size: 14px; }
.nf-links-lead { color: var(--ink-3); font-family: var(--font-head); font-weight: 500; letter-spacing: 0.01em; }
.nf-links a { font-family: var(--font-head); font-weight: 600; color: var(--ink-2); }
.nf-links a:hover { color: var(--brand); }

@media (max-width: 760px) {
  .nf-grid { grid-template-columns: 1fr; gap: clamp(20px, 6vw, 36px); justify-items: start; }
  .nf-art { justify-content: flex-start; }
  .nf-mascot { width: clamp(132px, 34vw, 172px); }
}

@media (prefers-reduced-motion: no-preference) {
  .js .nf-mascot, .js .nf-kicker, .js .nf-title, .js .nf-lead, .js .nf-cta, .js .nf-links {
    opacity: 0; transform: translateY(10px);
    animation: nf-rise 0.6s var(--ease) forwards;
  }
  .js .nf-kicker { animation-delay: 0.10s; }
  .js .nf-title  { animation-delay: 0.18s; }
  .js .nf-lead   { animation-delay: 0.26s; }
  .js .nf-cta    { animation-delay: 0.34s; }
  .js .nf-links  { animation-delay: 0.42s; }
  /* mascot rises in, then settles into a slow idle bob */
  .js .nf-mascot { animation: nf-rise 0.6s var(--ease) 0.02s forwards, nf-bob 3.6s ease-in-out 0.8s infinite; }
}
@keyframes nf-rise { to { opacity: 1; transform: none; } }
@keyframes nf-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
