/* =========================================================
   Ovalvi, the video platform for enterprise
   Design tokens
   ========================================================= */

:root {
  /* Ink */
  --ink-900: #0a0b0f;
  --ink-800: #14161d;
  --ink-700: #232733;
  --ink-600: #3a4050;
  --ink-500: #565d70;
  --ink-400: #79808f;
  --ink-300: #9aa0ad;
  --ink-200: #c3c7d0;

  /* Surfaces */
  --paper: #ffffff;
  --paper-2: #fafbfc;
  --paper-3: #f4f5f8;
  --paper-4: #eef0f4;

  /* Lines */
  --line: #e5e7ec;
  --line-soft: #eef0f4;
  --line-strong: #d6d9e0;

  /* Single accent, used sparingly */
  --accent: #2b49ff;
  --accent-ink: #1b31c4;
  --accent-soft: #eef1ff;
  --accent-line: #d3daff;

  /* Support (kept minimal) */
  --live: #e5484d;

  /* Shadows: soft, layered, never heavy */
  --sh-xs: 0 1px 2px rgba(10, 11, 15, 0.04);
  --sh-sm: 0 1px 2px rgba(10, 11, 15, 0.04), 0 4px 12px rgba(10, 11, 15, 0.04);
  --sh-md: 0 1px 2px rgba(10, 11, 15, 0.04), 0 8px 24px rgba(10, 11, 15, 0.06);
  --sh-lg: 0 2px 4px rgba(10, 11, 15, 0.03), 0 18px 48px rgba(10, 11, 15, 0.08);
  --sh-xl: 0 2px 6px rgba(10, 11, 15, 0.03), 0 32px 80px rgba(10, 11, 15, 0.1);

  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --font-display: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;

  --container: 1200px;
  --header-h: 68px;
}

/* =========================================================
   Reset
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-500);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv05" 1, "ss01" 1;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-900);
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.08;
}

p { margin: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* =========================================================
   Layout primitives
   ========================================================= */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 28px;
}

.section { padding: 108px 0; position: relative; }
.section--tight { padding: 72px 0; }
.section--alt { background: var(--paper-2); border-block: 1px solid var(--line-soft); }

.section-head { max-width: 640px; }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-bottom: 20px;
}

.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

h1, .h1 { font-size: clamp(2.6rem, 6vw, 4.15rem); letter-spacing: -0.04em; }
h2, .h2 { font-size: clamp(2rem, 3.9vw, 2.9rem); letter-spacing: -0.035em; }
h3, .h3 { font-size: 1.28rem; letter-spacing: -0.02em; line-height: 1.3; }

h1 em, h2 em {
  font-style: normal;
  color: var(--ink-400);
}

.lede {
  font-size: clamp(1.06rem, 1.5vw, 1.22rem);
  line-height: 1.55;
  color: var(--ink-500);
  max-width: 56ch;
}

h1 + .lede, h2 + .lede { margin-top: 20px; }

.muted { color: var(--ink-400); }
.small { font-size: 13.5px; line-height: 1.55; }

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease, border-color .18s ease,
              box-shadow .18s ease, transform .18s ease;
}

.btn-lg { height: 50px; padding: 0 24px; font-size: 15.5px; border-radius: 12px; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13.5px; border-radius: 9px; }

.btn-primary {
  background: var(--ink-900);
  color: #fff;
  box-shadow: var(--sh-sm), inset 0 1px 0 rgba(255,255,255,.08);
}
.btn-primary:hover { background: #000; transform: translateY(-1px); box-shadow: var(--sh-md); }
.btn-primary:active { transform: translateY(0); }

.btn-accent { background: var(--accent); color: #fff; box-shadow: var(--sh-sm); }
.btn-accent:hover { background: var(--accent-ink); transform: translateY(-1px); }

.btn-line {
  background: var(--paper);
  color: var(--ink-800);
  border-color: var(--line-strong);
  box-shadow: var(--sh-xs);
}
.btn-line:hover { border-color: var(--ink-300); background: var(--paper); transform: translateY(-1px); }

.btn-ghost { color: var(--ink-700); }
.btn-ghost:hover { background: var(--paper-3); }

.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }

.btn .arw { transition: transform .18s ease; }
.btn:hover .arw { transform: translateX(2px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: 600; font-size: 14.5px;
  color: var(--ink-900);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: border-color .18s ease, color .18s ease;
}
.link-arrow:hover { border-color: var(--ink-900); }
.link-arrow svg { transition: transform .18s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* =========================================================
   Logo
   ========================================================= */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-900);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.035em;
}

.logo-mark { width: 28px; height: 28px; flex: none; color: var(--ink-900); }
.logo-mark .lm-ring-b { opacity: .18; }
.logo-mark .lm-play {
  fill: var(--accent);
  stroke: var(--accent);
  stroke-width: 1.3;
  stroke-linejoin: round;
}
.logo--lg { font-size: 22px; gap: 10px; }
.logo--lg .logo-mark { width: 32px; height: 32px; }
.logo--inv { color: #fff; }
.logo--inv .logo-mark { color: #fff; }
.logo--inv .logo-mark .lm-play { fill: #fff; stroke: #fff; }

/* =========================================================
   Header
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); background: rgba(255,255,255,.92); }

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: auto;
}

.nav-links a {
  padding: 7px 11px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-600);
  transition: color .16s ease, background .16s ease;
}
.nav-links a:hover { color: var(--ink-900); background: var(--paper-3); }

.header-actions { display: flex; align-items: center; gap: 8px; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line); border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 16px; height: 1.5px; background: var(--ink-800); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: var(--ink-800);
}
.nav-toggle span::before { top: -5px; } .nav-toggle span::after { top: 5px; }

.mobile-nav {
  display: none;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  padding: 12px 28px 20px;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: block; padding: 11px 0; font-size: 16px; font-weight: 500;
  color: var(--ink-700); border-bottom: 1px solid var(--line-soft);
}
.mobile-nav .mobile-cta { display: flex; gap: 10px; margin-top: 16px; }
.mobile-nav .mobile-cta .btn { flex: 1; }

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  padding: 84px 0 0;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -220px 0 auto 0;
  height: 620px;
  background:
    radial-gradient(60% 70% at 50% 40%, rgba(43, 73, 255, 0.055), transparent 70%),
    radial-gradient(40% 50% at 80% 10%, rgba(43, 73, 255, 0.03), transparent 70%);
  pointer-events: none;
}

.hero-inner { position: relative; text-align: center; }
.hero h1 { max-width: 17ch; margin-inline: auto; text-wrap: balance; }
.hero .lede { margin: 22px auto 0; text-align: center; max-width: 48ch; }

.hero-cta {
  display: flex; justify-content: center; gap: 12px;
  margin-top: 34px; flex-wrap: wrap;
}


.hero-visual { margin-top: 64px; position: relative; }

/* =========================================================
   App mock: light, precise, near-monochrome
   ========================================================= */

.app-window {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-xl);
  display: grid;
  grid-template-columns: 208px 1fr;
  min-height: 520px;
}

.app-window::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: var(--r-xl);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
  pointer-events: none;
}

.app-rail {
  background: var(--paper-2);
  border-right: 1px solid var(--line-soft);
  border-radius: var(--r-xl) 0 0 var(--r-xl);
  padding: 18px 14px;
  display: flex; flex-direction: column; gap: 3px;
}

.rail-brand { display: flex; align-items: center; gap: 8px; padding: 2px 8px 18px; }
.rail-brand .logo-mark { width: 20px; height: 20px; }
.rail-brand b { font-family: var(--font-display); font-size: 14.5px; letter-spacing: -.03em; color: var(--ink-900); font-weight: 600; }

.rail-item {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 9px; border-radius: 8px;
  font-size: 13px; font-weight: 500; color: var(--ink-500);
}
.rail-item svg { width: 15px; height: 15px; flex: none; opacity: .65; }
.rail-item.is-active { background: var(--paper); color: var(--ink-900); box-shadow: var(--sh-xs); font-weight: 600; }
.rail-item.is-active svg { opacity: 1; color: var(--accent); }

.rail-label {
  font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-300); padding: 22px 9px 8px;
}
.rail-space { display: flex; align-items: center; gap: 9px; padding: 6px 9px; font-size: 13px; color: var(--ink-500); }
.rail-space i { width: 7px; height: 7px; border-radius: 2px; background: var(--ink-200); flex: none; }
.rail-space.accent i { background: var(--accent); }

.app-main { display: flex; flex-direction: column; min-width: 0; }

.app-topbar {
  height: 56px; flex: none;
  border-bottom: 1px solid var(--line-soft);
  display: flex; align-items: center; gap: 14px;
  padding: 0 18px;
}

.app-search {
  flex: 1;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper-2);
  display: flex; align-items: center; gap: 9px;
  padding: 0 12px;
  font-size: 13px; color: var(--ink-400);
}
.app-search svg { width: 14px; height: 14px; color: var(--accent); flex: none; }
.app-search .kbd {
  margin-left: auto; font-family: var(--font-mono); font-size: 10.5px;
  color: var(--ink-300); border: 1px solid var(--line); border-radius: 5px;
  padding: 1px 5px; background: var(--paper);
}

.app-faces { display: flex; }
.app-faces i {
  width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid var(--paper);
  margin-left: -7px;
  background: var(--paper-4);
}
.app-faces i:nth-child(1) { background: linear-gradient(140deg, #e3e6ee, #cfd4e0); margin-left: 0; }
.app-faces i:nth-child(2) { background: linear-gradient(140deg, #dfe3f2, #c8cfe6); }
.app-faces i:nth-child(3) { background: linear-gradient(140deg, #e8eaf0, #d5d9e3); }

.app-body { padding: 20px 18px 24px; flex: 1; }

.app-crumb {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.app-crumb h4 { font-size: 14px; letter-spacing: -.02em; }
.app-crumb span { font-size: 12px; color: var(--ink-400); }

.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

.vcard { min-width: 0; }
.vcard-meta { padding-top: 10px; }
.vcard-meta b {
  display: block; font-family: var(--font-display); font-size: 13px; font-weight: 600;
  color: var(--ink-900); letter-spacing: -.015em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.vcard-meta span { font-size: 11.5px; color: var(--ink-400); }

/* Thumbnail: a light mock screen-share with a camera bubble */
.thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 11px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(165deg, #fbfcfe 0%, #f1f3f8 100%);
  overflow: hidden;
  padding: 12px;
}
.thumb.accent { background: linear-gradient(165deg, #f6f8ff 0%, #eaeefc 100%); }

.t-line { height: 4px; border-radius: 3px; background: var(--ink-200); opacity: .55; margin-bottom: 6px; }
.t-line.w70 { width: 70%; } .t-line.w45 { width: 45%; } .t-line.w55 { width: 55%; }
.t-line.acc { background: var(--accent); opacity: .5; }

.t-bars { display: flex; align-items: flex-end; gap: 4px; height: 42%; margin-top: 10px; }
.t-bars i { flex: 1; background: var(--ink-200); opacity: .5; border-radius: 2px 2px 0 0; }
.t-bars i.acc { background: var(--accent); opacity: .55; }

.t-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-top: 8px; }
.t-blocks i { height: 16px; border-radius: 4px; background: var(--ink-200); opacity: .35; }

.t-bubble {
  position: absolute; right: 10px; bottom: 10px;
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(150deg, #dfe4f4, #c6cee6);
  border: 2px solid #fff;
  box-shadow: var(--sh-xs);
}
.t-time {
  position: absolute; left: 10px; bottom: 10px;
  font-family: var(--font-mono); font-size: 10px;
  background: rgba(10,11,15,.72); color: #fff;
  padding: 2px 6px; border-radius: 5px;
  letter-spacing: -.02em;
}

/* Floating cards over the app mock */
.float {
  position: absolute;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  z-index: 3;
}

.float-answer {
  right: -18px; bottom: -46px;
  width: min(380px, 80%);
  padding: 16px 17px;
}
.float-answer .fa-q {
  display: flex; gap: 9px; align-items: flex-start;
  font-size: 13px; color: var(--ink-800); font-weight: 500;
  padding-bottom: 12px; border-bottom: 1px solid var(--line-soft);
}
.float-answer .fa-q svg { width: 15px; height: 15px; color: var(--accent); flex: none; margin-top: 2px; }
.float-answer .fa-a { font-size: 13px; color: var(--ink-500); padding: 12px 0 11px; line-height: 1.55; }
.float-answer .fa-a mark { background: var(--accent-soft); color: var(--accent-ink); padding: 0 3px; border-radius: 3px; font-weight: 500; }
.fa-cites { display: flex; flex-wrap: wrap; gap: 6px; }
.cite {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--ink-500);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 3px 9px; background: var(--paper-2);
}
.cite b { font-family: var(--font-mono); font-size: 10px; color: var(--accent); font-weight: 500; }
.fa-foot {
  margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; color: var(--ink-400);
}
.fa-foot .timing { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-700); font-weight: 500; }
.fa-foot .timing i { width: 5px; height: 5px; border-radius: 50%; background: #16a34a; }

.float-rec {
  left: -30px; top: -24px;
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px 9px 12px;
  border-radius: 999px;
  font-size: 12.5px; font-weight: 500; color: var(--ink-800);
}
.float-rec .rec-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--live);
  box-shadow: 0 0 0 3px rgba(229,72,77,.14);
  animation: pulse 2s ease-in-out infinite;
}
.float-rec .rec-time { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-400); }
.float-rec .rec-sep { width: 1px; height: 14px; background: var(--line); }

@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .45; } }

/* =========================================================
   Logo wall
   ========================================================= */

.wall { padding: 56px 0 60px; border-top: 1px solid var(--line-soft); }
.wall-title {
  text-align: center; font-size: 12.5px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink-300);
  margin-bottom: 34px;
}

.wall-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px 8px;
  align-items: center;
}

.brand {
  display: flex; align-items: center; justify-content: center;
  height: 66px;
}
.brand img {
  flex: none;
  max-width: 100%;
  filter: grayscale(1) brightness(.72);
  opacity: .8;
  transition: filter .25s ease, opacity .25s ease;
}
.brand:hover img { filter: none; opacity: 1; }

.wall-note { text-align: center; margin-top: 26px; font-size: 12.5px; color: var(--ink-300); }

/* =========================================================
   Split feature block
   ========================================================= */

.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: center;
}
.split--rev .split-copy { order: 2; }

.split-copy .lede { max-width: 46ch; }

.tick-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 13px; }
.tick-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.8px; color: var(--ink-600); }
.tick-list svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--accent); }
.tick-list b { color: var(--ink-900); font-weight: 600; }

.split-cta { margin-top: 32px; }

/* Share illustration */
.share-stage { position: relative; padding: 8px 0; }

.player {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  overflow: hidden;
}
.player-screen {
  position: relative;
  aspect-ratio: 16 / 9.4;
  background: linear-gradient(168deg, #fcfdff 0%, #f0f2f8 100%);
  padding: 26px 28px;
  border-bottom: 1px solid var(--line-soft);
}
.player-screen .ps-title { height: 7px; width: 46%; border-radius: 4px; background: var(--ink-200); opacity: .6; }
.player-screen .ps-sub { height: 5px; width: 28%; border-radius: 4px; background: var(--ink-200); opacity: .38; margin-top: 10px; }
.ps-chart { display: flex; align-items: flex-end; gap: 8px; height: 46%; margin-top: 26px; }
.ps-chart i { flex: 1; border-radius: 3px 3px 0 0; background: var(--ink-200); opacity: .42; }
.ps-chart i.acc { background: var(--accent); opacity: .5; }
.ps-grid { position: absolute; left: 28px; right: 28px; bottom: 26px; height: 1px; background: var(--line); }

.ps-cam {
  position: absolute; right: 22px; bottom: 22px;
  width: 74px; height: 74px; border-radius: 50%;
  background: linear-gradient(150deg, #e4e8f6, #c9d1e8);
  border: 3px solid #fff;
  box-shadow: var(--sh-md);
  display: grid; place-items: center;
}
.ps-cam::after {
  content: ""; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,.55);
  box-shadow: inset 0 -8px 14px rgba(10,11,15,.05);
}

.player-bar { padding: 13px 18px 15px; }
.scrub { height: 3px; border-radius: 3px; background: var(--paper-4); position: relative; }
.scrub i { position: absolute; inset: 0 62% 0 0; background: var(--accent); border-radius: 3px; }
.scrub b {
  position: absolute; left: 38%; top: 50%; transform: translate(-50%, -50%);
  width: 11px; height: 11px; border-radius: 50%; background: #fff;
  border: 2px solid var(--accent); box-shadow: var(--sh-xs);
}
.scrub .chap { position: absolute; top: -3px; width: 1.5px; height: 9px; background: var(--ink-200); }

.player-ctrl {
  display: flex; align-items: center; gap: 12px; margin-top: 13px;
  font-size: 11.5px; color: var(--ink-400); font-family: var(--font-mono);
}
.player-ctrl .pc-btn {
  width: 26px; height: 26px; border-radius: 50%; background: var(--ink-900);
  display: grid; place-items: center; color: #fff;
}
.player-ctrl .pc-btn svg { width: 10px; height: 10px; }
.player-ctrl .spacer { flex: 1; }
.player-ctrl .pc-chip {
  font-family: var(--font-sans); font-size: 11px; color: var(--ink-500);
  border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px;
}

.share-row {
  position: absolute; left: -26px; bottom: -34px;
  display: flex; align-items: center; gap: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--sh-lg);
  padding: 9px 10px 9px 14px;
  z-index: 3;
}
.share-row .url {
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-600);
  letter-spacing: -.02em;
}
.share-row .url span { color: var(--ink-300); }

.owner-chip {
  position: absolute; right: -20px; top: -22px;
  display: flex; align-items: center; gap: 9px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 11px; box-shadow: var(--sh-md);
  padding: 9px 13px; font-size: 12.5px; color: var(--ink-700); font-weight: 500;
  z-index: 3;
}
.owner-chip svg { width: 15px; height: 15px; color: var(--accent); }

/* =========================================================
   Ask section, the big one
   ========================================================= */

.ask {
  background: var(--paper-2);
  border-block: 1px solid var(--line-soft);
  position: relative;
  overflow: hidden;
}
.ask::before {
  content: "";
  position: absolute; left: 50%; top: -160px; transform: translateX(-50%);
  width: 900px; height: 460px;
  background: radial-gradient(50% 60% at 50% 50%, rgba(43,73,255,.07), transparent 72%);
  pointer-events: none;
}

.ask-head { text-align: center; max-width: 720px; margin: 0 auto 52px; position: relative; }
.ask-head .lede { margin: 20px auto 0; }

.ask-demo {
  position: relative;
  max-width: 900px; margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-xl);
  overflow: hidden;
}

.ask-bar {
  display: flex; align-items: center; gap: 13px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line-soft);
}
.ask-bar > svg { width: 19px; height: 19px; color: var(--accent); flex: none; }
.ask-q {
  flex: 1; min-width: 0;
  font-family: var(--font-display);
  font-size: clamp(15px, 1.9vw, 18.5px);
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--ink-900);
}
.ask-q .caret {
  display: inline-block; width: 2px; height: 1.05em; vertical-align: -.16em;
  background: var(--accent); margin-left: 2px;
  animation: blink 1.05s steps(1) infinite;
}
@keyframes blink { 0%,50% { opacity: 1; } 51%,100% { opacity: 0; } }
.ask-scope {
  flex: none; font-size: 11.5px; color: var(--ink-400);
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px;
  background: var(--paper-2);
}

.ask-body { padding: 24px 22px 22px; }

.ask-status {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; color: var(--ink-400);
  margin-bottom: 16px;
}
.ask-status .spin {
  width: 13px; height: 13px; border-radius: 50%;
  border: 1.5px solid var(--accent-line); border-top-color: var(--accent);
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.ask-status.done .spin { display: none; }
.ask-status.done { color: var(--ink-700); font-weight: 500; }
.ask-status.done::before {
  content: ""; width: 15px; height: 15px; border-radius: 50%;
  background: #16a34a; flex: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9.6 16.2 4.8 11.4l1.4-1.4 3.4 3.4 8-8 1.4 1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9.6 16.2 4.8 11.4l1.4-1.4 3.4 3.4 8-8 1.4 1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.ask-answer {
  font-size: 15.6px; line-height: 1.62; color: var(--ink-700);
  max-width: 68ch;
}
.ask-answer mark {
  background: var(--accent-soft); color: var(--accent-ink);
  padding: 1px 4px; border-radius: 4px; font-weight: 500;
}

.ask-sources { margin-top: 26px; }
.ask-sources-label {
  font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-300); margin-bottom: 12px;
}
.src-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.src {
  display: flex; gap: 11px; align-items: center;
  border: 1px solid var(--line); border-radius: 11px;
  padding: 11px 12px; background: var(--paper-2);
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.src:hover { border-color: var(--accent-line); background: var(--paper); transform: translateY(-1px); }
.src-thumb {
  width: 46px; height: 32px; border-radius: 6px; flex: none;
  background: linear-gradient(160deg, #f4f6fb, #e4e8f2);
  border: 1px solid var(--line-soft);
  position: relative;
}
.src-thumb::after {
  content: ""; position: absolute; right: 4px; bottom: 4px;
  width: 10px; height: 10px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 1px var(--line);
}
.src-meta { min-width: 0; }
.src-meta b {
  display: block; font-family: var(--font-display); font-size: 12.8px; font-weight: 600;
  color: var(--ink-900); letter-spacing: -.015em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.src-meta span { font-size: 11.5px; color: var(--ink-400); }
.src-meta span b { display: inline; font-family: var(--font-mono); font-size: 10.5px; color: var(--accent); font-weight: 500; }

.ask-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line-soft);
  padding: 14px 22px;
  background: var(--paper-2);
  font-size: 12.5px; color: var(--ink-400);
}
.ask-foot .metric { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-700); font-weight: 500; }
.ask-foot .metric i { width: 6px; height: 6px; border-radius: 50%; background: #16a34a; }
.ask-suggest { display: flex; gap: 7px; flex-wrap: wrap; }
.ask-suggest button {
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: 5px 12px; font-size: 12px; color: var(--ink-500); cursor: pointer;
  transition: border-color .16s ease, color .16s ease;
}
.ask-suggest button:hover { border-color: var(--ink-300); color: var(--ink-900); }
.ask-suggest button.is-active { border-color: var(--accent); color: var(--accent-ink); background: var(--accent-soft); }

.ask-points {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 56px;
}
.ask-point { padding-top: 22px; border-top: 1px solid var(--line); }
.ask-point b {
  display: block; font-family: var(--font-display); font-size: 15px;
  color: var(--ink-900); letter-spacing: -.02em; margin-bottom: 7px; font-weight: 600;
}
.ask-point p { font-size: 14px; color: var(--ink-500); }

/* =========================================================
   Features
   ========================================================= */

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: 56px;
}

.feat {
  background: var(--paper);
  padding: 30px 28px 32px;
  transition: background .2s ease;
}
.feat:hover { background: var(--paper-2); }

.feat-ico {
  width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  display: grid; place-items: center;
  margin-bottom: 20px;
  color: var(--ink-800);
}
.feat-ico svg { width: 19px; height: 19px; }
.feat:hover .feat-ico { border-color: var(--accent-line); background: var(--accent-soft); color: var(--accent-ink); }

.feat h3 { margin-bottom: 9px; font-size: 1.06rem; }
.feat p { font-size: 14.3px; color: var(--ink-500); }

/* Big alternating rows */
.rows { display: grid; gap: 108px; margin-top: 104px; }

.mini-stage {
  background: linear-gradient(170deg, var(--paper-2), var(--paper-3));
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 40px;
  display: grid; place-items: center;
  min-height: 380px;
  position: relative;
  overflow: hidden;
}
.mini-stage::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(var(--line-strong) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .4;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent 78%);
  mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent 78%);
}

/* Transcript editing illustration */
.tr-card {
  position: relative; width: 100%; max-width: 420px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-lg);
  padding: 20px 22px 22px;
}
.tr-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 14px; border-bottom: 1px solid var(--line-soft); margin-bottom: 16px;
}
.tr-head b { font-family: var(--font-display); font-size: 13.5px; color: var(--ink-900); letter-spacing: -.02em; }
.tr-head span { font-size: 11.5px; color: var(--ink-400); }
.tr-line { display: flex; gap: 11px; margin-bottom: 13px; font-size: 13.2px; line-height: 1.5; }
.tr-line time { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-300); padding-top: 3px; flex: none; }
.tr-line p { color: var(--ink-600); }
.tr-line s { color: var(--ink-200); text-decoration-color: var(--ink-200); }
.tr-line .sel { background: var(--accent-soft); border-radius: 3px; padding: 0 2px; color: var(--accent-ink); }
.tr-action {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 4px; font-size: 12.5px; font-weight: 500; color: var(--ink-800);
  border: 1px solid var(--line); border-radius: 8px; padding: 7px 12px;
  background: var(--paper-2);
}
.tr-action svg { width: 14px; height: 14px; color: var(--accent); }

/* Governance illustration */
.gov-stack { position: relative; width: 100%; max-width: 400px; display: grid; gap: 12px; }
.gov-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 13px; box-shadow: var(--sh-sm);
  padding: 15px 16px;
  display: flex; align-items: center; gap: 13px;
}
.gov-card .gc-ico {
  width: 34px; height: 34px; border-radius: 9px; flex: none;
  background: var(--paper-3); border: 1px solid var(--line-soft);
  display: grid; place-items: center; color: var(--ink-600);
}
.gov-card .gc-ico svg { width: 16px; height: 16px; }
.gov-card.accent .gc-ico { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent-ink); }
.gc-meta { min-width: 0; flex: 1; }
.gc-meta b { display: block; font-family: var(--font-display); font-size: 13.4px; color: var(--ink-900); letter-spacing: -.02em; font-weight: 600; }
.gc-meta span { font-size: 11.5px; color: var(--ink-400); }
.gc-tag {
  font-size: 10.5px; font-weight: 500; color: var(--ink-500);
  border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px;
  background: var(--paper-2); white-space: nowrap;
}
.gc-tag.acc { color: var(--accent-ink); border-color: var(--accent-line); background: var(--accent-soft); }

/* Analytics illustration */
.an-card {
  width: 100%; max-width: 420px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-lg);
  padding: 22px;
}
.an-top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px; }
.an-top b { font-family: var(--font-display); font-size: 13.5px; color: var(--ink-900); letter-spacing: -.02em; }
.an-top span { font-size: 11.5px; color: var(--ink-400); }
.an-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.an-kpi { border: 1px solid var(--line-soft); border-radius: 10px; padding: 11px 12px; background: var(--paper-2); }
.an-kpi b { display: block; font-family: var(--font-display); font-size: 19px; color: var(--ink-900); letter-spacing: -.035em; font-weight: 600; }
.an-kpi span { font-size: 10.5px; color: var(--ink-400); }
.an-chart { display: flex; align-items: flex-end; gap: 6px; height: 92px; }
.an-chart i { flex: 1; border-radius: 3px 3px 0 0; background: var(--paper-4); }
.an-chart i.acc { background: var(--accent); opacity: .85; }
.an-axis { display: flex; justify-content: space-between; margin-top: 9px; font-family: var(--font-mono); font-size: 9.5px; color: var(--ink-300); }

/* =========================================================
   Security
   ========================================================= */

.sec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

.badge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.badge-card {
  border: 1px solid var(--line); border-radius: 13px;
  background: var(--paper); padding: 16px 15px;
  box-shadow: var(--sh-xs);
  transition: border-color .18s ease, transform .18s ease;
}
.badge-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.badge-card svg { width: 20px; height: 20px; color: var(--ink-700); margin-bottom: 12px; }
.badge-card b { display: block; font-family: var(--font-display); font-size: 13.2px; color: var(--ink-900); letter-spacing: -.02em; font-weight: 600; }
.badge-card span { font-size: 11.5px; color: var(--ink-400); }

.sec-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.sec-list li { display: flex; gap: 11px; font-size: 14.6px; color: var(--ink-600); }
.sec-list svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--accent); }

/* =========================================================
   Metrics band
   ========================================================= */

.metrics {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; background: var(--line); gap: 1px;
}
.metric-cell { background: var(--paper); padding: 32px 28px; }
.metric-cell b {
  display: block; font-family: var(--font-display); font-size: 2.35rem;
  color: var(--ink-900); letter-spacing: -.045em; line-height: 1; margin-bottom: 10px; font-weight: 600;
}
.metric-cell span { font-size: 13.5px; color: var(--ink-500); }

/* =========================================================
   Footer
   ========================================================= */

.site-footer { border-top: 1px solid var(--line); padding: 68px 0 40px; margin-top: 108px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; }
.footer-brand p { font-size: 13.5px; color: var(--ink-400); margin-top: 16px; max-width: 30ch; }
.footer-col h4 {
  font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-300); margin-bottom: 16px;
}
.footer-col a { display: block; font-size: 13.8px; color: var(--ink-500); padding: 5px 0; transition: color .16s ease; }
.footer-col a:hover { color: var(--ink-900); }
.footer-bot {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--ink-300);
}
.footer-bot .regions { display: flex; gap: 16px; }

/* =========================================================
   Auth pages
   ========================================================= */

.auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}

.auth-aside {
  background: linear-gradient(168deg, #fbfcfe 0%, #f2f4f9 55%, #edf0f7 100%);
  border-right: 1px solid var(--line);
  padding: 40px 56px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.auth-aside::before {
  content: "";
  position: absolute; left: -10%; top: 20%;
  width: 620px; height: 620px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(43,73,255,.08), transparent 70%);
  pointer-events: none;
}
.auth-aside > * { position: relative; }
.auth-aside-body { margin: auto 0; max-width: 460px; }
.auth-quote {
  font-family: var(--font-serif);
  font-size: 1.72rem; line-height: 1.3; letter-spacing: -.02em;
  color: var(--ink-900);
}
.auth-quote span { color: var(--accent); }
.auth-points { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 12px; }
.auth-points li {
  position: relative;
  padding-left: 22px;
  font-size: 14.2px;
  color: var(--ink-500);
}
.auth-points li::before {
  content: "";
  position: absolute; left: 0; top: .55em;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.auth-trust {
  margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 8px;
}
.auth-trust span {
  font-size: 11.5px; color: var(--ink-500); font-weight: 500;
  border: 1px solid var(--line); background: rgba(255,255,255,.7);
  border-radius: 999px; padding: 4px 11px;
}

.auth-main {
  display: flex; flex-direction: column;
  padding: 32px 40px 40px;
  background: var(--paper);
}
.auth-main-head { display: flex; justify-content: flex-end; }
.auth-main-head a { font-size: 13.5px; color: var(--ink-500); }
.auth-main-head a:hover { color: var(--ink-900); }

.auth-card { margin: auto; width: 100%; max-width: 400px; padding: 32px 0; }
.auth-card h1 { font-size: 1.95rem; letter-spacing: -.035em; }
.auth-card > p.sub { margin-top: 12px; color: var(--ink-400); font-size: 14.5px; }

.field { margin-top: 20px; }
.field label {
  display: block; font-family: var(--font-display); font-size: 13px; font-weight: 600;
  color: var(--ink-800); letter-spacing: -.01em; margin-bottom: 7px;
}
.field .hint { font-weight: 400; color: var(--ink-300); font-size: 12px; letter-spacing: 0; }

.input, .select, .textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--paper);
  padding: 0 13px;
  height: 44px;
  font-family: var(--font-sans);
  font-size: 14.6px;
  color: var(--ink-900);
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.textarea { height: auto; padding: 12px 13px; line-height: 1.55; resize: vertical; min-height: 104px; }
.input::placeholder, .textarea::placeholder { color: var(--ink-300); }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(43,73,255,.12);
}
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2379808f' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 38px;
  cursor: pointer;
}
.field.err .input, .field.err .select, .field.err .textarea { border-color: var(--live); }
.field .msg { display: none; margin-top: 7px; font-size: 12.5px; color: var(--live); }
.field.err .msg { display: block; }

.auth-sep {
  display: flex; align-items: center; gap: 14px;
  margin: 26px 0; font-size: 11.5px; color: var(--ink-300);
  text-transform: uppercase; letter-spacing: .08em; font-weight: 600;
}
.auth-sep::before, .auth-sep::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.sso-btn {
  display: flex; align-items: center; gap: 11px;
  width: 100%; height: 46px; padding: 0 15px;
  border: 1px solid var(--line-strong); border-radius: 10px;
  background: var(--paper); cursor: pointer;
  font-family: var(--font-display); font-size: 14.3px; font-weight: 500; color: var(--ink-800);
  margin-bottom: 9px;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}
.sso-btn:hover { border-color: var(--ink-300); transform: translateY(-1px); }
.sso-btn svg { width: 18px; height: 18px; flex: none; }
.sso-btn .chev { margin-left: auto; color: var(--ink-300); width: 15px; height: 15px; }

.auth-notice {
  margin-top: 22px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  border-radius: 11px;
  padding: 14px 15px;
  font-size: 13px; color: var(--ink-500);
  display: flex; gap: 11px;
}
.auth-notice svg { width: 16px; height: 16px; color: var(--ink-400); flex: none; margin-top: 2px; }
.auth-notice a { color: var(--ink-900); font-weight: 600; border-bottom: 1px solid var(--line-strong); }

.auth-alert {
  display: none;
  margin-top: 18px;
  border: 1px solid #f3c9ca;
  background: #fef6f6;
  border-radius: 11px;
  padding: 13px 15px;
  font-size: 13px; color: #9c2b2e;
  gap: 11px;
}
.auth-alert.show { display: flex; }
.auth-alert svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }

.auth-foot { display: flex; justify-content: space-between; gap: 16px; font-size: 12.5px; color: var(--ink-300); }
.auth-foot a:hover { color: var(--ink-700); }

/* =========================================================
   Request access
   ========================================================= */

.ra-shell { display: grid; grid-template-columns: 380px 1fr; min-height: 100vh; }

.ra-aside {
  background: var(--paper-2);
  border-right: 1px solid var(--line);
  padding: 32px 40px 40px;
  display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.ra-aside h2 { font-size: 1.55rem; margin-top: 44px; letter-spacing: -.035em; }
.ra-aside > p { margin-top: 14px; font-size: 14.3px; color: var(--ink-500); }

.ra-steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 2px; }
.ra-steps li {
  display: flex; gap: 13px; align-items: flex-start;
  padding: 12px 12px; border-radius: 11px;
  transition: background .2s ease;
}
.ra-steps li .num {
  width: 24px; height: 24px; border-radius: 50%; flex: none;
  border: 1px solid var(--line-strong); background: var(--paper);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 11px; color: var(--ink-400);
  transition: all .2s ease;
}
.ra-steps li b { display: block; font-family: var(--font-display); font-size: 13.6px; color: var(--ink-500); letter-spacing: -.015em; font-weight: 600; }
.ra-steps li span { font-size: 12px; color: var(--ink-300); }
.ra-steps li.is-active { background: var(--paper); box-shadow: var(--sh-sm); }
.ra-steps li.is-active .num { border-color: var(--accent); background: var(--accent); color: #fff; }
.ra-steps li.is-active b { color: var(--ink-900); }
.ra-steps li.is-done .num {
  border-color: var(--accent-line); background: var(--accent-soft); color: var(--accent-ink);
}
.ra-steps li.is-done b { color: var(--ink-700); }

.ra-aside-foot { margin-top: auto; padding-top: 32px; }
.ra-sla {
  border: 1px solid var(--line); background: var(--paper); border-radius: 12px;
  padding: 15px 16px; font-size: 13px; color: var(--ink-500);
}
.ra-sla b { display: block; font-family: var(--font-display); color: var(--ink-900); font-size: 13.4px; margin-bottom: 5px; font-weight: 600; letter-spacing: -.02em; }
.ra-trust { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.ra-trust span { font-size: 11px; color: var(--ink-400); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; background: var(--paper); }

.ra-main { padding: 32px 56px 72px; max-width: 860px; }
.ra-main-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 44px; }
.ra-main-head a { font-size: 13.5px; color: var(--ink-500); }
.ra-main-head a:hover { color: var(--ink-900); }

.ra-progress { height: 3px; background: var(--paper-4); border-radius: 3px; overflow: hidden; margin-bottom: 40px; }
.ra-progress i { display: block; height: 100%; width: 25%; background: var(--accent); border-radius: 3px; transition: width .45s cubic-bezier(.2,.8,.2,1); }

.ra-step { display: none; }
.ra-step.is-active { display: block; animation: stepIn .38s cubic-bezier(.2,.8,.2,1); }
@keyframes stepIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.ra-step > .kicker { font-family: var(--font-mono); font-size: 11.5px; color: var(--accent); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px; }
.ra-step h1, .ra-step h2 { font-size: 2rem; letter-spacing: -.038em; }
.ra-step > p.sub { margin-top: 12px; font-size: 15px; color: var(--ink-500); max-width: 54ch; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 32px; }
.form-grid .span2 { grid-column: span 2; }

.fieldset { margin-top: 32px; }
.fieldset > legend, .fieldset > .legend {
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  color: var(--ink-800); letter-spacing: -.01em; margin-bottom: 12px; padding: 0;
  display: block;
}
.fieldset { border: 0; padding: 0; }
.fieldset .legend .req { color: var(--accent); }
.fieldset .legend-hint { font-weight: 400; color: var(--ink-300); font-size: 12px; }
.fieldset .msg { display: none; margin-top: 10px; font-size: 12.5px; color: var(--live); }
.fieldset.err .msg { display: block; }
.fieldset.err .opt, .fieldset.err .chip, .fieldset.err .check { border-color: #eeb9bb; }
.consent.err { color: var(--live); }
.consent.err input { border-color: var(--live); }

/* Radio cards */
.opt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.opt-grid.cols2 { grid-template-columns: repeat(2, 1fr); }
.opt {
  position: relative;
  border: 1px solid var(--line-strong); border-radius: 11px;
  padding: 14px 15px; cursor: pointer; background: var(--paper);
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt b { display: block; font-family: var(--font-display); font-size: 13.6px; color: var(--ink-900); letter-spacing: -.015em; font-weight: 600; }
.opt span { font-size: 11.8px; color: var(--ink-400); }
.opt:hover { border-color: var(--ink-300); }
.opt:has(input:checked) {
  border-color: var(--accent); background: var(--accent-soft);
  box-shadow: 0 0 0 3px rgba(43,73,255,.09);
}
.opt:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 8px 14px; cursor: pointer; background: var(--paper);
  font-size: 13.4px; color: var(--ink-600);
  transition: all .16s ease;
}
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip .tick { width: 13px; height: 13px; opacity: 0; margin-left: -3px; margin-right: -3px; transition: opacity .16s ease, margin .16s ease; color: var(--accent-ink); }
.chip:hover { border-color: var(--ink-300); color: var(--ink-900); }
.chip:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); font-weight: 500; }
.chip:has(input:checked) .tick { opacity: 1; margin-left: 0; margin-right: 0; }
.chip:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Checkbox rows */
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.check {
  display: flex; gap: 11px; align-items: flex-start;
  border: 1px solid var(--line-soft); border-radius: 10px;
  padding: 12px 13px; cursor: pointer; background: var(--paper-2);
  transition: all .16s ease;
}
.check input { appearance: none; width: 17px; height: 17px; flex: none; margin-top: 1px;
  border: 1px solid var(--line-strong); border-radius: 5px; background: var(--paper); cursor: pointer;
  transition: all .16s ease; }
.check input:checked {
  background: var(--accent); border-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 12px; background-position: center; background-repeat: no-repeat;
}
.check:has(input:checked) { border-color: var(--accent-line); background: var(--accent-soft); }
.check b { display: block; font-family: var(--font-display); font-size: 13.3px; color: var(--ink-900); font-weight: 600; letter-spacing: -.015em; }
.check span { font-size: 11.6px; color: var(--ink-400); }
.check:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Range */
.range-wrap { margin-top: 10px; }
.range-top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.range-top b { font-family: var(--font-display); font-size: 1.6rem; color: var(--ink-900); letter-spacing: -.04em; font-weight: 600; }
.range-top span { font-size: 12.5px; color: var(--ink-400); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; background: var(--paper-4); outline: none; }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--accent);
  box-shadow: var(--sh-sm); cursor: grab;
}
input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--accent);
  box-shadow: var(--sh-sm); cursor: grab;
}
.range-scale { display: flex; justify-content: space-between; margin-top: 10px; font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-300); }

/* Review */
.review-card { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; margin-top: 30px; }
.review-sec { border-bottom: 1px solid var(--line-soft); }
.review-sec:last-child { border-bottom: 0; }
.review-sec-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 18px; background: var(--paper-2);
  font-family: var(--font-display); font-size: 12.5px; font-weight: 600; color: var(--ink-700);
  letter-spacing: .02em;
}
.review-sec-head button { background: none; border: 0; cursor: pointer; font-size: 12.5px; color: var(--accent); font-weight: 500; }
.review-rows { margin: 0; padding: 6px 18px 14px; }
.review-row { display: flex; gap: 20px; padding: 8px 0; border-bottom: 1px solid var(--line-soft); font-size: 13.6px; }
.review-row:last-child { border-bottom: 0; }
.review-row dt { flex: none; width: 190px; color: var(--ink-400); }
.review-row dd { margin: 0; color: var(--ink-800); }

.consent { display: flex; gap: 12px; margin-top: 26px; font-size: 13.2px; color: var(--ink-500); cursor: pointer; }
.consent input { appearance: none; width: 17px; height: 17px; flex: none; margin-top: 1px;
  border: 1px solid var(--line-strong); border-radius: 5px; background: var(--paper); cursor: pointer; }
.consent input:checked {
  background: var(--accent); border-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 12px; background-position: center; background-repeat: no-repeat;
}
.consent a { color: var(--ink-900); border-bottom: 1px solid var(--line-strong); }

.ra-actions {
  display: flex; align-items: center; gap: 12px;
  margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line);
}
.ra-actions .spacer { flex: 1; }
.ra-actions .step-count { font-size: 12.5px; color: var(--ink-300); font-family: var(--font-mono); }

.ra-error {
  display: none; align-items: center; gap: 10px;
  margin-top: 20px; border: 1px solid #f3c9ca; background: #fef6f6;
  border-radius: 10px; padding: 11px 14px; font-size: 13px; color: #9c2b2e;
}
.ra-error.show { display: flex; }

/* Success */
.ra-done { display: none; text-align: center; max-width: 520px; margin: 40px auto; }
.ra-done.show { display: block; animation: stepIn .5s cubic-bezier(.2,.8,.2,1); }
.ra-done .seal {
  width: 62px; height: 62px; border-radius: 50%; margin: 0 auto 28px;
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  display: grid; place-items: center; color: var(--accent-ink);
}
.ra-done .seal svg { width: 26px; height: 26px; }
.ra-done h1, .ra-done h2 { font-size: 2rem; letter-spacing: -.038em; }
.ra-done p { margin-top: 14px; color: var(--ink-500); font-size: 15px; }
.ra-ref {
  margin: 30px auto 0; display: inline-flex; align-items: center; gap: 12px;
  border: 1px solid var(--line); border-radius: 11px; background: var(--paper-2);
  padding: 12px 18px;
}
.ra-ref span { font-size: 12px; color: var(--ink-400); }
.ra-ref b { font-family: var(--font-mono); font-size: 14.5px; color: var(--ink-900); letter-spacing: .02em; }
.ra-next { margin-top: 36px; text-align: left; border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; }
.ra-next h4 { font-size: 13px; margin-bottom: 14px; letter-spacing: -.01em; }
.ra-next ol { margin: 0; padding-left: 18px; display: grid; gap: 9px; font-size: 13.8px; color: var(--ink-500); }

/* =========================================================
   Reveal
   ========================================================= */

[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1080px) {
  .wall-grid { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .split--rev .split-copy { order: 0; }
  .sec-grid { grid-template-columns: 1fr; gap: 40px; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .ra-shell { grid-template-columns: 1fr; }
  .ra-aside { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .ra-steps { grid-template-columns: repeat(4, 1fr); display: grid; }
  .ra-steps li span { display: none; }
  .ra-main { padding: 32px 32px 64px; max-width: none; }
  .auth { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .header-actions .btn-ghost { display: none; }
  .app-window { grid-template-columns: 1fr; min-height: 0; }
  .app-rail { display: none; }
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .app-grid .vcard:nth-child(n+5) { display: none; }
  .float-answer { position: static; width: auto; margin: 0 14px 14px; box-shadow: var(--sh-md); }
  .float-rec { display: none; }
  .src-grid { grid-template-columns: 1fr; }
  .ask-points { grid-template-columns: 1fr; gap: 0; }
  .ask-point { padding: 22px 0; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .rows { gap: 72px; margin-top: 72px; }
  .section { padding: 76px 0; }
  .share-row { left: 0; bottom: -26px; }
  .owner-chip { right: 0; top: -16px; }
}

@media (max-width: 680px) {
  .container { padding-inline: 20px; }
  .wall-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: 1fr; }
  .app-grid .vcard:nth-child(n+3) { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span2 { grid-column: span 1; }
  .opt-grid, .opt-grid.cols2 { grid-template-columns: 1fr; }
  .check-list { grid-template-columns: 1fr; }
  .badge-grid { grid-template-columns: repeat(2, 1fr); }
  .review-row { flex-direction: column; gap: 3px; }
  .review-row dt { width: auto; }
  .ra-main { padding: 24px 20px 56px; }
  .ra-aside { padding: 24px 20px 28px; }
  .ra-steps { grid-template-columns: repeat(2, 1fr); }
  .auth-main { padding: 24px 20px 32px; }
  .ask-bar { flex-wrap: wrap; }
  .ask-scope { display: none; }
}

/* ==================== LEGAL PAGES ==================== */

.legal { padding: 140px 0 96px; }
.legal-inner { max-width: 720px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3rem); }
.legal h2 {
  font-size: 1.28rem;
  letter-spacing: -.025em;
  margin: 52px 0 14px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.legal p { color: var(--ink-500); margin-bottom: 14px; }
.legal .lede { color: var(--ink-500); }
.legal b { color: var(--ink-900); font-weight: 600; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal ul { margin: 0 0 18px; padding-left: 20px; }
.legal li { color: var(--ink-500); margin-bottom: 9px; line-height: 1.62; }
.legal-date {
  font-size: .84rem;
  color: var(--ink-400);
  margin-top: 18px;
}

/* Honeypot: off screen rather than display:none, which some bots detect. */
.ra-hp {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
