/* 3D New Era AI — site. A drawing sheet: warm paper, ink, blueprint-blue dimensions. */

:root {
  --paper: #f4f1ea;
  --paper-2: #ebe6db;
  --card: #fbfaf6;
  --ink: #161513;
  --ink-2: #3a3833;
  --graphite: #6d6a62;
  --rule: #d9d3c5;
  --rule-2: #c8c1b1;
  --accent: #2446d8;
  --accent-soft: rgba(36, 70, 216, 0.1);
  --ok: #1f7a4d;
  --night: #121210;
  --night-2: #1c1b18;
  --night-rule: #34322c;
  --radius: 18px;
  --radius-sm: 10px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #12110f;
    --paper-2: #1a1916;
    --card: #1c1b18;
    --ink: #f1ede4;
    --ink-2: #d4cfc4;
    --graphite: #9a958a;
    --rule: #2e2c27;
    --rule-2: #3d3a33;
    --accent: #7d93ff;
    --accent-soft: rgba(125, 147, 255, 0.14);
    --ok: #5cc48f;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #12110f;
  --paper-2: #1a1916;
  --card: #1c1b18;
  --ink: #f1ede4;
  --ink-2: #d4cfc4;
  --graphite: #9a958a;
  --rule: #2e2c27;
  --rule-2: #3d3a33;
  --accent: #7d93ff;
  --accent-soft: rgba(125, 147, 255, 0.14);
  --ok: #5cc48f;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--sans);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
code { font-family: var(--mono); font-size: 0.88em; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.02em; }
p { margin: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--graphite); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Technical labels */
.fig {
  font: 500 11.5px/1.4 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--graphite);
  margin-top: 14px;
}
.fig--light { color: rgba(255, 255, 255, 0.72); }
.section-no {
  font: 500 12px/1 var(--mono);
  color: var(--accent);
  letter-spacing: 0.08em;
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 22px;
}
.section-no::after { content: ""; height: 1px; width: 48px; background: currentColor; opacity: 0.5; }
.section-no--light { color: #9fb0ff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 600; font-size: 15.5px; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn--sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--accent); color: #fff; }
.btn--ghost { border-color: var(--rule-2); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #f4f1ea; color: #161513; }
.btn--light:hover { background: #fff; }
.btn--glass { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.btn--glass:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.nav.is-scrolled { border-bottom-color: var(--rule); }
.nav__row { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: -0.02em; font-size: 17px; white-space: nowrap; }
.brand em { font-style: normal; color: var(--graphite); font-weight: 500; }
.brand__mark { width: 24px; height: 24px; }
.nav__links { display: flex; gap: 26px; margin-left: 18px; }
.nav__links a { text-decoration: none; font-size: 14.5px; color: var(--ink-2); }
.nav__links a:hover { color: var(--ink); }
.nav__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; border: 1px solid var(--rule-2); border-radius: 999px; padding: 3px; }
.lang button { border: 0; background: none; font: 500 12px/1 var(--mono); padding: 7px 9px; border-radius: 999px; cursor: pointer; color: var(--graphite); }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

/* GitHub, with the star count when the API answers */
.stars {
  display: inline-flex; align-items: center; gap: 7px;
  height: 36px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--rule-2); color: var(--ink-2); text-decoration: none;
  font: 500 13px/1 var(--mono);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.stars:hover { border-color: var(--ink); color: var(--ink); }
.stars__n::before { content: "★ "; color: var(--accent); }

/* The menu a phone gets instead of the row of links */
.nav__toggle {
  display: none; align-items: center; justify-content: center;
  width: 36px; height: 36px; padding: 0;
  border: 1px solid var(--rule-2); border-radius: 999px;
  background: none; color: var(--ink); cursor: pointer;
}
.nav__toggle[aria-expanded="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.nav__menu[hidden] { display: none; }
.nav__menu {
  border-top: 1px solid var(--rule);
  padding: 8px var(--gutter) 18px;
  display: grid; gap: 2px;
}
.nav__menu a {
  text-decoration: none; color: var(--ink-2);
  padding: 12px 4px; border-bottom: 1px solid var(--rule);
  font-size: 16px;
}
.nav__menu a:hover { color: var(--ink); }
/* Language and GitHub live in the row until the row runs out of width. */
.nav__menu-foot { display: none; align-items: center; justify-content: space-between; gap: 10px; padding-top: 16px; }

/* Hero */
.hero { padding-top: 8px; }
.hero__frame { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: #0f0e0c; min-height: 560px; height: min(82vh, 760px); isolation: isolate; }
.hero__frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; transform: scale(1.02); animation: settle 2.4s cubic-bezier(.2,.7,.2,1) both; }
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1.02); } }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 9, 8, 0.82) 0%, rgba(10, 9, 8, 0.52) 42%, rgba(10, 9, 8, 0.05) 75%), linear-gradient(0deg, rgba(10, 9, 8, 0.55), rgba(10, 9, 8, 0) 40%); }
.hero__copy { position: absolute; left: clamp(22px, 5vw, 64px); bottom: clamp(56px, 9vh, 96px); right: clamp(22px, 5vw, 64px); max-width: 780px; color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 12.5px/1 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; }
.eyebrow--light { color: rgba(255, 255, 255, 0.82); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #5cc48f; box-shadow: 0 0 0 4px rgba(92, 196, 143, 0.18); }
.hero__title { margin-top: 22px; font-size: clamp(36px, 5.1vw, 68px); line-height: 1.02; letter-spacing: -0.03em; font-weight: 600; max-width: 760px; text-wrap: balance; }
.hero__title .muted { color: rgba(255, 255, 255, 0.62); display: block; margin-top: 14px; font-weight: 500; font-size: 0.66em; line-height: 1.12; letter-spacing: -0.02em; max-width: 620px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero .fig { position: absolute; right: 22px; bottom: 18px; margin: 0; display: flex; gap: 14px; text-align: right; }
.fig__dim { color: #9fb0ff; }

.works { display: flex; align-items: center; gap: 28px; padding: 26px 4px 0; flex-wrap: wrap; }
.works__label { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--graphite); }
.works ul { display: flex; flex-wrap: wrap; gap: 10px 30px; list-style: none; margin: 0; padding: 0; }
.works li { font-weight: 600; font-size: 17px; color: var(--ink-2); letter-spacing: -0.01em; }
.works li:last-child { font-weight: 400; color: var(--graphite); }

/* Statement */
.statement { padding-block: clamp(96px, 14vw, 170px) clamp(56px, 8vw, 90px); }
.statement__text { font-size: clamp(26px, 3.6vw, 46px); line-height: 1.16; letter-spacing: -0.025em; max-width: 1060px; color: var(--graphite); text-wrap: pretty; }
.statement__text strong { color: var(--ink); font-weight: 600; }

/* Product shot with dimension lines */
.product { position: relative; padding-top: 34px; }
.product__shot { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--rule-2); box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 30px 60px -30px rgba(40, 32, 20, 0.35); background: var(--card); }
.dim { position: absolute; color: var(--accent); font: 500 11px/1 var(--mono); }
.dim--top { top: 8px; left: var(--gutter); right: var(--gutter); height: 12px; border-left: 1px solid; border-right: 1px solid; }
.dim--top::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; border-top: 1px solid; }
.dim--top span { position: absolute; left: 50%; top: -2px; transform: translateX(-50%); background: var(--paper); padding: 0 8px; }
.dim--side { display: none; }
.triad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 64px; border-top: 1px solid var(--rule); }
.triad > div { padding: 28px 28px 0 0; }
.triad > div + div { padding-left: 28px; border-left: 1px solid var(--rule); }
.triad h3 { font-size: 19px; margin-bottom: 10px; }
.triad p { color: var(--graphite); font-size: 15.5px; }

/* Section heads */
.head { margin-bottom: 48px; }
.head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.head__title { font-size: clamp(30px, 4.2vw, 54px); line-height: 1.05; letter-spacing: -0.03em; max-width: 900px; text-wrap: balance; }

/* Conversation */
.convo { margin-top: clamp(100px, 13vw, 160px); padding-block: clamp(80px, 10vw, 120px); background: var(--paper-2); border-block: 1px solid var(--rule); }
.convo__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: start; }
.term { background: var(--night); color: #e9e5dc; border-radius: var(--radius); overflow: hidden; border: 1px solid #2b2924; display: flex; flex-direction: column; }
.term__bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid #2b2924; }
.term__bar span { width: 10px; height: 10px; border-radius: 50%; background: #3a3832; }
.term__bar em { margin-left: 10px; font: 500 12px/1 var(--mono); color: #8d887c; font-style: normal; }
.term__body { padding: 26px 24px 30px; font-family: var(--mono); font-size: 13.5px; line-height: 1.5; }
.term__you { font-family: var(--sans); font-size: 17px; line-height: 1.45; color: #fff; background: #1f1e1a; border: 1px solid #2f2d28; border-radius: 12px; padding: 14px 16px; }
.term__who { display: block; font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: #9fb0ff; margin-bottom: 8px; }
.term__calls { list-style: none; margin: 22px 0 0; padding: 0; counter-reset: c; }
.term__calls li { position: relative; padding: 10px 0 10px 34px; border-bottom: 1px dashed #2c2a25; color: #a7a295; transition: opacity 0.4s ease, transform 0.4s ease; }
.term__calls li:last-child { border-bottom: 0; }
.term__calls li::before { counter-increment: c; content: counter(c, decimal-leading-zero); position: absolute; left: 0; top: 12px; color: #57544b; font-size: 11px; }
.term__calls b { font-weight: 500; color: #fff; margin-right: 8px; }
.term__calls .args { color: #8d887c; word-break: break-word; }
.term__calls i { display: block; font-style: normal; color: #7e796e; font-size: 12px; margin-top: 2px; font-family: var(--sans); }
.term__calls i.ok { color: #5cc48f; }
.js .term:not(.is-in) .term__calls li { opacity: 0; transform: translateY(6px); }
.plan { margin: 0; background: #fbfaf6; border-radius: var(--radius); border: 1px solid var(--rule); padding: 18px; display: flex; flex-direction: column; }
.plan img { width: 100%; height: 600px; object-fit: contain; }
.plan .fig { margin-top: 10px; color: #6d6a62; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 64px 0 0; border-top: 1px solid var(--rule-2); }
.stats > div { padding: 26px 24px 0 0; }
.stats > div + div { padding-left: 24px; border-left: 1px solid var(--rule-2); }
.stats dt { font-size: clamp(44px, 5.4vw, 72px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.stats dt small { font-size: 0.42em; margin-left: 4px; color: var(--graphite); letter-spacing: 0; }
.stats dd { margin: 12px 0 0; color: var(--graphite); font-size: 15px; max-width: 220px; }

/* Day / night */
.daynight { padding-top: clamp(100px, 13vw, 160px); }
.chips { display: inline-flex; gap: 6px; padding: 4px; border: 1px solid var(--rule-2); border-radius: 999px; }
.chips button { border: 0; background: none; padding: 9px 16px; border-radius: 999px; cursor: pointer; font-size: 14.5px; color: var(--ink-2); }
.chips button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.compare { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; max-width: 100%; background: #0f0e0c; user-select: none; touch-action: pan-y; }
.compare__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__night { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.compare__handle span { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: #fff; box-shadow: 0 6px 20px rgba(0,0,0,0.3); }
.compare__handle span::before, .compare__handle span::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; border: 6px solid transparent; margin-top: -6px; }
.compare__handle span::before { left: 7px; border-right-color: #161513; }
.compare__handle span::after { right: 7px; border-left-color: #161513; }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare__tag { position: absolute; top: 16px; font: 500 12px/1 var(--mono); color: #fff; background: rgba(0,0,0,0.45); padding: 7px 10px; border-radius: 999px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); pointer-events: none; }
.compare__tag--l { left: 16px; }
.compare__tag--r { right: 16px; }
.compare__range:focus-visible + .compare__handle, .compare:focus-within .compare__handle span { outline: 2px solid var(--accent); }

/* Features */
.features { padding-top: clamp(110px, 14vw, 170px); }
.grid6 { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.grid6 article { padding: 30px 28px 34px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); transition: background-color 0.2s ease; }
.grid6 article:hover { background: var(--card); }
.grid6 svg { width: 120px; height: 80px; fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.grid6 svg .a { stroke: var(--accent); }
.grid6 svg .d { stroke: var(--graphite); stroke-dasharray: 3 4; }
.grid6 svg circle { fill: none; }
.grid6 .fig { margin: 18px 0 8px; }
.grid6 h3 { font-size: 20px; margin-bottom: 8px; }
.grid6 p:last-child { color: var(--graphite); font-size: 15.5px; }

/* Gallery */
.gallery { padding-top: clamp(110px, 14vw, 170px); }
.link-arrow { font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--rule-2); padding-bottom: 3px; }
.link-arrow:hover { border-color: var(--ink); }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: 14px; }
.mosaic figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10; background: #0f0e0c; }
.mosaic .m-wide { grid-column: span 2; grid-row: span 2; }
.mosaic .m-right { grid-column: 3 / span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(.2,.7,.2,1); }
.mosaic figure:hover img { transform: scale(1.035); }
.mosaic figcaption { position: absolute; left: 12px; bottom: 12px; font: 500 11.5px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.04em; color: #fff; background: rgba(0,0,0,0.5); padding: 7px 9px; border-radius: 6px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* Connect */
.connect { padding-top: clamp(110px, 14vw, 170px); }
.connect__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--rule); }
.steps li:last-child { border-bottom: 1px solid var(--rule); }
.steps b { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); display: grid; place-items: center; font: 500 13px/1 var(--mono); }
.steps h3 { font-size: 18px; margin-bottom: 6px; }
.steps p { color: var(--graphite); font-size: 15.5px; }
.steps code { color: var(--ink); background: var(--accent-soft); padding: 2px 6px; border-radius: 5px; white-space: nowrap; }
.tabs { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 10px; min-width: 0; }
.tabs__list { display: flex; flex-wrap: wrap; gap: 4px; }
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__list button { border: 0; background: none; padding: 10px 14px; border-radius: 10px; cursor: pointer; font-size: 14.5px; white-space: nowrap; color: var(--graphite); }
.tabs__list button[aria-selected="true"] { background: var(--paper-2); color: var(--ink); font-weight: 600; }
.tabs__panel { padding: 18px 14px 14px; }
.tabs__where { font: 500 12px/1.4 var(--mono); color: var(--graphite); margin-bottom: 10px; min-height: 17px; }
.tabs__note { color: var(--graphite); font-size: 14.5px; margin-top: 14px; }
.code { display: flex; align-items: flex-start; gap: 8px; background: var(--night); color: #ebe7de; border-radius: 12px; border: 1px solid #2b2924; }
.code pre { flex: 1; min-width: 0; margin: 0; padding: 18px 4px 18px 20px; overflow-x: auto; font: 400 13.5px/1.6 var(--mono); white-space: pre; }
.code code { font-size: inherit; }
.copy { flex: none; margin: 10px 10px 0 0; border: 1px solid #3a3832; background: #1f1e1a; color: #e9e5dc; font: 500 12px/1 var(--mono); padding: 8px 11px; border-radius: 8px; cursor: pointer; }
.copy:hover { border-color: #6d6a62; }
.copy.is-done { color: #5cc48f; border-color: #5cc48f; }

/* Download */
.download { margin-top: clamp(110px, 14vw, 170px); background: var(--night); color: #f1ede4; padding-block: clamp(80px, 10vw, 130px); position: relative; overflow: hidden; }
.download::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(#ffffff08 1px, transparent 1px), linear-gradient(90deg, #ffffff08 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 70% 0%, #000 0%, transparent 70%); pointer-events: none; }
.download .wrap { position: relative; }
.download .muted { color: #8d887c; }
.dl__grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 40px; align-items: start; }
.dl__main { min-width: 0; }
.os { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--night-rule); border-radius: 999px; margin-bottom: 26px; }
.os button { border: 0; background: none; color: #a7a295; padding: 10px 18px; border-radius: 999px; cursor: pointer; font-size: 15px; }
.os button[aria-selected="true"] { background: #f1ede4; color: #161513; font-weight: 600; }
.dl__lead { font-size: 19px; margin-bottom: 16px; color: #e9e5dc; }
.code--dark { background: #0a0a09; border-color: var(--night-rule); }
.code--dark pre { font-size: 14px; white-space: pre-wrap; word-break: break-all; }
.dl__after { color: #8d887c; margin-top: 16px; font-size: 15px; }
.dl__files { display: flex; flex-direction: column; gap: 10px; }
.dl__files .fig { margin: 0 0 4px; color: #8d887c; }
.file { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--night-rule); border-radius: 12px; text-decoration: none; background: var(--night-2); transition: border-color 0.15s ease, transform 0.15s ease; }
.file:hover { border-color: #8d887c; transform: translateY(-1px); }
.file span { font-weight: 600; }
.file small { font: 400 12px/1 var(--mono); color: #8d887c; }
.file::after { content: "↓"; font-family: var(--mono); color: #9fb0ff; margin-left: 6px; }
.file small { margin-left: auto; }
.first { margin-top: 8px; border-top: 1px solid var(--night-rule); padding-top: 14px; }
.first summary { cursor: pointer; color: #cfc9bd; font-size: 14.5px; }
.first p { color: #8d887c; font-size: 14px; margin-top: 10px; }
.first code { color: #e9e5dc; }
.dl__meta { font: 400 12.5px/1.6 var(--mono); color: #6d6a62; margin-top: 6px; }
.dl__meta a { color: #a7a295; }

/* FAQ */
.faq { padding-block: clamp(110px, 14vw, 170px) clamp(80px, 10vw, 120px); }
.faq__list { border-top: 1px solid var(--rule); max-width: 920px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font-size: 20px; font-weight: 600; letter-spacing: -0.015em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 24px/1 var(--mono); color: var(--accent); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--graphite); padding: 0 40px 26px 0; max-width: 760px; }

/* Footer */
.footer { border-top: 1px solid var(--rule); padding-block: 44px 34px; }
.footer__row { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer__by { color: var(--graphite); margin-top: 10px; font-size: 14.5px; }
.footer__links { display: flex; gap: 26px; flex-wrap: wrap; align-items: flex-start; }
.footer__links a { text-decoration: none; color: var(--ink-2); font-size: 14.5px; }
.footer__links a:hover { color: var(--ink); }
.footer__credits { margin-top: 34px; }
.footer__credits p { font: 400 12px/1.6 var(--mono); color: var(--graphite); }

/* Reveal */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.8s cubic-bezier(.2,.7,.2,1), transform 0.8s cubic-bezier(.2,.7,.2,1); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js .term:not(.is-in) .term__calls li { opacity: 1; transform: none; }
  .hero__frame > img { animation: none; }
}

/* Responsive */
@media (max-width: 1000px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  .convo__grid, .connect__grid, .dl__grid { grid-template-columns: 1fr; }
  .grid6 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats > div:nth-child(n+3) { margin-top: 30px; }
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .mosaic .m-right { grid-column: span 2; }
  .plan img { height: auto; max-height: 620px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hide-sm { display: none; }
  .nav__row { gap: 10px; }
  .nav__actions { gap: 8px; }
  .brand { font-size: 15px; gap: 8px; }
  .brand__mark { width: 21px; height: 21px; }
  /* Four languages and a star count do not fit next to the brand and the
     button that matters: they move into the menu. */
  .nav__actions > .lang, .nav__actions > .stars { display: none; }
  .nav__menu-foot { display: flex; }
  .nav__menu { padding-bottom: 20px; }
  .nav__menu a { padding: 13px 4px; }
  .hero__frame { height: auto; min-height: 640px; }
  .hero__frame > img { object-position: 62% 50%; }
  .hero__shade { background: linear-gradient(0deg, rgba(10, 9, 8, 0.92) 0%, rgba(10, 9, 8, 0.6) 55%, rgba(10, 9, 8, 0.15) 100%); }
  .hero__copy { bottom: 60px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero .fig { left: 22px; right: auto; text-align: left; }
  .hero .fig__dim { display: none; }
  .works { gap: 14px; }
  .works ul { gap: 8px 18px; }
  .works li { font-size: 15px; }
  .triad { grid-template-columns: 1fr; }
  .triad > div, .triad > div + div { padding: 24px 0; border-left: 0; }
  .triad > div + div { border-top: 1px solid var(--rule); }
  .grid6 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div, .stats > div + div { padding: 22px 12px 0 0; }
  .stats > div:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--rule-2); }
  .mosaic { grid-template-columns: 1fr; }
  .mosaic .m-wide, .mosaic .m-right { grid-column: auto; grid-row: auto; }
  .head--split { align-items: flex-start; }
  .chips { width: 100%; justify-content: space-between; }
  .chips button { flex: 1; padding-inline: 8px; }
  .os { width: 100%; }
  .os button { flex: 1; padding-inline: 8px; }
  .code pre { font-size: 12.5px; white-space: pre-wrap; word-break: break-all; }
  .mosaic figure:nth-child(n+7) { display: none; }
  .steps code { white-space: normal; word-break: break-word; }
  .faq summary { font-size: 18px; }
  .dim--top span { font-size: 10px; }
}
