:root {
  --bg: #0a0a0b;
  --surface: #141416;
  --surface-2: #1a1a1d;
  --text: #f4f4f5;
  --muted: #92929b;
  --accent: #d8ff3e;
  --accent-soft: rgba(216, 255, 62, .09);
  --border: #2a2a2e;
  --danger: #ff6b60;
  --max: 920px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
body::before {
  position: fixed;
  inset: -35vh -25vw auto auto;
  width: 75vw;
  height: 75vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 255, 62, .09), transparent 66%);
  content: "";
  pointer-events: none;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button { font: inherit; }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px max(20px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 11, .86);
  backdrop-filter: blur(18px);
}
.brand { font-size: 1rem; font-weight: 900; letter-spacing: -.02em; }
.brand::before { display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: var(--accent); content: ""; }
.nav-label { color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }

.wrap { position: relative; z-index: 1; width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.hero { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 64px; min-height: 660px; padding: 84px 0 72px; }
.app-icon { width: 84px; height: 84px; border: 1px solid rgba(216, 255, 62, .35); border-radius: 19px; box-shadow: 0 22px 70px rgba(0, 0, 0, .42); }
.eyebrow { margin: 24px 0 10px; color: var(--accent); font-size: .72rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; }
h1 { max-width: 10ch; margin-bottom: 20px; font-size: clamp(3rem, 9vw, 5.8rem); font-weight: 950; letter-spacing: -.065em; line-height: .92; }
h2 { margin-bottom: 14px; font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 950; letter-spacing: -.045em; line-height: 1; }
h3 { font-size: 1rem; font-weight: 900; letter-spacing: .05em; }
p { color: var(--muted); }
.lead { max-width: 560px; font-size: 1.08rem; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--accent);
  border-radius: 7px;
  background: var(--accent);
  color: #0a0a0b;
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
}
.button:hover { color: #0a0a0b; filter: brightness(.95); }
.button.secondary { border-color: var(--border); background: var(--surface); color: var(--text); }
.button.secondary:hover { border-color: var(--accent); color: var(--accent); }
.button[disabled] { cursor: not-allowed; opacity: .5; }
.hero-card { padding: 28px; border: 1px solid rgba(216, 255, 62, .35); border-radius: 14px; background: var(--accent-soft); }
.hero-card .big { margin: 0; color: var(--accent); font-size: 2.5rem; font-weight: 950; letter-spacing: -.04em; }
.hero-card .small { margin: 0; font-size: .74rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }

.section { padding: 76px 0; border-top: 1px solid var(--border); }
.section-head { max-width: 650px; margin-bottom: 36px; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.card { padding: 24px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.card .number { display: block; margin-bottom: 28px; color: var(--accent); font-size: .72rem; font-weight: 900; letter-spacing: .14em; }
.card p { margin-bottom: 0; font-size: .9rem; }
.steps { counter-reset: steps; display: grid; gap: 10px; }
.step { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start; padding: 18px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface); }
.step::before { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 7px; background: var(--accent); color: #0a0a0b; counter-increment: steps; content: counter(steps); font-weight: 950; }
.step h3 { margin: 1px 0 3px; }
.step p { margin: 0; font-size: .9rem; }
.callout { margin: 24px 0; padding: 20px; border: 1px solid rgba(216, 255, 62, .36); border-radius: 9px; background: var(--accent-soft); }
.callout strong { color: var(--accent); }

.document { max-width: 740px; padding: 68px 0 90px; }
.document h1 { max-width: none; font-size: clamp(2.6rem, 8vw, 4.4rem); }
.document .meta { margin-bottom: 42px; font-size: .82rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.document h2 { margin-top: 42px; font-size: 1.35rem; letter-spacing: -.02em; }
.document li { margin-bottom: 8px; color: var(--muted); }
.document a { color: var(--accent); }

.import-shell { display: grid; min-height: calc(100vh - 70px); place-items: center; padding: 48px 0; }
.import-card { width: min(100%, 620px); padding: clamp(24px, 6vw, 44px); border: 1px solid var(--border); border-radius: 14px; background: var(--surface); text-align: center; }
.import-mark { display: grid; width: 84px; height: 84px; margin: 0 auto 24px; place-items: center; border: 2px solid var(--accent); border-radius: 16px; color: var(--accent); font-size: 2rem; font-weight: 950; }
.import-card h1 { max-width: none; margin-bottom: 12px; font-size: clamp(2.2rem, 8vw, 3.6rem); }
.import-card .actions { justify-content: center; }
.status { margin-top: 22px; color: var(--muted); font-size: .82rem; font-weight: 750; }
.status.error { color: var(--danger); }

.footer { position: relative; z-index: 1; border-top: 1px solid var(--border); }
.footer-inner { display: flex; justify-content: space-between; gap: 18px; padding: 30px 0; color: var(--muted); font-size: .76rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }

@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; gap: 32px; min-height: auto; padding: 64px 0; }
  .hero-card { max-width: 420px; }
  .grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
}

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