/* light tokens on :root, dark via [data-theme="dark"] (the default, set in index.html); dark tokens also apply inside .code-surface windows in both themes */
:root {
  --bg: #f7f9fc;
  --bg2: #eef2f7;
  --fg: #0d1420;
  --body: #475569;
  --dim: #64748b;
  --acc: #047857;
  --acc2: #0369a1;
  --acc3: #7c3aed;
  --on-acc: #ffffff;
  --card: rgba(255, 255, 255, 0.9);
  --line: rgba(15, 23, 42, 0.1);
  --line-acc: rgba(4, 120, 87, 0.35);
  --soft: rgba(15, 23, 42, 0.03);
  --soft-hover: rgba(15, 23, 42, 0.07);
  --input-bg: #ffffff;
  --nav-bg: rgba(247, 249, 252, 0.86);
  --wash: 247, 249, 252;
  color-scheme: light;
}
:root[data-theme="dark"], .code-surface {
  --bg: #04060a;
  --bg2: #070b12;
  --fg: #e3ebf7;
  --body: #a9b6ca;
  --dim: #6b7a90;
  --acc: #00ffa3;
  --acc2: #00c8ff;
  --acc3: #b46bff;
  --on-acc: #00170e;
  --card: rgba(11, 17, 26, 0.72);
  --line: rgba(148, 170, 200, 0.12);
  --line-acc: rgba(0, 255, 163, 0.28);
  --soft: rgba(255, 255, 255, 0.03);
  --soft-hover: rgba(255, 255, 255, 0.06);
  --input-bg: rgba(0, 0, 0, 0.35);
  --nav-bg: rgba(4, 6, 10, 0.82);
  --wash: 4, 6, 10;
}
:root[data-theme="dark"] { color-scheme: dark; }
.code-surface { color: var(--fg); }
:root {
  --radius: 14px;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --sans: "Space Grotesk", system-ui, sans-serif;
  --wrap: 1180px;
  --pad: max(24px, calc((100vw - var(--wrap)) / 2));
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--acc); color: #000; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }

/* 3D scene: lives behind the hero, fades out as you scroll (opacity set in main.js) */
#scene { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; display: block; transition: opacity .2s linear; }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 30; }
#progress-bar { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--acc), var(--acc2), var(--acc3)); }

/* nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px var(--pad);
  transition: background .3s, border-color .3s, padding .3s;
  border-bottom: 1px solid transparent;
}
.nav.solid {
  background: var(--nav-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line); padding-top: 12px; padding-bottom: 12px;
}
.logo { font: 800 19px var(--mono); color: var(--fg); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.logo img { height: 32px; width: auto; filter: drop-shadow(0 0 10px rgba(0,255,163,0.35)); }
.logo .br { color: var(--acc); }
/* the neon brand artwork washes out on light backgrounds */
:root:not([data-theme="dark"]) .logo img,
:root:not([data-theme="dark"]) .foot-logo { filter: brightness(.55) saturate(1.8) contrast(1.2); }
.nav nav { display: flex; align-items: center; gap: 28px; margin-left: auto; margin-right: 14px; }
.nav nav a:not(.btn) { font: 500 15px var(--sans); color: var(--body); text-decoration: none; transition: color .2s; }
.nav nav a:not(.btn):hover, .nav nav a.on { color: var(--fg); }
.menu-btn { display: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.theme-btn {
  width: 40px; height: 40px; display: grid; place-items: center; cursor: pointer;
  background: var(--soft); border: 1px solid var(--line); border-radius: 10px; color: var(--fg);
  transition: background .2s, border-color .2s;
}
.theme-btn:hover { background: var(--soft-hover); }
.theme-btn svg { width: 18px; height: 18px; }
.theme-btn .moon, [data-theme="dark"] .theme-btn .sun { display: none; }
[data-theme="dark"] .theme-btn .moon { display: block; }

/* layout */
main { position: relative; z-index: 3; }
.panel { padding: 120px var(--pad); position: relative; }
.panel + .panel { border-top: 1px solid var(--line); }
#services, #process, #faq { background: var(--bg2); }
.sec-head { max-width: 720px; margin-bottom: 56px; }
.kicker { font: 600 13px var(--mono); color: var(--acc); margin-bottom: 16px; letter-spacing: .5px; display: flex; align-items: center; gap: 10px; }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 4px rgba(0,255,163,0.15); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(0,255,163,0); } }
h1, h2, h3 { font-family: var(--sans); font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(42px, 6.2vw, 84px); line-height: 1.02; letter-spacing: -0.035em; }
h2 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.08; margin-bottom: 18px; }
h3 { font-size: 22px; line-height: 1.2; }
.lead { font-size: 18px; line-height: 1.65; color: var(--body); max-width: 60ch; }
.grad { background: linear-gradient(90deg, var(--acc), var(--acc2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px var(--sans); text-decoration: none; cursor: pointer;
  color: var(--fg); padding: 14px 24px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--soft);
  transition: border-color .2s, background .2s, box-shadow .2s, transform .2s, filter .2s;
}
.btn:hover { border-color: rgba(148,170,200,0.4); background: var(--soft-hover); transform: translateY(-1px); }
.btn.primary { background: var(--acc); color: var(--on-acc); border-color: var(--acc); }
.btn.primary:hover { background: var(--acc); box-shadow: 0 8px 30px color-mix(in srgb, var(--acc) 35%, transparent); filter: brightness(1.1); }
.btn.sm { padding: 9px 16px; font-size: 14px; }
.btn.big { padding: 16px 30px; font-size: 16px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.link { font: 600 14px var(--sans); color: var(--acc); text-decoration: none; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* window chrome reused by code blocks, browser shots, booking */
.bar {
  display: flex; align-items: center; gap: 7px; padding: 11px 14px;
  border-bottom: 1px solid var(--line); font: 12px var(--mono); color: var(--dim);
}
.bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; flex: none; }
.bar i:nth-child(2) { background: #febc2e; } .bar i:nth-child(3) { background: #28c840; }
.bar span { margin-left: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* hero */
.hero {
  min-height: 100vh; padding: 130px var(--pad) 90px;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; position: relative;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 70% 80% at 20% 50%, rgba(var(--wash),0.88), rgba(var(--wash),0.45) 60%, transparent 85%);
}
.hero h1 { margin-bottom: 24px; }
.proof { display: flex; gap: 36px; list-style: none; margin-top: 48px; flex-wrap: wrap; }
.proof li { display: flex; flex-direction: column; gap: 2px; }
.proof b { font: 800 30px var(--mono); color: var(--fg); }
.proof span { font-size: 13px; color: var(--dim); }
.hero-code {
  background: rgba(5, 9, 15, 0.86); border: 1px solid var(--line); border-radius: var(--radius);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(0,255,163,0.05);
  overflow: hidden;
}
.typed { font: 14px/1.75 var(--mono); color: var(--fg); min-height: 15em; white-space: pre-wrap; padding: 20px 22px; }
.typed .k { color: #c99bff; } .typed .s { color: var(--acc); } .typed .c { color: var(--dim); } .typed .f { color: var(--acc2); }
.caret { color: var(--acc); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* tech strip */
.strip {
  position: relative; z-index: 3; background: var(--bg);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 26px var(--pad); display: flex; align-items: center; gap: 32px;
}
.strip p { font: 600 12px var(--mono); color: var(--dim); text-transform: uppercase; letter-spacing: 1.5px; white-space: nowrap; }
.strip ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.strip li { font: 500 15px var(--mono); color: var(--body); }

/* services */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px;
}
.plan.featured { border-color: var(--line-acc); box-shadow: 0 0 0 1px var(--line-acc), 0 30px 70px rgba(0,120,80,0.08); }
.plan-badge { position: absolute; top: -12px; left: 28px; font: 600 11px var(--mono); text-transform: uppercase; letter-spacing: 1px; background: var(--acc); color: var(--on-acc); padding: 4px 10px; border-radius: 99px; }
.plan-name { font: 600 13px var(--mono); color: var(--acc2); text-transform: uppercase; letter-spacing: 1px; }
.price { color: var(--dim); font-size: 15px; }
.price b { font: 700 30px var(--sans); color: var(--fg); letter-spacing: -0.02em; }
.plan-time { font: 600 13px var(--mono); color: var(--acc); margin-top: -8px; }
.plan > p:not([class]) { color: var(--body); line-height: 1.6; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); margin-bottom: 10px; }
.plan li { color: var(--fg); font-size: 15px; padding-left: 26px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--acc); font-weight: 700; }
.plan .btn { margin-top: auto; }

/* case studies */
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.case {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .3s, transform .3s;
}
.case:hover { border-color: var(--line-acc); transform: translateY(-3px); }
.browser { display: flex; flex-direction: column; text-decoration: none; color: inherit; border-bottom: 1px solid var(--line); }
.shot { position: relative; overflow: hidden; background: #050a12; aspect-ratio: 16 / 10; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.case:hover .shot img { transform: scale(1.03); }
.meta { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.tag { font: 600 12px var(--mono); color: var(--acc); text-transform: uppercase; letter-spacing: 1.5px; }
.meta h3 { font-size: 26px; }
.meta dl { display: grid; grid-template-columns: 92px 1fr; gap: 8px 14px; font-size: 15px; line-height: 1.55; }
.meta dt { font: 600 12px/1.9 var(--mono); color: var(--dim); text-transform: uppercase; letter-spacing: .5px; }
.meta dd { color: var(--body); }
.chips { display: flex; gap: 8px; list-style: none; flex-wrap: wrap; }
.chips li { font: 12px var(--mono); padding: 5px 10px; border: 1px solid var(--line); border-radius: 99px; color: var(--acc2); }
.meta .link { margin-top: auto; padding-top: 6px; }

/* "next project" live build card */
.nextbuild { border-style: dashed; background: rgba(4,8,14,0.9); }
.nextbuild:hover { transform: none; }
.nb-tab { color: var(--fg) !important; }
.nb-tab b { color: var(--acc3); font-weight: 400; }
.nb-live { margin-left: auto !important; font-size: 11px; color: #febc2e; transition: color .3s; }
.nb-live.ok { color: var(--acc); }
.nb-editor { display: flex; font: 12.5px/1.75 var(--mono); padding: 14px 0; border-bottom: 1px solid var(--line); min-height: 196px; }
.nb-gutter { width: 40px; text-align: right; padding-right: 12px; color: rgba(107,122,144,0.5); user-select: none; }
.nb-gutter div.on { color: var(--acc); }
.nb-code { margin: 0; flex: 1; white-space: pre; overflow: hidden; color: var(--fg); }
.nb-code .k { color: var(--acc3); } .nb-code .t { color: var(--acc2); } .nb-code .s { color: var(--acc); }
.nb-code .a { color: #febc2e; } .nb-code .c { color: var(--dim); }
.nb-caret { display: inline-block; width: 7px; height: 1.1em; background: var(--acc); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
.nb-preview { padding: 14px 18px; border-bottom: 1px solid var(--line); }
.nb-url { font: 11px var(--mono); color: var(--dim); background: rgba(0,0,0,0.4); border: 1px solid var(--line); border-radius: 6px; padding: 5px 10px; margin-bottom: 10px; }
.nb-url b { color: var(--acc2); font-weight: 400; transition: color .3s; }
.nb-url.ok b { color: var(--acc); }
.nb-page { position: relative; height: 150px; border: 1px solid var(--line); border-radius: 6px; background: linear-gradient(160deg, rgba(0,200,255,0.05), rgba(180,107,255,0.05)); padding: 10px 12px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.nb-page::after { content: ""; position: absolute; left: 0; right: 0; height: 30%; top: -30%; background: linear-gradient(transparent, rgba(0,255,163,0.12), transparent); animation: scan 2.6s linear infinite; }
@keyframes scan { to { top: 100%; } }
.nb-blk { opacity: 0; transform: translateY(8px) scale(.98); transition: opacity .5s ease, transform .5s cubic-bezier(.2,.8,.2,1); }
.nb-blk.on { opacity: 1; transform: none; }
.nb-blk span, .nb-blk i { display: block; background: rgba(215,227,244,0.16); border-radius: 2px; }
.nb-blk.on span, .nb-blk.on i { animation: shimmer 1.6s ease-in-out 1; }
@keyframes shimmer { 0% { background: var(--acc); box-shadow: 0 0 12px var(--acc); } 100% { background: rgba(215,227,244,0.16); box-shadow: none; } }
.nb-nav { display: flex; align-items: center; gap: 8px; }
.nb-nav i { width: 14px; height: 14px; border-radius: 50%; margin-right: auto; }
.nb-nav span { width: 30px; height: 5px; }
.nb-hero { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 4px; }
.nb-h1 { width: 62%; height: 12px; } .nb-h2 { width: 40%; height: 6px; }
.nb-btns { display: flex; justify-content: center; gap: 8px; }
.nb-btns span { width: 52px; height: 13px; }
.nb-btns span:first-child { background: rgba(0,255,163,0.45); }
.nb-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; flex: 1; }
.nb-cards span { height: 100%; min-height: 26px; }
.nb-term { padding: 12px 18px; font: 12px/1.6 var(--mono); color: var(--dim); }
.nb-term p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nb-term p span { color: var(--fg); }
.nb-term p .ok { color: var(--acc); }
.nb-prog { height: 3px; background: rgba(255,255,255,0.06); margin-top: 8px; overflow: hidden; border-radius: 3px; }
.nb-prog span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--acc3), var(--acc2), var(--acc)); transition: width .4s ease; }
.nb-cta { margin-top: auto; padding: 16px 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; border-top: 1px dashed var(--line); }
.nb-cta p { font: 12px var(--mono); color: var(--dim); }
.nb-cta p b { color: var(--fg); font-weight: 400; }

/* testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.quote { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 22px; }
.quote blockquote { font-size: 18px; line-height: 1.6; color: var(--fg); }
.quote blockquote::before { content: "“"; display: block; font: 700 48px/0.6 var(--sans); color: var(--acc); margin-bottom: 14px; }
.quote figcaption { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.quote figcaption span { color: var(--dim); }

/* process */
.process { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.steps { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps b { font: 600 13px var(--mono); color: var(--acc); }
.steps h3 { margin: 10px 0 8px; font-size: 20px; }
.steps p { color: var(--body); font-size: 15px; line-height: 1.6; }
.terminal { background: rgba(2,6,10,0.9); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; position: sticky; top: 100px; }
.term-body { padding: 22px; font: 13.5px/1.9 var(--mono); min-height: 320px; }
.term-body .p { color: var(--acc); } .term-body .ok { color: #28c840; }
.term-body .d { color: var(--dim); } .term-body .h { color: var(--acc2); }

/* booking */
.booking { max-width: 980px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.bk-body { padding: 24px; }
.bk-label { font: 13px var(--mono); color: var(--acc); margin-bottom: 14px; }
.bk-label span { color: var(--dim); }
.bk-empty { font: 13px var(--mono); color: var(--dim); }
.bk-dates { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 12px; margin-bottom: 18px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.bk-date {
  flex: 0 0 auto; width: 78px; padding: 12px 6px; display: flex; flex-direction: column; align-items: center; gap: 2px;
  background: var(--input-bg); border: 1px solid var(--line); border-radius: 10px; color: var(--fg); cursor: pointer; font-family: var(--mono);
  transition: border-color .2s, background .2s;
}
.bk-date small { font-size: 11px; color: var(--dim); text-transform: uppercase; }
.bk-date b { font-size: 24px; font-weight: 800; }
.bk-date i { font-style: normal; font-size: 10px; color: var(--acc2); margin-top: 4px; }
.bk-date:hover { border-color: var(--acc2); }
.bk-date.on { border-color: var(--acc); background: color-mix(in srgb, var(--acc) 10%, transparent); }
.bk-date.on b { color: var(--acc); }
.bk-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.bk-times .bk-label { grid-column: 1 / -1; margin-bottom: 4px; }
.bk-time { padding: 11px 6px; font: 13px var(--mono); background: transparent; color: var(--fg); border: 1px solid var(--line); border-radius: 8px; cursor: pointer; transition: all .2s; }
.bk-time:hover { border-color: var(--acc); color: var(--acc); }
.bk-time.on { background: var(--acc); color: var(--on-acc); border-color: var(--acc); font-weight: 600; }
.bk-form { margin-top: 24px; padding-top: 22px; border-top: 1px dashed var(--line); }
.bk-picked { font: 13px var(--mono); color: var(--dim); }
.bk-picked b { color: var(--acc2); font-weight: 400; }
#bk-status { margin-top: 14px; }

/* faq */
.faq { max-width: 860px; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s; }
.faq details[open] { border-color: var(--line-acc); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 24px; font-size: 18px; font-weight: 600; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 24px/1 var(--mono); color: var(--acc); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--body); line-height: 1.7; max-width: 70ch; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.snippet { margin-top: 30px; font: 15px var(--mono); color: var(--fg); padding: 16px 18px; background: #070b12; border: 1px solid var(--line); border-left: 2px solid var(--acc); border-radius: 8px; overflow-x: auto; }
.snippet .k { color: var(--acc3); } .snippet .f { color: var(--acc2); } .snippet .s { color: var(--acc); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.cform { display: flex; flex-direction: column; gap: 18px; }
.cform[hidden] { display: none; }
.cform input:-webkit-autofill, .cform input:-webkit-autofill:hover, .cform input:-webkit-autofill:focus, .cform textarea:-webkit-autofill {
  -webkit-text-fill-color: var(--fg);
  -webkit-box-shadow: 0 0 0 1000px var(--bg2) inset;
  box-shadow: 0 0 0 1000px var(--bg2) inset;
  caret-color: var(--acc);
  transition: background-color 9999s ease-out 0s;
}
.crow { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cform label { display: flex; flex-direction: column; gap: 8px; }
.cform label span { font: 500 14px var(--sans); color: var(--body); }
.cform input, .cform textarea {
  font: 15px var(--sans); color: var(--fg); background: var(--input-bg);
  border: 1px solid var(--line); border-radius: 10px; padding: 13px 15px; outline: none; resize: vertical; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.cform input::placeholder, .cform textarea::placeholder { color: var(--dim); }
.cform input:focus, .cform textarea:focus { border-color: var(--acc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--acc) 18%, transparent); }
.cform .btn { align-self: flex-start; }
.cform .btn:disabled { opacity: .6; cursor: wait; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cstatus { font: 13px var(--mono); min-height: 1.4em; }
.cstatus.ok { color: var(--acc); } .cstatus.err { color: #ff6b6b; }

/* footer */
.foot { position: relative; z-index: 3; background: var(--bg); border-top: 1px solid var(--line); padding: 48px var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-logo { width: 120px; opacity: .9; }
.foot nav { display: flex; gap: 24px; flex-wrap: wrap; }
.foot nav a { color: var(--body); text-decoration: none; font-size: 14px; }
.foot nav a:hover { color: var(--acc); }
.foot p { font: 12px var(--mono); color: var(--dim); }

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; padding-top: 120px; gap: 40px; }
  .hero-code { max-width: 620px; }
  .plans { grid-template-columns: 1fr; max-width: 560px; }
  .process, .contact-grid { grid-template-columns: 1fr; }
  .terminal { position: static; }
}
@media (max-width: 860px) {
  .menu-btn {
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 42px; height: 42px; padding: 0 10px; background: transparent; border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
  }
  .menu-btn span { display: block; height: 2px; background: var(--fg); transition: transform .25s; }
  .theme-btn { width: 42px; height: 42px; }
  .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav { background: var(--nav-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); padding: 12px 16px; }
  .nav nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 18px;
    display: none;
  }
  .nav nav.open { display: flex; }
  .nav nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav nav .btn { margin-top: 14px; padding: 13px; font-size: 15px; }
  .panel { padding: 80px 16px; }
  .hero { padding: 104px 16px 64px; min-height: auto; }
  .strip { padding: 22px 16px; flex-direction: column; align-items: flex-start; gap: 12px; }
  .sec-head { margin-bottom: 36px; }
  .lead { font-size: 16px; }
  .cases, .steps, .crow { grid-template-columns: 1fr; }
  .proof { gap: 24px; margin-top: 36px; }
  .proof b { font-size: 24px; }
  .typed { font-size: 12px; min-height: 13em; padding: 16px; }
  .cta-row .btn { flex: 1 1 100%; }
  .meta { padding: 22px 20px 24px; }
  .meta dl { grid-template-columns: 1fr; gap: 2px; }
  .meta dd { margin-bottom: 8px; }
  .card { padding: 22px 18px; }
  .cform .btn { width: 100%; }
  .bk-body { padding: 16px; }
  .bk-times { grid-template-columns: repeat(3, 1fr); }
  .bk-time { font-size: 12px; padding: 10px 2px; }
  .term-body { padding: 16px 14px; font-size: 12px; line-height: 1.7; min-height: 0; }
  .term-body div { white-space: pre-wrap; word-break: break-word; }
  .snippet { font-size: 13px; white-space: pre-wrap; word-break: break-word; }
  .faq summary { padding: 18px; font-size: 16px; }
  .faq details p { padding: 0 18px 18px; }
  .foot { padding: 36px 16px; flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: none; opacity: 1; transform: none; }
  .kicker .dot, .caret, .nb-page::after { animation: none; }
}
