/* Origin Agent — static site styles. Self-contained, no external fonts or CDNs. */

:root {
  color-scheme: light dark;
  --bg: #f8f8fd;
  --bg-tint: #f2f1fa;
  --surface: #ffffff;
  --surface-2: #f7f7fc;
  --surface-3: #ececf6;
  --text: #1a1830;
  --text-soft: #53516b;
  --text-muted: #7c7a94;
  --border: rgba(36, 28, 82, .10);
  --border-strong: rgba(36, 28, 82, .18);
  --purple: #6750a4;
  --purple-deep: #4d3a85;
  --blue: #3f6ebb;
  --teal: #008f78;
  --teal-bright: #00bfa5;
  --amber: #b56b0d;
  --gradient: linear-gradient(115deg, #6750a4 0%, #3f6ebb 48%, #00bfa5 100%);
  --gradient-soft: linear-gradient(135deg, rgba(103, 80, 164, .12), rgba(63, 110, 187, .08) 50%, rgba(0, 191, 165, .12));
  --shadow: 0 28px 70px -34px rgba(43, 31, 96, .34);
  --shadow-sm: 0 12px 34px -18px rgba(43, 31, 96, .30);
  --header-bg: rgba(248, 248, 253, .82);
  --radius: 24px;
  --radius-lg: 30px;
  --max: 1180px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c0c16;
    --bg-tint: #111120;
    --surface: #151526;
    --surface-2: #1a1a2d;
    --surface-3: #23233a;
    --text: #f0efff;
    --text-soft: #b9b7d2;
    --text-muted: #8e8cab;
    --border: rgba(197, 190, 255, .13);
    --border-strong: rgba(197, 190, 255, .24);
    --purple: #b7a2ff;
    --purple-deep: #cbbcff;
    --blue: #88b4ff;
    --teal: #4fdcc0;
    --teal-bright: #00bfa5;
    --amber: #f1bd72;
    --gradient: linear-gradient(115deg, #a68cff 0%, #6f9cf5 48%, #45dcc0 100%);
    --gradient-soft: linear-gradient(135deg, rgba(150, 115, 255, .18), rgba(88, 140, 240, .10) 50%, rgba(0, 191, 165, .16));
    --shadow: 0 30px 80px -36px rgba(0, 0, 0, .75);
    --shadow-sm: 0 14px 38px -20px rgba(0, 0, 0, .7);
    --header-bg: rgba(12, 12, 22, .84);
  }
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; margin: 0; font-weight: 750; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: rgba(103, 80, 164, .25); }

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; fill: currentColor; flex: none; vertical-align: middle; }

.container { width: min(100% - 48px, var(--max)); margin-inline: auto; }
.container.narrow { max-width: 760px; }

.section { position: relative; padding: clamp(72px, 9vw, 128px) 0; scroll-margin-top: 84px; }
.section-tint { background: var(--bg-tint); border-block: 1px solid var(--border); }

.skip-link {
  position: fixed;
  z-index: 200;
  top: -100px;
  left: 16px;
  padding: 12px 18px;
  background: var(--purple);
  color: #fff;
  border-radius: 0 0 12px 12px;
  font-weight: 650;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 680;
  font-size: .94rem;
  line-height: 1.2;
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn .icon { width: 17px; height: 17px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 9px 16px; font-size: .86rem; }
.btn-lg { padding: 15px 26px; font-size: 1rem; }
.btn-primary { background: var(--gradient); color: #fff; box-shadow: 0 12px 28px -12px rgba(78, 61, 150, .8); }
.btn-primary:hover { box-shadow: 0 18px 36px -14px rgba(78, 61, 150, .9); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { border-color: var(--purple); }
.btn-ghost { background: transparent; color: var(--text-soft); }
.btn-ghost:hover { background: var(--surface-3); color: var(--text); }
.btn-light { background: #fff; color: #342a63; }
.btn-outline-light { border-color: rgba(255, 255, 255, .45); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .16); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--purple);
  font-weight: 680;
  font-size: .92rem;
}
.text-link .icon { width: 15px; height: 15px; transition: transform .2s ease; }
.text-link:hover .icon { transform: translateX(4px); }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--border);
}
.site-header.scrolled { box-shadow: 0 8px 30px -22px rgba(30, 24, 70, .55); }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand img { border-radius: 12px; }
.brand-text { font-size: 1.18rem; font-weight: 800; letter-spacing: -.04em; }
.brand-accent { color: var(--purple); }
.primary-nav { display: flex; align-items: center; gap: 26px; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a {
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-soft);
  transition: color .18s ease;
}
.nav-links a:hover { color: var(--purple); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle {
  display: none;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  border-radius: 12px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Typography blocks ---------- */
.section-kicker {
  color: var(--purple);
  font-weight: 780;
  font-size: .78rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title { font-size: clamp(2.15rem, 4.2vw, 3.5rem); }
.section-lede, .feature-body {
  color: var(--text-soft);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.75;
}
.section-lede { margin-top: 20px; }
.section-head.center { max-width: 740px; margin: 0 auto 52px; text-align: center; }
.section-head.center .section-lede { margin-inline: auto; }
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Hero ---------- */
.hero { padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(72px, 9vw, 132px); overflow: hidden; }
.hero-glow, .cta-glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 900px;
  background:
    radial-gradient(42% 42% at 16% 32%, rgba(103, 80, 164, .18), transparent 70%),
    radial-gradient(36% 36% at 82% 18%, rgba(0, 191, 165, .14), transparent 72%),
    radial-gradient(40% 40% at 66% 78%, rgba(63, 110, 187, .13), transparent 72%);
  pointer-events: none;
  z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 11px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-soft);
  font-size: .79rem;
  font-weight: 680;
  letter-spacing: .02em;
  box-shadow: var(--shadow-sm);
  margin-bottom: 26px;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-bright); box-shadow: 0 0 0 4px rgba(0, 191, 165, .16); }
.hero h1 { font-size: clamp(2.6rem, 5.1vw, 4.5rem); letter-spacing: -.05em; line-height: 1.07; }
.hero-lede { margin-top: 26px; max-width: 600px; font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--text-soft); line-height: 1.75; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.powered-by { display: flex; align-items: center; gap: 10px; margin-top: 28px; font-size: .86rem; color: var(--text-muted); }
.powered-by strong { color: var(--text-soft); font-weight: 700; }
.powered-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--gradient-soft); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 30px; }
.hero-facts li {
  padding: 6px 12px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-muted);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 650;
}

/* Phone mockup */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 560px; }
.phone {
  position: relative;
  width: 310px;
  max-width: 84vw;
  height: 548px;
  padding: 11px;
  border-radius: 46px;
  background: linear-gradient(155deg, #4c4374, #1a1930 45%, #37345a);
  box-shadow: 0 40px 90px -30px rgba(35, 25, 80, .55), inset 0 0 0 1px rgba(255, 255, 255, .16);
  transform: rotate(-2deg);
}
.phone-speaker { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 84px; height: 20px; border-radius: 999px; background: #13121f; z-index: 3; }
.phone-screen {
  height: 100%;
  border-radius: 36px;
  background: var(--surface);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-size: .74rem;
}
.app-bar { display: flex; align-items: center; gap: 9px; padding: 38px 14px 12px; border-bottom: 1px solid var(--border); }
.app-bar img { border-radius: 8px; width: 26px; height: 26px; }
.app-bar strong { display: block; font-size: .86rem; line-height: 1.1; }
.app-bar small { display: flex; align-items: center; gap: 5px; color: var(--text-muted); font-size: .62rem; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal-bright); }
.app-bar-badge { margin-left: auto; font-size: .54rem; font-weight: 800; letter-spacing: .08em; color: var(--teal); background: rgba(0, 191, 165, .12); padding: 4px 7px; border-radius: 6px; }
.chat-area { flex: 1; padding: 14px 12px; display: flex; flex-direction: column; gap: 9px; overflow: hidden; }
.chat-day { align-self: center; font-size: .55rem; letter-spacing: .14em; color: var(--text-muted); font-weight: 800; }
.bubble { max-width: 88%; padding: 9px 12px; border-radius: 16px; line-height: 1.45; }
.bubble-user { align-self: flex-end; background: var(--gradient); color: #fff; border-bottom-right-radius: 5px; }
.bubble-agent { align-self: flex-start; background: var(--surface-3); color: var(--text-soft); border-bottom-left-radius: 5px; }
.trust-inline { align-self: flex-start; display: flex; align-items: center; gap: 5px; color: var(--teal); font-size: .6rem; font-weight: 700; }
.trust-inline .icon { width: 12px; height: 12px; }
.typing { display: flex; gap: 4px; padding: 13px; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--purple); opacity: .6; animation: blink 1.3s infinite; }
.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 60%, 100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.chat-input { margin: 0 12px 10px; border: 1px solid var(--border-strong); border-radius: 999px; padding: 8px 10px 8px 14px; display: flex; align-items: center; justify-content: space-between; color: var(--text-muted); font-size: .67rem; }
.send { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--gradient); color: #fff; font-size: .8rem; }
.phone-nav { display: flex; justify-content: space-around; border-top: 1px solid var(--border); padding: 8px 4px 12px; }
.phone-nav span { display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--text-muted); font-size: .55rem; }
.phone-nav .icon { width: 17px; height: 17px; }
.phone-nav .active { color: var(--purple); }
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  z-index: 4;
  animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: .74rem; line-height: 1.3; }
.float-card small { display: block; color: var(--text-muted); font-size: .64rem; }
.float-icon { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; }
.float-icon .icon { width: 17px; height: 17px; }
.float-icon-teal { background: rgba(0, 191, 165, .14); color: var(--teal); }
.float-icon-purple { background: rgba(103, 80, 164, .14); color: var(--purple); }
.float-card-one { top: 74px; right: -10px; }
.float-card-two { bottom: 74px; left: -14px; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Trust pipeline ---------- */
.pipeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
  margin-top: 54px;
  counter-reset: step;
}
.pipeline li {
  position: relative;
  padding: 18px 10px 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.pipeline li:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -11px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--purple);
  font-weight: 800;
  font-size: .9rem;
  z-index: 2;
}
.step-num { display: block; font-size: .64rem; font-weight: 850; letter-spacing: .1em; color: var(--purple); margin-bottom: 8px; }
.pipeline strong { display: block; font-size: .82rem; line-height: 1.2; }
.pipeline small { display: block; margin-top: 5px; color: var(--text-muted); font-size: .65rem; line-height: 1.3; }

/* ---------- Pillars / cards ---------- */
.pillar-grid, .open-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.open-grid { grid-template-columns: repeat(2, 1fr); margin-top: 8px; }
.pillar-card, .open-card {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.pillar-card:hover, .open-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  margin-bottom: 22px;
}
.card-icon .icon { width: 25px; height: 25px; }
.card-icon-purple { background: rgba(103, 80, 164, .13); color: var(--purple); }
.card-icon-blue { background: rgba(63, 110, 187, .13); color: var(--blue); }
.card-icon-teal { background: rgba(0, 191, 165, .14); color: var(--teal); }
.pillar-card h3, .open-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.pillar-card p, .open-card p { color: var(--text-soft); font-size: .94rem; margin-bottom: 20px; }
.pillar-card strong { color: var(--text); }

/* ---------- Feature rows ---------- */
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 6vw, 82px); align-items: center; }
.feature-grid.reverse .feature-copy { order: 2; }
.feature-grid.reverse .feature-art { order: 1; }
.feature-copy .section-title { margin-bottom: 20px; }
.check-list { list-style: none; margin-top: 26px; display: grid; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 11px; color: var(--text-soft); font-size: .94rem; }
.check-list .icon { width: 18px; height: 18px; color: var(--teal); margin-top: 4px; }
.feature-copy .btn { margin-top: 30px; }

/* Mock windows */
.feature-art { position: relative; }
.feature-art::before {
  content: "";
  position: absolute;
  inset: 8% -6% -8% 6%;
  border-radius: 40px;
  background: var(--gradient-soft);
  z-index: -1;
}
.mock-window {
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  font-size: .82rem;
}
.mock-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 15px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.dots { display: flex; gap: 5px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); }
.dots i:first-child { background: rgba(103, 80, 164, .6); }
.dots i:nth-child(2) { background: rgba(63, 110, 187, .5); }
.dots i:last-child { background: rgba(0, 191, 165, .55); }
.mock-title { font-weight: 700; font-size: .78rem; }
.mock-tag {
  margin-left: auto;
  font-size: .57rem;
  font-weight: 850;
  letter-spacing: .08em;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(63, 110, 187, .12);
  color: var(--blue);
}
.mock-tag.amber { background: rgba(181, 107, 13, .13); color: var(--amber); }
.mock-tag.teal { background: rgba(0, 191, 165, .13); color: var(--teal); }
.mock-tag.purple { background: rgba(103, 80, 164, .14); color: var(--purple); }
.mock-body { padding: 20px; min-height: 300px; }

.chat-mock { display: flex; flex-direction: column; gap: 12px; }
.mini-msg { max-width: 88%; padding: 11px 14px; border-radius: 14px; line-height: 1.5; font-size: .8rem; }
.mini-msg.user { align-self: flex-end; background: var(--gradient); color: #fff; border-bottom-right-radius: 4px; }
.mini-msg.agent { align-self: flex-start; background: var(--surface-3); color: var(--text-soft); border-bottom-left-radius: 4px; }
.mini-meta { display: block; margin-top: 7px; font-size: .62rem; font-weight: 750; color: var(--teal); }
.suggestions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 4px; }
.suggestions span { font-size: .67rem; padding: 6px 10px; border-radius: 999px; border: 1px dashed var(--border-strong); color: var(--text-muted); }
.mock-input { margin-top: auto; border: 1px solid var(--border-strong); border-radius: 999px; padding: 10px 14px; color: var(--text-muted); font-size: .74rem; display: flex; justify-content: space-between; }
.mock-input b { color: var(--purple); }

.tool-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; align-content: start; }
.tool-tile { display: grid; grid-template-columns: 36px 1fr; column-gap: 10px; align-items: center; padding: 12px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface-2); }
.tool-ico { grid-row: span 2; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 1.05rem; }
.tool-ico.teal { background: rgba(0, 191, 165, .13); color: var(--teal); }
.tool-ico.blue { background: rgba(63, 110, 187, .13); color: var(--blue); }
.tool-ico.purple { background: rgba(103, 80, 164, .13); color: var(--purple); }
.tool-ico.grey { background: var(--surface-3); color: var(--text-muted); }
.tool-tile strong { font-size: .78rem; line-height: 1.2; }
.tool-tile small { color: var(--text-muted); font-size: .63rem; }
.tool-tile.muted { opacity: .6; }

.ledger-mock { display: flex; flex-direction: column; gap: 9px; }
.approval-card { border: 1px solid rgba(103, 80, 164, .3); background: var(--gradient-soft); border-radius: 15px; padding: 14px; display: grid; grid-template-columns: 34px 1fr; column-gap: 10px; }
.approval-ico { grid-row: span 2; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--surface); color: var(--purple); }
.approval-ico .icon { width: 18px; height: 18px; }
.approval-card strong { font-size: .82rem; }
.approval-card small { display: block; color: var(--text-soft); font-size: .68rem; line-height: 1.4; }
.approval-buttons { grid-column: 2; display: flex; gap: 8px; margin-top: 10px; }
.approval-buttons span { font-size: .67rem; font-weight: 750; padding: 6px 11px; border-radius: 8px; }
.approval-buttons .allow { background: var(--gradient); color: #fff; }
.approval-buttons .deny { border: 1px solid var(--border-strong); color: var(--text-muted); }
.ledger-head { display: flex; justify-content: space-between; font-size: .72rem; font-weight: 800; margin-top: 8px; }
.ledger-head span { color: var(--teal); font-weight: 650; font-size: .65rem; }
.ledger-row { display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid var(--border); border-radius: 11px; background: var(--surface-2); font-size: .72rem; }
.ledger-row i { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--border-strong); }
.ledger-row i.ok { background: var(--teal-bright); border-color: var(--teal-bright); }
.ledger-row i.wait { background: var(--amber); border-color: var(--amber); box-shadow: 0 0 0 3px rgba(181, 107, 13, .14); }
.ledger-row b { color: var(--text); }
.ledger-row time { color: var(--text-muted); font-size: .63rem; }
.ledger-row.dim { opacity: .48; }

.privacy-body { display: flex; flex-direction: column; gap: 11px; }
.privacy-hero { display: flex; align-items: center; gap: 13px; padding: 14px; border-radius: 15px; background: var(--gradient-soft); border: 1px solid var(--border); margin-bottom: 4px; }
.privacy-shield { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: var(--surface); color: var(--purple); }
.privacy-shield .icon { width: 22px; height: 22px; }
.privacy-hero strong { font-size: .84rem; display: block; }
.privacy-hero small { font-size: .68rem; color: var(--text-soft); }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-2); font-size: .76rem; }
.toggle-row span { display: inline-flex; align-items: center; gap: 9px; }
.toggle-row .icon { width: 16px; height: 16px; color: var(--purple); }
.toggle, .action { font-size: .59rem; font-weight: 850; letter-spacing: .06em; padding: 4px 9px; border-radius: 7px; }
.toggle.on { color: var(--teal); background: rgba(0, 191, 165, .13); }
.toggle.off { color: var(--text-muted); background: var(--surface-3); }
.action { color: var(--purple); border: 1px solid var(--border-strong); }

.memory-mock { display: flex; flex-direction: column; gap: 10px; }
.memory-search { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--border-strong); border-radius: 11px; color: var(--text-muted); font-size: .73rem; }
.memory-search .icon { width: 15px; height: 15px; }
.memory-item { padding: 11px 13px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-2); }
.memory-item b { display: block; font-size: .6rem; letter-spacing: .07em; text-transform: uppercase; color: var(--purple); }
.memory-item span { display: block; font-size: .78rem; margin: 3px 0; }
.memory-item small { color: var(--text-muted); font-size: .62rem; }
.code-strip { display: flex; align-items: center; gap: 8px; margin-top: 4px; padding: 11px 13px; border: 1px dashed var(--border-strong); border-radius: 11px; font-family: ui-monospace, "SF Mono", "Consolas", monospace; font-size: .69rem; color: var(--text-soft); }
.code-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-bright); }
.code-meta { margin-left: auto; font-family: inherit; font-size: .6rem; color: var(--text-muted); }

.model-mock { display: flex; flex-direction: column; gap: 10px; }
.model-option { display: grid; grid-template-columns: 18px 1fr auto; align-items: center; gap: 11px; padding: 12px; border: 1px solid var(--border); border-radius: 13px; background: var(--surface-2); }
.model-option.selected { border-color: rgba(103, 80, 164, .5); background: var(--gradient-soft); }
.radio { width: 16px; height: 16px; border: 2px solid var(--border-strong); border-radius: 50%; }
.radio.checked { border-color: var(--purple); box-shadow: inset 0 0 0 3px var(--surface); background: var(--purple); }
.model-option strong { display: block; font-size: .77rem; line-height: 1.25; }
.model-option small { display: block; color: var(--text-muted); font-size: .64rem; }
.chip { font-size: .55rem; font-weight: 850; letter-spacing: .06em; padding: 4px 7px; border-radius: 6px; background: var(--surface-3); color: var(--text-muted); }
.teal-chip { color: var(--teal); background: rgba(0, 191, 165, .13); }
.amber-chip { color: var(--amber); background: rgba(181, 107, 13, .13); }
.model-foot { text-align: center; font-size: .65rem; color: var(--teal); font-weight: 700; padding-top: 4px; }
code { font-family: ui-monospace, "SF Mono", Consolas, monospace; font-size: .9em; background: var(--surface-3); padding: 1px 5px; border-radius: 5px; }

.release-links { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 28px; }
.model-candidates { margin-top: 64px; padding: 32px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.candidates-head { max-width: 640px; }
.candidates-head h3 { font-size: 1.25rem; margin-bottom: 8px; }
.candidates-head p { color: var(--text-soft); font-size: .9rem; }
.candidate-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.candidate-list li { padding: 8px 14px; border-radius: 999px; background: var(--gradient-soft); border: 1px solid var(--border); font-size: .8rem; font-weight: 650; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.faq-intro .section-title { margin-bottom: 18px; }
.faq-intro .btn { margin-top: 28px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-list details[open] { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 19px 54px 19px 22px;
  font-weight: 700;
  font-size: .98rem;
  position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--purple);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list summary:hover { color: var(--purple); }
.faq-answer { padding: 0 22px 20px; color: var(--text-soft); font-size: .91rem; }
.faq-answer a { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Final CTA ---------- */
.final-cta {
  overflow: hidden;
  text-align: center;
  background: linear-gradient(135deg, #4d3a85 0%, #3f6ebb 52%, #0b8f80 100%);
  color: #fff;
}
.cta-glow {
  background: radial-gradient(40% 60% at 50% 0%, rgba(255, 255, 255, .22), transparent 70%), radial-gradient(30% 50% at 10% 100%, rgba(0, 0, 0, .18), transparent 70%);
  inset: 0;
  height: auto;
}
.final-cta .container { position: relative; z-index: 1; }
.cta-mark { margin: 0 auto 22px; border-radius: 18px; box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .5); }
.final-cta h2 { font-size: clamp(2.6rem, 5vw, 4rem); }
.final-cta p { max-width: 620px; margin: 20px auto 0; color: rgba(255, 255, 255, .88); font-size: 1.05rem; }
.final-cta .hero-ctas { justify-content: center; }
.cta-note { font-size: .82rem !important; margin-top: 24px !important; color: rgba(255, 255, 255, .72) !important; }
.cta-note a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-tint); border-top: 1px solid var(--border); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; padding-bottom: 52px; }
.footer-brand p { color: var(--text-soft); font-size: .9rem; max-width: 280px; margin-top: 18px; }
.footer-brand .footer-note { font-size: .78rem; color: var(--text-muted); margin-top: 8px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h2 { font-size: .78rem; text-transform: uppercase; letter-spacing: .13em; color: var(--text); margin-bottom: 8px; }
.footer-col a { color: var(--text-soft); font-size: .87rem; }
.footer-col a:hover { color: var(--purple); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 0 28px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: .8rem; }
.footer-bottom a:hover { color: var(--purple); }

/* ---------- Reveal animation (only when JS is active) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .pipeline { grid-template-columns: repeat(4, 1fr); }
  .pipeline li:nth-child(4)::after { content: none; }
  .nav-links { gap: 15px; }
  .primary-nav { gap: 14px; }
}

@media (max-width: 900px) {
  .container { width: min(100% - 36px, var(--max)); }
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 20px 18px 26px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .primary-nav.open { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links a { padding: 11px 4px; font-size: 1rem; border-bottom: 1px solid var(--border); }
  .nav-actions { flex-direction: column; align-items: stretch; }
  .nav-actions .btn { width: 100%; }
  .hero-grid, .feature-grid, .faq-layout { grid-template-columns: 1fr; }
  .hero-grid { gap: 52px; }
  .hero-visual { min-height: 540px; }
  .feature-grid.reverse .feature-copy, .feature-grid.reverse .feature-art { order: initial; }
  .feature-art { max-width: 620px; width: 100%; }
  .faq-intro { max-width: 620px; }
  .pillar-grid { grid-template-columns: 1fr; }
  .open-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, var(--max)); }
  .section { padding: 66px 0; }
  .hero { padding-top: 52px; }
  .hero h1 { font-size: clamp(2.15rem, 10vw, 3rem); }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-visual { min-height: 490px; }
  .phone { height: 486px; transform: none; }
  .float-card { padding: 9px 11px; }
  .float-card-one { right: -6px; top: 40px; }
  .float-card-two { left: -6px; bottom: 40px; }
  .float-card strong { font-size: .65rem; }
  .float-card small { font-size: .58rem; }
  .pipeline { grid-template-columns: repeat(2, 1fr); }
  .pipeline li::after { content: none !important; }
  .open-grid { grid-template-columns: 1fr; }
  .model-candidates { padding: 22px; }
  .tool-grid { grid-template-columns: 1fr 1fr; }
  .mock-body { padding: 14px; min-height: 260px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
}

@media (max-width: 400px) {
  .hero-facts li { font-size: .7rem; }
  .tool-grid { grid-template-columns: 1fr; }
  .float-card { display: none; }
  .phone { max-width: 92vw; }
}

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