:root {
  --bg: #0b0714;
  --bg-2: #120c20;
  --surface: #171028;
  --surface-2: #1e1533;
  --line: #2a1f42;
  --text: #f5f0ff;
  --text-2: #c9bde6;
  --muted: #9c8fbd;
  --ship: #e2a8ff;
  --pink: #f472b6;
  --violet: #c084fc;
  --indigo: #8b5cf6;
  --grad: linear-gradient(100deg, #f472b6 0%, #c084fc 55%, #8b5cf6 100%);
  --radius: 18px;
  --wrap: 1160px;
  --font: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mark: 'Comfortaa', var(--font);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--ship); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--text); }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 0.5em; font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.18rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.center.actions { justify-content: center; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--text-2); max-width: 62ch; }
.lead.strong { color: var(--text); font-weight: 500; }
.center .lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.eyebrow { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ship); margin-bottom: 1rem; }
.fine { font-size: 0.95rem; color: var(--muted); margin-top: 1.25rem; }
.ship { color: var(--ship); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.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 */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 1.75rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: 1rem; letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--text); color: #1a0f2e; box-shadow: 0 0 0 0 rgba(192, 132, 252, 0); }
.btn-primary:hover { color: #1a0f2e; background: #fff; box-shadow: 0 8px 32px -8px rgba(226, 168, 255, .55); }
.btn-ghost { background: transparent; color: var(--text); border-color: #4a3a6e; }
.btn-ghost:hover { color: var(--text); border-color: var(--violet); background: rgba(192, 132, 252, .08); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .92rem; }
.btn[disabled] { opacity: .6; cursor: progress; }
.text-link { font-weight: 500; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.brand .mark { color: var(--text); flex: none; }
.wordmark { font-family: var(--font-mark); font-weight: 600; font-size: 1.55rem; letter-spacing: -0.02em; line-height: 1; padding-bottom: 2px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 7, 20, .72);
  backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(42, 31, 66, .6);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav > a:not(.btn) { color: var(--text-2); text-decoration: none; font-weight: 500; font-size: .98rem; }
.site-nav > a:not(.btn):hover, .site-nav > a[aria-current="page"] { color: var(--text); }
.site-nav > a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--ship); text-underline-offset: 8px; text-decoration-thickness: 2px; }
.menu-toggle { display: none; }

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px; padding: 0 11px; background: none; border: 1px solid var(--line); border-radius: 12px; cursor: pointer;
  }
  .menu-toggle span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .site-nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 24px 24px; background: rgba(11, 7, 20, .97); border-bottom: 1px solid var(--line);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav > a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .site-nav .btn { margin-top: 20px; }
}

/* Hero */
.hero { position: relative; overflow: hidden; min-height: calc(100svh - 72px); display: flex; align-items: center; padding: 72px 0 96px; }
.particles { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-glow {
  position: absolute; pointer-events: none; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 1000px; max-height: 1000px;
  background: radial-gradient(closest-side, rgba(192, 132, 252, .22), rgba(244, 114, 182, .08) 55%, transparent 75%);
  filter: blur(10px);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 48px; }
.hero-title { font-size: clamp(3.4rem, 10vw, 7.6rem); line-height: .98; letter-spacing: -0.05em; margin-bottom: .35em; }
.hero-sub { font-size: clamp(1.35rem, 2.4vw, 1.85rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: .5em; }
.hero-answer { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--text-2); max-width: 40ch; }
.hero-mark { display: flex; justify-content: center; color: var(--text); }
.mark-hero { width: min(100%, 320px); height: auto; filter: drop-shadow(0 0 40px rgba(192, 132, 252, .35)); animation: float 9s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .mark-hero { animation: none; } }
@media (max-width: 860px) {
  .hero { min-height: auto; padding: 48px 0 72px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-mark { order: -1; justify-content: flex-start; }
  .mark-hero { width: 120px; }
}

.page-hero { position: relative; overflow: hidden; padding: 112px 0 64px; }
.page-hero .hero-glow { inset: -40% -20% auto auto; }
.page-hero .wrap { position: relative; }
@media (max-width: 860px) { .page-hero { padding: 64px 0 32px; } }

/* Sections */
.section { padding: 88px 0; position: relative; }
.section + .section { border-top: 1px solid rgba(42, 31, 66, .55); }
@media (max-width: 860px) { .section { padding: 64px 0; } }

/* Readiness check */
.check { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.check-intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .check-intro { grid-template-columns: 1fr; gap: 32px; } }
.check-preview { border-top: 1px solid var(--line); }
.check-preview li { display: flex; gap: 16px; padding: 18px 4px; border-bottom: 1px solid var(--line); color: var(--text-2); font-size: 1.08rem; font-weight: 500; letter-spacing: -0.01em; }
.check-preview li span { flex: none; width: 28px; font-size: .85rem; font-weight: 600; color: var(--muted); padding-top: .2em; font-variant-numeric: tabular-nums; }
.check-preview li.more { color: var(--muted); font-weight: 400; }

/* Readiness wizard dialog */
html.wizard-open { overflow: hidden; }
.wizard {
  width: min(640px, calc(100vw - 32px)); max-height: calc(100svh - 32px); padding: 0; margin: auto;
  border: 1px solid var(--line); border-radius: 24px; color: var(--text); overflow: auto;
  background: radial-gradient(120% 80% at 100% 0%, rgba(192, 132, 252, .16), transparent 60%), var(--surface);
  box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(192, 132, 252, .08);
}
.wizard::backdrop { background: rgba(6, 3, 12, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.wizard[open] { animation: wiz-in .28s ease; }
@keyframes wiz-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.wizard-inner { padding: clamp(20px, 4vw, 36px); }
.wizard-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wizard-count { margin: 0; font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ship); }
.wizard-close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: -8px -8px -8px 0; border-radius: 50%; border: 0; background: none; color: var(--text-2); cursor: pointer; }
.wizard-close:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.wizard-bar { height: 3px; border-radius: 3px; background: var(--line); margin: 14px 0 28px; overflow: hidden; }
.wizard-bar span { display: block; height: 100%; width: 0; background: var(--grad); border-radius: inherit; transition: width .35s ease; }
.wizard-body > * { animation: reveal .3s ease both; }
@keyframes reveal { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.wizard-q, .wizard-reply { font-size: clamp(1.5rem, 3.6vw, 2.1rem); letter-spacing: -0.03em; margin-bottom: .5em; outline: none; }
.wizard-reply { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wizard-reply.is-set { background: none; color: var(--text); }
.wizard-hint { color: var(--muted); margin-top: -.25em; }
.wizard-answers { display: grid; gap: 10px; margin-top: 24px; }
.wizard-answer {
  width: 100%; min-height: 56px; padding: 14px 20px; text-align: left; cursor: pointer;
  font: inherit; font-size: 1.05rem; font-weight: 500; color: var(--text);
  background: var(--bg); border: 1px solid #3a2d57; border-radius: 14px;
  transition: border-color .15s, background .15s, transform .15s;
}
.wizard-answer:hover { border-color: var(--violet); background: rgba(192, 132, 252, .08); }
.wizard-answer:active { transform: translateY(1px); }
.wizard-picked { font-size: .92rem; color: var(--muted); margin-bottom: 14px; }
.wizard-picked span { display: block; }
.wizard-body-text { color: var(--text-2); font-size: 1.08rem; }
.wizard-us { padding: 16px 18px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; color: var(--text); margin-top: 8px; }
.wizard-us .label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ship); margin-bottom: 4px; }
.wizard-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.wizard-back { min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--text-2); font: inherit; font-weight: 500; cursor: pointer; }
.wizard-back:hover { color: var(--text); }
.wizard-answers + .wizard-back { margin-top: 16px; }
.wizard-recs { display: grid; gap: 10px; margin-top: 20px; }
.wizard-recs a { display: block; padding: 16px 18px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: border-color .15s; }
.wizard-recs a:hover { border-color: var(--violet); color: var(--text); }
.wizard-recs strong { display: block; font-weight: 600; }
.wizard-recs span { display: block; color: var(--text-2); font-size: .98rem; }
@media (prefers-reduced-motion: reduce) { .wizard[open], .wizard-body > * { animation: none; } .wizard-bar span { transition: none; } }
@media (max-width: 560px) { .wizard-nav .btn { width: 100%; } .wizard-nav { flex-direction: column-reverse; align-items: stretch; } }

/* Pillars */
.pillar { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; padding: 56px 0; border-top: 1px solid var(--line); }
.pillar:first-child { border-top: 0; padding-top: 0; }
.pillar:last-child { padding-bottom: 0; }
.pillar-num { font-size: .85rem; font-weight: 600; color: var(--muted); letter-spacing: .1em; margin-bottom: .75rem; }
.pillar h2 .muted { display: block; font-size: .62em; letter-spacing: -0.015em; line-height: 1.3; margin-top: .4em; font-weight: 500; }
.pillar .lead { margin-bottom: 1.5rem; }
@media (max-width: 860px) { .pillar { grid-template-columns: 1fr; gap: 16px; } }

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: border-color .2s, transform .2s; }
.card:hover { border-color: #4a3a6e; }
.card p { color: var(--text-2); margin: 0; font-size: 1rem; }

/* Start paths */
.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 2rem 0; }
@media (max-width: 860px) { .paths { grid-template-columns: 1fr; } }
.path {
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 180px;
  padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  text-decoration: none; color: var(--text); transition: border-color .2s, transform .2s, background .2s;
}
.path:hover { color: var(--text); border-color: var(--violet); transform: translateY(-2px); background: var(--surface-2); }
.path-q { font-size: 1.15rem; font-weight: 500; letter-spacing: -0.015em; line-height: 1.35; }
.path-a { font-weight: 600; color: var(--ship); }

/* Grids */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 2rem; }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; gap: 24px; } }
.grid-4 li { border-top: 1px solid var(--line); padding-top: 20px; }
.grid-4 p { color: var(--text-2); margin: 0; }

/* Panel */
.panel {
  position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding: clamp(28px, 5vw, 56px); border-radius: 24px; overflow: hidden;
  background: radial-gradient(120% 140% at 100% 0%, rgba(192, 132, 252, .22), transparent 55%), radial-gradient(80% 120% at 0% 100%, rgba(244, 114, 182, .12), transparent 60%), var(--surface);
  border: 1px solid var(--line);
}
.panel > div:first-child { max-width: 640px; }
.panel .actions { margin-top: 0; }
.panel .lead { margin-bottom: 0; }
.rules li { position: relative; padding-left: 28px; margin-bottom: .6em; color: var(--text-2); font-size: 1.08rem; }
.rules li::before { content: ''; position: absolute; left: 0; top: .62em; width: 12px; height: 2px; background: var(--grad); border-radius: 2px; }

.founder .lead { font-size: clamp(1.25rem, 2.2vw, 1.6rem); color: var(--text); letter-spacing: -0.015em; line-height: 1.4; font-weight: 500; max-width: none; }

/* FAQ */
.faq-list { margin-top: 1.5rem; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-size: 1.12rem; font-weight: 500; letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 300; color: var(--muted); transition: transform .2s; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { color: var(--text-2); padding: 0 40px 20px 0; margin: 0; }

.closing { padding-bottom: 120px; }

/* Launch timeline */
.timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 2rem; counter-reset: none; }
@media (max-width: 760px) { .timeline { grid-template-columns: 1fr; } }
.timeline li { position: relative; padding: 28px 24px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.timeline li::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 2px; background: var(--grad); }
.timeline p { color: var(--text-2); margin: 0; }
.timeline .t-when { font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ship); margin-bottom: .75rem; }

/* Services */
.service { display: grid; grid-template-columns: 80px 1fr; gap: 24px; padding: 48px 0; border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.service:first-child { border-top: 0; padding-top: 0; }
.service-step { font-size: .9rem; font-weight: 600; color: var(--muted); letter-spacing: .1em; padding-top: .7rem; }
.service-main { max-width: 760px; }
.service h2 { margin-bottom: .25em; }
.service-tag { font-size: 1.15rem; color: var(--text); font-weight: 500; }
.service p { color: var(--text-2); }
.service .service-tag { color: var(--text); }
.details { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.25rem; }
.details li { font-size: .9rem; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text-2); }
.service .actions { margin-top: 1.5rem; }
@media (max-width: 640px) { .service { grid-template-columns: 1fr; gap: 4px; } .service-step { padding-top: 0; } }

/* About */
.ships { font-size: clamp(1.6rem, 3.6vw, 2.6rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.25; margin: 1.5rem 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
.contact-hero { padding-bottom: 120px; }
.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 4vw, 36px); }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 500; margin-bottom: 8px; }
.optional { color: var(--muted); font-weight: 400; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--bg);
  border: 1px solid #3a2d57; border-radius: 12px; padding: 12px 14px; min-height: 48px;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 128px; line-height: 1.5; }
.field 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; padding-right: 40px; }
.field input::placeholder, .field textarea::placeholder { color: #7d70a0; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(192, 132, 252, .2); }
.field [aria-invalid="true"] { border-color: var(--pink); }
.help { font-size: .88rem; color: var(--muted); margin: 6px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .btn { width: 100%; margin-top: 4px; }
.form-status { margin: 16px 0 0; min-height: 1.6em; color: var(--text-2); }
.form-status.ok { color: var(--text); font-weight: 500; }
.form-status.err { color: #f9a8d4; }

.notfound { min-height: 60vh; display: flex; align-items: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 40px; background: var(--bg); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: start; }
.footer-line { color: var(--muted); margin: 12px 0 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-nav a { color: var(--text-2); text-decoration: none; }
.footer-nav a:hover { color: var(--text); }
.small-print { grid-column: 1 / -1; color: var(--muted); font-size: .88rem; margin: 16px 0 0; }
@media (max-width: 640px) { .footer-inner { grid-template-columns: 1fr; } }
