:root {
  color-scheme: dark;
  --bg: #0a0c0d;
  --surface: #111416;
  --surface-raised: #171b1d;
  --surface-soft: #0e1112;
  --ink: #f2f1e9;
  --muted: #9ba3a0;
  --faint: #69716e;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.2);
  --accent: #d8ff5f;
  --accent-ink: #152000;
  --accent-soft: rgba(216, 255, 95, 0.1);
  --blue: #7dd3fc;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --inset: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  --radius: 18px;
  --shell: 1180px;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f2f1e9;
  --surface: #fbfaf5;
  --surface-raised: #ffffff;
  --surface-soft: #e8e8df;
  --ink: #151817;
  --muted: #59615d;
  --faint: #7b837f;
  --line: rgba(17, 24, 21, 0.13);
  --line-strong: rgba(17, 24, 21, 0.24);
  --accent: #a8d800;
  --accent-ink: #172000;
  --accent-soft: rgba(132, 174, 0, 0.11);
  --blue: #0369a1;
  --shadow: 0 24px 70px rgba(46, 52, 49, 0.15);
  --inset: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
svg { display: block; }
[hidden] { display: none !important; }

.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; transform: translateY(-150%); padding: 9px 14px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.skip-link:focus { transform: translateY(0); }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.section-pad { padding: 112px 0; }
.kicker { display: block; margin-bottom: 13px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.035em; line-height: 1.05; }
h1 { margin-bottom: 26px; font-size: clamp(54px, 6.2vw, 88px); font-weight: 750; }
h2 { margin-bottom: 22px; font-size: clamp(40px, 4.5vw, 64px); font-weight: 720; }
h3 { margin-bottom: 14px; font-size: 23px; }
p { color: var(--muted); }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 84%, transparent); backdrop-filter: blur(20px); }
.nav-shell { display: flex; min-height: 72px; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 850; letter-spacing: .18em; }
.brand-mark { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; background: linear-gradient(145deg, var(--surface-raised), var(--surface-soft)); box-shadow: var(--inset), 0 4px 12px rgba(0,0,0,.16); color: var(--accent); font: 800 16px/1 ui-monospace, monospace; letter-spacing: 0; }
.main-nav { display: flex; margin-left: auto; align-items: center; gap: 26px; }
.main-nav a { color: var(--muted); font-size: 14px; font-weight: 600; }
.main-nav a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-button { display: inline-grid; width: 38px; height: 38px; padding: 0; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: linear-gradient(180deg, var(--surface-raised), var(--surface)); box-shadow: var(--inset); color: var(--muted); cursor: pointer; }
.icon-button:hover { border-color: var(--line-strong); color: var(--ink); }
.icon-button svg { width: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.7; }
.menu-button { display: none; }
.button { display: inline-flex; min-height: 40px; padding: 0 17px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; font-weight: 750; line-height: 1; transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { border-color: color-mix(in srgb, var(--accent) 65%, #fff 10%); background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 92%, #fff), var(--accent)); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 8px 24px color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent-ink); }
.button-secondary { background: linear-gradient(180deg, var(--surface-raised), var(--surface-soft)); box-shadow: var(--inset); }
.button-quiet { border-color: transparent; color: var(--muted); }
.button-large { min-height: 50px; padding-inline: 23px; border-radius: 12px; font-size: 15px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 750; }
.text-link span { color: var(--accent); transition: transform .16s ease; }
.text-link:hover span { transform: translateX(3px); }

.hero { position: relative; min-height: 760px; overflow: hidden; padding-top: 98px; }
.hero-glow { position: absolute; top: -280px; left: calc(50% - 120px); width: 860px; height: 680px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 12%, transparent), transparent 68%); filter: blur(6px); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, .92fr) minmax(500px, 1.08fr); align-items: center; gap: 62px; }
.hero-copy { padding-bottom: 18px; }
.eyebrow { display: inline-flex; margin-bottom: 28px; padding: 7px 11px; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-soft); color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .03em; }
.status-light { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.hero h1 span { color: var(--accent); }
.hero-lede { max-width: 620px; margin-bottom: 31px; font-size: 19px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 24px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 50px 0 0; padding-top: 24px; border-top: 1px solid var(--line); gap: 22px; }
.hero-facts div { min-width: 0; }
.hero-facts dt { color: var(--faint); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero-facts dd { margin: 5px 0 0; color: var(--ink); font-size: 13px; font-weight: 650; white-space: nowrap; }

.machine-wrap { position: relative; perspective: 1200px; }
.machine-shadow { position: absolute; inset: 12% 7% -7%; border-radius: 32px; background: rgba(0,0,0,.58); filter: blur(30px); transform: translateY(25px); }
.machine { position: relative; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 19px; background: #111516; box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.11), inset 0 -1px 0 rgba(0,0,0,.6); transform: rotateY(-2deg) rotateX(1deg); }
.machine-bar { display: grid; grid-template-columns: 1fr auto 1fr; min-height: 47px; padding: 0 15px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.09); background: linear-gradient(180deg, #1d2223, #171b1c); color: #929b97; font: 600 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.machine-lights { display: flex; gap: 6px; }
.machine-lights span { width: 9px; height: 9px; border-radius: 50%; background: #424a48; box-shadow: inset 0 1px 2px rgba(0,0,0,.6); }
.machine-lights span:first-child { background: #d8ff5f; }
.machine-state { display: flex; justify-self: end; align-items: center; gap: 6px; color: #b9c2be; }
.machine-state span { width: 6px; height: 6px; border-radius: 50%; background: #d8ff5f; box-shadow: 0 0 9px rgba(216,255,95,.65); }
.machine-screen { min-height: 360px; padding: 29px 29px 34px; background: radial-gradient(circle at 70% 10%, rgba(125,211,252,.055), transparent 34%), #0b0e0f; color: #d9dedb; font: 13px/1.75 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.screen-line { overflow-wrap: anywhere; }
.screen-line.muted, .table-head { color: #66706c; }
.screen-line.ok, .prompt { color: #d8ff5f; }
.screen-line.output { color: #7dd3fc; }
.screen-gap { height: 17px; }
.cursor-line { display: flex; align-items: center; gap: 8px; }
.cursor { width: 7px; height: 15px; background: #d8ff5f; animation: blink 1.1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.machine-dials { display: grid; grid-template-columns: repeat(4, 1fr); padding: 15px 18px 18px; gap: 11px; border-top: 1px solid rgba(255,255,255,.08); background: linear-gradient(180deg, #171b1c, #121617); }
.machine-dials div { position: relative; display: grid; grid-template-columns: 1fr auto; padding-bottom: 9px; gap: 4px 8px; }
.machine-dials span { color: #69736f; font: 700 9px/1 ui-monospace, monospace; }
.machine-dials strong { color: #c3cbc7; font: 650 10px/1 ui-monospace, monospace; }
.machine-dials i { position: absolute; right: 0; bottom: 0; left: 0; height: 3px; overflow: hidden; border-radius: 2px; background: #262d2b; }
.machine-dials i::after { position: absolute; inset: 0 auto 0 0; background: #d8ff5f; content: ""; }
.machine-dials .level-18::after { width: 18%; }
.machine-dials .level-22::after { width: 22%; }
.machine-dials .level-32::after { width: 32%; }
.machine-dials .level-48::after { width: 48%; }

.proof-strip { border-block: 1px solid var(--line); background: var(--surface-soft); }
.proof-row { display: flex; min-height: 88px; align-items: center; justify-content: space-between; gap: 30px; }
.proof-row p { margin: 0; color: var(--faint); font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .12em; }
.proof-row ul { display: flex; margin: 0; padding: 0; flex-wrap: wrap; justify-content: flex-end; gap: 12px 28px; list-style: none; }
.proof-row li { color: var(--muted); font: 700 14px/1 ui-monospace, SFMono-Regular, monospace; }

.section-heading { margin-bottom: 54px; }
.split-heading { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 70px; }
.split-heading h2 { margin: 0; }
.split-heading p { max-width: 520px; margin: 0 0 4px; font-size: 18px; }
.centred-heading { max-width: 760px; margin-inline: auto; text-align: center; }
.centred-heading p { margin-inline: auto; font-size: 18px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature { position: relative; min-height: 270px; padding: 31px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, var(--surface-raised), var(--surface)); box-shadow: var(--inset); }
.feature-wide { display: grid; min-height: 330px; grid-column: 1 / -1; grid-template-columns: auto minmax(0, 1fr) minmax(340px, .8fr); align-items: start; gap: 22px; }
.feature p { max-width: 560px; margin-bottom: 0; }
.feature-icon { display: grid; width: 42px; height: 42px; margin-bottom: 55px; place-items: center; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-soft); box-shadow: var(--inset); color: var(--accent); }
.feature-icon svg { width: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.feature-wide .feature-icon { margin: 0; }
.isolation-visual { align-self: stretch; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-soft); }
.isolation-visual > span { color: var(--faint); font: 750 9px/1 ui-monospace, monospace; letter-spacing: .16em; }
.isolation-visual div { display: grid; height: calc(100% - 24px); grid-template-columns: repeat(3, 1fr); align-items: center; gap: 9px; }
.isolation-visual i { display: grid; aspect-ratio: 1; place-items: center; border: 1px solid color-mix(in srgb, var(--accent) 42%, var(--line)); border-radius: 11px; background: var(--accent-soft); color: var(--accent); font: 700 10px/1 ui-monospace, monospace; font-style: normal; }

.section-tint { border-block: 1px solid var(--line); background: var(--surface-soft); }
.developer-grid { display: grid; grid-template-columns: .78fr 1.22fr; align-items: center; gap: 82px; }
.developer-copy > p { max-width: 520px; font-size: 18px; }
.check-list { display: grid; margin: 31px 0 36px; padding: 0; gap: 13px; list-style: none; }
.check-list li { position: relative; padding-left: 27px; color: var(--muted); }
.check-list li::before { position: absolute; top: .45em; left: 0; width: 13px; height: 8px; border-bottom: 2px solid var(--accent); border-left: 2px solid var(--accent); transform: rotate(-45deg); content: ""; }
.code-card { overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #0b0e0f; box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.08); }
.code-tabs { display: flex; min-height: 51px; padding: 0 15px; align-items: end; gap: 3px; border-bottom: 1px solid rgba(255,255,255,.09); background: #171b1c; }
.code-tabs button { min-width: 84px; padding: 16px 17px 13px; border: 0; border-bottom: 2px solid transparent; background: none; color: #7f8985; cursor: pointer; font-size: 12px; font-weight: 750; }
.code-tabs button[aria-selected="true"] { border-color: #d8ff5f; color: #eef2ef; }
.code-window { position: relative; min-height: 376px; }
.code-window pre { margin: 0; padding: 31px; overflow: auto; color: #d5dcd8; font: 12.5px/1.75 ui-monospace, SFMono-Regular, Menlo, monospace; tab-size: 4; }
.code-window .comment { color: #65706b; }
.code-window .accent { color: #d8ff5f; }
.code-window .keyword { color: #c4a7e7; }
.code-window .string { color: #7dd3fc; }
.copy-button { position: absolute; top: 15px; right: 15px; z-index: 2; display: grid; width: 34px; height: 34px; padding: 0; place-items: center; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; background: #15191a; color: #7e8884; cursor: pointer; }
.copy-button:hover { color: #d8ff5f; }
.copy-button svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.code-footer { padding: 12px 18px; border-top: 1px solid rgba(255,255,255,.08); background: #121617; color: #79837e; font: 600 10px/1.3 ui-monospace, monospace; }
.code-footer span { display: flex; align-items: center; gap: 8px; }
.code-footer i { width: 6px; height: 6px; border-radius: 50%; background: #d8ff5f; }

.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); align-items: stretch; gap: 12px; }
.price-card { position: relative; display: flex; min-height: 420px; padding: 26px; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(155deg, var(--surface-raised), var(--surface)); box-shadow: var(--inset); }
.price-card header { padding-bottom: 21px; border-bottom: 1px solid var(--line); }
.price-card header > span { color: var(--muted); font-size: 13px; font-weight: 750; }
.price-card header p { display: flex; margin: 14px 0 0; align-items: baseline; color: var(--ink); }
.price-card header strong { font-size: 39px; letter-spacing: -.055em; line-height: 1; }
.price-card header small { margin-left: 6px; color: var(--faint); }
.allowance { display: flex; padding: 23px 0 21px; flex-direction: column; }
.allowance b { font-size: 19px; }
.allowance span { color: var(--faint); font-size: 12px; }
.price-card ul { display: grid; margin: 0 0 27px; padding: 0; gap: 9px; list-style: none; }
.price-card li { color: var(--muted); font-size: 13px; }
.price-card li::before { margin-right: 8px; color: var(--accent); content: "·"; }
.price-card .button { width: 100%; margin-top: auto; }
.price-featured { border-color: color-mix(in srgb, var(--accent) 48%, var(--line)); box-shadow: var(--inset), 0 18px 55px var(--accent-soft); }
.popular { position: absolute; top: 15px; right: 15px; padding: 5px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 9px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.pricing-note { display: grid; grid-template-columns: 1fr 1fr; margin-top: 18px; padding: 22px 25px; align-items: center; gap: 40px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-soft); }
.pricing-note div { display: flex; flex-direction: column; }
.pricing-note strong { font-size: 14px; }
.pricing-note span, .pricing-note p { color: var(--faint); font-size: 12px; }
.pricing-note p { margin: 0; text-align: right; }

.section-dark { background: #090b0c; color: #f2f1e9; }
.security-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 95px; }
.security-grid > div > p { max-width: 480px; color: #939d98; font-size: 18px; }
.light-link { color: #f2f1e9; }
.security-list { margin: 0; }
.security-list div { display: grid; grid-template-columns: .55fr 1fr; padding: 27px 0; gap: 32px; border-top: 1px solid rgba(255,255,255,.12); }
.security-list div:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.security-list dt { color: #eef2ef; font-weight: 750; }
.security-list dd { margin: 0; color: #929c97; }

.final-cta { padding-block: 92px; }
.cta-panel { position: relative; display: grid; padding: 53px 58px; overflow: hidden; grid-template-columns: 1fr auto; align-items: end; gap: 50px; border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line)); border-radius: 22px; background: radial-gradient(circle at 82% -20%, var(--accent-soft), transparent 45%), linear-gradient(150deg, var(--surface-raised), var(--surface)); box-shadow: var(--inset), var(--shadow); }
.cta-panel h2 { margin-bottom: 0; font-size: clamp(36px, 4vw, 55px); }
.cta-panel > div:last-child { display: flex; align-items: flex-end; flex-direction: column; }
.cta-panel p { max-width: 270px; margin: 13px 0 0; color: var(--faint); font-size: 11px; text-align: right; }

.site-footer { padding: 61px 0 27px; border-top: 1px solid var(--line); background: var(--surface-soft); }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); padding-bottom: 50px; gap: 52px; }
.footer-grid > div { display: flex; align-items: flex-start; flex-direction: column; gap: 9px; }
.footer-grid > div:first-child p { margin: 8px 0 0; font-size: 13px; }
.footer-grid > div > span { margin-bottom: 7px; color: var(--ink); font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.footer-grid > div > a:not(.brand) { color: var(--muted); font-size: 13px; }
.footer-grid > div > a:hover { color: var(--ink); }
.footer-bottom { display: flex; padding-top: 24px; justify-content: space-between; border-top: 1px solid var(--line); color: var(--faint); font-size: 11px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

@media (max-width: 1040px) {
  .main-nav { gap: 17px; }
  .nav-actions .button-quiet { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 75px; }
  .hero-copy { max-width: 780px; }
  .machine-wrap { max-width: 720px; }
  .feature-wide { grid-template-columns: auto 1fr; }
  .isolation-visual { grid-column: 1 / -1; min-height: 180px; }
  .isolation-visual div { height: 130px; }
  .developer-grid { grid-template-columns: 1fr; gap: 55px; }
  .developer-copy { max-width: 720px; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .section-pad { padding: 80px 0; }
  .nav-shell { min-height: 64px; gap: 10px; }
  .menu-button { display: inline-grid; margin-left: auto; }
  .theme-button { display: none; }
  .main-nav { position: absolute; top: 64px; right: 14px; left: 14px; display: none; padding: 13px; align-items: stretch; flex-direction: column; gap: 2px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-raised); box-shadow: var(--shadow); }
  .main-nav[data-open="true"] { display: flex; }
  .main-nav a { padding: 10px 12px; border-radius: 8px; }
  .main-nav a:hover { background: var(--surface-soft); }
  .nav-actions .button-primary { min-height: 38px; padding-inline: 13px; font-size: 12px; }
  .hero { min-height: auto; padding-top: 61px; }
  .hero-grid { gap: 48px; }
  h1 { font-size: clamp(48px, 15vw, 70px); }
  .hero-lede { font-size: 17px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-facts { grid-template-columns: 1fr; gap: 16px; }
  .machine { transform: none; }
  .machine-screen { min-height: 330px; padding: 22px 18px; font-size: 11px; }
  .machine-dials { grid-template-columns: repeat(2, 1fr); }
  .proof-row { padding-block: 23px; align-items: flex-start; flex-direction: column; gap: 14px; }
  .proof-row ul { justify-content: flex-start; }
  .split-heading { grid-template-columns: 1fr; gap: 10px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-wide { grid-column: auto; grid-template-columns: 1fr; }
  .feature-wide .feature-icon { margin-bottom: 20px; }
  .isolation-visual { grid-column: auto; }
  .developer-grid { gap: 42px; }
  .code-window { min-height: 410px; }
  .code-window pre { padding: 25px 18px; font-size: 11px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-note { grid-template-columns: 1fr; gap: 12px; }
  .pricing-note p { text-align: left; }
  .security-grid { grid-template-columns: 1fr; gap: 48px; }
  .security-list div { grid-template-columns: 1fr; gap: 7px; }
  .cta-panel { padding: 38px 27px; grid-template-columns: 1fr; align-items: start; }
  .cta-panel > div:last-child { align-items: flex-start; }
  .cta-panel p { text-align: left; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 440px) {
  .brand-word { display: none; }
  .nav-actions .button-primary { padding-inline: 11px; }
  .price-card { min-height: 390px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
}

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