:root {
  --bg: #07080c;
  --panel: rgba(255,255,255,.025);
  --fg: #eef0f4;
  --muted: #8a8f9c;
  --accent: #7cf0d0;
  --line: rgba(255,255,255,.09);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--fg);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
canvas#field { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; }
.glow { position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(60vmax 40vmax at 50% 30%, rgba(124,240,208,.08), transparent 70%); }
.nav, .hero, main, .foot { position: relative; z-index: 1; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: clamp(16px, 5vw, 48px); padding-right: clamp(16px, 5vw, 48px); }

/* nav */
.nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; padding-bottom: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { height: 30px; width: auto; display: block; }
.wordmark { font-family: var(--serif); font-size: 24px; line-height: 1; letter-spacing: -.01em; white-space: nowrap; }
.wordmark em { font-style: italic; color: var(--accent); }
@media (max-width: 420px) { .brand { gap: 8px; } .brand-mark { height: 24px; } .wordmark { font-size: 19px; } }
.nav .links { display: flex; align-items: center; gap: 24px; font-size: 14px; color: var(--muted); }
.nav .links a:not(.btn):hover { color: var(--fg); }
@media (max-width: 720px) { .nav .links a:not(.btn) { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #04110d; font-weight: 600; font-size: 15px; padding: 12px 20px; border-radius: 999px; border: 0; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(124,240,208,.25); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-sm { padding: 8px 16px; font-size: 13px; color: #04110d !important; }
.btn-ghost { background: transparent; color: var(--fg); border: 1px solid var(--line); }
.btn-ghost:hover { box-shadow: none; border-color: rgba(255,255,255,.25); }

/* hero */
.hero { min-height: calc(100vh - 88px); min-height: calc(100svh - 88px); display: flex; flex-direction: column; justify-content: center; padding-bottom: 80px; }
.kicker { font-family: var(--mono); font-size: 13px; color: var(--accent); letter-spacing: .08em; margin-bottom: 28px; }
h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(52px, 10vw, 148px); line-height: .95; letter-spacing: -.02em; }
h1 em, h2 em { font-style: italic; color: var(--accent); }
.lead { margin-top: 32px; max-width: 580px; font-size: 18px; color: var(--muted); }
.cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }

/* sections */
.section { padding-top: 96px; padding-bottom: 32px; }
.label { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5vw, 60px); line-height: 1.05; letter-spacing: -.01em; margin-bottom: 32px; max-width: 760px; }
h3 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.sub { color: var(--muted); max-width: 620px; font-size: 17px; margin-bottom: 28px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 28px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: border-color .2s; }
.card:hover { border-color: rgba(124,240,208,.3); }
.card p { color: var(--muted); font-size: 15px; margin-top: 10px; }
.num { font-family: var(--mono); font-size: 12px; color: var(--accent); display: block; margin-bottom: 20px; letter-spacing: .08em; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 880px) { .grid3, .grid2 { grid-template-columns: 1fr; } }

/* loop */
.loop { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.loop li { padding: 24px 20px; border-right: 1px solid var(--line); font-size: 14px; color: var(--muted); background: var(--panel); }
.loop li:last-child { border-right: 0; }
.loop span { display: block; font-family: var(--mono); font-size: 12px; color: var(--accent); margin-bottom: 14px; }
.loop b { display: block; color: var(--fg); font-size: 17px; font-weight: 600; margin-bottom: 4px; }
@media (max-width: 880px) { .loop { grid-template-columns: 1fr; } .loop li { border-right: 0; border-bottom: 1px solid var(--line); } .loop li:last-child { border-bottom: 0; } }

/* products */
.product { display: flex; flex-direction: column; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tag { font-family: var(--mono); font-size: 12px !important; color: var(--accent) !important; letter-spacing: .04em; margin-top: 6px !important; }
.pill { font-family: var(--mono); font-size: 11px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.pill.live { color: var(--accent); border-color: rgba(124,240,208,.35); }
.more { margin-top: auto; padding-top: 20px; color: var(--fg); font-weight: 500; font-size: 15px; }
.more:hover { color: var(--accent); }
.aside { margin-top: 24px; font-size: 15px; color: var(--muted); }
.aside a:hover { color: var(--accent); }

/* solutions */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.ticks { list-style: none; display: grid; gap: 12px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 1px; background: var(--accent); }
.steps { list-style: none; counter-reset: s; display: grid; gap: 12px; }
.steps li { counter-increment: s; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px 18px 64px; position: relative; color: var(--muted); font-size: 15px; }
.steps li::before { content: "0" counter(s); position: absolute; left: 20px; top: 19px; font-family: var(--mono); font-size: 12px; color: var(--accent); }
.steps b { display: block; color: var(--fg); font-weight: 600; margin-bottom: 2px; }

/* research */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chips span { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 14px; background: var(--panel); }

/* team */
.person { display: flex; gap: 20px; align-items: flex-start; }
.person > div:last-child { display: flex; flex-direction: column; min-height: 100%; }
.loc { font-family: var(--mono); font-size: 12px !important; letter-spacing: .04em; color: var(--muted) !important; margin-top: 2px !important; }
.avatar { flex: none; width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 18px; color: var(--accent); border: 1px solid rgba(124,240,208,.35); background: radial-gradient(circle at 30% 30%, rgba(124,240,208,.15), transparent 70%); overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 480px) { .person { flex-direction: column; } }

/* form */
.form { display: grid; gap: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form .two { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.form small { color: var(--muted); opacity: .7; }
.form input, .form select, .form textarea { font: inherit; font-size: 15px; color: var(--fg); background: rgba(0,0,0,.35); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%; }
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.form select option { background: #111; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); }
.form textarea { resize: vertical; }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.status { font-size: 14px; min-height: 1.4em; }
.status.ok { color: var(--accent); }
.status.err { color: #ff8a8a; }

/* footer */
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 64px; padding-bottom: 32px; margin-top: 64px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.foot .links { display: flex; gap: 20px; flex-wrap: wrap; }
.foot a:hover { color: var(--fg); }

/* sub page */
.page-head { padding-top: 64px; padding-bottom: 16px; }
.page-head h1 { font-size: clamp(44px, 7vw, 96px); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
