@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist-latin-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #171717;
  --ink-2: #404040;
  --muted: #737373;
  --muted-2: #a3a3a3;
  --line: #e7e7e7;
  --line-2: #efefef;
  --surface: #f7f7f7;
  --white: #fff;
  --bg: #f7f7f7;
  --gray-ink: rgba(23, 23, 23, .5);
  --green: #16a34a;
  --red: #dc2626;
  --accent: #2563eb;
  --radius: 6px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .06);
  --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px -6px rgba(0, 0, 0, .08);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .04), 0 24px 60px -12px rgba(0, 0, 0, .14);
  --rail: min(1190px, calc(100% - 76px));
  --header-h: 60px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01";
}
img, svg { display: block; max-width: 100%; }
/* Give shared 16-unit UI icons intrinsic dimensions; charts use other viewBoxes. */
svg[viewBox="0 0 16 16"] { width: 16px; height: 16px; flex: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: var(--radius); }
.skip-link:focus { top: 10px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(247, 247, 247, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { width: var(--rail); margin: 0 auto; height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 27px; line-height: 1; letter-spacing: -.035em; }
.brand svg { width: 28px; height: 28px; }
.main-nav { flex: 1; display: flex; justify-content: center; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px;
  height: 34px; padding: 0 12px; border-radius: var(--radius);
  font-size: 14px; font-weight: 450; color: var(--ink-2);
  transition: background .15s, color .15s;
}
.nav-link:hover, .nav-link[aria-expanded="true"], .nav-link[aria-current="page"] { background: var(--surface); color: var(--ink); }
.nav-link .chev { width: 12px; height: 12px; transition: transform .2s; }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-item { position: relative; }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.menu-toggle { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: var(--radius); }
.menu-toggle svg { width: 22px; height: 22px; }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 8px; min-width: 300px;
}
.dropdown[hidden] { display: none; }
.dropdown.mega { width: 640px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 8px; }
.dropdown.mega[hidden] { display: none; }
.dd-link { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 8px; }
.dd-link:hover, .dd-link:focus-visible { background: var(--surface); }
.dd-icon { flex: none; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 7px; display: grid; place-items: center; background: #fff; }
.dd-icon svg { width: 16px; height: 16px; }
.dd-title { font-size: 14px; font-weight: 500; display: block; }
.dd-desc { font-size: 13px; color: var(--muted); display: block; line-height: 1.4; margin-top: 2px; }
.dd-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 4px; padding: 12px; border-radius: 8px; background: var(--surface); font-size: 13px; color: var(--muted); }
.dd-foot a { color: var(--ink); font-weight: 500; }
.dd-group { padding: 8px 10px 4px; font-size: 12px; color: var(--muted-2); font-weight: 500; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 36px; padding: 0 14px; border-radius: var(--radius);
  font-size: 14px; font-weight: 500; white-space: nowrap; line-height: 1;
  border: 1px solid transparent; transition: background .15s, border-color .15s, box-shadow .15s;
}
.btn svg { width: 14px; height: 14px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2a2a; }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-light:hover { border-color: #d4d4d4; }
.btn-ghost { color: var(--ink-2); }
.btn-ghost:hover { background: var(--surface); }
.btn-lg { height: 44px; padding: 0 20px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-on-dark { background: #fff; color: var(--ink); }
.btn-on-dark:hover { background: #f0f0f0; }
.btn-outline-dark { color: #fff; border-color: #3a3a3a; background: #1f1f1f; }
.btn-outline-dark:hover { background: #2a2a2a; }
.btn .sq { width: 8px; height: 8px; border-radius: 2px; background: #d4d4d4; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 14px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Layout ---------- */
.rails { width: var(--rail); margin: 0 auto; border-inline: 1px solid var(--line); }
.section { padding: 112px 48px; border-top: 1px solid var(--line); position: relative; }
.section.tight { padding-block: 80px; }
.section.flush { padding-inline: 0; }
.section.muted { background: #f1f1f1; }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; display: grid; justify-items: center; gap: 14px; }
.section-head.left { margin-inline: 0; text-align: left; justify-items: start; }
.section-head.split { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; text-align: left; justify-items: start; align-items: end; }
.section-head.split p { max-width: 420px; justify-self: end; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.eyebrow .eb-icon { width: 20px; height: 20px; border-radius: 5px; border: 1px solid var(--line); display: grid; place-items: center; background: #fff; box-shadow: var(--shadow-sm); }
.eyebrow .eb-icon svg { width: 12px; height: 12px; }
.h2 { font-size: 39px; line-height: 1.05; font-weight: 500; letter-spacing: -.02em; }
.h2 .gray, .h1 .gray { color: var(--gray-ink); }
.h3 { font-size: 20px; line-height: 1.25; font-weight: 500; letter-spacing: -.01em; }
.lead { font-size: 17px; line-height: 1.5; color: var(--muted); }
.small { font-size: 13px; color: var(--muted); }
.label-sample { font-size: 11px; color: var(--muted-2); letter-spacing: .01em; }
.grid-bg {
  background-image:
    linear-gradient(var(--line-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
}

/* ---------- Hero ---------- */
.hero { padding: 56px 24px 0; text-align: center; position: relative; }
.hero-inner { max-width: 640px; margin: 0 auto; display: grid; justify-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 10px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm);
  font-size: 13px; font-weight: 500; margin-bottom: 20px;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 3px #ededed; }
.h1 { font-size: 64px; line-height: 64px; font-weight: 550; font-variation-settings: "wght" 550; letter-spacing: -1.28px; max-width: 600px; }
.h1 span { display: block; }
.h1-sm { font-size: 52px; line-height: 1.04; }
.hero-sub { margin-top: 20px; font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 470px; }
.chip {
  display: inline-flex; align-items: center; gap: 5px; vertical-align: middle;
  height: 26px; padding: 0 8px; margin: 2px 1px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; color: var(--ink); font-size: 14px; font-weight: 500; box-shadow: var(--shadow-sm);
}
.chip svg { width: 14px; height: 14px; color: var(--muted); }
.hero-ctas { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; justify-content: center; }
.hero-visual { position: relative; margin-top: 40px; padding: 0 48px; }
.hero-sub-home { max-width: 600px; font-size: 16px; line-height: 22.4px; }
.hero-sub-home { margin-top: 16px; }
.hero-visual-full { padding: 0; margin: 64px -24px 0; }
.hero-visual-full .dash { max-width: none; border-radius: 12px; }
.hero-visual::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.hero.left { text-align: left; }
.hero.left .hero-inner { justify-items: start; margin: 0; max-width: 680px; }
.page-hero { padding: 88px 48px 72px; text-align: center; }
.page-hero .hero-inner { max-width: 720px; }
.page-hero .h1 { max-width: 720px; }
.page-hero .hero-sub { max-width: 560px; }

/* ---------- Dashboard mockup ---------- */
.dash {
  position: relative; z-index: 1; max-width: 1040px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 200px 1fr; text-align: left; font-size: 12px; overflow: hidden;
}
.dash-side { border-right: 1px solid var(--line); background: #fbfbfb; padding: 12px 10px; display: grid; align-content: start; gap: 2px; }
.dash-ws { display: flex; align-items: center; gap: 8px; padding: 4px 6px 10px; font-weight: 600; font-size: 12.5px; }
.dash-ws .logo { width: 18px; height: 18px; border-radius: 5px; background: var(--ink); display: grid; place-items: center; }
.dash-ws .logo svg { width: 12px; height: 12px; }
.dash-search { display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 8px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted-2); background: #fff; margin-bottom: 8px; }
.dash-search svg { width: 12px; height: 12px; }
.dash-group { padding: 10px 6px 4px; font-size: 11px; color: var(--muted-2); }
.dash-nav { display: flex; align-items: center; gap: 8px; height: 26px; padding: 0 6px; border-radius: 6px; color: var(--ink-2); }
.dash-nav svg { width: 13px; height: 13px; color: var(--muted); }
.dash-nav.is-active { background: #efefef; color: var(--ink); font-weight: 500; }
.dash-main { padding: 12px 16px 16px; min-width: 0; }
.dash-toolbar { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); }
.dash-control {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 8px;
  border: 1px solid var(--line); border-radius: 6px; background: #fff; font-size: 12px; color: var(--ink-2);
}
.dash-control svg { width: 12px; height: 12px; color: var(--muted); }
select.dash-control { appearance: none; padding-right: 22px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%23737373' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat right 6px center / 10px; cursor: pointer; }
.dash-toolbar .spacer { flex: 1; }
.dash-crumb { display: flex; align-items: center; gap: 6px; padding: 12px 0; color: var(--muted); }
.dash-crumb strong { color: var(--ink); font-weight: 500; }
.dash-crumb svg { width: 12px; height: 12px; }
.dash-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 12px; }
.dash-card { border: 1px solid var(--line); border-radius: 10px; padding: 12px; background: #fff; min-width: 0; }
.dash-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.dash-card-title { font-weight: 500; font-size: 12.5px; }
.rank-row { display: flex; gap: 14px; color: var(--muted); font-size: 11.5px; margin-bottom: 8px; flex-wrap: wrap; }
.rank-row b { color: var(--ink); font-weight: 500; }
.seg { display: inline-flex; padding: 2px; border-radius: 7px; background: #f2f2f2; gap: 2px; }
.seg button { height: 22px; padding: 0 8px; border-radius: 5px; font-size: 11.5px; color: var(--muted); }
.seg button[aria-selected="true"], .seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); font-weight: 500; }
.chart { width: 100%; height: auto; }
.chart text { font-size: 10px; fill: var(--muted-2); font-family: inherit; }
.chart .gridline { stroke: var(--line-2); }
.legend-list { display: grid; gap: 2px; }
.legend-row { display: grid; grid-template-columns: 14px 1fr auto; align-items: center; gap: 8px; height: 28px; padding: 0 6px; border-radius: 6px; }
.legend-row:hover { background: var(--surface); }
.legend-row .sw { width: 8px; height: 8px; border-radius: 2px; }
.legend-row .val { font-variant-numeric: tabular-nums; font-weight: 500; }
.legend-row.is-you { background: var(--surface); font-weight: 500; }
.chats { margin-top: 12px; }
.chat-row { display: grid; grid-template-columns: 18px 1fr auto; gap: 8px; align-items: center; padding: 7px 0; border-top: 1px solid var(--line-2); }
.chat-row:first-child { border-top: 0; }
.chat-row .mdl { width: 18px; height: 18px; border-radius: 5px; border: 1px solid var(--line); display: grid; place-items: center; font-size: 9px; font-weight: 600; color: var(--ink-2); }
.chat-row .q { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink-2); }
.chat-row .t { color: var(--muted-2); font-size: 11px; }
.dash-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.dash-status { font-size: 11px; color: var(--muted); min-height: 16px; }
.float-card {
  position: absolute; z-index: 2; background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: var(--shadow-lg); padding: 10px 12px; font-size: 12px; text-align: left;
}
.float-card.prompts { left: calc(50% - 160px); bottom: 36px; width: 320px; }
.float-card .fc-head { display: flex; justify-content: space-between; gap: 8px; font-weight: 500; margin-bottom: 8px; }
.float-card .fc-input { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 8px; border-radius: 6px; border: 1px solid var(--line); color: var(--muted); }
.float-card .fc-tags { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.tag { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 5px; background: #f2f2f2; color: var(--ink-2); font-size: 11px; font-weight: 500; }
.tag.green { background: #ecfdf3; color: #15803d; }
.tag.red { background: #fef2f2; color: #b91c1c; }
.tag.dark { background: var(--ink); color: #fff; }
.delta-up { color: var(--green); }
.delta-down { color: var(--red); }

/* ---------- Audience strip ---------- */
.audience { padding: 40px 48px 56px; text-align: center; border-top: 0; }
.audience-title { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.audience-title b { color: var(--ink); font-weight: 500; }
.audience-grid { background: #fff; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-align: left; }
.audience-col { padding: 20px 24px; }
.audience-col + .audience-col { border-left: 1px solid var(--line); }
.audience-col h3 { font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.audience-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.audience-item { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 8px; background: var(--surface); font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.audience-item svg { width: 15px; height: 15px; color: var(--muted); flex: none; }

/* ---------- Metrics ---------- */
.metrics-stage { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.metrics-canvas { position: relative; min-height: 440px; padding: 40px; display: grid; place-items: center; background: var(--surface); border-bottom: 1px solid var(--line); }
.answer { width: min(560px, 100%); background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 20px 22px; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.answer-q { display: flex; justify-content: flex-end; margin-bottom: 14px; }
.answer-q span { background: #f2f2f2; border-radius: 12px 12px 4px 12px; padding: 8px 12px; color: var(--ink); font-weight: 500; }
.answer p + p { margin-top: 10px; }
.answer .brand-name { font-weight: 600; color: var(--ink); }
.answer mark { background: #fff4c2; color: var(--ink); border-radius: 3px; padding: 0 2px; font-weight: 600; }
.answer-overlay { position: absolute; right: 48px; top: 48px; width: 220px; }
.answer-overlay .float-card { position: static; }
.metric-panel[hidden] { display: none; }
.metric-kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 4px; }
.metric-kv div { background: var(--surface); border-radius: 6px; padding: 6px 8px; }
.metric-kv span { display: block; font-size: 10.5px; color: var(--muted); }
.metric-kv b { font-size: 15px; font-weight: 600; }
.rank-list { display: grid; gap: 4px; }
.rank-list li { display: grid; grid-template-columns: 20px 1fr; gap: 6px; padding: 4px 6px; border-radius: 6px; }
.rank-list li.is-you { background: var(--surface); font-weight: 600; }
.score { font-size: 28px; font-weight: 600; letter-spacing: -.02em; }
.metric-tabs { display: grid; }
.metric-tab { display: grid; grid-template-columns: 28px 1fr; gap: 0 14px; text-align: left; padding: 18px 28px; border-top: 1px solid var(--line); position: relative; }
.metric-tab:first-child { border-top: 0; }
.metric-tab .mt-icon { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); }
.metric-tab .mt-icon svg { width: 15px; height: 15px; }
.metric-tab .mt-title { font-size: 16px; font-weight: 500; align-self: center; }
.metric-tab .mt-desc { grid-column: 2; color: var(--muted); font-size: 14px; display: none; margin-top: 4px; max-width: 640px; }
.metric-tab[aria-selected="true"] .mt-desc { display: block; }
.metric-tab[aria-selected="true"] .mt-icon { color: var(--ink); background: var(--surface); }
.metric-tab[aria-selected="false"] .mt-title { color: var(--muted); }
.metric-tab[aria-selected="true"]::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--ink); }

/* ---------- Bento features ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.bento-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 6px; min-height: 300px; overflow: hidden; }
.bento-card .step { font-size: 12px; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.bento-card h3 { font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
.bento-card p { color: var(--muted); font-size: 14px; max-width: 360px; }
.bento-card .viz { margin-top: auto; padding-top: 24px; }
.bento .b1 { grid-column: span 2; }
.bento .b5 { grid-column: span 2; }
.bento .b6 { grid-row: span 2; grid-column: 3; grid-row-start: 2; }
.mini-list { display: grid; gap: 6px; }
.mini-row { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 12.5px; box-shadow: var(--shadow-sm); }
.mini-row .grow { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-row svg { width: 13px; height: 13px; color: var(--muted); flex: none; }
.bar { height: 6px; border-radius: 3px; background: #efefef; overflow: hidden; flex: none; width: 64px; }
.bar i { display: block; height: 100%; background: var(--ink); border-radius: inherit; }
.model-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.model-chip { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 8px; border: 1px solid var(--line); border-radius: 7px; font-size: 12px; background: #fff; }
.model-chip .box { width: 14px; height: 14px; border-radius: 4px; border: 1px solid #d4d4d4; display: grid; place-items: center; flex: none; }
.model-chip.on .box { background: var(--ink); border-color: var(--ink); }
.model-chip .box svg { width: 10px; height: 10px; color: #fff; }
.source-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.source-table th { text-align: left; font-weight: 500; color: var(--muted); padding: 6px 8px; border-bottom: 1px solid var(--line); font-size: 11.5px; }
.source-table td { padding: 8px; border-bottom: 1px solid var(--line-2); }
.source-table td:last-child, .source-table th:last-child { text-align: right; }
.insight { border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; font-size: 12.5px; background: #fff; box-shadow: var(--shadow-sm); }
.insight b { display: block; font-weight: 500; }
.insight span { color: var(--muted); font-size: 12px; }
.insight + .insight { margin-top: 8px; }
.toast { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; background: var(--ink); color: #fff; border-radius: 8px; font-size: 12.5px; }
.toast svg { width: 13px; height: 13px; }

/* ---------- Statement ---------- */
.statement { padding: 120px 48px; text-align: center; }
.statement blockquote { margin: 0 auto; max-width: 860px; font-size: 30px; line-height: 1.3; letter-spacing: -.015em; font-weight: 450; color: var(--muted-2); }
.statement blockquote strong { color: var(--ink); font-weight: 450; }
.statement blockquote { color: var(--gray-ink); }
.statement figcaption { margin-top: 24px; font-size: 13px; color: var(--muted); }

/* ---------- Split banner (MCP) ---------- */
.split { display: grid; grid-template-columns: 1fr 1.1fr; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.split-copy { padding: 48px; display: flex; flex-direction: column; justify-content: center; gap: 16px; align-items: flex-start; }
.split-visual { background: var(--surface); border-left: 1px solid var(--line); min-height: 340px; display: grid; place-items: center; padding: 32px; }
.flow { width: 100%; max-width: 440px; }
.flow text { font-family: inherit; font-size: 12px; fill: var(--ink-2); }

/* ---------- Scatter ---------- */
.report-card { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; overflow: hidden; }
.report-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); gap: 12px; flex-wrap: wrap; }
.report-body { display: grid; grid-template-columns: 1fr 260px; }
.scatter-wrap { padding: 20px; border-right: 1px solid var(--line); }
.scatter { width: 100%; height: auto; }
.scatter text { font-family: inherit; font-size: 11px; fill: var(--muted-2); }
.scatter .q-label { font-size: 12px; fill: var(--muted); font-weight: 500; }
.scatter .pt { cursor: pointer; }
.scatter .pt circle { fill: #fff; stroke: var(--ink); stroke-width: 1.5; transition: r .15s; }
.scatter .pt.you circle { fill: var(--ink); }
.scatter .pt text { fill: var(--ink-2); font-size: 11px; }
.scatter .pt:hover circle, .scatter .pt:focus circle, .scatter .pt.is-active circle { r: 7; }
.scatter .pt:focus { outline: none; }
.scatter .pt:focus-visible circle { stroke: var(--accent); stroke-width: 2.5; }
.scatter-detail { padding: 20px; display: grid; align-content: start; gap: 14px; }
.scatter-detail .kv { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line-2); font-size: 13.5px; }
.scatter-detail .kv span { color: var(--muted); }
.scatter-detail .kv b { font-weight: 500; font-variant-numeric: tabular-nums; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; background: #fff; display: flex; flex-direction: column; gap: 8px; }
.card h3 { font-size: 16px; font-weight: 500; }
.card p { color: var(--muted); font-size: 14px; }
.card .card-icon { width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 8px; display: grid; place-items: center; margin-bottom: 8px; box-shadow: var(--shadow-sm); }
.card .card-icon svg { width: 16px; height: 16px; }
.card .text-link { margin-top: auto; padding-top: 8px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }

/* ---------- Prompt marquee ---------- */
.marquee-section { padding: 112px 0; }
.marquee-section .section-head { padding: 0 48px; max-width: none; }
.marquee { overflow: hidden; display: grid; gap: 12px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-row { display: flex; gap: 12px; width: max-content; animation: marquee 60s linear infinite; }
.marquee-row.reverse { animation-direction: reverse; animation-duration: 70s; }
.marquee-row.slow { animation-duration: 80s; }
.marquee:hover .marquee-row, .marquee:focus-within .marquee-row { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.prompt-card { display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 8px 0 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: var(--shadow-sm); font-size: 14px; white-space: nowrap; }
.prompt-card svg { width: 15px; height: 15px; color: var(--muted); }
.prompt-card .track { display: inline-flex; align-items: center; height: 30px; padding: 0 10px; border-radius: 6px; background: var(--surface); font-size: 12.5px; font-weight: 500; color: var(--ink-2); }
.prompt-card .track:hover { background: var(--ink); color: #fff; }
.marquee-toggle { margin: 20px auto 0; display: flex; }

/* ---------- Use cases ---------- */
.usecases { columns: 3; column-gap: 12px; }
.usecase { break-inside: avoid; margin-bottom: 12px; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; background: #fff; display: grid; gap: 16px; }
.usecase p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.usecase .uc-foot { display: flex; align-items: center; gap: 10px; }
.usecase .uc-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; }
.usecase .uc-avatar svg { width: 16px; height: 16px; }
.usecase .uc-role { font-size: 14px; font-weight: 500; display: block; }
.usecase .uc-sub { font-size: 13px; color: var(--muted); display: block; }

/* ---------- CTA band ---------- */
.cta-band { padding: 72px 48px; }
.cta-box { background: #141414; color: #fff; border-radius: 16px; padding: 72px 56px; position: relative; overflow: hidden; display: grid; gap: 28px; }
.cta-box::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(90deg, transparent 30%, #000); -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); }
.cta-box > * { position: relative; }
.cta-box .h2 { font-size: 48px; max-width: 560px; }
.cta-box .h2 .gray { color: #8a8a8a; }
.cta-box .hero-ctas { margin-top: 0; justify-content: flex-start; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left; padding: 20px 4px; font-size: 16px; font-weight: 500; }
.faq-q .pm { width: 20px; height: 20px; flex: none; position: relative; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; left: 4px; right: 4px; top: 9px; height: 1.5px; background: var(--ink); transition: transform .2s; }
.faq-q .pm::after { transform: rotate(90deg); }
.faq-q[aria-expanded="true"] .pm::after { transform: rotate(0deg); }
.faq-a { padding: 0 40px 22px 4px; color: var(--muted); font-size: 15px; }
.faq-a[hidden] { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: #0f0f0f; color: #fff; padding: 72px 0 32px; }
.footer-inner { width: var(--rail); margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1.3fr 3fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid #262626; }
.footer-brand .brand { color: #fff; font-size: 26px; }
.footer-brand .brand svg { width: 30px; height: 30px; }
.footer-tag { margin-top: 18px; font-size: 22px; line-height: 1.15; letter-spacing: -.015em; }
.footer-tag span { color: #7a7a7a; display: block; }
.footer-contact { margin-top: 18px; font-size: 14px; }
.footer-contact a { color: #d4d4d4; }
.footer-contact a:hover { color: #fff; }
.footer-cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.footer-col h2 { font-size: 13px; font-weight: 500; color: #7a7a7a; margin-bottom: 14px; }
.footer-col li + li { margin-top: 10px; }
.footer-col a { font-size: 14px; color: #d4d4d4; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; font-size: 13px; color: #7a7a7a; flex-wrap: wrap; }
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; overflow: hidden; }
.plan { padding: 24px; display: flex; flex-direction: column; gap: 16px; position: relative; }
.plan + .plan { border-left: 1px solid var(--line); }
.plan.featured { background: #fff; box-shadow: inset 0 0 0 1px var(--ink); border-radius: var(--radius-lg); z-index: 1; }
.plan-name { display: flex; align-items: center; justify-content: space-between; font-size: 15px; font-weight: 500; }
.plan-price { display: flex; align-items: baseline; gap: 4px; min-height: 44px; }
.plan-price .amt { font-size: 38px; font-weight: 500; letter-spacing: -.03em; line-height: 1; }
.plan-price .per { color: var(--muted); font-size: 14px; }
.billing { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); min-height: 24px; }
.switch { position: relative; width: 32px; height: 18px; border-radius: 999px; background: #e5e5e5; transition: background .2s; flex: none; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s; }
.switch[aria-checked="true"] { background: var(--ink); }
.switch[aria-checked="true"]::after { transform: translateX(14px); }
.save { display: inline-flex; height: 20px; align-items: center; padding: 0 6px; border-radius: 5px; background: #ecfdf3; color: #15803d; font-size: 11.5px; font-weight: 500; }
.save[hidden] { display: none; }
.plan-desc { color: var(--muted); font-size: 14px; min-height: 63px; }
.plan-list { display: grid; gap: 10px; font-size: 14px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.plan-list .pl-head { font-size: 13px; color: var(--muted); }
.plan-list li { display: flex; gap: 8px; align-items: flex-start; }
.plan-list li svg { width: 15px; height: 15px; margin-top: 3px; flex: none; color: var(--ink); }
.agency-banner { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 12px; padding: 14px 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; font-size: 14px; flex-wrap: wrap; }
.agency-banner b { font-weight: 500; }
.compare-wrap { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 760px; }
.compare th, .compare td { padding: 12px 16px; border-bottom: 1px solid var(--line-2); text-align: center; vertical-align: top; }
.compare th:first-child, .compare td:first-child { text-align: left; width: 28%; }
.compare thead th { position: sticky; top: var(--header-h); background: #fff; z-index: 2; border-bottom: 1px solid var(--line); font-weight: 500; }
.compare thead .th-price { display: block; font-size: 13px; color: var(--muted); font-weight: 400; }
.compare .group td { background: var(--surface); font-weight: 500; font-size: 13px; color: var(--ink-2); text-align: left; }
.compare td .hint { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.compare .yes svg { width: 16px; height: 16px; margin: 0 auto; }
.compare .no { color: var(--muted-2); }
.compare .models { display: grid; gap: 4px; justify-items: center; font-size: 13px; }
.addon-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: end; margin-bottom: 24px; }
.addon-models { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.addon-card .plan-price .amt { font-size: 30px; }
.config { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; margin-bottom: 12px; }
.config-group { display: grid; gap: 8px; }
.config-group .lbl { font-size: 13px; font-weight: 500; }
.config-group .hint { font-size: 12.5px; color: var(--muted); }
.chip-toggle { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-toggle button { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border: 1px solid var(--line); border-radius: 7px; background: #fff; font-size: 13px; }
.chip-toggle button[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.plan-meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); padding: 8px 10px; border-radius: 7px; background: var(--surface); }
.plan-meta b { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }

/* ---------- Forms ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font-size: 14px; transition: border-color .15s, box-shadow .15s; }
.field textarea { height: 104px; padding: 10px 12px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(23, 23, 23, .08); }
.field [aria-invalid="true"] { border-color: var(--red); }
.field .err { font-size: 12.5px; color: var(--red); min-height: 0; }
.field .err:empty { display: none; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 14px; }
.context-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; margin-bottom: 18px; border-radius: 9px; background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }
.context-note svg { width: 16px; height: 16px; margin-top: 2px; flex: none; }
.context-note[hidden] { display: none; }
.result { display: grid; gap: 14px; }
.result[hidden] { display: none; }
.result-status { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border-radius: 9px; background: #fffbeb; border: 1px solid #fde68a; font-size: 14px; color: #713f12; }
.result-status svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.result pre { margin: 0; white-space: pre-wrap; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 12px; max-height: 240px; overflow: auto; }
.result-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.leave-list { display: grid; gap: 14px; margin-top: 32px; }
.leave-list li { display: flex; gap: 12px; font-size: 15px; color: var(--ink-2); }
.leave-list li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }

/* ---------- Tabs (feature) ---------- */
.ftabs { display: grid; grid-template-columns: 300px 1fr; gap: 12px; }
.ftab-list { display: grid; align-content: start; gap: 4px; }
.ftab { text-align: left; padding: 14px 16px; border-radius: 10px; border: 1px solid transparent; display: grid; gap: 4px; }
.ftab .ft-title { font-size: 15px; font-weight: 500; color: var(--muted); }
.ftab .ft-desc { font-size: 13.5px; color: var(--muted); display: none; }
.ftab:hover .ft-title { color: var(--ink); }
.ftab[aria-selected="true"] { background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
.ftab[aria-selected="true"] .ft-title { color: var(--ink); }
.ftab[aria-selected="true"] .ft-desc { display: block; }
.ftab-panel { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; padding: 32px; min-height: 380px; display: grid; gap: 20px; align-content: start; }
.ftab-panel[hidden] { display: none; }
.ftab-panel p { color: var(--muted); max-width: 560px; }
.panel-viz { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 20px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.step-card { padding: 28px; display: grid; gap: 8px; align-content: start; }
.step-card + .step-card { border-left: 1px solid var(--line); }
.step-card .num { font-size: 13px; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.step-card h3 { font-size: 17px; font-weight: 500; }
.step-card p { color: var(--muted); font-size: 14px; }

/* ---------- Product visuals ---------- */
.attr-row { display: grid; grid-template-columns: 120px 1fr 44px; gap: 12px; align-items: center; font-size: 13px; padding: 6px 0; }
.attr-track { height: 8px; border-radius: 4px; background: #ececec; position: relative; }
.attr-track i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: var(--ink); }
.attr-track em { position: absolute; top: -3px; width: 2px; height: 14px; background: var(--muted-2); }
.attr-row b { text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }
.sku-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sku { border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 12px; display: grid; gap: 6px; font-size: 12.5px; }
.sku .img { height: 72px; border-radius: 7px; background: linear-gradient(135deg, #f4f4f4, #e9e9e9); display: grid; place-items: center; }
.sku .img svg { width: 28px; height: 28px; color: #bdbdbd; }
.sku b { font-weight: 500; }
.legal { max-width: 760px; margin: 0 auto; }
.legal h2 { font-size: 20px; font-weight: 500; margin: 40px 0 10px; letter-spacing: -.01em; }
.legal p, .legal li { color: var(--ink-2); font-size: 15.5px; line-height: 1.65; }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 20px; margin-top: 10px; display: grid; gap: 6px; }
.legal .updated { color: var(--muted); font-size: 14px; }
.notice-card { max-width: 560px; margin: 0 auto; text-align: left; }
.partner-cards .card { min-height: 280px; }
.partner-cards .card .kind { display: inline-flex; align-self: flex-start; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions .btn-ghost, .header-actions .btn-dark { display: none; }
  .site-header.is-open .main-nav {
    display: block; position: fixed; inset: var(--header-h) 0 0 0; background: #fff; overflow-y: auto;
    padding: 16px 20px 32px; border-top: 1px solid var(--line);
  }
  .site-header.is-open .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-header.is-open .nav-link { width: 100%; height: 52px; font-size: 17px; justify-content: space-between; border-bottom: 1px solid var(--line-2); border-radius: 0; padding: 0 4px; }
  .site-header.is-open .dropdown, .site-header.is-open .dropdown.mega { position: static; transform: none; width: auto; min-width: 0; box-shadow: none; border: 0; padding: 4px 0 12px; grid-template-columns: 1fr; }
  .mobile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 20px; }
  .plans { grid-template-columns: 1fr 1fr; }
  .plan:nth-child(3) { border-left: 0; }
  .plan:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-top { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .usecases { columns: 2; }
  .cards-4 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1081px) { .mobile-actions { display: none; } }

@media (max-width: 820px) {
  :root { --rail: calc(100% - 20px); }
  body { font-size: 15px; }
  .section { padding: 72px 16px; }
  .section.tight { padding-block: 56px; }
  .marquee-section { padding: 72px 0; }
  .marquee-section .section-head { padding: 0 16px; }
  .h1, .h1-sm { font-size: 32px; line-height: 32px; }
  .h2 { font-size: 26px; line-height: 27.3px; }
  .hero { padding: 40px 12px 0; }
  .page-hero { padding: 56px 16px 48px; }
  .hero-sub { font-size: 16px; }
  .hero-sub-home { font-size: 18px; line-height: 1.45; max-width: 330px; }
  .br-desk { display: none; }
  .hero-visual-full { margin: 32px -12px 0; }
  .brand { font-size: 24px; }
  .brand svg { width: 26px; height: 26px; }
  .hero-visual { padding: 0 8px; margin-top: 32px; }
  .section-head { margin-bottom: 36px; }
  .section-head.split { grid-template-columns: 1fr; gap: 14px; }
  .section-head.split p { justify-self: start; }
  .dash { grid-template-columns: 1fr; }
  .dash-side { display: none; }
  .dash-grid { grid-template-columns: 1fr; }
  .float-card.prompts { display: none; }
  .audience { padding: 32px 16px 40px; }
  .audience-grid { grid-template-columns: 1fr; }
  .audience-col + .audience-col { border-left: 0; border-top: 1px solid var(--line); }
  .audience-items { grid-template-columns: 1fr 1fr; }
  .metrics-canvas { min-height: 0; padding: 20px 14px; display: grid; gap: 14px; }
  .answer-overlay { position: static; width: 100%; }
  .metric-tab { padding: 16px; }
  .bento { grid-template-columns: 1fr; }
  .bento .b1, .bento .b5, .bento .b6 { grid-column: auto; grid-row: auto; }
  .bento-card { min-height: 0; }
  .statement { padding: 80px 16px; }
  .statement blockquote { font-size: 22px; }
  .split { grid-template-columns: 1fr; }
  .split-copy { padding: 28px 20px; }
  .split-visual { border-left: 0; border-top: 1px solid var(--line); min-height: 0; padding: 20px; }
  .report-body { grid-template-columns: 1fr; }
  .scatter-wrap { border-right: 0; border-bottom: 1px solid var(--line); padding: 12px; }
  .cards-3, .cards-2, .cards-4, .stat-row { grid-template-columns: 1fr; }
  .usecases { columns: 1; }
  .cta-band { padding: 40px 16px; }
  .cta-box { padding: 44px 24px; }
  .cta-box .h2 { font-size: 32px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--line); }
  .addon-head { grid-template-columns: 1fr; }
  .addon-models { justify-content: flex-start; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 20px; }
  .ftabs { grid-template-columns: 1fr; }
  .ftab-list { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; padding-bottom: 4px; }
  .ftab .ft-desc { display: none !important; }
  .ftab-panel { padding: 20px; min-height: 0; }
  .steps { grid-template-columns: 1fr; }
  .step-card + .step-card { border-left: 0; border-top: 1px solid var(--line); }
  .sku-grid { grid-template-columns: 1fr 1fr; }
  .config { padding: 16px; }
}

/* ---------- Product pages ---------- */
.phero { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; padding: 80px 48px 72px; }
.phero-copy { display: grid; justify-items: start; }
.phero-copy .h1 { max-width: 560px; }
.phero-copy .hero-sub { max-width: 460px; font-size: 17px; }
.phero-copy .hero-ctas { justify-content: flex-start; }
.phero-visual { border-radius: 16px; padding: 24px; min-width: 0; }
.phero-visual .dash { grid-template-columns: 1fr; }
.phero-visual .dash-side { display: none; }
.pdash { display: block; padding: 16px; }
.pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pcard.wide { grid-column: 1 / -1; }
.pcard h3 { font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
.pcard > p { color: var(--muted); font-size: 14px; max-width: 420px; }
.pviz { margin-top: auto; padding-top: 24px; display: grid; gap: 8px; }
.metric-big { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 12px; font-size: 13px; }
.metric-big b { font-size: 28px; font-weight: 550; letter-spacing: -.02em; }
.vbars { position: relative; height: 170px; display: flex; align-items: flex-end; gap: 14px; padding: 0 0 22px 40px; }
.vb-tick { position: absolute; left: 0; transform: translateY(50%); font-size: 10.5px; color: var(--muted-2); margin-bottom: 22px; }
.vb { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; }
.vb i { width: 100%; max-width: 44px; background: #e5e5e5; border-radius: 6px 6px 2px 2px; }
.vb i.you { background: var(--ink); }
.vb span { position: absolute; bottom: -20px; font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.mixbar { display: flex; height: 14px; border-radius: 7px; overflow: hidden; gap: 2px; }
.mix-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: var(--muted); }
.mix-legend li { display: inline-flex; align-items: center; gap: 6px; }
.mix-legend b { color: var(--ink); font-weight: 500; }
.sw { display: inline-block; width: 8px; height: 8px; border-radius: 2px; }
.bp-switch { display: grid; gap: 12px; justify-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 16px; }
.bp-panel { width: 100%; }
.bp-panel[hidden] { display: none; }
.attr-cloud { position: relative; height: 230px; width: 100%; }
.attr-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 14px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 20px; box-shadow: 0 0 0 10px #f3f3f3, 0 0 0 24px #f8f8f8; }
.attr-center svg { width: 52px; height: 52px; }
.attr-chip { position: absolute; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 9px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 12px; font-weight: 500; box-shadow: var(--shadow-sm); white-space: nowrap; }
.attr-chip svg { width: 11px; height: 11px; }
.attr-chip.pos svg { color: var(--green); }
.attr-chip.neg svg { color: var(--red); }
.gap-table { border: 1px solid var(--line); border-radius: 10px; padding: 12px; display: grid; gap: 6px; }
.gap-head { display: grid; gap: 2px; font-weight: 500; font-size: 13px; margin-bottom: 4px; }
.gap-row { display: grid; grid-template-columns: 130px 1fr 32px; gap: 10px; align-items: center; font-size: 12.5px; }
.gap-row b { text-align: right; font-weight: 500; }
.claims { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.claim { border: 1px solid var(--line); border-radius: 10px; padding: 10px; display: grid; gap: 8px; font-size: 12.5px; background: #fff; box-shadow: var(--shadow-sm); align-content: start; }
.claim p { color: var(--ink-2); }
.claim-model { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.claim-model svg { width: 12px; height: 12px; }
.claim-foot { display: flex; justify-content: space-between; align-items: center; gap: 6px; flex-wrap: wrap; }
.obj { border: 1px solid var(--line); border-radius: 10px; padding: 8px; }
.obj-head { font-size: 12.5px; font-weight: 500; padding: 4px 6px 8px; }
.obj-row { display: flex; justify-content: space-between; padding: 8px; border-radius: 7px; font-size: 13px; }
.obj-row.is-active { background: var(--ink); color: #fff; }
.obj-row b { font-weight: 500; }
.bench { display: grid; gap: 10px; }
.bench-row { display: grid; grid-template-columns: 120px 1fr auto; gap: 10px; align-items: center; font-size: 12.5px; }
.bench-bars { display: grid; gap: 3px; }
.bench-bars i { display: block; height: 7px; border-radius: 4px; background: var(--ink); max-width: 100%; }
.bench-bars i.c { background: #a3a3a3; }
.chip-wrap { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-wrap svg { width: 13px; height: 13px; color: var(--muted); }
.ic-inline { display: inline-block; width: 12px; height: 12px; vertical-align: -2px; margin-right: 6px; color: var(--muted); }
.robots { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.robots pre { margin: 0; background: #141414; color: #e5e5e5; border-radius: 10px; padding: 12px; font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; }
.robots ul { display: grid; gap: 6px; align-content: start; }
.robots li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 12.5px; }
.stack-chart { display: flex; gap: 24px; align-items: flex-end; height: 160px; padding: 0 8px; }
.sc-col { flex: 1; height: 100%; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.sc-bar { flex: 1; width: 100%; max-width: 64px; display: flex; flex-direction: column-reverse; gap: 2px; }
.sc-bar i { display: block; width: 100%; background: var(--ink); border-radius: 3px; }
.sc-col span { font-size: 11.5px; color: var(--muted); }
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.prod { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px; display: grid; gap: 4px; font-size: 13px; box-shadow: var(--shadow-sm); }
.prod-img { height: 96px; border-radius: 8px; background: linear-gradient(160deg, #f4f2ee, #e8e5df); display: grid; place-items: center; }
.prod-img svg { width: 48px; height: 48px; }
.prod-meta { display: flex; justify-content: space-between; }
.prod b { font-weight: 500; }
.prod-vis { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.prod-vis b { color: var(--ink); }
.sku-detail { display: grid; grid-template-columns: 180px 1fr; gap: 20px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.sku-detail .prod-img { height: 160px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.kpis > div { border: 1px solid var(--line); border-radius: 9px; padding: 10px; display: grid; gap: 2px; font-size: 12px; }
.kpis b { font-size: 20px; font-weight: 550; letter-spacing: -.02em; }
@media (max-width: 1080px) { .phero { grid-template-columns: 1fr; } }
@media (max-width: 820px) {
  .phero { padding: 48px 16px; gap: 28px; }
  .phero-visual { padding: 10px; }
  .pgrid, .claims, .robots, .kpis { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: 1fr 1fr; }
  .sku-detail { grid-template-columns: 1fr; }
  .gap-row { grid-template-columns: 100px 1fr 28px; }
  .pdash .source-table th:nth-child(5), .pdash .source-table td:nth-child(5), .pdash .source-table th:nth-child(2), .pdash .source-table td:nth-child(2) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .marquee-row { animation: none !important; flex-wrap: wrap; width: auto; }
  .marquee-row [aria-hidden="true"] { display: none; }
  .marquee { mask-image: none; -webkit-mask-image: none; padding: 0 16px; }
  .marquee-toggle { display: none; }
}
.marquee.is-paused .marquee-row { animation-play-state: paused; }
