/* RoboOI public pages on app.robooi.bio: /robots, /skills, /biocomputers, /how-it-works, /faq, 404.
   Copied to dist/seo/seo.css by scripts/build-seo.mjs. Tokens and type follow src/app/brand.css and robooi.bio:
   a white rounded frame on #ebebed, General Sans with tight tracking, Geist Mono micro-labels,
   violet / pink / blue accents, black pills. Light is the brand default; dark mirrors it (prefers-color-scheme). */

:root {
  --bg: #ebebed; --frame: #ffffff; --soft: #f4f4f6; --card: #f6f6f8;
  --ink: #111113; --ink2: #4b4b52; --grey: #6e6e78; --faint: #a8a8b0;
  --line: rgba(17, 17, 19, 0.09); --line2: rgba(17, 17, 19, 0.14);
  --violet: #8f6bff; --pink: #e27cff; --blue: #5b8cff; --lav: #b9a8ff; --green: #1fbf75;
  --pill-bg: #111113; --pill-fg: #ffffff;
  --img: grayscale(1) contrast(1.15) brightness(1.05);
  --img-on: grayscale(0.2) saturate(0.7) contrast(1.1);
  --font: "General Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, Consolas, monospace;
  --r: 28px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gut: max(clamp(20px, 4.4vw, 72px), calc((100% - 1360px) / 2));
  --sec: clamp(72px, 9vw, 136px);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #050507; --frame: #0d0d11; --soft: #15151b; --card: #131318;
    --ink: #f3f3f6; --ink2: #b9b9c4; --grey: #8b8b97; --faint: #5e5e6a;
    --line: rgba(255, 255, 255, 0.08); --line2: rgba(255, 255, 255, 0.14);
    --pill-bg: #f3f3f6; --pill-fg: #111113;
    --img: grayscale(1) contrast(1.2) brightness(0.8);
    --img-on: grayscale(0.2) saturate(0.7) contrast(1.1) brightness(0.9);
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); scrollbar-color: var(--line2) transparent; scrollbar-width: thin; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--font); letter-spacing: -0.005em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 8px; }
.vh { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 20px; top: -80px; z-index: 50; padding: 14px 20px; border-radius: 999px; background: var(--pill-bg); color: var(--pill-fg); font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.04em; transition: top 0.3s var(--ease); }
.skip:focus { top: 20px; }

.frame { margin: 10px; min-height: calc(100vh - 20px); min-height: calc(100svh - 20px); display: flex; flex-direction: column; background: var(--frame); border-radius: var(--r); box-shadow: 0 0 0 1px var(--line); overflow: clip; }
main { flex: 1; }

/* ---------- header ---------- */
.hd { display: grid; grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr); align-items: center; gap: 24px; padding: 18px var(--gut) 14px; }
.logo { display: inline-flex; align-items: center; gap: 10px; justify-self: start; min-height: 44px; color: var(--ink); }
.logo .mark { width: 30px; height: 30px; flex: none; }
.logo .word { font-size: 19px; font-weight: 500; letter-spacing: -0.03em; }
.logo .word b { font-weight: 500; color: var(--violet); }
.logo circle:first-of-type { transform-origin: 9.5px 16px; transition: transform 0.6s var(--ease); }
.logo:hover circle:first-of-type { transform: scale(1.12); }
.app-tag { margin-left: 2px; padding: 4px 8px; border-radius: 6px; background: var(--soft); color: var(--ink2); font: 500 10px/1.2 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; }
.nav { display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--soft); }
.nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 16px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--grey); white-space: nowrap; transition: color 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a[aria-current], .nav a.on { color: var(--ink); background: var(--frame); box-shadow: 0 1px 2px rgba(17, 17, 19, 0.08), 0 0 0 1px var(--line); }
.hd-r { justify-self: end; display: flex; align-items: center; gap: 6px; }
.login { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: 14px; font-weight: 500; white-space: nowrap; transition: color 0.3s; }
.login:hover { color: var(--violet); }

/* ---------- pills + links (fill blooms, label rolls, as on robooi.bio) ---------- */
.pill { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 0 26px; border-radius: 999px; background: var(--pill-bg); color: var(--pill-fg); font: 500 11.5px/1 var(--mono); letter-spacing: 0.03em; text-transform: uppercase; white-space: nowrap; transition: color 0.45s var(--ease), box-shadow 0.6s var(--ease); }
.pill::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 100%; width: 140%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #a68bff, var(--violet) 55%, #6a4ee6); transform: translate(-50%, -50%) scale(0); transition: transform 0.7s cubic-bezier(0.65, 0, 0.25, 1); }
.pill:hover::before, .pill:focus-visible::before { transform: translate(-50%, -50%) scale(1.7); }
.pill:hover, .pill:focus-visible { color: #fff; box-shadow: 0 18px 40px -18px rgba(106, 78, 230, 0.7); }
.pill .roll { position: relative; display: inline-block; overflow: hidden; height: 1.3em; line-height: 1.3em; }
.pill .roll > span, .pill .roll::after { display: block; transition: transform 0.55s var(--ease); }
.pill .roll::after { content: attr(data-l); position: absolute; left: 0; top: 100%; }
.pill:hover .roll > span, .pill:hover .roll::after, .pill:focus-visible .roll > span, .pill:focus-visible .roll::after { transform: translateY(-100%); }
.pill .arr { font: 400 15px/1 var(--font); text-transform: none; transition: transform 0.6s var(--ease); }
.pill:hover .arr { transform: translateX(4px); }
.pill.sm { min-height: 42px; padding: 0 20px; font-size: 10.5px; gap: 10px; }
.pill.light { background: #fff; color: #111113; }
.tlink { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; font-weight: 500; color: var(--ink); transition: color 0.3s; }
.tlink .arr { display: inline-block; transition: transform 0.5s var(--ease); }
.tlink:hover { color: var(--violet); }
.tlink:hover .arr { transform: translateX(4px); }
.tlink.down:hover .arr { transform: translateY(3px); }
.inl { border-bottom: 1px solid var(--line2); transition: color 0.3s, border-color 0.3s; }
.inl:hover { color: var(--violet); border-color: var(--violet); }

/* ---------- type ---------- */
.micro { display: inline-flex; align-items: center; gap: 8px; font: 500 11px/1.35 var(--mono); letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink2); }
.micro .dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 4px rgba(143, 107, 255, 0.15); }
.micro .idx { color: var(--violet); }
.micro a { transition: color 0.3s; }
.micro a:hover { color: var(--violet); }
.h1 { margin-top: 22px; font-weight: 400; font-size: clamp(46px, 6.6vw, 108px); line-height: 0.98; letter-spacing: -0.052em; text-wrap: balance; }
.h1.md { font-size: clamp(44px, 5.6vw, 92px); }
.h2 { font-weight: 400; font-size: clamp(34px, 4.2vw, 66px); line-height: 1.02; letter-spacing: -0.046em; text-wrap: balance; }
.h3 { font-weight: 500; font-size: clamp(20px, 1.6vw, 25px); line-height: 1.18; letter-spacing: -0.028em; }
.lead { margin-top: 26px; max-width: 34em; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; color: var(--ink2); text-wrap: pretty; }
.p { margin-top: 20px; max-width: 40em; font-size: 16px; line-height: 1.68; color: var(--ink2); text-wrap: pretty; }
.p + .p { margin-top: 14px; }
.p strong { font-weight: 500; color: var(--ink); }
.big { max-width: 24em; font-size: clamp(24px, 2.3vw, 36px); line-height: 1.2; letter-spacing: -0.034em; text-wrap: balance; }
.grad { background: linear-gradient(90deg, var(--violet), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- breadcrumbs ---------- */
.crumbs { padding: 8px var(--gut) 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; font: 500 11px/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.05em; color: var(--grey); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--faint); }
.crumbs a { transition: color 0.3s; }
.crumbs a:hover { color: var(--violet); }
.crumbs [aria-current] { color: var(--ink2); }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 28px; padding: clamp(32px, 4.6vw, 76px) var(--gut) clamp(56px, 7vw, 112px); }
.hero-copy { grid-column: 1 / span 8; }
.hero-side { grid-column: 9 / -1; align-self: end; }
.hero-side .lead { margin-top: 0; }
.hero.split { align-items: end; }
.hero.split .hero-copy { grid-column: 1 / span 7; }
.hero-media { grid-column: 8 / -1; }
.actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.feature { padding: 0 var(--gut); }
.feature .shot img { aspect-ratio: 21 / 9; }

/* ---------- robot imagery (the app's thumbnail treatment: grey at rest, colour when chosen) ---------- */
.shot { position: relative; overflow: hidden; border-radius: 22px; background: var(--soft); }
.shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; filter: var(--img); transition: filter 0.9s var(--ease), transform 1.2s var(--ease); }
a:hover .shot img, a:focus-visible .shot img, .shot.live img { filter: var(--img-on); }
a:hover .shot img, a:focus-visible .shot img { transform: scale(1.02); }
.hero-media .shot img { aspect-ratio: 4 / 3; }
.cap { margin-top: 12px; font: 500 10.5px/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.05em; color: var(--grey); }
.cap a { transition: color 0.3s; }
.cap a:hover { color: var(--violet); }

/* ---------- sections ---------- */
.sec { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 24px; padding: var(--sec) var(--gut); border-top: 1px solid var(--line); }
.sec-label { grid-column: 1 / span 3; }
.sec-body { grid-column: 4 / -1; min-width: 0; }
.block { margin-top: clamp(36px, 4.4vw, 60px); }
.block-t { margin-bottom: 18px; }
.go { margin-top: 24px; }

/* ---------- robots index ---------- */
.robots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(44px, 5vw, 76px) clamp(16px, 2vw, 28px); padding: 0 var(--gut) var(--sec); }
.robot { display: grid; gap: 22px; align-content: start; }
.robot:first-child { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: end; gap: clamp(24px, 3vw, 52px); }
.robot:first-child .shot img { aspect-ratio: 16 / 9; }
.robot-meta { font: 500 11px/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.05em; color: var(--grey); }
.robot-name { margin-top: 10px; font-weight: 400; font-size: clamp(30px, 3vw, 48px); line-height: 1.02; letter-spacing: -0.045em; transition: color 0.4s; }
.robot-note { margin-top: 12px; max-width: 30em; font-size: 15px; line-height: 1.6; color: var(--ink2); }
.robot .tlink { margin-top: 6px; }
a.robot:hover .robot-name { color: var(--violet); }
a.robot:hover .tlink .arr { transform: translateX(4px); }

/* ---------- rows (skills, steps, links) ---------- */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; column-gap: 20px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--line); }
.row .n { font: 500 12px/1 var(--mono); color: var(--grey); transition: color 0.4s; }
.row .t { font-weight: 500; font-size: clamp(19px, 1.6vw, 24px); line-height: 1.2; letter-spacing: -0.028em; transition: transform 0.6s var(--ease), color 0.4s; }
.row .d { grid-column: 2; margin-top: 8px; max-width: 40em; font-size: 15px; line-height: 1.55; color: var(--ink2); }
.row .m { grid-column: 3; grid-row: 1; font: 500 10.5px/1.3 var(--mono); text-transform: uppercase; letter-spacing: 0.05em; color: var(--grey); white-space: nowrap; }
a.row:hover .t { transform: translateX(6px); color: var(--violet); }
a.row:hover .n { color: var(--violet); }
.rows.big .t { font-weight: 400; font-size: clamp(28px, 3vw, 44px); letter-spacing: -0.045em; }

/* ---------- groups on the skills index ---------- */
.mini { display: block; max-width: 260px; }
.mini .shot { border-radius: 16px; }
.mini + .micro { margin-top: 16px; }
.sec-body .h2 a { transition: color 0.4s; }
.sec-body .h2 a:hover { color: var(--violet); }

/* ---------- spec lists ---------- */
.spec { border-top: 1px solid var(--line); }
.spec > div { display: grid; grid-template-columns: minmax(130px, 0.34fr) minmax(0, 1fr); gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.spec dt { font: 500 11px/1.65 var(--mono); text-transform: uppercase; letter-spacing: 0.05em; color: var(--grey); }
.spec dd { font-size: 15.5px; line-height: 1.55; }
.spec dd a { border-bottom: 1px solid var(--line2); transition: color 0.3s, border-color 0.3s; }
.spec dd a:hover { color: var(--violet); border-color: var(--violet); }
.spec .num { font-family: var(--mono); font-size: 14px; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.spec.kv > div { grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; }
.spec.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; border-top: 0; }
.spec.two > div { grid-template-columns: minmax(0, 1fr) auto; }
.spec.two > div:nth-child(-n + 2) { border-top: 1px solid var(--line); }

/* ---------- pathways ---------- */
.pw + .pw { margin-top: clamp(40px, 4vw, 56px); }
.pw-name { font-weight: 400; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.1; letter-spacing: -0.04em; }
.flow { margin-top: 22px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px 40px; align-items: start; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.flow > div { display: grid; gap: 10px; align-content: start; }
.flow dt { font: 500 10.5px/1.3 var(--mono); text-transform: uppercase; letter-spacing: 0.05em; color: var(--grey); }
.flow dd { font: 400 clamp(28px, 2.6vw, 42px)/1 var(--mono); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.flow dd.list { display: flex; flex-wrap: wrap; gap: 6px 0.8em; font-size: clamp(20px, 1.8vw, 28px); line-height: 1.2; letter-spacing: -0.03em; }
.flow dd small { display: block; margin-top: 10px; font: 500 10.5px/1.4 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--grey); word-spacing: 0; }
.flow .stim dd { color: var(--violet); }

/* ---------- poses + movement notes ---------- */
.pose + .pose { margin-top: 36px; }
.pose .h3 { margin-bottom: 14px; }
.notes { margin-top: 18px; display: grid; gap: 10px; }
.notes li { position: relative; padding-left: 24px; font-size: 16px; line-height: 1.6; color: var(--ink2); }
.notes li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 12px; height: 1px; background: var(--violet); }

/* ---------- the test (trial schedule, from the skill file) ---------- */
.tl { padding: 26px 28px 22px; border-radius: 22px; background: var(--soft); }
.tl-rows { margin-top: 18px; display: grid; gap: 10px; }
.tl-row { display: grid; grid-template-columns: minmax(70px, 120px) minmax(0, 1fr); align-items: center; gap: 14px; }
.tl-name { overflow: hidden; font: 500 10.5px/1.2 var(--mono); text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink2); white-space: nowrap; text-overflow: ellipsis; }
.tl-track { position: relative; height: 30px; border-radius: 9px; background: var(--frame); }
.tl-track i { position: absolute; top: 5px; bottom: 5px; border-radius: 6px; background: linear-gradient(90deg, var(--blue), var(--violet) 55%, var(--pink)); }
.tl-axis { position: relative; height: 16px; }
.tl-axis span { position: absolute; top: 0; transform: translateX(-50%); font: 500 9.5px/1.6 var(--mono); color: var(--grey); white-space: nowrap; }
.tl-axis span:first-child { transform: none; }
.tl-axis span:last-child { transform: translateX(-100%); }
.checks { border-top: 1px solid var(--line); }
.checks li { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 17px; letter-spacing: -0.015em; }
.checks .n { font: 500 12px/1.6 var(--mono); color: var(--grey); }

/* ---------- proof (validation conditions) ---------- */
.proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.proof > div { padding: 22px 24px 24px 0; border-bottom: 1px solid var(--line); }
.proof > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.proof b { display: block; font-weight: 500; font-size: 19px; letter-spacing: -0.02em; }
.proof span { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font: 500 10.5px/1.3 var(--mono); text-transform: uppercase; letter-spacing: 0.05em; color: var(--grey); }
.proof span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 4px rgba(226, 124, 255, 0.15); }
.proof .pass span::before { background: var(--green); box-shadow: 0 0 0 4px rgba(31, 191, 117, 0.15); }
.quote { margin-top: 28px; padding-left: 20px; border-left: 2px solid var(--violet); font-size: 17px; line-height: 1.55; letter-spacing: -0.01em; }
.quote + .quote { margin-top: 14px; border-left-color: var(--line2); color: var(--ink2); }
.quote small { display: block; margin-top: 6px; font: 500 10.5px/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.05em; color: var(--grey); }

/* ---------- biocomputer sources ---------- */
.srcs { border-top: 1px solid var(--line); }
.src { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 20px; padding: clamp(28px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); }
.src .n { font: 500 12px/2.6 var(--mono); color: var(--grey); }
.src-h { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.src-h .h3 { font-weight: 400; font-size: clamp(26px, 2.4vw, 36px); letter-spacing: -0.04em; }
.src .blurb { margin-top: 12px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; letter-spacing: -0.02em; }
.src .p { margin-top: 10px; }
.src .spec { margin-top: 22px; }
.chip { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--soft); color: var(--ink2); font: 500 10px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; }
.chip.lav { background: rgba(143, 107, 255, 0.12); color: var(--violet); }
.chip.green { background: rgba(31, 191, 117, 0.12); color: #13a663; }
@media (prefers-color-scheme: dark) { .chip.green { color: #3ddc94; } }
.cite { margin-top: 28px; padding: 24px 26px; border-radius: 22px; background: var(--soft); font-size: 15px; line-height: 1.6; }
.cite p + p { margin-top: 10px; }
.cite a { border-bottom: 1px solid var(--line2); transition: color 0.3s, border-color 0.3s; }
.cite a:hover { color: var(--violet); border-color: var(--violet); }

/* ---------- data path (how it works) ---------- */
.pipe { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: clamp(16px, 2vw, 28px); border-top: 1px solid var(--line); counter-reset: node; }
.pipe li { position: relative; display: grid; gap: 6px; align-content: start; padding: 20px 24px 0 0; counter-increment: node; }
.pipe li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.pipe li::before { content: counter(node, decimal-leading-zero); font: 500 10.5px/1 var(--mono); color: var(--violet); }
.pipe b { font-weight: 500; font-size: 17px; letter-spacing: -0.02em; }
.pipe span { font-size: 13.5px; line-height: 1.45; color: var(--grey); }
.pipe-fb { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 10px; margin-top: 4px; font: 500 10.5px/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.05em; color: var(--grey); }
.pipe-fb::before { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, var(--blue), var(--violet), var(--pink)); }
.thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.thumbs a { display: grid; gap: 10px; }
.thumbs .shot { border-radius: 14px; }
.thumbs span { font: 500 10.5px/1.3 var(--mono); text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink2); transition: color 0.3s; }
.thumbs a:hover span { color: var(--violet); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(40px, 6vw, 100px); align-items: start; padding: clamp(32px, 4.6vw, 76px) var(--gut) var(--sec); }
.faq-head { position: sticky; top: 28px; }
.faq-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; display: grid; grid-template-columns: 44px minmax(0, 1fr) 28px; gap: 16px; align-items: center; padding: 26px 0; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa-n { font: 500 12px/1 var(--mono); color: var(--grey); transition: color 0.4s; }
.qa-q { font-weight: 500; font-size: clamp(18px, 1.6vw, 23px); line-height: 1.25; letter-spacing: -0.025em; transition: color 0.4s, transform 0.6s var(--ease); }
.qa-ico { position: relative; width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line2); transition: background 0.45s var(--ease), box-shadow 0.45s; }
.qa-ico::before, .qa-ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; margin: -0.75px 0 0 -5.5px; border-radius: 2px; background: var(--ink); transition: transform 0.55s var(--ease), background 0.4s; }
.qa-ico::after { transform: rotate(90deg); }
.qa summary:hover .qa-q { transform: translateX(6px); }
.qa summary:hover .qa-ico { box-shadow: inset 0 0 0 1px var(--violet); }
.qa[open] .qa-ico { background: var(--ink); box-shadow: none; }
.qa[open] .qa-ico::before, .qa[open] .qa-ico::after { background: var(--frame); }
.qa[open] .qa-ico::after { transform: rotate(0deg); }
.qa[open] .qa-n { color: var(--violet); }
.qa-a { padding: 0 44px 28px 60px; }
.qa-a p { max-width: 42em; font-size: 15.5px; line-height: 1.7; color: var(--ink2); }
.qa-a p + p { margin-top: 12px; }
.qa-a a { color: var(--ink); border-bottom: 1px solid var(--line2); transition: color 0.3s, border-color 0.3s; }
.qa-a a:hover { color: var(--violet); border-color: var(--violet); }

/* ---------- closing call to action (a dark contrast block, as on robooi.bio) ---------- */
.cta { padding: 0 clamp(10px, 1.4vw, 20px) clamp(10px, 1.4vw, 20px); }
.cta-in { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 26px; justify-items: start; padding: clamp(48px, 6.4vw, 104px) clamp(26px, 5.6vw, 88px); border-radius: calc(var(--r) - 8px); color: #fff; background: radial-gradient(90% 120% at 100% 0%, #3a2a8a 0%, #17151f 45%, #0e0e12 100%); }
.cta-in::after { content: ""; position: absolute; z-index: -1; right: -15%; top: -45%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(226, 124, 255, 0.35), rgba(143, 107, 255, 0.15) 40%, transparent 70%); filter: blur(20px); }
.cta .micro { color: rgba(255, 255, 255, 0.62); }
.cta .h2 { max-width: 15em; color: #fff; }
.cta p.p { margin-top: 0; max-width: 34em; color: rgba(255, 255, 255, 0.7); }
.cta .actions { margin-top: 6px; }
.cta .tlink { color: #fff; }
.cta .tlink:hover { color: var(--lav); }

/* ---------- footer ---------- */
.ft { padding: clamp(56px, 7vw, 104px) var(--gut) 26px; border-top: 1px solid var(--line); }
.ft-line { max-width: 15em; font-weight: 400; font-size: clamp(30px, 3.6vw, 56px); line-height: 1.04; letter-spacing: -0.046em; text-wrap: balance; }
.ft-grid { margin-top: clamp(44px, 5vw, 76px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; max-width: 900px; }
.ft-grid .micro { margin-bottom: 14px; color: var(--grey); }
.ft-grid a { display: block; width: fit-content; padding: 5px 0; font-size: 14.5px; color: var(--ink); transition: color 0.3s; }
.ft-grid a:hover { color: var(--violet); }
.ft-base { margin-top: clamp(44px, 5vw, 72px); padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.ft-base .logo .word { font-size: 17px; }
.ft-base .logo .mark { width: 26px; height: 26px; }

/* ---------- not found ---------- */
.nf { padding: clamp(40px, 6vw, 96px) var(--gut) var(--sec); }
.nf .rows { margin-top: clamp(40px, 5vw, 72px); max-width: 900px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hd { grid-template-columns: 1fr auto; grid-template-areas: "logo act" "nav nav"; row-gap: 12px; padding-top: 14px; }
  .logo { grid-area: logo; }
  .hd-r { grid-area: act; }
  .nav { grid-area: nav; justify-self: start; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
}
@media (max-width: 1080px) {
  .hero-copy, .hero.split .hero-copy, .hero-side, .hero-media { grid-column: 1 / -1; }
  .hero-side { margin-top: 4px; }
  .sec-label, .sec-body { grid-column: 1 / -1; }
  .robot:first-child { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
  .faq-head { position: static; }
  .pipe { grid-template-columns: 1fr; }
  .pipe li { grid-template-columns: 34px minmax(0, 1fr); column-gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .pipe li + li { padding-left: 0; border-left: 0; }
  .pipe li::before { grid-row: 1 / span 2; padding-top: 4px; }
  .thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mini { max-width: 200px; }
}
@media (max-width: 900px) {
  .nav { justify-self: stretch; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
  .nav a { flex: 1 0 auto; padding: 0 12px; font-size: 13px; }
  .app-tag { display: none; }
  .proof { grid-template-columns: 1fr; }
  .proof > div + div { padding-left: 0; border-left: 0; }
  .ft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec.two { grid-template-columns: 1fr; }
  .spec.two > div:nth-child(2) { border-top: 0; }
}
@media (max-width: 700px) {
  .robots { grid-template-columns: 1fr; }
  .feature .shot img { aspect-ratio: 16 / 10; }
  .row { grid-template-columns: 34px minmax(0, 1fr); column-gap: 14px; }
  .row .m { grid-column: 2; grid-row: auto; margin-top: 10px; white-space: normal; }
  .checks li, .src { grid-template-columns: 34px minmax(0, 1fr); column-gap: 14px; }
  .flow { grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .flow > div:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .spec > div { grid-template-columns: 1fr; gap: 4px; }
  .spec.two > div { grid-template-columns: minmax(0, 1fr) auto; }
  .qa summary { grid-template-columns: 30px minmax(0, 1fr) 28px; gap: 12px; padding: 22px 0; }
  .qa-a { padding: 0 0 24px 42px; }
  .tl { padding: 20px 18px 16px; border-radius: 18px; }
  .tl-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .tl-row > span:empty { display: none; }
  .tl-axis span.minor { display: none; }
  .thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .hd { column-gap: 8px; }
  .login { padding: 0 8px; font-size: 13.5px; }
  .hd-r .pill.sm { padding: 0 16px; }
  .hd-r .pill .arr { display: none; }
  .actions .pill { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
