:root {
  --bg: #09090b;
  --bg-2: #101013;
  --bg-3: #16161a;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f4f4f6;
  --muted: #a1a1aa;
  --dim: #71717a;
  --accent: #a291ff;
  --accent-2: #6650ee;
  --accent-soft: rgba(162, 145, 255, 0.14);
  --radius: 14px;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", ui-serif, Georgia, serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
::selection { background: var(--accent); color: #0b0b0d; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--dim); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  background: var(--text); color: #0b0b0d;
  font: 500 15px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 30px -8px rgba(162, 145, 255, 0.55); }
.btn span { transition: transform .2s ease; }
.btn:hover span { transform: translateX(3px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.3); box-shadow: none; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.is-scrolled {
  border-bottom-color: var(--line); background: rgba(9, 9, 11, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 20px; height: auto; }
.brand-word { display: inline-flex; align-items: baseline; gap: 8px; font-weight: 600; font-size: 17px; letter-spacing: 0.14em; text-transform: uppercase; }
.brand-word small { font-family: var(--mono); font-weight: 400; font-size: 10.5px; letter-spacing: 0.18em; color: var(--dim); }
.nav-links { display: flex; gap: 32px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color .2s; }
.nav-links a:hover { color: var(--text); }

/* Hero */
.hero { position: relative; margin-top: -68px; padding: 140px 0 40px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
  opacity: .55; pointer-events: none;
}
.hero-glow {
  position: absolute; width: 720px; height: 720px; right: -120px; top: -160px;
  background: radial-gradient(circle, rgba(102, 80, 238, 0.32) 0%, rgba(102, 80, 238, 0.08) 40%, transparent 68%);
  pointer-events: none;
}
.hero-glow-low { left: -260px; right: auto; top: auto; bottom: -360px; opacity: .7; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 40px; align-items: center; min-height: 560px; }
.hero-copy { min-width: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 24px;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.hero h1 { font-size: clamp(44px, 7.2vw, 92px); line-height: 0.98; letter-spacing: -0.035em; }
.hero h1 em { color: var(--accent); }
.lede { margin-top: 28px; max-width: 540px; font-size: 18px; color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-visual { position: relative; display: flex; justify-content: center; min-width: 0; }
.hero-art { width: min(100%, 380px); height: auto; overflow: visible; }
.hero-art polygon { stroke: var(--bg); stroke-width: .6; stroke-linejoin: round; }
.st { fill: #f4f4f6; } .sl { fill: #b4b4c0; } .sr { fill: #5f5f6d; }
.at { fill: #d6ceff; } .al { fill: #a291ff; } .ar { fill: #6650ee; }
.vx { animation: drop .5s cubic-bezier(.2, .9, .3, 1.2) both; animation-delay: calc(var(--i) * 45ms + 150ms); }
.vx-a { animation: drop .6s cubic-bezier(.2, .9, .3, 1.2) both, bob 3.6s ease-in-out 1.8s infinite; animation-delay: calc(var(--i) * 45ms + 150ms), 1.8s; filter: drop-shadow(0 0 2.5px rgba(162, 145, 255, 0.6)); }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.6px); } }

.channels {
  list-style: none; margin: 56px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 34px;
  color: var(--muted); font-size: 15px; font-weight: 500;
}
.channels-label { font-family: var(--mono); font-size: 11.5px; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); margin-right: 6px; }

/* Statement */
.statement { padding: 120px 0 40px; }
.big { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.18; letter-spacing: -0.025em; font-weight: 500; max-width: 980px; }
.big em { color: var(--accent); }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 64px; }
.trio > div { border-top: 1px solid var(--line-2); padding-top: 20px; }
.trio h3 { font-size: 19px; margin: 12px 0 8px; }
.trio p { color: var(--muted); font-size: 15px; }

/* Sections */
.section { position: relative; padding: 120px 0; }
.section-alt { background: linear-gradient(180deg, transparent, var(--bg-2) 18%, var(--bg-2) 82%, transparent); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { font-size: clamp(36px, 5vw, 60px); line-height: 1.02; letter-spacing: -0.03em; }
.section-head h2 em { color: var(--accent); }
.section-head p:not(.eyebrow) { margin-top: 18px; color: var(--muted); font-size: 17px; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card { position: relative; background: var(--bg); padding: 34px 30px 38px; min-height: 240px; transition: background .3s ease; }
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(162, 145, 255, 0.10), transparent 60%);
}
.card:hover { background: var(--bg-2); }
.card:hover::after { opacity: 1; }
.card h3 { font-size: 22px; margin: 44px 0 12px; }
.card p { color: var(--muted); font-size: 15px; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { position: relative; padding: 28px 24px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, 0.015); }
.step-n { font-family: var(--serif); font-style: italic; font-size: 54px; line-height: 1; color: var(--accent); display: block; margin-bottom: 26px; }
.steps li > div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.steps h3 { font-size: 21px; }
.when { font-family: var(--mono); font-size: 11.5px; color: var(--dim); white-space: nowrap; }
.steps p { color: var(--muted); font-size: 15px; }

.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 80px; padding-top: 40px; border-top: 1px solid var(--line); }
.principles h3 { font-size: 17px; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.principles h3::before { content: ""; width: 8px; height: 8px; background: var(--accent); transform: rotate(45deg); flex: none; }
.principles p { color: var(--muted); font-size: 15px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.faq-grid .section-head { margin-bottom: 0; position: sticky; top: 110px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 40px 24px 0; 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: 6px; top: 50%; width: 12px; height: 12px; margin-top: -6px;
  background:
    linear-gradient(var(--muted), var(--muted)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--muted), var(--muted)) center / 1.5px 12px no-repeat;
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 40px 24px 0; }

/* Contact */
.contact { overflow: hidden; border-top: 1px solid var(--line); }
.contact-grid { position: relative; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.form { background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; padding: 36px; display: grid; gap: 20px; min-width: 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field > span, .field legend { font-size: 13px; color: var(--muted); font-weight: 500; padding: 0; margin-bottom: 8px; }
.field > span { margin-bottom: 0; }
input[type="text"], input[type="email"], select, textarea {
  width: 100%; min-width: 0; font: 400 16px/1.4 var(--sans); color: var(--text);
  background: var(--bg); border: 1px solid var(--line-2); border-radius: 10px; padding: 13px 14px;
  transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
select {
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%;
  background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px;
}
textarea { resize: vertical; min-height: 110px; }
input::placeholder, textarea::placeholder { color: #55555f; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field.invalid input { border-color: #f87171; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span {
  display: inline-block; padding: 9px 14px; border-radius: 999px; font-size: 14px;
  border: 1px solid var(--line-2); color: var(--muted); transition: all .2s ease;
}
.chips label:hover span { border-color: rgba(255, 255, 255, 0.3); color: var(--text); }
.chips input:checked + span { background: var(--accent-soft); border-color: var(--accent); color: var(--text); }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px; }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-status { font-size: 14px; color: var(--muted); }
.form-status.ok { color: #86efac; }
.form-status.err { color: #fca5a5; }
.fine { font-size: 12.5px; color: var(--dim); }
.fine a { color: var(--muted); }
.form-done { text-align: center; padding: 40px 10px; }
.form-done h3 { font-size: 26px; margin: 18px 0 10px; }
.form-done p { color: var(--muted); }
.form-done img { width: 28px; margin: 0 auto; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 56px 0 32px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.footer-brand p { color: var(--dim); font-size: 14px; margin-top: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--text); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }

/* Legal page */
.legal { padding: 80px 0 120px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(36px, 5vw, 54px); letter-spacing: -0.03em; margin-bottom: 12px; }
.legal h2 { font-size: 20px; margin: 40px 0 10px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 20px; }
.legal .mono { display: block; margin-bottom: 40px; }

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

/* Responsive */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 40px; }
  .hero-art { width: min(56vw, 240px); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .principles { grid-template-columns: repeat(2, 1fr); }
  .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .faq-grid .section-head { position: static; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .nav-links { display: none; }
  .brand-word small { display: none; }
  .hero { padding: 104px 0 24px; }
  .lede { font-size: 17px; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
  .statement { padding: 88px 0 24px; }
  .trio { grid-template-columns: 1fr; gap: 28px; margin-top: 48px; }
  .section { padding: 88px 0; }
  .section-head { margin-bottom: 40px; }
  .cards, .steps, .principles { grid-template-columns: 1fr; }
  .card { min-height: 0; padding: 28px 24px 30px; }
  .card h3 { margin-top: 28px; }
  .principles { margin-top: 56px; gap: 24px; }
  .row { grid-template-columns: 1fr; }
  .form { padding: 24px 20px; border-radius: 16px; }
  .form-foot .btn { width: 100%; justify-content: center; }
  .channels { gap: 8px 22px; font-size: 14px; margin-top: 40px; }
  .channels-label { flex-basis: 100%; }
  .footer-inner { flex-direction: column; }
}
@media (max-width: 380px) {
  .btn-sm { padding: 0 12px; font-size: 13px; }
  .brand-word { font-size: 15px; letter-spacing: 0.1em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .vx, .vx-a { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .btn span { transition: none; }
}
