/* =========================================================
   Aurnexa — landing page
   Palette pulled from the logo: ink black, signal blue, slate.
   ========================================================= */
/* ---------- Fonts (self-hosted, latin subset; Geist is SIL OFL 1.1) ---------- */
@font-face {
  font-family: "Geist"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("/assets/fonts/geist-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Geist Mono"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("/assets/fonts/geist-mono-latin.woff2") format("woff2");
}

:root {
  --bg: #f4f5f7;
  --bg-tint: #eceef2;
  --surface: #ffffff;
  --ink: #07080c;
  --ink-2: #2a2e37;
  --muted: #5d6676;
  --line: #dde1e7;
  --line-strong: #c7cdd6;
  --blue: #2a76c4;
  --blue-deep: #1d5ea8;
  --blue-soft: #e3eefa;
  --slate: #93a2b6;
  --dark: #07080c;
  --dark-2: #11131a;
  --dark-line: #232733;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(7, 8, 12, .04), 0 12px 32px -12px rgba(7, 8, 12, .14);
  --shadow-lg: 0 2px 4px rgba(7, 8, 12, .05), 0 30px 60px -20px rgba(7, 8, 12, .28);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.025em; line-height: 1.08; font-weight: 600; }
p { margin: 0; }
.mono { font-family: var(--mono); font-size: .8em; letter-spacing: .01em; }
.muted { color: var(--muted); }

.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 12px; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 24px;
  border-radius: 999px; border: 1px solid transparent;
  font: 500 16px/1 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, box-shadow .25s, border-color .25s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 15px; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #20242e; }
.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 8px 24px -8px rgba(42, 118, 196, .6), inset 0 1px 0 rgba(255,255,255,.18); }
.btn--blue:hover { background: var(--blue-deep); }
.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { background: var(--surface); border-color: var(--ink); }
.btn--full { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 245, 247, .72);
  backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); background: rgba(244, 245, 247, .9); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 21px; letter-spacing: -0.03em; }
.brand img { width: 34px; height: 34px; object-fit: contain; }
.brand--light { color: #fff; }
.brand--light img { border-radius: 9px; }
.nav__links { display: flex; gap: 6px; }
.nav__links a {
  text-decoration: none; font-size: 15px; color: var(--ink-2);
  padding: 8px 14px; border-radius: 999px; transition: background-color .2s, color .2s;
}
.nav__links a:hover { background: rgba(7, 8, 12, .06); color: var(--ink); }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__toggle {
  display: none; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: var(--surface); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav__toggle span { display: block; width: 16px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease); }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.3px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.3px) rotate(-45deg); }
.mobile-menu {
  display: flex; flex-direction: column; gap: 4px;
  padding: 8px 24px 24px; border-bottom: 1px solid var(--line); background: var(--bg);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 14px 4px; text-decoration: none; font-size: 18px; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 16px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 55% at 85% 20%, rgba(42, 118, 196, .14), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(147, 162, 182, .22), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  opacity: .55;
}
.hero__mesh { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font: 500 13px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2);
  box-shadow: var(--shadow);
}
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex: none; }
.pulse::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--blue);
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

.hero h1 { margin-top: 26px; font-size: clamp(44px, 5.4vw, 74px); text-wrap: balance; letter-spacing: -0.045em; line-height: 1; }
.h1-accent {
  background: linear-gradient(100deg, var(--ink) 0%, var(--blue) 55%, var(--slate) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { margin-top: 26px; max-width: 34em; font-size: 19px; color: var(--muted); }
.hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 14.5px; color: var(--muted); }
.hero__meta li { display: flex; align-items: center; gap: 9px; }
.hero__meta li::before { content: ""; width: 5px; height: 5px; border-radius: 1px; background: var(--blue); transform: rotate(45deg); }
.hero__meta strong { color: var(--ink); font-weight: 600; }

/* ---------- Console ---------- */
.console {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 22px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.console__bar {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-bottom: 1px solid var(--line); background: rgba(244, 245, 247, .7);
}
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.console__title { font: 12.5px var(--mono); color: var(--muted); flex: 1; }
.console__status { display: inline-flex; align-items: center; gap: 8px; font: 500 12px var(--mono); color: var(--blue-deep); text-transform: uppercase; letter-spacing: .08em; }
.console__status .pulse { width: 6px; height: 6px; }
.console__body { padding: 22px; min-height: 430px; display: flex; flex-direction: column; gap: 18px; }

.tag {
  display: inline-block; padding: 4px 9px; border-radius: 6px;
  font: 500 11px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .08em;
  background: var(--bg-tint); color: var(--ink-2);
}
.tag--blue { background: var(--blue-soft); color: var(--blue-deep); }
.console__prompt p { margin-top: 10px; font-size: 16.5px; line-height: 1.5; min-height: 3em; color: var(--ink); }
.console__prompt p::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -0.15em; background: var(--blue); animation: blink 1s steps(1) infinite; }
.console__prompt p.done::after { display: none; }
@keyframes blink { 50% { opacity: 0; } }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.steps li {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface);
  font-size: 14.5px; color: var(--ink-2);
  opacity: 0; transform: translateY(6px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), border-color .3s;
}
.steps li.in { opacity: 1; transform: none; }
.steps li .ic { width: 22px; height: 22px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line-strong); }
.steps li.running .ic { border-color: var(--blue); border-top-color: transparent; animation: spin .8s linear infinite; }
.steps li.ok .ic { background: var(--blue); border-color: var(--blue); }
.steps li.ok .ic::after { content: ""; width: 8px; height: 4.5px; border: 1.8px solid #fff; border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
.steps li .tool { margin-left: auto; font: 11.5px var(--mono); color: var(--muted); white-space: nowrap; }
@keyframes spin { to { transform: rotate(360deg); } }

.result {
  margin-top: auto; padding: 16px; border-radius: 14px;
  background: linear-gradient(180deg, var(--blue-soft), rgba(227, 238, 250, .35));
  border: 1px solid rgba(42, 118, 196, .22);
  opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.result.in { opacity: 1; transform: none; }
.result__head { display: flex; justify-content: space-between; align-items: center; }
.result p { margin-top: 10px; font-size: 15px; color: var(--ink-2); }
.result__bars { margin-top: 14px; display: grid; gap: 8px; }
.bar { display: grid; grid-template-columns: 92px 1fr 44px; align-items: center; gap: 10px; font: 12px var(--mono); color: var(--muted); }
.bar__track { height: 6px; border-radius: 6px; background: rgba(7, 8, 12, .07); overflow: hidden; }
.bar__fill { height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--blue-deep), var(--blue)); transition: width 1.1s var(--ease); }
.bar b { color: var(--ink); font-weight: 500; text-align: right; }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; padding: 20px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track span {
  display: inline-flex; align-items: center; gap: 28px; padding-right: 28px;
  font-size: 15px; font-weight: 500; color: var(--ink-2); white-space: nowrap;
}
.marquee__track span::after { content: ""; width: 7px; height: 7px; background: var(--blue); transform: rotate(45deg); border-radius: 1px; opacity: .8; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 128px 0; }
.section--tint { background: var(--bg-tint); }
.section__head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.section__head--left { text-align: left; margin: 0; }
.kicker { font: 500 13px var(--mono); color: var(--blue-deep); text-transform: uppercase; letter-spacing: .1em; }
.section h2 { text-wrap: balance; margin-top: 14px; font-size: clamp(34px, 4.4vw, 56px); letter-spacing: -0.04em; }
.section__sub { margin-top: 18px; font-size: 18.5px; color: var(--muted); }
.section__sub a { color: var(--blue-deep); text-underline-offset: 3px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  position: relative; padding: 30px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.card__icon {
  width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center;
  background: var(--bg); border: 1px solid var(--line); color: var(--ink);
  transition: background-color .3s, color .3s, border-color .3s;
}
.card:hover .card__icon { background: var(--ink); color: #fff; border-color: var(--ink); }
.card__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin-top: 26px; font-size: 22px; }
.card p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.card--feature {
  grid-row: span 2; display: flex; flex-direction: column;
  background: var(--ink); color: #fff; border-color: var(--ink); overflow: hidden;
}
.card--feature::before {
  content: ""; position: absolute; width: 380px; height: 380px; right: -140px; bottom: -140px;
  background: radial-gradient(circle, rgba(42, 118, 196, .55), transparent 65%);
  pointer-events: none;
}
.card--feature::after {
  content: ""; position: absolute; width: 220px; height: 220px; right: -40px; bottom: -40px;
  border-radius: 50%; border: 34px solid rgba(255, 255, 255, .06);
  pointer-events: none;
}
.card--feature .card__icon { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: #fff; }
.card--feature:hover .card__icon { background: var(--blue); border-color: var(--blue); }
.card--feature h3 { font-size: 30px; margin-top: auto; padding-top: 40px; }
.card--feature p { color: rgba(255, 255, 255, .7); font-size: 17px; }
.card--feature:hover { border-color: var(--ink); }
.chips { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; position: relative; }
.chips li { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); font-size: 13px; color: rgba(255,255,255,.85); }

/* Wide card (spans the full row) */
.card--wide { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr 1.6fr auto; align-items: center; gap: 28px; padding: 26px 30px; }
.card--wide h3, .card--wide p { margin: 0; }
.card__link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue-deep); font-weight: 500; font-size: 15.5px; text-decoration: none; white-space: nowrap; }
.card__link svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.card__link:hover svg { transform: translateX(3px); }

/* Process (dark) */
.section--dark { background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.section--dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 60% at 50% 0%, rgba(42, 118, 196, .22), transparent 70%);
}
.section--dark .wrap { position: relative; }
.section--dark .section__sub { color: rgba(255,255,255,.62); }
.section--dark .kicker { color: #6fa8e6; }
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.process__step {
  position: relative; padding: 28px 26px 26px; border-radius: var(--radius);
  background: var(--dark-2); border: 1px solid var(--dark-line);
  display: flex; flex-direction: column; min-height: 280px;
  transition: border-color .3s, transform .4s var(--ease);
}
.process__step:hover { border-color: rgba(42, 118, 196, .6); transform: translateY(-4px); }
.process__num {
  font: 500 44px/1 var(--font); letter-spacing: -0.04em;
  background: linear-gradient(180deg, #fff, rgba(255,255,255,.18)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.process__step h3 { margin-top: 32px; font-size: 24px; }
.process__step p { margin-top: 10px; color: rgba(255,255,255,.62); font-size: 15.5px; }
.process__time { margin-top: auto; padding-top: 24px; color: #6fa8e6; font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; }
.process__line { margin-top: 40px; height: 2px; background: var(--dark-line); border-radius: 2px; overflow: hidden; }
.process__line span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), #8fc0f2); transition: width 1.8s var(--ease); }
.process__line.in span { width: 100%; }

/* Split / stack */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.checks { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 14px; }
.checks li {
  position: relative; padding: 18px 20px 18px 56px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-size: 16px;
}
.checks li::before {
  content: ""; position: absolute; left: 18px; top: 20px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d5ea8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.checks b { color: var(--ink); font-weight: 600; }

.stack { position: relative; display: grid; gap: 12px; padding: 36px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.stack__layer {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 24px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line);
  transition: transform .4s var(--ease);
}
.stack__layer:nth-child(1) { margin-inline: 36px; }
.stack__layer:nth-child(2) { margin-inline: 18px; }
.stack__layer:hover { transform: translateX(6px); }
.stack__layer span { color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.stack__layer b { font-weight: 500; font-size: 15.5px; text-align: right; }
.stack__layer--blue { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 18px 40px -16px rgba(42, 118, 196, .7); }
.stack__layer--blue span { color: #6fa8e6; }
.stack__mark { position: absolute; width: 74px; height: 74px; top: -30px; right: -22px; padding: 12px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }

/* Tabs */
.tabs { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 10px; box-shadow: var(--shadow); }
.tabs__list { display: flex; gap: 4px; padding: 4px; background: var(--bg); border-radius: 16px; overflow-x: auto; scrollbar-width: none; }
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__list button {
  flex: 1 0 auto; padding: 12px 18px; border: 0; border-radius: 12px; background: transparent; cursor: pointer;
  font: 500 15px var(--font); color: var(--muted); white-space: nowrap; transition: background-color .25s, color .25s, box-shadow .25s;
}
.tabs__list button:hover { color: var(--ink); }
.tabs__list button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(7,8,12,.08), 0 4px 12px -4px rgba(7,8,12,.12); }
.tabs__panel { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; padding: 48px 44px; animation: fadeUp .5s var(--ease); }
.tabs__panel[hidden] { display: none; }
.tabs__panel h3 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.035em; }
.tabs__panel p { margin-top: 16px; color: var(--muted); font-size: 17.5px; }
.tabs__panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tabs__panel li {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 12px;
  background: var(--bg); border: 1px solid var(--line); font-weight: 500;
}
.tabs__panel li::before { content: ""; width: 8px; height: 8px; background: var(--blue); border-radius: 2px; transform: rotate(45deg); flex: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.faq .section__head { position: sticky; top: 110px; }
.faq__list { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: var(--line-strong); box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 64px 22px 24px; position: relative;
  font-size: 18px; font-weight: 500; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2307080c' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .35s var(--ease), background-color .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--blue-soft); }
.faq details p { padding: 0 24px 24px; color: var(--muted); font-size: 16.5px; max-width: 46em; }

/* CTA / form */
.cta { padding: 0 0 128px; }
.cta__inner {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  padding: 72px; border-radius: 32px; background: var(--ink); color: #fff;
}
.cta__inner::before {
  content: ""; position: absolute; width: 640px; height: 640px; left: -220px; top: -260px; pointer-events: none;
  background: radial-gradient(circle, rgba(42, 118, 196, .45), transparent 62%);
}
.cta__inner > * { position: relative; }
.cta__icon { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 10px 30px -8px rgba(42, 118, 196, .6); }
.cta h2 { margin-top: 28px; font-size: clamp(36px, 4.6vw, 60px); letter-spacing: -0.045em; }
.cta__copy p { margin-top: 18px; font-size: 18px; color: rgba(255,255,255,.66); max-width: 30em; }
.form { display: grid; gap: 14px; padding: 28px; border-radius: 22px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 8px; font-size: 13.5px; color: rgba(255,255,255,.7); }
.form input, .form textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: #fff;
  font: 16px var(--font); resize: vertical; transition: border-color .2s, background-color .2s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--blue); background: rgba(255,255,255,.09); }
.form .is-invalid { border-color: #e5726b; }
.form .btn { margin-top: 6px; }
.form__note { min-height: 1.4em; font-size: 14px; color: #8fc0f2; }

/* Footer */
.footer { background: var(--dark); color: rgba(255,255,255,.62); padding: 72px 0 28px; }
.footer__inner { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-bottom: 48px; border-bottom: 1px solid var(--dark-line); }
.footer__brand p { margin-top: 14px; max-width: 26em; font-size: 15px; }
.footer__cols { display: flex; gap: 72px; }
.footer__h { color: #fff; font-size: 14px; font-weight: 500; margin-bottom: 14px; letter-spacing: 0; }
.footer__cols a { display: block; text-decoration: none; font-size: 15px; padding: 4px 0; transition: color .2s; }
.footer__cols a:hover { color: #fff; }
.footer__base { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; font-size: 14px; }
.footer__base a { text-decoration: none; }
.footer__base a:hover { color: #fff; }

/* ---------- Reveal ---------- */
/* Hidden-until-revealed only when JS runs (no class swap on <html>, so no full-page restyle). */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
  .reveal.in { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; gap: 56px; }
  .console { max-width: 640px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .card--feature { grid-row: auto; grid-column: span 2; min-height: 340px; }
  .card--wide { grid-template-columns: auto 1fr; row-gap: 12px; }
  .card--wide p { grid-column: 1 / -1; }
  .card--wide .card__link { grid-column: 1 / -1; }
  .process { grid-template-columns: 1fr 1fr; }
  .split, .faq { grid-template-columns: 1fr; gap: 56px; }
  .faq .section__head { position: static; }
  .cta__inner { grid-template-columns: 1fr; padding: 56px; }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__cta .btn { display: none; }
  .tabs__panel { grid-template-columns: 1fr; gap: 28px; padding: 32px 22px 24px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .hero { padding: 40px 0 72px; }
  .hero h1 { font-size: clamp(38px, 11vw, 52px); }
  .lede { font-size: 17px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .console__body { padding: 16px; min-height: 470px; }
  .steps li .tool { display: none; }
  .bar { grid-template-columns: 78px 1fr 40px; }
  .section { padding: 88px 0; }
  .section__head { margin-bottom: 44px; }
  .cards, .process { grid-template-columns: 1fr; }
  .card--feature { grid-column: auto; }
  .card--wide { display: block; }
  .card--wide h3 { margin-top: 26px; }
  .card--wide p { margin-top: 10px; }
  .card--wide .card__link { margin-top: 18px; }
  .card { padding: 24px; }
  .process__step { min-height: 0; }
  .stack { padding: 20px; }
  .stack__layer { flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px 18px; }
  .stack__layer b { text-align: left; }
  .stack__layer:nth-child(1) { margin-inline: 20px; }
  .stack__layer:nth-child(2) { margin-inline: 10px; }
  .stack__mark { width: 60px; height: 60px; right: -6px; top: -26px; padding: 10px; }
  .faq summary { font-size: 16.5px; padding: 18px 56px 18px 18px; }
  .faq details p { padding: 0 18px 20px; }
  .cta { padding-bottom: 88px; }
  .cta__inner { padding: 36px 20px; border-radius: 24px; }
  .form { padding: 18px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__cols { gap: 48px; }
  .footer__base { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; }
}

/* =========================================================
   Founder
   ========================================================= */
.founder { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.founder__visual { position: relative; aspect-ratio: 4 / 4.4; display: flex; align-items: flex-end; justify-content: center; }
.founder__panel {
  position: absolute; inset: 16% 0 0; border-radius: 32px; overflow: hidden;
  background:
    radial-gradient(70% 60% at 50% 100%, rgba(42, 118, 196, .55), transparent 70%),
    linear-gradient(180deg, #1a2a44 0%, var(--ink) 100%);
  box-shadow: var(--shadow-lg);
}
.founder__panel::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000, transparent 80%);
}
.founder__panel::after {
  content: ""; position: absolute; width: 70%; aspect-ratio: 1; left: 15%; top: 8%; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12); box-shadow: 0 0 0 40px rgba(255,255,255,.025), 0 0 0 80px rgba(255,255,255,.02);
}
.founder__visual picture { position: relative; display: block; width: 92%; }
.founder__photo {
  position: relative; width: 100%; height: auto;
  border-radius: 0 0 32px 32px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.35));
}
.founder__badge {
  position: absolute; left: -20px; bottom: 40px;
  display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
}
.founder__badge img { width: 40px; height: 40px; padding: 6px; border-radius: 11px; background: var(--bg); object-fit: contain; }
.founder__badge span { display: grid; line-height: 1.25; }
.founder__badge b { font-weight: 600; font-size: 15.5px; }
.founder__badge small { font-size: 13px; color: var(--muted); }

.founder__quote { margin: 32px 0 0; padding: 0 0 0 26px; border-left: 3px solid var(--blue); }
.founder__quote p { font-size: clamp(21px, 2.2vw, 27px); line-height: 1.4; letter-spacing: -0.02em; color: var(--ink); font-weight: 400; text-wrap: pretty; }
.founder__id { margin-top: 28px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; }
.founder__name { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.founder__role { color: var(--blue-deep); text-transform: uppercase; letter-spacing: .08em; font-size: 12.5px; }
.founder__contact { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 10px; }
.founder__contact a {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 9px;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap;
  transition: border-color .2s, box-shadow .2s, transform .25s var(--ease);
}
.founder__contact a:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-2px); }
.ci { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue-deep); flex: none; }
.ci svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* CTA contact list */
.cta__contact { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 0; max-width: 380px; border-top: 1px solid rgba(255,255,255,.12); }
.cta__contact li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.cta__contact span { color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.cta__contact a { color: #fff; text-decoration: none; font-weight: 500; transition: color .2s; }
.cta__contact a:hover { color: #8fc0f2; }

@media (max-width: 1180px) {
  .founder__contact { grid-template-columns: auto auto; }
}
@media (max-width: 1080px) {
  .founder { grid-template-columns: 1fr; gap: 56px; }
  .founder__visual { max-width: 520px; width: 100%; margin-inline: auto; }
  .footer__cols { flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .founder__badge { left: 12px; bottom: 16px; }
  .founder__quote { padding-left: 18px; }
  .founder__contact { grid-template-columns: 1fr; }
  .founder__contact a { width: 100%; }
  .footer__cols { gap: 36px 48px; }
}

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; display: grid; place-items: center; padding: 32px 16px;
  background: radial-gradient(60% 50% at 80% 10%, rgba(42, 118, 196, .14), transparent 70%), var(--bg); }
.notfound__main { width: min(640px, 100%); }
.notfound .kicker { margin-top: 56px; }
.notfound h1 { margin-top: 14px; font-size: clamp(38px, 7vw, 64px); letter-spacing: -0.045em; text-wrap: balance; }
.notfound__text { margin-top: 18px; font-size: 18px; color: var(--muted); }
