:root {
  --bg: #050505;
  --bg-2: #0b0b0c;
  --card: rgba(255, 255, 255, 0.035);
  --card-border: rgba(255, 255, 255, 0.08);
  --text: #f2f2f2;
  --muted: #9a9a9e;
  --faint: #5c5c61;
  --accent: #ffffff;
  --radius: 18px;
  --max: 1120px;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(5, 5, 5, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(160deg, #2a2a2d, #0d0d0e);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: grid; place-items: center;
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.06);
}
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 22px; border-radius: 999px;
  font-size: 14px; font-weight: 500; cursor: pointer; border: 0;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn-light { background: #fff; color: #0a0a0a; box-shadow: 0 0 30px rgba(255, 255, 255, 0.18); }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 0 40px rgba(255, 255, 255, 0.28); }
.btn-ghost { background: rgba(255, 255, 255, 0.06); color: var(--text); border: 1px solid var(--card-border); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.nav .btn { height: 36px; padding: 0 16px; font-size: 13px; }

/* Hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 140px 0 120px; overflow: hidden;
}
.hero-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero::after {
  content: ""; position: absolute; left: 50%; bottom: -10%; transform: translateX(-50%);
  width: 70vw; height: 50vh;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.10), transparent 65%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; max-width: 820px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--card-border);
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px #fff; }
h1 {
  font-size: clamp(38px, 6.4vw, 72px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 600;
  margin: 22px 0 20px;
  background: linear-gradient(180deg, #ffffff 30%, #9c9ca1);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(16px, 2vw, 19px); color: var(--muted); max-width: 620px; margin: 0 auto 34px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-icon {
  margin: 56px auto 0; width: 76px; height: 76px; border-radius: 20px;
  background: linear-gradient(160deg, #2b2b2e, #0b0b0c);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: grid; place-items: center;
  box-shadow: 0 0 60px rgba(255, 255, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  position: relative;
}
.hero-icon::after {
  content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  width: 2px; height: 120px; background: linear-gradient(#fff, transparent); opacity: .35;
}

/* Sections */
section { position: relative; }
.section { padding: 110px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
h2 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 600; margin: 18px 0 14px; }
.section-head p { color: var(--muted); font-size: 16px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 28px; position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
}
.card-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--card-border);
  display: grid; place-items: center; margin-bottom: 22px;
}
.card h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 14.5px; }
.card ul { list-style: none; margin-top: 16px; display: grid; gap: 8px; }
.card li { font-size: 14px; color: #c9c9cd; display: flex; gap: 10px; align-items: baseline; }
.card li::before { content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%; background: #fff; opacity: .6; transform: translateY(-2px); }

.step-num {
  font-size: 12px; font-family: ui-monospace, "SF Mono", Menlo, monospace; color: var(--faint);
  letter-spacing: 0.1em; margin-bottom: 40px; display: block;
}
.step h3 { font-size: 17px; }

/* Markets */
.markets { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.market { padding: 36px; min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end; }
.market .tag { font-size: 12px; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
.market h3 { font-size: 30px; letter-spacing: -0.02em; }
.market-glow {
  position: absolute; top: -40%; right: -20%; width: 70%; height: 140%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 60%);
}

/* Contact */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: 16px; }
.details dl { display: grid; gap: 22px; margin-top: 8px; }
.details dt { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.details dd { font-size: 15px; color: #dcdce0; }
.details a { border-bottom: 1px solid rgba(255, 255, 255, 0.2); }

form { display: grid; gap: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
input, textarea, select {
  width: 100%; font: inherit; font-size: 15px; color: var(--text);
  background: rgba(0, 0, 0, 0.35); border: 1px solid var(--card-border); border-radius: 12px;
  padding: 12px 14px; outline: none; transition: border-color .15s ease, background .15s ease;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, textarea:focus { border-color: rgba(255, 255, 255, 0.4); background: rgba(0, 0, 0, 0.5); }
.hidden { position: absolute; left: -9999px; }
.form-note { font-size: 12.5px; color: var(--faint); }
.form-note a { text-decoration: underline; }
form .btn { justify-self: start; }

/* Footer */
footer { border-top: 1px solid rgba(255, 255, 255, 0.06); padding: 40px 0 48px; color: var(--faint); font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 20px; }
.footer-links a:hover { color: var(--text); }

/* Legal pages */
.legal { padding: 140px 0 100px; }
.legal .container { max-width: 760px; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 8px; }
.legal .updated { color: var(--faint); font-size: 14px; margin-bottom: 40px; }
.legal h2 { font-size: 20px; margin: 36px 0 10px; letter-spacing: -0.01em; }
.legal p, .legal li { color: #c4c4c8; font-size: 15.5px; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; margin-top: 8px; display: grid; gap: 6px; }

.center-page { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 24px; }
.center-page p { color: var(--muted); margin: 0 auto 28px; max-width: 460px; }

/* Responsive */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .container { padding: 0 16px; }
  .nav-links a:not(.btn) { display: none; }
  .grid-3, .grid-4, .markets, .field-row { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .card { padding: 24px; }
  .step-num { margin-bottom: 20px; }
  .market { min-height: 170px; padding: 28px; }
  .footer-inner { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
