/* burntop.dev — dark SaaS landing. Brand: base #0A0A0A, ember #FF6B00. */

:root {
  --bg: #0a0a0a;
  --bg-elevated: #111111;
  --bg-card: #141414;
  --bg-code: #0d0d0d;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #ededed;
  --text-muted: #a1a1a1;
  --text-dim: #737373;
  --ember-300: #ffa766;
  --ember-400: #ff8a33;
  --ember-500: #ff6b00;
  --ember-600: #e55f00;
  --ok: #4ade80;
  --err: #f87171;

  --font: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- base ---------- */
*, *::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(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ul, ol, pre, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
code { font-family: var(--mono); font-size: 0.875em; }
p code, li code, summary code { background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border); padding: 0.1em 0.35em; border-radius: 5px; }
:focus-visible { outline: 2px solid var(--ember-500); outline-offset: 2px; border-radius: 4px; }
::selection { background: rgba(255, 107, 0, 0.35); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.container--narrow { max-width: 800px; }
.text-ember { background: linear-gradient(90deg, var(--ember-400), var(--ember-500) 60%, #ff3d00); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 10px; font-weight: 500; font-size: 15px; letter-spacing: -0.01em; transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.15s var(--ease), box-shadow 0.2s; white-space: nowrap; }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn svg { flex: none; }
.btn--primary { background: linear-gradient(180deg, #ff7d1f, var(--ember-500)); color: #0a0a0a; font-weight: 600; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -1px 0 rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(255, 107, 0, 0.7), 0 8px 24px -10px rgba(255, 107, 0, 0.8); }
.btn--primary:hover { background: linear-gradient(180deg, #ff8f3d, #ff7410); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 -1px 0 rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(255, 138, 51, 0.8), 0 10px 32px -10px rgba(255, 107, 0, 0.95); }
.btn__arrow { transition: transform 0.2s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(2px); }
.btn--ghost { background: rgba(255, 255, 255, 0.035); border: 1px solid var(--border-strong); color: var(--text); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.24); }
.btn--sm { height: 34px; padding: 0 12px; border-radius: 8px; font-size: 13.5px; gap: 7px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(10, 10, 10, 0.7); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--border); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 17px; letter-spacing: -0.03em; }
.logo svg { color: var(--ember-500); width: 20px; height: 20px; filter: drop-shadow(0 0 8px rgba(255, 107, 0, 0.45)); }
.nav__links { display: flex; gap: 2px; font-size: 14px; color: var(--text-muted); }
.nav__links a { padding: 6px 12px; border-radius: 8px; transition: color 0.2s, background-color 0.2s; }
.nav__links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
@media (max-width: 820px) { .nav__links { display: none; } }
/* Transparent at the very top, glass bar once the page scrolls (CSS scroll timeline where supported). */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .nav { animation: nav-solid linear both; animation-timeline: scroll(root); animation-range: 0 80px; }
    @keyframes nav-solid { from { background-color: rgba(10, 10, 10, 0); border-bottom-color: transparent; } to { background-color: rgba(10, 10, 10, 0.7); border-bottom-color: var(--border); } }
  }
}

/* ---------- hero ---------- */
/* Pulled up under the sticky nav so the glow starts at the very top of the page. */
.hero { position: relative; overflow: hidden; margin-top: -60px; padding: 168px 0 0; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px); background-size: 64px 64px; background-position: center top; mask-image: radial-gradient(ellipse 60% 42% at 50% 0%, #000 20%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse 60% 42% at 50% 0%, #000 20%, transparent 80%); }
.hero__glow { position: absolute; left: 50%; top: -160px; width: min(1000px, 160vw); height: 620px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255, 107, 0, 0.15), rgba(255, 90, 0, 0.045) 55%, transparent); }
.hero__inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }

.pill { display: inline-flex; align-items: center; gap: 10px; height: 32px; padding: 0 12px 0 4px; border-radius: 999px; border: 1px solid var(--border-strong); background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); font-size: 13px; color: var(--text-muted); transition: border-color 0.2s, color 0.2s, background-color 0.2s; max-width: 100%; }
.pill:hover { border-color: rgba(255, 107, 0, 0.45); color: var(--text); }
.pill__tag { flex: none; height: 24px; display: inline-flex; align-items: center; padding: 0 9px; border-radius: 999px; background: rgba(255, 107, 0, 0.14); box-shadow: inset 0 0 0 1px rgba(255, 107, 0, 0.3); color: var(--ember-300); font-weight: 500; font-size: 12px; }
.pill__text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill__arrow { flex: none; color: var(--text-dim); transition: transform 0.2s var(--ease), color 0.2s; }
.pill:hover .pill__arrow { transform: translateX(2px); color: var(--ember-400); }

.hero__title { margin-top: 28px; font-size: clamp(40px, 6.4vw, 80px); line-height: 1.02; letter-spacing: -0.05em; font-weight: 600; max-width: 17ch; text-wrap: balance; }
.hero__title-main { background: linear-gradient(180deg, #ffffff 30%, #b3b3b3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__title .text-ember { padding-right: 0.04em; }
.hero__sub { margin-top: 24px; max-width: 34em; font-size: clamp(16px, 1.45vw, 18.5px); line-height: 1.6; color: var(--text-muted); text-wrap: balance; letter-spacing: -0.005em; }
.hero__ctas { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.hero__proof { margin-top: 44px; display: grid; grid-template-columns: repeat(4, auto); justify-content: center; }
.hero__proof li { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 0 32px; }
.hero__proof li + li { border-left: 1px solid var(--border); }
.hero__proof strong { font-size: 28px; line-height: 1.15; font-weight: 600; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; color: var(--text); }
.hero__proof span { font-size: 13px; color: var(--text-dim); white-space: nowrap; }
@media (max-width: 640px) {
  .hero__proof { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; max-width: 360px; row-gap: 20px; }
  .hero__proof li { padding: 0 12px; }
  .hero__proof li:nth-child(3) { border-left: 0; }
  .hero__proof strong { font-size: 24px; }
}

.hero__stage { margin-top: 72px; width: 100%; max-width: 1120px; perspective: 1600px; position: relative; }
.hero__stage::before { content: ''; position: absolute; left: 8%; right: 8%; top: -40px; height: 55%; background: radial-gradient(closest-side, rgba(255, 107, 0, 0.22), transparent); filter: blur(40px); pointer-events: none; }
.hero__shot { position: relative; border-radius: 14px; transform-origin: 50% 100%; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 40px 100px -30px rgba(0, 0, 0, 0.9), 0 0 120px -40px rgba(255, 107, 0, 0.35); }
.hero__shot::before { content: ''; position: absolute; inset: -1px; z-index: 2; border-radius: inherit; padding: 1px; background: linear-gradient(180deg, rgba(255, 138, 51, 0.6), rgba(255, 255, 255, 0.1) 22%, rgba(255, 255, 255, 0.04) 70%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.hero__shot::after { content: ''; position: absolute; z-index: 2; top: -1px; left: 50%; width: 50%; height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, #ffb27a, transparent); pointer-events: none; }
.hero__shot video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #0b0b0b; }
/* Slight tilt that flattens while the frame scrolls into view. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 768px) {
    .hero__shot { animation: shot-flatten linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
    @keyframes shot-flatten { from { transform: rotateX(12deg) scale(0.97); } to { transform: none; } }
  }
}

/* ---------- command box ---------- */
.cmd { margin-top: 28px; display: flex; align-items: center; gap: 12px; max-width: 100%; min-width: 0; padding: 5px 5px 5px 16px; border-radius: 12px; border: 1px solid var(--border-strong); background: linear-gradient(180deg, rgba(24, 24, 24, 0.92), rgba(14, 14, 14, 0.92)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 12px 32px -16px rgba(0, 0, 0, 0.8); font-size: 13.5px; text-align: left; transition: border-color 0.2s; }
.cmd:hover { border-color: rgba(255, 255, 255, 0.2); }
.cmd__label { flex: none; padding-right: 12px; border-right: 1px solid var(--border); font-size: 12px; font-weight: 500; color: var(--text-dim); }
.cmd__prompt { flex: none; color: var(--ember-500); font-family: var(--mono); }
.cmd__text { min-width: 0; overflow-x: auto; white-space: nowrap; color: var(--text); scrollbar-width: none; }
.cmd__text::-webkit-scrollbar { display: none; }
.cmd__copy { position: relative; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.03); color: var(--text-muted); transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.cmd__copy:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--border-strong); color: var(--text); }
.cmd__copy.is-copied { color: var(--ok); border-color: rgba(74, 222, 128, 0.35); }
.cmd__copy::after { content: 'Copied'; position: absolute; bottom: calc(100% + 8px); left: 50%; padding: 3px 8px; border-radius: 6px; background: #1c1c1c; border: 1px solid var(--border-strong); font-size: 12px; color: var(--text); white-space: nowrap; opacity: 0; transform: translate(-50%, 4px); transition: opacity 0.2s, transform 0.2s var(--ease); pointer-events: none; }
.cmd__copy.is-copied::after { opacity: 1; transform: translate(-50%, 0); }
.cmd--hero { max-width: 100%; }
@media (max-width: 900px) { .cmd--hero .cmd__text { flex: 1; mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); padding-right: 24px; } }
@media (max-width: 560px) { .cmd__label { display: none; } }
.cmd--sm { margin-top: 16px; font-size: 13px; padding-left: 12px; }

/* ---------- browser frame ---------- */
.browser { border-radius: var(--radius); background: var(--bg-elevated); border: 1px solid var(--border-strong); overflow: hidden; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8); }
.browser__bar { position: relative; display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--border); background: linear-gradient(180deg, #1a1a1a, #141414); }
.browser__bar > span { width: 11px; height: 11px; border-radius: 50%; background: #333; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.3); }
.browser__bar > span:nth-child(1) { background: #ff5f57; }
.browser__bar > span:nth-child(2) { background: #febc2e; }
.browser__bar > span:nth-child(3) { background: #28c840; }
.browser__url { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 14px; border-radius: 7px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04); font-size: 12px; color: var(--text-dim); font-family: var(--mono); white-space: nowrap; }
.browser__url svg { opacity: 0.8; }
.browser__tag { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-dim); }
.browser__tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.15); }
@media (max-width: 640px) { .browser__tag { display: none; } .browser__url { font-size: 11px; padding: 0 10px; } }
.browser img { width: 100%; }

/* ---------- stack strip ---------- */
.stackstrip { padding: 88px 0 24px; }
.stackstrip__label { text-align: center; font-size: 13px; color: var(--text-dim); }
.marquee { margin-top: 28px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; width: max-content; }
.logos { display: flex; flex: none; align-items: center; gap: 48px; padding-right: 48px; }
.logos li { display: inline-flex; align-items: center; gap: 10px; height: 32px; font-size: 15px; font-weight: 500; letter-spacing: -0.01em; color: var(--text-muted); white-space: nowrap; transition: color 0.2s; }
.logos li:hover { color: var(--text); }
.logos img { width: 20px; height: 20px; opacity: 0.75; transition: opacity 0.2s; }
.logos img[src$='sqlalchemy.svg'] { width: 28px; height: 28px; margin-inline: -2px; } /* wide wordmark: scale up to match optical size */
.logos li:hover img { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .marquee__track { animation: marquee 48s linear infinite; }
  .marquee:hover .marquee__track { animation-play-state: paused; }
  @keyframes marquee { to { transform: translateX(-50%); } }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .marquee__track { width: auto; }
  .logos { flex-wrap: wrap; justify-content: center; gap: 12px 36px; padding: 0; flex: 1; }
  .logos[aria-hidden='true'] { display: none; }
}

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 136px) 0; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.section__head { display: flex; flex-direction: column; align-items: center; max-width: 680px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ember-400); }
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 2px; background: var(--ember-500); box-shadow: 0 0 10px var(--ember-500); }
.section__title { font-size: clamp(32px, 4.2vw, 48px); line-height: 1.08; letter-spacing: -0.04em; font-weight: 700; text-wrap: balance; }
.section__sub { margin-top: 16px; font-size: clamp(16px, 1.4vw, 18px); color: var(--text-muted); max-width: 580px; text-wrap: pretty; }
.section__sub a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(255, 107, 0, 0.6); text-underline-offset: 4px; transition: text-decoration-color 0.2s; }
.section__sub a:hover { text-decoration-color: var(--ember-500); }

/* ---------- checks ---------- */
.checks { margin-top: 24px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; color: var(--text-muted); font-size: 15px; }
.checks li::before { content: ''; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: rgba(255, 107, 0, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff8a33' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 11px no-repeat; box-shadow: inset 0 0 0 1px rgba(255, 107, 0, 0.25); }

/* ---------- tabs ---------- */
.tabs__list { display: flex; width: max-content; max-width: 100%; margin-inline: auto; gap: 2px; padding: 4px; overflow-x: auto; scrollbar-width: none; border-radius: 12px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.02); }
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__list [role='tab'] { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--text-muted); transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; }
.tabs__list [role='tab'] svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: 0.7; transition: color 0.2s, opacity 0.2s; }
.tabs__list [role='tab']:hover { color: var(--text); }
.tabs__list [role='tab'][aria-selected='true'] { background: #1c1c1c; color: var(--text); box-shadow: inset 0 0 0 1px var(--border-strong), inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.tabs__list [role='tab'][aria-selected='true'] svg { color: var(--ember-400); opacity: 1; }
.tabs__panel { margin-top: 32px; animation: fade-up 0.4s var(--ease); }
.feature { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; padding: 56px 0 56px 56px; border-radius: 20px; border: 1px solid var(--border); background: radial-gradient(55% 70% at 90% 0%, rgba(255, 107, 0, 0.11), transparent 70%), linear-gradient(180deg, #131313, #0e0e0e); overflow: hidden; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); }
.feature h3 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.03em; line-height: 1.2; text-wrap: balance; }
.feature__copy > p { margin-top: 12px; color: var(--text-muted); }
.feature__media { position: relative; min-width: 0; }
.feature__frame { border-right: 0; border-radius: var(--radius) 0 0 var(--radius); box-shadow: -20px 30px 80px -30px rgba(0, 0, 0, 0.9); }
.feature .terminal pre { min-height: 330px; }
.shot { aspect-ratio: 16 / 10; overflow: hidden; background: #09090b; }
.shot img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--z, 1)); transform-origin: var(--o, 50% 50%); }
.feature__phone { position: absolute; right: 6%; bottom: -36px; width: 25%; border-radius: 18px; border: 1px solid var(--border-strong); box-shadow: 0 0 0 5px #0b0b0b, 0 0 0 6px rgba(255, 255, 255, 0.1), 0 30px 60px -10px rgba(0, 0, 0, 0.9); }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; gap: 32px; padding: 32px 0 0 28px; }
  .feature__copy { padding-right: 28px; }
  .feature__frame { border-bottom: 0; border-radius: var(--radius) 0 0 0; }
  .feature__phone { bottom: 16px; width: 22%; }
}
@media (max-width: 560px) {
  .tabs__list [role='tab'] { gap: 0; padding: 0 12px; }
  .tabs__list [role='tab'] svg { display: none; }
  .feature { padding: 24px 0 0 20px; gap: 28px; }
  .feature__copy { padding-right: 20px; }
  .feature .terminal pre { min-height: 0; font-size: 11.5px; padding: 16px; }
  .feature__phone { width: 30%; right: 5%; border-radius: 12px; box-shadow: 0 0 0 3px #0b0b0b, 0 0 0 4px rgba(255, 255, 255, 0.1), 0 20px 40px -10px rgba(0, 0, 0, 0.9); }
}

/* ---------- terminal ---------- */
.terminal { border-radius: var(--radius); background: var(--bg-code); border: 1px solid var(--border-strong); overflow: hidden; }
.terminal__bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--border); background: #141414; }
.terminal__bar > span { width: 11px; height: 11px; border-radius: 50%; background: #333; }
.terminal__title { margin-left: 10px; font-size: 12px; color: var(--text-dim); font-family: var(--mono); }
.terminal pre { padding: 20px; overflow-x: auto; font-size: 12.5px; line-height: 1.7; color: #cfcfcf; }
.terminal code { font-size: inherit; }
.t-ok { color: var(--ok); }
.t-err { color: var(--err); }
.t-link { color: #7cc4ff; }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { position: relative; display: flex; flex-direction: column; padding: 24px; border-radius: 20px; border: 1px solid var(--border); background: linear-gradient(180deg, #141414, #0f0f0f); overflow: hidden; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04); transition: border-color 0.25s, transform 0.25s var(--ease); }
.card:hover { border-color: rgba(255, 107, 0, 0.35); transform: translateY(-2px); }
.card h3 { margin-top: 20px; font-size: 17px; letter-spacing: -0.015em; }
.card p { margin-top: 6px; color: var(--text-muted); font-size: 14.5px; line-height: 1.55; }
.card--lg { grid-column: span 2; grid-row: span 2; padding: 32px; background: radial-gradient(120% 80% at 100% 0%, rgba(255, 107, 0, 0.13), transparent 60%), linear-gradient(180deg, #141414, #0f0f0f); }
.card--lg h3 { margin-top: 24px; font-size: 26px; letter-spacing: -0.03em; }
.card--lg p { margin-top: 10px; font-size: 16px; max-width: 46ch; }
.card__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 107, 0, 0.12); border: 1px solid rgba(255, 107, 0, 0.3); box-shadow: 0 0 24px -4px rgba(255, 107, 0, 0.4); }
.card__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--ember-400); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.guards { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.guards li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.02); font-size: 14px; color: var(--text); }
.guards li::before { content: ''; flex: none; width: 18px; height: 18px; border-radius: 50%; background: rgba(248, 113, 113, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f87171' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E") center / 10px no-repeat; }
.card__term { margin-top: auto; padding: 16px; border-radius: 10px; background: var(--bg-code); border: 1px solid var(--border); font-size: 12.5px; line-height: 1.7; color: #cfcfcf; overflow-x: auto; }
.card--lg .guards { margin-bottom: 24px; }
.card__term code { font-size: inherit; }
.card__visual { position: relative; display: grid; place-items: center; height: 124px; border-radius: 12px; border: 1px solid var(--border); background: radial-gradient(80% 90% at 50% 120%, rgba(255, 107, 0, 0.10), transparent 70%), #0b0b0b; overflow: hidden; font-family: var(--mono); font-size: 11.5px; color: var(--text-muted); }
.card__visual::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px); background-size: 14px 14px; mask-image: radial-gradient(closest-side, #000, transparent); -webkit-mask-image: radial-gradient(closest-side, #000, transparent); }
.card__visual > * { position: relative; }
.flow { display: flex; flex-direction: column; align-items: center; }
.flow span { padding: 4px 10px; border-radius: 6px; border: 1px solid var(--border-strong); background: #161616; color: var(--text); }
.flow span.is-hot { border-color: rgba(255, 107, 0, 0.5); color: var(--ember-300); background: #1a0f07; }
.flow i { width: 1px; height: 10px; background: linear-gradient(var(--border-strong), rgba(255, 107, 0, 0.6)); }
.mini-filter { display: grid; gap: 10px; width: min(86%, 230px); }
.mini-filter__input { display: flex; align-items: center; gap: 7px; height: 32px; padding: 0 10px; border-radius: 8px; border: 1px solid rgba(255, 107, 0, 0.5); background: #121212; box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.12); color: var(--text-dim); }
.mini-filter__input svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.mini-filter__input b { color: var(--text); font-weight: 500; }
.mini-filter__input i { width: 1px; height: 14px; margin-left: -5px; background: var(--ember-400); }
.mini-filter__chips { display: flex; flex-wrap: wrap; gap: 5px; }
.mini-filter__chips span { padding: 2px 8px; border-radius: 999px; border: 1px solid var(--border-strong); background: #151515; }
.mini-filter__chips span:last-child { color: var(--ember-300); border-color: rgba(255, 107, 0, 0.4); }
.mini-log { font-size: 11px; line-height: 1.6; color: var(--text-muted); white-space: pre; }
.mini-rules { display: grid; gap: 6px; }
.mini-rules li { display: flex; align-items: center; gap: 8px; color: var(--text); }
.mini-rules li::before { content: ''; flex: none; width: 16px; height: 16px; border-radius: 50%; background: rgba(74, 222, 128, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234ade80' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 10px no-repeat; }
@media (max-width: 1024px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .card--lg { grid-column: span 2; grid-row: auto; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .card--lg { grid-column: auto; padding: 24px; } .card--lg h3 { font-size: 22px; } .guards { grid-template-columns: 1fr; } }

/* ---------- agents ---------- */
.agents { position: relative; background: linear-gradient(180deg, transparent, rgba(255, 107, 0, 0.04) 50%, transparent); border-block: 1px solid var(--border); }
.agents__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.agents__copy .section__title { font-size: clamp(30px, 3.6vw, 44px); }
.agents__logos { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.agents__works { font-size: 14px; color: var(--text-dim); margin-right: 4px; }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--border-strong); background: rgba(255, 255, 255, 0.03); font-size: 13px; color: var(--text-muted); }
.chip img { width: 14px; height: 14px; }
.agents__window { box-shadow: 0 0 0 1px rgba(255, 107, 0, 0.06), 0 40px 120px -40px rgba(255, 107, 0, 0.3); }
@media (max-width: 900px) { .agents__inner { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- code window ---------- */
.window { border-radius: var(--radius); background: var(--bg-code); border: 1px solid var(--border-strong); overflow: hidden; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9); }
.window__bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: #161616; border-bottom: 1px solid var(--border); }
.window__bar > span { width: 11px; height: 11px; border-radius: 50%; background: #333; }
.window__path { margin-left: 10px; font-family: var(--mono); font-size: 12px; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.window__tabs { display: flex; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--border); background: #121212; }
.window__tabs::-webkit-scrollbar { display: none; }
.window__tabs [role='tab'] { flex: none; height: 40px; padding: 0 18px; font-family: var(--mono); font-size: 13px; color: var(--text-dim); border-right: 1px solid var(--border); transition: color 0.2s, background-color 0.2s; }
.window__tabs [role='tab']:hover { color: var(--text); }
.window__tabs [role='tab'][aria-selected='true'] { color: var(--text); background: var(--bg-code); box-shadow: inset 0 2px 0 var(--ember-500); }
.window__file { padding: 24px; overflow-x: auto; font-size: 13.5px; line-height: 1.75; color: #d4d4d4; }
.window__file code { font-size: inherit; }
.window--code { max-width: 1000px; margin-inline: auto; box-shadow: 0 0 0 1px rgba(255, 107, 0, 0.05), 0 40px 120px -50px rgba(255, 107, 0, 0.35); }
.window--code .window__file { min-height: 400px; }
@media (max-width: 560px) { .window__file { padding: 18px; font-size: 12px; } .window--code .window__file { min-height: 0; } }
.c-k { color: #ff8a5c; }
.c-t { color: #7cc4ff; }
.c-s { color: #a5e075; }
.c-n { color: #fcd34d; }
.c-c { color: #737373; }
.c-h { color: var(--ember-400); font-weight: 500; }

/* ---------- compare ---------- */
.table-wrap { max-width: 1000px; margin-inline: auto; overflow-x: auto; border-radius: 20px; border: 1px solid var(--border); background: linear-gradient(180deg, #121212, #0e0e0e); }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 18px 24px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: middle; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { padding-block: 20px; font-size: 13px; font-weight: 500; color: var(--text-dim); border-bottom-color: var(--border-strong); }
.compare tbody th { width: 40%; font-weight: 500; color: var(--text); }
.compare td { width: 30%; color: var(--text-dim); }
.compare .compare__us { background: rgba(255, 107, 0, 0.06); color: var(--text); box-shadow: inset 1px 0 0 rgba(255, 107, 0, 0.22); }
.compare thead .compare__us { color: var(--text); font-size: 14px; font-weight: 600; background: linear-gradient(180deg, rgba(255, 107, 0, 0.16), rgba(255, 107, 0, 0.06)); box-shadow: inset 1px 0 0 rgba(255, 107, 0, 0.22), inset 0 2px 0 var(--ember-500); }
.compare__brand { display: inline-flex; align-items: center; gap: 8px; }
.compare__brand svg { color: var(--ember-500); }
.cell { display: flex; align-items: center; gap: 10px; }
.mark { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; }
.mark::before { content: ''; width: 11px; height: 11px; background: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.mark--yes { color: var(--ember-400); background: rgba(255, 107, 0, 0.16); box-shadow: inset 0 0 0 1px rgba(255, 107, 0, 0.3); --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E"); }
.mark--no { color: var(--text-dim); background: rgba(255, 255, 255, 0.05); --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E"); }
/* phones: each row becomes a small card; the higher specificity beats the old 640px table rules at the end of the file */
@media (max-width: 640px) {
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .compare tbody tr { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 12px 14px; border-bottom: 1px solid var(--border); }
  .compare tbody tr:last-child { border-bottom: 0; }
  .compare tbody th { grid-column: 1 / -1; width: auto; padding: 16px 4px 4px; border: 0; font-size: 15px; }
  .compare tbody td, .compare tbody td.compare__them { display: block; width: auto; padding: 10px 12px; border: 0; border-radius: 10px; font-size: 14px; background: rgba(255, 255, 255, 0.025); box-shadow: inset 0 0 0 1px var(--border); }
  .compare tbody td.compare__us { background: rgba(255, 107, 0, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 107, 0, 0.25); }
  .compare tbody td::before { content: attr(data-label); display: block; margin-bottom: 6px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); }
  .compare tbody td.compare__us::before { color: var(--ember-400); }
  .compare .cell { gap: 8px; align-items: flex-start; }
  .compare .mark { width: 18px; height: 18px; margin-top: 1px; }
}

/* ---------- quickstart ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step { position: relative; display: flex; flex-direction: column; min-width: 0; }
.step__marker { position: relative; display: flex; align-items: center; justify-content: space-between; height: 36px; margin-bottom: 20px; }
.step__marker::after { content: ''; position: absolute; left: 44px; right: -16px; top: 50%; height: 1px; background: linear-gradient(90deg, rgba(255, 107, 0, 0.6), rgba(255, 255, 255, 0.1)); }
.step:last-child .step__marker::after { right: 140px; background: linear-gradient(90deg, rgba(255, 107, 0, 0.6), rgba(74, 222, 128, 0.5)); }
.step__num { position: relative; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-family: var(--mono); font-size: 14px; font-weight: 500; color: var(--ember-300); background: #170d05; border: 1px solid rgba(255, 107, 0, 0.5); box-shadow: 0 0 0 4px var(--bg), 0 0 24px rgba(255, 107, 0, 0.3); }
.step__done { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; border-radius: 999px; border: 1px solid rgba(74, 222, 128, 0.3); background: rgba(74, 222, 128, 0.08); font-family: var(--mono); font-size: 12px; color: var(--ok); }
.step__done::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.step__card { flex: 1; padding: 24px; border-radius: 16px; border: 1px solid var(--border); background: linear-gradient(180deg, #141414, #0f0f0f); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04); }
.step h3 { font-size: 18px; letter-spacing: -0.015em; }
.step__card > p:not(.step__result) { margin-top: 6px; color: var(--text-muted); font-size: 15px; }
.field { position: relative; margin-top: 16px; }
.field svg { position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); fill: none; stroke: var(--text-dim); stroke-width: 2; stroke-linejoin: round; pointer-events: none; transition: stroke 0.2s; }
.input { width: 100%; height: 46px; padding: 0 14px 0 40px; border-radius: 10px; border: 1px solid var(--border-strong); background: #0a0a0a; font-size: 15px; font-weight: 500; box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5); transition: border-color 0.2s, box-shadow 0.2s; }
.input:hover { border-color: rgba(255, 255, 255, 0.22); }
.input:focus { outline: none; border-color: var(--ember-500); box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.16); }
.field:focus-within svg { stroke: var(--ember-400); }
.step__card:has(.step__result.is-error) .input { border-color: rgba(248, 113, 113, 0.6); box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.12); }
.step__result { margin-top: 12px; font-size: 13px; color: var(--text-dim); }
.step__result code { color: var(--ember-300); background: rgba(255, 107, 0, 0.08); border-color: rgba(255, 107, 0, 0.22); }
.step__result.is-error { color: var(--err); }
.step .cmd { margin-top: 16px; align-items: flex-start; gap: 10px; padding: 10px 6px 10px 14px; border-radius: 10px; background: #0a0a0a; border-color: var(--border-strong); font-size: 12.5px; }
.step .cmd__prompt { line-height: 1.7; }
.step .cmd__text { flex: 1; min-width: 0; padding: 0; border: 0; background: none; overflow: visible; white-space: pre-wrap; overflow-wrap: break-word; line-height: 1.7; color: #d4d4d4; }
.step .cmd__copy { width: 30px; height: 30px; margin-top: -2px; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 0; max-width: 560px; margin-inline: auto; }
  .step { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 16px; padding-bottom: 16px; }
  .step:last-child { padding-bottom: 0; }
  .step__marker { flex-direction: column; justify-content: flex-start; height: auto; margin: 0; }
  .step__marker::after, .step:last-child .step__marker::after { left: 50%; right: auto; top: 44px; bottom: -8px; width: 1px; height: auto; background: linear-gradient(rgba(255, 107, 0, 0.6), rgba(255, 255, 255, 0.08)); }
  .step:last-child .step__marker::after, .step__done { display: none; }
}

/* ---------- examples ---------- */
.examples { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; }
.example { display: flex; flex-direction: column; border-radius: 20px; border: 1px solid var(--border); background: linear-gradient(180deg, #141414, #0f0f0f); overflow: hidden; }
.example__media { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 7; overflow: hidden; background: radial-gradient(60% 90% at 50% 115%, rgba(255, 107, 0, 0.3), transparent 70%), #0b0b0b; border-bottom: 1px solid var(--border); }
.example__media::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px); background-size: 20px 20px; mask-image: radial-gradient(70% 80% at 50% 50%, #000, transparent); -webkit-mask-image: radial-gradient(70% 80% at 50% 50%, #000, transparent); }
.keys { position: relative; display: grid; grid-template-columns: repeat(4, auto); gap: 12px; transform: perspective(900px) rotateX(30deg) rotateZ(-6deg); }
.keys kbd { display: grid; place-items: center; min-width: 60px; height: 60px; padding: 0 14px; border-radius: 13px; font-family: var(--font); font-size: 20px; font-weight: 500; color: #a8a8a8; background: linear-gradient(180deg, #1e1e1e, #141414); border: 1px solid rgba(255, 255, 255, 0.09); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 5px 0 #070707, 0 14px 28px rgba(0, 0, 0, 0.6); }
.keys kbd:first-child { font-size: 14px; font-family: var(--mono); }
.keys kbd.is-hot { color: var(--ember-300); border-color: rgba(255, 107, 0, 0.5); background: linear-gradient(180deg, #2b1608, #190d04); box-shadow: inset 0 1px 0 rgba(255, 167, 102, 0.25), 0 5px 0 #0d0703, 0 0 36px rgba(255, 107, 0, 0.35); }
.example__player { padding: 20px 20px 0; background: radial-gradient(60% 90% at 50% 115%, rgba(255, 107, 0, 0.22), transparent 70%), #0b0b0b; border-bottom: 1px solid var(--border); }
.example__player .browser { border-radius: 12px; }
.example__player video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #0b0b0b; }
.clips { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 0 16px; }
.clip { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border-strong); background: #141414; color: var(--text-muted); font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; transition: border-color 0.2s, color 0.2s, background-color 0.2s; }
.clip:hover { color: var(--text); }
.clip.is-active { color: var(--ember-300); border-color: rgba(255, 107, 0, 0.5); background: rgba(255, 107, 0, 0.1); }
.clip:focus-visible { outline: 2px solid var(--ember-400); outline-offset: 2px; }
.badge--ok { border-color: rgba(74, 222, 128, 0.3); background: rgba(74, 222, 128, 0.08); color: var(--ok); }
.badge--ok i { background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.example--live .example__link { display: inline-block; }
.example__body { padding: 24px 28px 28px; }
.example h3 { margin-top: 14px; font-size: 20px; letter-spacing: -0.02em; }
.example p { margin-top: 6px; color: var(--text-muted); font-size: 15px; }
.badge { display: inline-flex; align-items: center; gap: 7px; padding: 3px 10px; border-radius: 999px; border: 1px solid rgba(255, 107, 0, 0.3); background: rgba(255, 107, 0, 0.1); color: var(--ember-400); font-size: 12px; font-weight: 600; }
.badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--ember-500); box-shadow: 0 0 8px var(--ember-500); }
.example--add { justify-content: center; align-items: center; text-align: center; padding: 32px; border-style: dashed; border-color: var(--border-strong); background: transparent; transition: border-color 0.2s, background-color 0.2s; }
.example--add:hover { border-color: rgba(255, 107, 0, 0.5); background: rgba(255, 107, 0, 0.03); }
.example__plus { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--border-strong); background: #141414; transition: border-color 0.2s, box-shadow 0.2s; }
.example__plus svg { width: 20px; height: 20px; fill: none; stroke: var(--text-muted); stroke-width: 2; stroke-linecap: round; transition: stroke 0.2s; }
.example--add:hover .example__plus { border-color: rgba(255, 107, 0, 0.5); box-shadow: 0 0 24px -4px rgba(255, 107, 0, 0.5); }
.example--add:hover .example__plus svg { stroke: var(--ember-400); }
.example--add h3 { margin-top: 18px; }
.example__link { margin-top: 16px; font-size: 14px; font-weight: 500; color: var(--ember-400); }
@media (max-width: 900px) { .examples { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .example__media { aspect-ratio: 4 / 3; }
  .keys { gap: 8px; }
  .keys kbd { min-width: 46px; height: 46px; padding: 0 10px; border-radius: 10px; font-size: 16px; }
  .keys kbd:first-child { font-size: 12px; }
  .example__body { padding: 20px 22px 24px; }
  .example__player { padding: 12px 12px 0; }
  .browser__url { display: none; }
}

/* ---------- faq ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.faq__head { position: sticky; top: 112px; align-items: flex-start; margin: 0; text-align: left; }
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-weight: 500; font-size: 17px; cursor: pointer; list-style: none; transition: color 0.2s; }
.faq summary:hover { color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border-strong); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a1a1a1' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform 0.25s var(--ease), border-color 0.2s, background-color 0.2s; }
.faq summary:hover::after { border-color: rgba(255, 255, 255, 0.25); }
.faq details[open] summary::after { transform: rotate(45deg); border-color: rgba(255, 107, 0, 0.5); background-color: rgba(255, 107, 0, 0.1); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff8a33' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E"); }
.faq details p { max-width: 62ch; padding: 0 52px 24px 0; color: var(--text-muted); }
@media (max-width: 900px) {
  .faq-layout { grid-template-columns: 1fr; gap: 40px; }
  .faq__head { position: static; align-items: center; margin-inline: auto; text-align: center; }
}
@media (max-width: 560px) { .faq summary { font-size: 16px; padding: 20px 0; } .faq details p { padding-right: 0; } }

/* ---------- final cta ---------- */
.cta { padding: 16px 0 clamp(80px, 10vw, 128px); }
.cta__inner { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: center; max-width: calc(var(--container) - 48px); padding: clamp(64px, 9vw, 112px) 24px; border-radius: 28px; border: 1px solid rgba(255, 107, 0, 0.22); background: linear-gradient(180deg, #110d0a, #0c0a09); text-align: center; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.cta__grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse 60% 70% at 50% 100%, #000, transparent); -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 100%, #000, transparent); pointer-events: none; }
.cta__glow { position: absolute; z-index: -1; left: 50%; bottom: -320px; width: 960px; height: 560px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255, 107, 0, 0.38), transparent); pointer-events: none; }
.cta__title { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.06; letter-spacing: -0.045em; max-width: 16ch; text-wrap: balance; }
.cta__sub { margin-top: 18px; max-width: 520px; color: var(--text-muted); font-size: clamp(16px, 1.4vw, 18px); text-wrap: pretty; }
.cta__actions { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cta__cmd { margin-top: 24px; width: min(100%, 600px); font-size: 13px; }
@media (max-width: 640px) {
  .cta__inner { width: auto; margin-inline: 16px; padding: 56px 20px; border-radius: 22px; }
  .cta__actions { width: 100%; flex-direction: column; }
  .cta__actions .btn { width: 100%; }
}

/* ---------- footer ---------- */
.footer { position: relative; overflow: hidden; padding: 64px 0 0; border-top: 1px solid var(--border); }
.footer__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 48px; }
.footer__brand p { margin-top: 14px; color: var(--text-dim); font-size: 14px; max-width: 30ch; }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); justify-content: end; gap: 32px 72px; }
.footer__cols h4 { margin-bottom: 16px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); }
.footer__cols a { display: block; width: fit-content; margin-top: 10px; font-size: 14px; color: var(--text-muted); transition: color 0.2s; }
.footer__cols a:hover { color: var(--text); }
.footer__legal a:hover { color: var(--text); }
.footer__legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; color: var(--text-dim); }
.footer__mark { margin: 24px 0 0; padding-bottom: 0.12em; font-size: clamp(64px, 22vw, 320px); font-weight: 700; line-height: 1.1; letter-spacing: -0.06em; text-align: center; white-space: nowrap; background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; pointer-events: none; }
@media (max-width: 800px) {
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: stretch; }
  .footer__contact { grid-column: 1 / -1; }
}

/* ---------- motion ---------- */
@keyframes fade-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hero__inner > * { animation: fade-up 0.8s var(--ease) both; }
  .hero__inner > :nth-child(2) { animation-delay: 0.05s; }
  .hero__inner > :nth-child(3) { animation-delay: 0.1s; }
  .hero__inner > :nth-child(4) { animation-delay: 0.15s; }
  .hero__inner > :nth-child(5) { animation-delay: 0.2s; }
  .hero__inner > :nth-child(6) { animation-delay: 0.25s; }
  .hero__inner > :nth-child(7) { animation-delay: 0.35s; }
}
@media (prefers-reduced-motion: reduce) { .tabs__panel { animation: none; } }
/* Reveals, indicators, hover states and spotlights live in motion.css. */

@media (max-width: 640px) {
  .br-wide { display: none; }
  .compare { min-width: 0; }
  .compare .compare__them { display: none; }
  .compare th, .compare td { padding: 14px 16px; }
}
