:root {
  --bg-0: #0D0D0D;
  --bg-1: #1A1A1A;
  --bg-2: #2A2A2A;
  --text-primary: #FFFFFF;
  --text-secondary: #D1D5DB;
  --text-tertiary: #8E8E93;
  --accent: #E8872A;
  --accent-light: #F0A050;
  --accent-dark: #CC7422;
  --accent-glow: rgba(232, 135, 42, 0.35);
  --border: #2A2A2A;
  --border-light: #3A3A3A;
  --success: #34C759;
  --max-width: 1100px;
  --content-width: 720px;
}

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

html, body {
  background: var(--bg-0);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--accent-light);
}

/* ─── Nav ─────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.nav-brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px var(--accent-glow);
}

.nav-brand-icon svg { width: 16px; height: 16px; fill: #0D0D0D; }

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
}

.nav-links a {
  color: var(--text-secondary);
}

.nav-links a:hover { color: var(--text-primary); }

/* ─── Hero ────────────────────────────────── */
.hero {
  padding: 96px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 135, 42, 0.1);
  border: 1px solid rgba(232, 135, 42, 0.3);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  color: var(--accent-light);
  font-weight: 500;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #FFFFFF 0%, #B8B8B8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: clamp(18px, 2.4vw, 22px);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.5;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #0D0D0D;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 12px;
  box-shadow: 0 8px 32px var(--accent-glow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.hero-cta:hover {
  color: #0D0D0D;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px var(--accent-glow);
}

.hero-screenshots {
  margin-top: 64px;
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: flex-end;
  flex-wrap: wrap;
}

.hero-screenshot {
  width: 240px;
  aspect-ratio: 9 / 19.5;
  background: var(--bg-1);
  border: 1px solid var(--border-light);
  border-radius: 32px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  font-size: 13px;
  text-align: center;
  padding: 20px;
}

.hero-screenshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
}

.hero-screenshot.featured {
  width: 280px;
  transform: translateY(-20px);
  box-shadow: 0 40px 100px rgba(232, 135, 42, 0.15), 0 32px 80px rgba(0, 0, 0, 0.6);
}

/* ─── Sections ────────────────────────────── */
.section {
  padding: 80px 24px;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}

.section h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* ─── Features grid ───────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.feature {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.feature:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(232, 135, 42, 0.08);
  border: 1px solid rgba(232, 135, 42, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 0 24px rgba(232, 135, 42, 0.08);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
}

.feature h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.feature p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.55;
}

/* ─── How it works ────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.step {
  text-align: center;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-1);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 20px;
  box-shadow: 0 0 24px var(--accent-glow);
}

.step h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.step p {
  color: var(--text-secondary);
  font-size: 15px;
}

/* ─── Beta block ──────────────────────────── */
.beta {
  background: linear-gradient(135deg, var(--bg-1) 0%, var(--bg-0) 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 56px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.beta::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.beta-inner {
  position: relative;
  z-index: 1;
}

.beta h2 {
  margin-bottom: 12px;
}

.beta p {
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 24px;
}

/* ─── Access request form ────────────────── */
.access-form {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-input {
  width: 100%;
  background: var(--bg-1);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text-primary);
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-input::placeholder {
  color: var(--text-tertiary);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 135, 42, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
}

.form-submit {
  align-self: center;
  margin-top: 8px;
  border: none;
  cursor: pointer;
}

@media (max-width: 540px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ─── Footer ──────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
  margin-top: 40px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  font-size: 14px;
  color: var(--text-tertiary);
}

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
}

.footer-links a {
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--text-primary);
}

/* ─── Legal pages ─────────────────────────── */
.legal {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 64px 24px 80px;
}

.legal h1 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.legal .updated {
  color: var(--text-tertiary);
  font-size: 14px;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.legal h2 {
  font-size: 22px;
  font-weight: 600;
  margin: 40px 0 12px;
  letter-spacing: -0.01em;
}

.legal h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 24px 0 8px;
  color: var(--text-primary);
}

.legal p {
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.legal ul, .legal ol {
  color: var(--text-secondary);
  margin: 0 0 16px 24px;
}

.legal li {
  margin-bottom: 6px;
}

.legal strong {
  color: var(--text-primary);
}

.legal hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0 24px;
}

.legal .note {
  color: var(--text-tertiary);
  font-size: 13px;
  font-style: italic;
}

.legal .contact-block {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 16px 0;
}

.legal .contact-block p {
  margin-bottom: 8px;
}

.legal .contact-block p:last-child {
  margin-bottom: 0;
}

/* ─── Responsive ──────────────────────────── */
@media (max-width: 640px) {
  .nav-links { gap: 16px; }
  .nav-links a:nth-child(2) { display: none; }
  .hero { padding: 64px 24px 56px; }
  .section { padding: 56px 24px; }
  .hero-screenshots { gap: 12px; }
  .hero-screenshot { width: 180px; }
  .hero-screenshot.featured { width: 200px; transform: none; }
  .footer-inner { justify-content: center; text-align: center; }
}
