:root {
  --bg: #121418;
  --bg-2: #171a20;
  --surface: #1d2128;
  --surface-2: #242933;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --ink: #eceef2;
  --ink-2: #b7bdc8;
  --muted: #858d9b;
  --orange: #f0962a;
  --orange-2: #ffb35c;
  --blue: #4f9be8;
  --green: #5ccf8a;
  --red: #ef5b4c;
  --radius: 14px;
  --max: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Outfit", "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--orange-2); text-decoration: none; }
a:hover { text-decoration: underline; }
code, pre { font-family: var(--mono); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { position: relative; padding: 110px 0; }
section + section { border-top: 1px solid var(--line); }

/* ---------- navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(18, 20, 24, .82); backdrop-filter: blur(14px); border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font: 600 20px/1 var(--display); letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand b { color: var(--orange); font-weight: 600; }
.nav ul { display: flex; gap: 22px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav ul a { color: var(--ink-2); font-size: 14.5px; }
.nav ul a:hover, .nav ul a.active { color: var(--ink); text-decoration: none; }
.nav .cta { margin-left: 8px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line-2); color: var(--ink); border-radius: 8px; padding: 6px 10px; font: inherit; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid var(--line-2); color: var(--ink); background: rgba(255,255,255,.04);
  transition: transform .15s, background .2s, border-color .2s, box-shadow .2s;
  cursor: pointer;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); border-color: rgba(255,255,255,.3); }
.btn.primary { background: var(--orange); border-color: var(--orange); color: #1a1205; box-shadow: 0 8px 30px -10px rgba(240,150,42,.7); }
.btn.primary:hover { background: var(--orange-2); }
.btn.small { padding: 7px 14px; font-size: 13.5px; }

/* ---------- hero ---------- */
.hero { min-height: 100vh; padding: 0; display: flex; flex-direction: column; border: 0; overflow: hidden; }
.hero canvas#sim { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.hero canvas#sim:active { cursor: grabbing; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 22% 38%, rgba(18,20,24,.92), rgba(18,20,24,.55) 55%, transparent 80%),
    linear-gradient(to bottom, rgba(18,20,24,.6), transparent 20%, transparent 78%, var(--bg));
}
.hero .wrap { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: 90px; padding-bottom: 150px; pointer-events: none; }
.hero .wrap > * { pointer-events: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  font: 500 13px/1 var(--mono); letter-spacing: .04em; color: var(--orange-2);
  padding: 8px 14px; border: 1px solid rgba(240,150,42,.35); border-radius: 999px; background: rgba(240,150,42,.08);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(240,150,42,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(240,150,42,0); } 100% { box-shadow: 0 0 0 0 rgba(240,150,42,0); } }
.hero h1 {
  font: 700 clamp(42px, 7vw, 86px)/1.02 var(--display); letter-spacing: -.035em;
  margin: 26px 0 22px; max-width: 15ch;
}
.hero h1 .w { display: inline-block; opacity: 0; transform: translateY(28px); animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards; }
.hero h1 em { font-style: normal; color: var(--orange); }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero p.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 600px; margin: 0 0 34px; opacity: 0; animation: rise .9s .55s forwards; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; opacity: 0; animation: rise .9s .7s forwards; }

.sim-bar {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 30px; margin: 0 auto; width: max-content; max-width: calc(100% - 24px); overflow-x: auto;
  display: flex; align-items: center; gap: 6px; padding: 6px;
  background: rgba(23,26,32,.82); border: 1px solid var(--line-2); border-radius: 999px; backdrop-filter: blur(12px);
  opacity: 0; animation: rise .9s .9s forwards;
}
.sim-bar button {
  border: 0; background: none; color: var(--ink-2); font: 500 13.5px/1 var(--font);
  padding: 9px 14px; border-radius: 999px; cursor: pointer; white-space: nowrap;
}
.sim-bar button:hover { color: var(--ink); background: rgba(255,255,255,.06); }
.sim-bar button.on { background: var(--surface-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.sim-bar .sep { width: 1px; height: 20px; background: var(--line-2); margin: 0 2px; }
.hud {
  position: absolute; z-index: 3; right: 24px; top: 84px; text-align: right;
  font: 12px/1.7 var(--mono); color: var(--muted); pointer-events: none;
}
.hud b { color: var(--ink-2); font-weight: 500; }
.legend { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; }
.legend i { display: block; width: 110px; height: 7px; border-radius: 4px; background: linear-gradient(90deg, #30123b, #4662d7, #36aaf9, #1ae4b6, #72fe5e, #c8ef34, #faba39, #f66b19, #ca2a04); }

/* ---------- stats ---------- */
.stats { padding: 0; border-top: 1px solid var(--line); background: var(--bg-2); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat .num { font: 700 clamp(30px, 3.6vw, 44px)/1 var(--display); letter-spacing: -.02em; color: var(--ink); }
.stat .num small { font-size: .55em; color: var(--orange); margin-left: 2px; }
.stat p { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

/* ---------- section heads ---------- */
.kicker { font: 500 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--orange); margin: 0 0 16px; }
h2 { font: 700 clamp(32px, 4.2vw, 52px)/1.08 var(--display); letter-spacing: -.03em; margin: 0 0 18px; max-width: 20ch; }
.sub { color: var(--ink-2); font-size: 18px; max-width: 680px; margin: 0 0 56px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; } .reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; } .reveal[data-d="4"] { transition-delay: .32s; }
.reveal[data-d="5"] { transition-delay: .40s; }

/* ---------- how it works ---------- */
.how { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.how-canvas { position: relative; aspect-ratio: 4 / 3; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.how-canvas canvas { width: 100%; height: 100%; display: block; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { position: relative; padding: 18px 20px 18px 64px; border-radius: 12px; border: 1px solid transparent; transition: background .35s, border-color .35s; counter-increment: s; }
.steps li::before {
  content: counter(s); position: absolute; left: 18px; top: 18px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font: 600 14px/1 var(--mono); color: var(--muted); border: 1px solid var(--line-2); transition: all .35s;
}
.steps li.on { background: var(--surface); border-color: var(--line-2); }
.steps li.on::before { background: var(--orange); border-color: var(--orange); color: #1a1205; }
.steps h3 { margin: 0 0 4px; font: 600 17px/1.3 var(--display); }
.steps p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- feature grid ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  position: relative; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  transition: transform .3s, border-color .3s, background .3s; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(240,150,42,.12), transparent 45%);
}
.card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.card:hover::before { opacity: 1; }
.card .ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: rgba(240,150,42,.12); color: var(--orange); margin-bottom: 18px; }
.card .ic svg { width: 22px; height: 22px; }
.card h3 { margin: 0 0 8px; font: 600 19px/1.3 var(--display); }
.card p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* ---------- models ---------- */
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.model { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.model.new { border-color: rgba(240,150,42,.4); background: linear-gradient(180deg, rgba(240,150,42,.06), var(--surface) 40%); }
.model header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.model h3 { margin: 0; font: 600 19px/1.2 var(--display); }
.tag { font: 600 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 5px 8px; border-radius: 6px; background: var(--orange); color: #1a1205; }
.tag.alt { background: var(--surface-2); color: var(--ink-2); }
.model svg.curve { width: 100%; height: 130px; margin-bottom: 14px; background: var(--bg-2); border-radius: 10px; border: 1px solid var(--line); }
.curve .axis { stroke: var(--line-2); stroke-width: 1; fill: none; }
.curve .lbl { fill: var(--muted); font: 10px var(--mono); }
.curve .path { fill: none; stroke: var(--orange); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: var(--len, 600); stroke-dashoffset: var(--len, 600); }
.curve .path.b { stroke: var(--blue); }
.curve .path.dash { stroke-width: 1.6; opacity: .8; }
.model.in .curve .path { animation: draw 1.8s cubic-bezier(.4,.1,.2,1) forwards; }
.model.in .curve .path.late { animation-delay: .9s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.model p { margin: 0 0 14px; color: var(--ink-2); font-size: 14.5px; }
.model ul { margin: auto 0 0; padding: 12px 0 0; list-style: none; border-top: 1px dashed var(--line-2); font: 12.5px/1.75 var(--mono); color: var(--muted); }
.model ul b { color: var(--green); font-weight: 500; }
.note { margin-top: 26px; color: var(--muted); font-size: 14px; max-width: 860px; }

/* ---------- app viewer ---------- */
.viewer { border-radius: 16px; border: 1px solid var(--line-2); background: var(--bg-2); overflow: hidden; box-shadow: 0 40px 120px -40px rgba(0,0,0,.8); }
.viewer .chrome { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.viewer .chrome i { width: 11px; height: 11px; border-radius: 50%; background: #3a3f4a; }
.viewer .tabs { display: flex; gap: 4px; margin-left: 16px; flex-wrap: wrap; }
.viewer .tabs button { border: 0; background: none; color: var(--muted); font: 500 13px/1 var(--font); padding: 8px 12px; border-radius: 8px; cursor: pointer; position: relative; overflow: hidden; }
.viewer .tabs button.on { color: var(--ink); background: var(--surface-2); }
.viewer .tabs button .bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--orange); }
.viewer .tabs button.on .bar { animation: fill 6s linear forwards; }
@keyframes fill { to { width: 100%; } }
.viewer .stage { position: relative; aspect-ratio: 3120 / 1880; }
.viewer .stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.015); transition: opacity .8s, transform 1.2s; }
.viewer .stage img.on { opacity: 1; transform: none; }
.viewer figcaption { padding: 14px 18px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); min-height: 52px; }
.views { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 26px; }
.views div { padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.views b { display: block; font: 600 15px/1.3 var(--display); margin-bottom: 4px; }
.views span { color: var(--muted); font-size: 13.5px; line-height: 1.5; display: block; }

/* ---------- agent ---------- */
.agent { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
.toolgroups { display: grid; gap: 12px; margin-top: 8px; }
.toolgroups div { padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.toolgroups b { font: 600 14px/1.3 var(--display); display: block; margin-bottom: 6px; }
.toolgroups code { font-size: 12px; color: var(--ink-2); background: var(--bg-2); border: 1px solid var(--line); padding: 2px 6px; border-radius: 5px; margin: 0 4px 5px 0; display: inline-block; }
.term { border-radius: 14px; border: 1px solid var(--line-2); background: #0d0f12; overflow: hidden; box-shadow: 0 30px 90px -40px rgba(0,0,0,.9); }
.term .top { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid var(--line); font: 12px var(--mono); color: var(--muted); }
.term .top i { width: 10px; height: 10px; border-radius: 50%; background: #3a3f4a; }
.term .top span { margin-left: 8px; }
.term pre { margin: 0; padding: 18px 18px 22px; min-height: 430px; font-size: 13px; line-height: 1.75; white-space: pre-wrap; word-break: break-word; color: var(--ink-2); }
.term .u { color: var(--orange-2); }
.term .t { color: var(--blue); }
.term .ok { color: var(--green); }
.term .a { color: var(--ink); }
.term .dim { color: var(--muted); }
.cursor { display: inline-block; width: 8px; height: 15px; background: var(--orange); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.term-fig { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 16px; }
.term-fig figure { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #fff; opacity: 0; transform: translateY(12px); transition: all .8s; }
.term-fig figure.in { opacity: 1; transform: none; }
.term-fig figcaption { background: var(--surface); color: var(--muted); font-size: 13px; padding: 10px 14px; }
.honest { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* ---------- performance ---------- */
.perf { display: grid; gap: 26px; }
.perf .row { display: grid; grid-template-columns: 200px 1fr; gap: 20px; align-items: center; }
.perf .row > b { font: 600 15px/1.35 var(--display); }
.perf .row > b span { display: block; color: var(--muted); font: 400 12.5px/1.4 var(--font); }
.bars { display: grid; gap: 8px; }
.bar-l { display: grid; grid-template-columns: 1fr 200px; align-items: center; gap: 14px; }
.track { height: 26px; border-radius: 7px; background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; }
.fill { height: 100%; width: 0; border-radius: 6px; transition: width 1.8s cubic-bezier(.2,.8,.2,1); background: var(--muted); }
.fill.gpu { background: linear-gradient(90deg, #d37a12, var(--orange-2)); box-shadow: 0 0 24px rgba(240,150,42,.35); }
.bar-l code { font-size: 12.5px; color: var(--ink-2); }
.speedup { font: 700 22px/1 var(--display); color: var(--orange); }
.perf-legend { display: flex; gap: 22px; color: var(--muted); font-size: 13.5px; margin-bottom: 8px; }
.perf-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 8px; vertical-align: -1px; }

/* ---------- table ---------- */
.table-wrap { border-radius: var(--radius); border: 1px solid var(--line); overflow-x: auto; background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 720px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 600 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--bg-2); }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 600; color: var(--ink); white-space: nowrap; }
td { color: var(--ink-2); }
tbody tr { transition: background .2s; }
tbody tr:hover { background: rgba(255,255,255,.025); }

/* ---------- patong ---------- */
.patong { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.patong figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); position: relative; }
.patong figure img { transform: scale(1.08); transition: transform 2.4s cubic-bezier(.2,.7,.2,1); }
.patong figure.in img { transform: none; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0; }
.facts div { padding: 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.facts b { display: block; font: 700 26px/1.1 var(--display); }
.facts span { color: var(--muted); font-size: 13px; }
.wide-fig { margin: 40px 0 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.wide-fig figcaption, .patong figcaption { padding: 12px 16px; font-size: 13.5px; color: var(--muted); background: var(--surface); }

/* ---------- start ---------- */
.start { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.code { position: relative; border-radius: 12px; border: 1px solid var(--line); background: #0d0f12; overflow: hidden; }
.code header { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); font: 600 13.5px/1 var(--display); }
.code header button { border: 1px solid var(--line-2); background: none; color: var(--muted); font: 12px var(--mono); padding: 5px 9px; border-radius: 6px; cursor: pointer; }
.code header button:hover { color: var(--ink); }
.code pre { margin: 0; padding: 16px; font-size: 12.5px; line-height: 1.75; color: var(--ink-2); overflow-x: auto; }
.code pre .c { color: var(--muted); }
.templates { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.templates code { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: 13px; color: var(--ink-2); }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.mailcard { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.mailcard .ic { width: 42px; height: 42px; flex: none; border-radius: 11px; display: grid; place-items: center; background: rgba(240,150,42,.12); color: var(--orange); }
.mailcard .ic svg { width: 22px; height: 22px; }
.mailcard div { flex: 1; min-width: 0; }
.mailcard b { display: block; font: 600 13px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.mailcard a { font: 600 18px/1.3 var(--display); color: var(--ink); overflow-wrap: anywhere; }
.msg { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-2); display: grid; gap: 18px; }
.msg .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.msg label { display: grid; gap: 8px; font: 500 13.5px/1.2 var(--font); color: var(--ink-2); }
.msg input, .msg select, .msg textarea {
  width: 100%; font: 15px/1.5 var(--font); color: var(--ink); background: var(--bg-2);
  border: 1px solid var(--line-2); border-radius: 10px; padding: 11px 13px; transition: border-color .2s, box-shadow .2s;
}
.msg textarea { resize: vertical; min-height: 150px; }
.msg input:focus, .msg select:focus, .msg textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(240,150,42,.18); }
.msg textarea.bad { border-color: var(--red); box-shadow: 0 0 0 3px rgba(239,91,76,.18); }
.msg-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.msg .hint { color: var(--muted); font-size: 13px; flex: 1; min-width: 220px; }
.msg .hint.warn { color: var(--red); }

/* ---------- limits + footer ---------- */
.limits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.limits div { padding: 18px 20px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-size: 14.5px; }
.limits b { color: var(--ink); display: block; margin-bottom: 4px; font: 600 15.5px/1.3 var(--display); }
.cite { margin-top: 40px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--bg-2); font-size: 14.5px; color: var(--ink-2); }
footer { padding: 46px 0 60px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
footer img { height: 46px; width: auto; opacity: .9; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .grid, .models, .start { grid-template-columns: repeat(2, 1fr); }
  .how, .agent, .patong, .contact { grid-template-columns: 1fr; }
  .views { grid-template-columns: repeat(2, 1fr); }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
  section { padding: 80px 0; }
  .wrap { padding: 0 16px; }
  .nav ul { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 16px 16px; background: rgba(18,20,24,.97); border-bottom: 1px solid var(--line); }
  .nav ul.open { display: flex; }
  .nav ul a { display: block; padding: 10px 0; font-size: 16px; }
  .nav .cta { display: none; }
  .menu-btn { display: inline-block; }
  .grid, .models, .start, .limits, .views, .facts, .msg .two { grid-template-columns: 1fr; }
  .perf .row { grid-template-columns: 1fr; gap: 10px; }
  .bar-l { grid-template-columns: 1fr; gap: 4px; }
  .hud { display: none; }
  .sim-bar { bottom: 18px; }
  .eyebrow { font-size: 11px; white-space: nowrap; }
  .sim-bar button { padding: 8px 10px; font-size: 12.5px; }
  .hero .wrap { padding-bottom: 120px; }
  .term pre { min-height: 380px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
