/* ===== Byrdseye marketing site ===== */
:root {
  --bg: #fbfbfc;
  --surface: #ffffff;
  --surface-2: #f4f4f8;
  --surface-3: #ececf3;
  --ink: #1b1e2b;
  --ink-2: #2c3350;
  --ink-3: #5c6178;
  --ink-4: #8a8ea3;
  --line: #e7e7ef;
  --line-2: #d9d9e4;
  --accent: #8f34ea;
  --accent-ink: #6d1fc0;
  --accent-soft: #f4eafe;
  --accent-tint: #efe7fd;
  --good: #1d7a4c;
  --good-soft: #e6f4ec;
  --warn: #8f5309;
  --warn-soft: #fbf0e0;
  --crit: #b3261e;
  --crit-soft: #fbebea;
  --info: #2563a8;
  --info-soft: #e8eef6;
  --footer: #171a27;
  --lift: 0 1px 2px rgba(27, 30, 43, 0.04), 0 8px 24px rgba(27, 30, 43, 0.06);
  --lift-lg: 0 2px 4px rgba(27, 30, 43, 0.04), 0 24px 60px -12px rgba(27, 30, 43, 0.16);
  --sans: 'Geist', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.accent { color: var(--accent); }

.mono {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.kicker { color: var(--accent); display: inline-block; margin-bottom: 18px; }

.h-display {
  font-weight: 400;
  font-size: 68px;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.h-section {
  font-weight: 400;
  font-size: 48px;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink-2);
}
.lede { font-size: 18px; color: var(--ink-3); line-height: 1.6; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px;
  border-radius: 999px;
  font-size: 15px; font-weight: 500;
  white-space: nowrap;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.btn svg { transition: transform .18s ease; }
.btn:hover svg { transform: translateX(2px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--ink-4); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-white { background: #fff; color: var(--accent-ink); }
.btn-white:hover { background: var(--accent-soft); }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 251, 252, 0.86);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(27, 30, 43, 0.25); }
.nav .wrap { height: 72px; display: flex; align-items: center; gap: 40px; }
.nav-logo img { height: 24px; width: auto; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 15px; color: var(--ink-2); transition: color .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.nav-burger { display: none; margin-left: auto; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); align-items: center; justify-content: center; }
.nav-mobile { display: none; }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; padding: 72px 0 40px; }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto -10%; height: 900px; pointer-events: none;
  background:
    radial-gradient(40% 45% at 72% 38%, rgba(143, 52, 234, 0.16), transparent 70%),
    radial-gradient(35% 40% at 30% 75%, rgba(120, 110, 255, 0.10), transparent 70%),
    radial-gradient(50% 50% at 90% 10%, rgba(244, 234, 254, 0.9), transparent 70%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero .lede { max-width: 470px; margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-proof { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 36px; color: var(--ink-3); font-size: 14px; }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { color: var(--accent); flex: none; }

/* Hero product collage */
.collage { position: relative; height: auto; }
.ui {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--lift-lg);
}
.ui-main { position: relative; z-index: 1; left: auto; right: auto; top: auto; margin: 68px 12px 0 24px; padding: 22px 24px 28px; }
.ui-score { z-index: 3; }
.collage-low { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin: -20px -18px 0 -40px; }
.collage-low .ui { position: relative; left: auto; right: auto; top: auto; bottom: auto; }
.ui-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.ui-title { font-size: 13px; color: var(--ink-3); }
.ui-big { font-size: 34px; letter-spacing: -0.03em; font-weight: 500; color: var(--ink); line-height: 1.1; }
.ui-sub { font-size: 13px; color: var(--ink-3); margin-top: 4px; }
.ui-pill { font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-3); background: var(--surface-2); }

.tree { position: relative; margin-top: 22px; }
.tree-root {
  width: 190px; margin: 0 auto; text-align: center;
  padding: 10px 12px; border-radius: 12px;
  background: var(--surface-2); border: 1px solid var(--line);
}
.tree-root .n { font-size: 11px; color: var(--ink-3); }
.tree-root .v { font-size: 18px; font-weight: 500; letter-spacing: -0.02em; }
.tree-lines { height: 26px; position: relative; }
.tree-lines::before { content: ''; position: absolute; left: 50%; top: 0; height: 13px; border-left: 1px dashed var(--line-2); }
.tree-lines::after { content: ''; position: absolute; left: 16.6%; right: 16.6%; top: 13px; height: 13px; border: 1px dashed var(--line-2); border-bottom: 0; border-radius: 6px 6px 0 0; }
.tree-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ent {
  padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
  display: flex; gap: 10px; align-items: center;
}
.ent-ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.ent .n { font-size: 11px; color: var(--ink-3); line-height: 1.2; }
.ent .v { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.ic-trust { background: var(--accent-soft); color: var(--accent-ink); }
.ic-llc { background: var(--warn-soft); color: #a8620a; }
.ic-person { background: var(--info-soft); color: var(--info); }
.ic-good { background: var(--good-soft); color: var(--good); }

.alloc { margin-top: 20px; }
.alloc-bar { display: flex; gap: 3px; height: 8px; border-radius: 999px; overflow: hidden; }
.alloc-bar span { height: 100%; }
.alloc-legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 10px; font-size: 12px; color: var(--ink-3); }
.alloc-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 3px; margin-right: 6px; vertical-align: 0; }

.ui-score { left: -12px; top: -16px; width: 210px; padding: 16px 18px; display: flex; gap: 14px; align-items: center; }
.ring { width: 52px; height: 52px; flex: none; position: relative; }
.ring svg { transform: rotate(-90deg); }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; font-weight: 600; }
.ui-score .t { font-size: 12px; color: var(--good); font-weight: 500; }
.ui-score .s { font-size: 15px; font-weight: 500; line-height: 1.25; }

.ui-alert { width: min(268px, 54%); padding: 14px 16px; }
.ui-alert .row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.ui-alert .row:last-child { border-bottom: 0; padding-bottom: 0; }
.ui-alert .row .doc { flex: 1; color: var(--ink); }
.ui-alert .hd { font-size: 12px; color: var(--ink-3); margin-bottom: 4px; display: flex; justify-content: space-between; }

.ui-person { width: min(232px, 42%); padding: 16px; margin-top: 48px; }
.ui-person .who { display: flex; gap: 10px; align-items: center; }
.av { width: 34px; height: 34px; border-radius: 999px; display: grid; place-items: center; font-size: 12px; font-weight: 600; flex: none; }
.av-a { background: var(--accent-soft); color: var(--accent-ink); }
.av-b { background: var(--info-soft); color: var(--info); }
.av-c { background: var(--good-soft); color: var(--good); }
.av-d { background: var(--warn-soft); color: var(--warn); }
.ui-person .nm { font-size: 14px; font-weight: 500; }
.ui-person .rl { font-size: 12px; color: var(--ink-3); }
.ui-person .note { margin-top: 12px; font-size: 12px; color: var(--ink-3); display: flex; gap: 8px; align-items: center; }
.dot { width: 7px; height: 7px; border-radius: 999px; background: var(--good); flex: none; }

.float-a { animation: floatY 7s ease-in-out infinite; }
.float-b { animation: floatY 8s ease-in-out -2s infinite; }
.float-c { animation: floatY 9s ease-in-out -4s infinite; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Chips (match the app) */
.chip { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; border: 1px solid transparent; white-space: nowrap; }
.chip-crit { background: var(--crit-soft); color: var(--crit); border-color: rgba(179, 38, 30, 0.14); }
.chip-warn { background: var(--warn-soft); color: var(--warn); border-color: rgba(143, 83, 9, 0.14); }
.chip-good { background: var(--good-soft); color: var(--good); border-color: rgba(29, 122, 76, 0.14); }
.chip-info { background: var(--info-soft); color: var(--info); border-color: rgba(37, 99, 168, 0.14); }
.chip-neutral { background: var(--surface-2); color: var(--ink-3); border-color: var(--line); }
.chip-accent { background: var(--accent-soft); color: var(--accent-ink); border-color: rgba(143, 52, 234, 0.2); }

/* ===== Trust strip + announcement ===== */
.strip { position: relative; padding: 28px 0 44px; }
.strip .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.strip-item { display: flex; align-items: center; gap: 10px; color: var(--ink-3); font-size: 15px; }
.strip-item svg { color: var(--ink-4); }
.announce { background: var(--accent); color: #fff; text-align: center; font-size: 14px; padding: 11px 20px; }
.announce a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ===== Section scaffolding ===== */
.section { padding: 120px 0; }
.section-center { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-center .lede { margin-top: 18px; }

/* Tabs over framed screenshot */
.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); margin-bottom: 36px; }
.seg button { height: 38px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-3); transition: background .18s, color .18s, box-shadow .18s; }
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(27, 30, 43, 0.08), 0 2px 8px rgba(27, 30, 43, 0.06); }
.seg-wrap { text-align: center; }
.frame {
  max-width: 1040px; margin: 0 auto;
  padding: 22px;
  border-radius: 26px;
  background: linear-gradient(180deg, #f1eafd 0%, #f6f3fd 60%, rgba(246, 243, 253, 0) 100%);
  border: 1px solid #ece4fb;
}
.frame-inner { position: relative; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--lift-lg); border: 1px solid var(--line); aspect-ratio: 16 / 10; }
.frame-inner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transition: opacity .35s ease; }
.frame-inner img.on { opacity: 1; }
.frame-caption { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1040px; margin: 34px auto 0; text-align: left; }
.frame-caption div { padding-top: 16px; border-top: 2px solid var(--line); transition: border-color .2s; cursor: pointer; }
.frame-caption div.on { border-top-color: var(--accent); }
.frame-caption h4 { font-size: 17px; font-weight: 500; margin-bottom: 6px; }
.frame-caption p { font-size: 14px; color: var(--ink-3); }

/* ===== Feature carousel ===== */
.features { background: linear-gradient(180deg, #f3effd 0%, #f6f4fc 40%, var(--bg) 100%); }
.feat-tabs { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-bottom: 36px; }
.feat-tabs button { height: 40px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-3); border: 1px solid transparent; transition: all .18s; }
.feat-tabs button:hover { color: var(--ink); }
.feat-tabs button.on { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--lift); }
.feat-stage { position: relative; }
.feat-panel {
  display: none;
  grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 26px;
  padding: 48px; box-shadow: var(--lift);
  min-height: 500px;
}
.feat-panel.on { display: grid; animation: fadeUp .4s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.feat-panel h3 { font-size: 30px; font-weight: 400; letter-spacing: -0.025em; line-height: 1.15; margin: 4px 0 16px; color: var(--ink-2); }
.feat-panel p { color: var(--ink-3); font-size: 16px; margin-bottom: 22px; }
.feat-panel ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 30px; }
.feat-panel li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-2); }
.feat-panel li svg { color: var(--accent); flex: none; margin-top: 3px; }
.feat-nav { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.feat-nav button { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; display: grid; place-items: center; transition: border-color .15s; }
.feat-nav button:hover { border-color: var(--ink-4); }

.mock { background: var(--surface-2); border: 1px solid var(--line); border-radius: 18px; padding: 22px; min-height: 380px; }
.mock-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.mock-card + .mock-card { margin-top: 10px; }
.mock-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mock-h b { font-size: 15px; font-weight: 600; }
.mock-h span { font-size: 12px; color: var(--ink-3); }
.mrow { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.mrow:last-child { border-bottom: 0; }
.mrow .grow { flex: 1; min-width: 0; }
.mrow .t { color: var(--ink); font-weight: 500; }
.mrow .d { color: var(--ink-3); font-size: 12px; }
.mrow .amt { font-weight: 600; font-variant-numeric: tabular-nums; }

.progress { height: 8px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.progress span { display: block; height: 100%; border-radius: 999px; background: var(--accent); }
.score-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 12px; }
.score-head .big { font-size: 44px; letter-spacing: -0.04em; line-height: 1; font-weight: 500; }
.score-head .big small { font-size: 18px; color: var(--ink-3); font-weight: 400; }

.folders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.folder { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; min-height: 112px; display: flex; flex-direction: column; justify-content: space-between; }
.folder .fi { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.folder .fn { font-size: 13.5px; font-weight: 600; line-height: 1.25; }
.folder .fm { font-size: 12px; color: var(--ink-3); }
.folder.lock { background: var(--ink); border-color: var(--ink); color: #fff; }
.folder.lock .fm { color: rgba(255, 255, 255, 0.6); }
.folder.lock .fi { background: rgba(255, 255, 255, 0.12); color: #fff; }

/* ===== Proof (quote + stats) ===== */
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.proof blockquote { font-size: 26px; line-height: 1.35; letter-spacing: -0.02em; color: var(--ink-2); }
.proof cite { display: block; margin-top: 20px; font-style: normal; color: var(--ink-3); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 80px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 40px 28px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat .n { font-size: 60px; letter-spacing: -0.045em; line-height: 1; color: var(--accent); font-weight: 400; }
.stat .l { margin-top: 12px; color: var(--ink-3); }

/* ===== Testimonials ===== */
.tgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.tcard { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px; display: flex; flex-direction: column; box-shadow: var(--lift); }
.tcard p { font-size: 17px; line-height: 1.55; color: var(--ink-2); flex: 1; }
.tcard .by { display: flex; align-items: center; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.tcard .by b { display: block; font-weight: 500; font-size: 15px; }
.tcard .by span { color: var(--ink-3); font-size: 13px; }

/* ===== Security ===== */
.security .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.sec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 36px; }
.sec-item { padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.sec-item .si { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 14px; }
.sec-item b { display: block; font-weight: 500; font-size: 15px; }
.sec-item span { font-size: 13.5px; color: var(--ink-3); }

/* ===== FAQ ===== */
.faq-box { max-width: 920px; margin: 0 auto; background: var(--surface-2); border: 1px solid var(--line); border-radius: 26px; padding: 44px 48px; }
.faq-box h2 { margin-bottom: 18px; }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item:last-child { border-bottom: 0; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; text-align: left; font-size: 18px; color: var(--ink-2); }
.faq-q svg { flex: none; color: var(--ink-4); transition: transform .25s ease; }
.faq-item.open .faq-q svg { transform: rotate(180deg); color: var(--accent); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-a > div { overflow: hidden; }
.faq-a p { color: var(--ink-3); padding: 0 40px 22px 0; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-note { margin-top: 22px; color: var(--ink-3); font-size: 15px; }
.faq-note a { color: var(--accent); }

/* ===== CTA ===== */
.cta { position: relative; overflow: hidden; padding: 110px 0; background: linear-gradient(180deg, var(--bg) 0%, #f3eefd 100%); }
.cta::before { content: ''; position: absolute; width: 900px; height: 600px; right: -200px; top: -100px; background: radial-gradient(closest-side, rgba(143, 52, 234, 0.14), transparent); pointer-events: none; }
.cta .wrap { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.cta .lede { margin-top: 18px; max-width: 460px; }
.cta-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 32px; box-shadow: var(--lift-lg); }
.cta-card h4 { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 18px; }
.steps { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 26px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.steps li b { width: 26px; height: 26px; flex: none; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; font-size: 12px; font-weight: 600; }
.cta-card .btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* ===== Footer ===== */
.footer { background: var(--footer); color: #c9cbd8; padding: 72px 0 36px; }
.footer .top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 48px; }
.footer .brand img { height: 24px; margin-bottom: 18px; }
.footer .brand p { font-size: 14px; color: #9a9db0; max-width: 300px; }
.footer h6 { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul a, .footer address { font-size: 14px; color: #b3b6c6; font-style: normal; line-height: 1.7; }
.footer ul a:hover { color: #fff; }
.footer .bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #8d90a3; }
.socials { display: flex; gap: 8px; margin-top: 22px; }
.socials a { width: 36px; height: 36px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.12); display: grid; place-items: center; color: #b3b6c6; transition: all .15s; }
.socials a:hover { color: #fff; border-color: rgba(255, 255, 255, 0.35); }

/* ===== Sub-page hero ===== */
.page-hero { position: relative; overflow: hidden; padding: 96px 0 72px; text-align: center; }
.page-hero::before {
  content: ''; position: absolute; left: 50%; top: -260px; transform: translateX(-50%);
  width: 1100px; height: 640px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(143, 52, 234, 0.13), rgba(143, 52, 234, 0.04) 55%, transparent);
}
.page-hero .wrap { position: relative; max-width: 880px; }
.page-hero .lede { max-width: 620px; margin: 22px auto 0; }
.page-hero .hero-ctas { justify-content: center; margin-top: 32px; }
.memorial { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; margin-bottom: 26px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--lift); font-size: 13px; color: var(--ink-3); }
.memorial::before { content: ''; width: 7px; height: 7px; border-radius: 999px; background: var(--accent); }
.memorial b { color: var(--accent-ink); font-weight: 500; }

/* ===== How it works ===== */
.step-nav { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-bottom: 24px; }
.step-nav a { height: 38px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: 999px; font-size: 14px; color: var(--ink-3); border: 1px solid var(--line); background: #fff; transition: all .15s; }
.step-nav a:hover { color: var(--ink); border-color: var(--line-2); }
.step { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: center; padding: 72px 0; scroll-margin-top: 90px; }
.step + .step { border-top: 1px solid var(--line); }
.step.flip > :first-child { order: 2; }
.step.shot { grid-template-columns: 1.4fr 0.6fr; gap: 56px; }
.step h3 { font-size: 38px; font-weight: 400; letter-spacing: -0.03em; line-height: 1.1; color: var(--ink-2); margin-bottom: 18px; }
.step p { color: var(--ink-3); font-size: 17px; margin-bottom: 24px; }
.step ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.step li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-2); }
.step li svg { color: var(--accent); flex: none; margin-top: 3px; }
.step .frame { padding: 14px; border-radius: 22px; margin: 0; }
.step .frame-inner img { opacity: 1; }
.step .mock { max-width: 560px; width: 100%; min-height: 0; justify-self: center; }

/* ===== Team ===== */
.origin { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; }
.origin blockquote { margin-top: 32px; padding-left: 22px; border-left: 2px solid var(--accent); font-size: 19px; line-height: 1.55; color: var(--ink-2); }
.origin .body p { color: var(--ink-3); font-size: 16px; line-height: 1.75; }
.origin .body p + p { margin-top: 18px; }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.person { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 32px; box-shadow: var(--lift); }
.person.lead { grid-column: 1 / -1; display: grid; grid-template-columns: 260px 1fr; gap: 44px; align-items: start; }
.person.lead .photo { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center top; border-radius: 16px; }
.person.wide { grid-column: 1 / -1; }
.person .pic { width: 64px; height: 64px; border-radius: 999px; object-fit: cover; object-position: center top; margin-bottom: 20px; }
.person .initials { width: 64px; height: 64px; border-radius: 999px; display: grid; place-items: center; margin-bottom: 20px; font-size: 18px; font-weight: 500; background: var(--accent-soft); color: var(--accent-ink); }
.person .initials.blue { background: var(--info-soft); color: var(--info); }
.person h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.015em; }
.person .role { display: block; margin: 6px 0 16px; color: var(--accent); }
.person p { color: var(--ink-3); font-size: 15px; line-height: 1.7; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.tags span { font-size: 12.5px; padding: 4px 11px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); }
.mission { text-align: center; }
.mission blockquote { max-width: 820px; margin: 0 auto; font-size: 34px; line-height: 1.3; letter-spacing: -0.025em; color: var(--ink-2); }
.mission .lede { max-width: 600px; margin: 22px auto 32px; }

/* ===== Contact ===== */
.contact { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.channels { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.channel { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.channel .si { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--accent-soft); color: var(--accent-ink); }
.channel .mono { color: var(--ink-4); font-size: 11px; }
.channel b { display: block; font-weight: 500; font-size: 15px; margin-top: 2px; }
.channel b a:hover { color: var(--accent); }
.channel small { display: block; color: var(--ink-3); font-size: 13px; margin-top: 2px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 40px; box-shadow: var(--lift-lg); }
.form-card h3 { font-size: 24px; font-weight: 400; letter-spacing: -0.02em; }
.form-card .sub { color: var(--ink-3); font-size: 15px; margin: 6px 0 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.field label i { font-style: normal; color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-4); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(143, 52, 234, 0.1); }
.field select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1.5l5 5 5-5' stroke='%235c6178' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/></svg>"); background-repeat: no-repeat; background-position: right 16px center; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.form-foot p { font-size: 13px; color: var(--ink-3); max-width: 340px; }
.form-status { display: none; margin-bottom: 18px; padding: 12px 16px; border-radius: 12px; font-size: 14px; background: var(--good-soft); color: var(--good); }
.form-status.visible { display: block; }
.form-status.error { background: var(--crit-soft); color: var(--crit); }

/* ===== Reveal on scroll ===== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .h-display { font-size: 56px; }
  .h-section { font-size: 40px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .collage { max-width: 640px; width: 100%; margin: 0 auto; }
  .feat-panel { grid-template-columns: 1fr; padding: 36px; min-height: 0; }
  .security .wrap, .cta .wrap, .proof-grid { grid-template-columns: 1fr; gap: 40px; }
  .step, .step.shot, .origin, .contact { grid-template-columns: 1fr; gap: 40px; }
  .step.flip > :first-child { order: 0; }
  .person.lead { grid-template-columns: 200px 1fr; gap: 32px; }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-mobile.open { display: flex; flex-direction: column; gap: 4px; padding: 8px 24px 20px; border-top: 1px solid var(--line); background: var(--bg); }
  .nav-mobile a:not(.btn) { padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav-mobile .btn { margin-top: 12px; }
  .section { padding: 80px 0; }
  .frame-caption, .tgrid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .footer .top { grid-template-columns: 1fr 1fr; }
  .footer .brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .h-display { font-size: 42px; }
  .h-section { font-size: 32px; }
  .lede { font-size: 16px; }
  .hero { padding-top: 40px; }
  .collage { height: auto; }
  .ui-main { margin: 60px 0 0; padding: 18px; }
  .collage-low { margin: 12px 0 0; justify-content: flex-end; }
  .ui-person { margin-top: 0; }
  .tree-row { grid-template-columns: 1fr; gap: 8px; }
  .tree-lines::after { display: none; }
  .ui-score { left: 0; top: 0; }
  .ui-alert { display: none; }
  .ui-person { width: min(232px, 100%); }
  .alloc { display: none; }
  .frame { padding: 10px; border-radius: 18px; }
  .feat-panel { padding: 24px; border-radius: 20px; }
  .feat-panel h3 { font-size: 24px; }
  .mock { padding: 14px; min-height: 0; }
  .folders { grid-template-columns: 1fr 1fr; }
  .proof blockquote { font-size: 21px; }
  .stat { padding: 26px 16px; }
  .stat .n { font-size: 44px; }
  .sec-grid { grid-template-columns: 1fr; }
  .faq-box { padding: 28px 22px; border-radius: 20px; }
  .faq-q { font-size: 16px; }
  .cta-card { padding: 24px; }
  .page-hero { padding: 64px 0 48px; }
  .step { padding: 48px 0; }
  .step h3 { font-size: 30px; }
  .people, .form-row { grid-template-columns: 1fr; gap: 16px; }
  .person { padding: 24px; }
  .person.lead { grid-template-columns: 1fr; gap: 24px; }
  .person.lead .photo { max-width: 220px; }
  .mission blockquote { font-size: 24px; }
  .form-card { padding: 24px; border-radius: 20px; }
  .form-foot .btn { width: 100%; }
  .footer .top { gap: 36px 24px; }
  .footer .top > div:last-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .float-a, .float-b, .float-c { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
