:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --surface-2: #1c1c1c;
  --border: #2a2a2a;
  --text: #f5f5f5;
  --text-secondary: #a3a3a3;
  --text-muted: #6e6e6e;
  --brand: #ff6b35;
  --brand-dark: #f7421e;
  --success: #00e676;
  --danger: #ef4444;
  --max-width: 980px;
  --radius: 14px;
  --radius-sm: 8px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* ─── Nav ──────────────────────────────────────────── */
header.nav {
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.5px;
  color: var(--text);
}

.brand .it {
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--success);
  display: inline-block;
  margin-left: 2px;
  vertical-align: top;
  margin-top: 4px;
}

nav.links {
  display: flex;
  gap: 22px;
}

nav.links a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}

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

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

.hero h1 {
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -2.5px;
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero h1 .accent {
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p.tagline {
  font-size: 19px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.5;
}

.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 150ms;
}

.btn-primary {
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: white;
  border-color: transparent;
}

.btn-primary:hover {
  transform: translateY(-1px);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.25);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: var(--surface-2);
  text-decoration: none;
}

/* ─── Sections ─────────────────────────────────────── */
section.block {
  padding: 64px 24px;
  border-top: 1px solid var(--border);
}

section.block h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -1.2px;
  margin-bottom: 16px;
}

section.block p.lede {
  color: var(--text-secondary);
  font-size: 17px;
  max-width: 640px;
  margin-bottom: 40px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.feature h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

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

/* ─── Doc page (privacy, terms, delete) ───────────── */
.doc {
  padding: 56px 24px 96px;
  max-width: 760px;
  margin: 0 auto;
}

.doc h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 8px;
}

.doc .updated {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.doc h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin: 40px 0 12px;
}

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

.doc p {
  color: var(--text-secondary);
  margin-bottom: 14px;
  font-size: 15px;
}

.doc ul, .doc ol {
  color: var(--text-secondary);
  padding-left: 22px;
  margin-bottom: 16px;
}

.doc li {
  margin-bottom: 6px;
  font-size: 15px;
}

.doc strong {
  color: var(--text);
  font-weight: 600;
}

.doc code {
  background: var(--surface-2);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
  color: var(--brand);
  font-family: 'SF Mono', Menlo, Consolas, monospace;
}

.doc a {
  text-decoration: underline;
}

/* ─── Delete account ───────────────────────────────── */
.delete-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin: 32px 0;
}

.delete-card.danger {
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.05);
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
}

.steps li {
  position: relative;
  padding-left: 44px;
  margin-bottom: 16px;
  color: var(--text-secondary);
  font-size: 15px;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-dark) 100%);
  border-radius: 50%;
  color: white;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.form-row label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

.form-row input,
.form-row textarea {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 150ms;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--brand);
}

.form-row textarea {
  resize: vertical;
  min-height: 100px;
}

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

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

.footer-links {
  display: flex;
  gap: 20px;
  font-size: 13px;
}

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

.footer-meta {
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 600px) {
  .hero {
    padding: 64px 24px 56px;
  }
  section.block {
    padding: 48px 24px;
  }
  nav.links {
    gap: 14px;
  }
}
