:root {
  --bg:            #0B0907;
  --surface:       #161310;
  --surface-2:     #1F1A15;
  --border:        #2A231C;
  --text-primary:  #F4EFEA;
  --text-secondary:#A39B8F;
  --text-tertiary: #6B655B;
  --accent:        #C2905D;
  --accent-soft:   rgba(194, 144, 93, 0.18);
  --radius:        14px;
  --radius-lg:     20px;
  --max-w:         880px;
  --max-w-narrow:  640px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter",
               system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--text-primary);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}

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

main, header, footer, section {
  width: 100%;
  padding-left: 24px;
  padding-right: 24px;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
}

.container-narrow {
  max-width: var(--max-w-narrow);
  margin: 0 auto;
}

/* Site header (small, sticky-feel) */
.site-header {
  padding-top: 28px;
  padding-bottom: 28px;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: block;
}

.brand-name {
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav {
  display: flex;
  gap: 22px;
  align-items: center;
}

.nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
}

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

/* Hero */
.hero {
  padding-top: 80px;
  padding-bottom: 80px;
  text-align: center;
}

.hero img.hero-icon {
  width: 128px;
  height: 128px;
  border-radius: 28px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6), 0 2px 6px rgba(0, 0, 0, 0.4);
}

.hero h1 {
  margin: 32px 0 12px;
  font-size: clamp(40px, 7vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 600;
}

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

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--text-primary);
  color: var(--bg);
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-size: 16px;
  transition: transform 0.15s ease;
}

.cta:hover { transform: translateY(-1px); }

.cta.secondary {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.cta-note {
  color: var(--text-tertiary);
  font-size: 14px;
  margin-top: 14px;
}

/* Sections */
section.panel {
  padding-top: 56px;
  padding-bottom: 56px;
  border-top: 1px solid var(--border);
}

section.panel h2 {
  font-size: clamp(28px, 3.5vw, 38px);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  font-weight: 600;
}

section.panel .lede {
  color: var(--text-secondary);
  font-size: 18px;
  max-width: 560px;
  margin: 0 0 40px;
}

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

@media (max-width: 760px) {
  .features { grid-template-columns: 1fr; }
}

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

.feature .feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 20px;
}

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

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

/* Comparison */
.compare {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 640px) {
  .compare { grid-template-columns: 1fr; }
}

.compare-col h4 {
  margin: 0 0 12px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  font-weight: 600;
}

.compare-col p {
  margin: 4px 0;
  font-size: 15px;
}

.compare-col.them p { color: var(--text-secondary); text-decoration: line-through; text-decoration-color: var(--text-tertiary); }
.compare-col.us p { color: var(--text-primary); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding-top: 48px;
  padding-bottom: 48px;
  margin-top: 32px;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  color: var(--text-tertiary);
  font-size: 14px;
}

.site-footer .links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--text-secondary);
  text-decoration: none;
}

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

/* Document pages (privacy, terms, support) */
.doc {
  padding-top: 48px;
  padding-bottom: 80px;
}

.doc .container-narrow h1 {
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  font-weight: 600;
}

.doc .last-updated {
  color: var(--text-tertiary);
  font-size: 14px;
  margin-bottom: 40px;
}

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

.doc h3 {
  font-size: 17px;
  margin: 24px 0 8px;
  font-weight: 600;
}

.doc p, .doc li {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.65;
}

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

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

.doc ul { padding-left: 22px; }

.doc a { color: var(--accent); text-decoration-color: rgba(194, 144, 93, 0.35); }
.doc a:hover { text-decoration-color: var(--accent); }

/* Support-specific */
.support-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 32px 0;
}

.support-card p { color: var(--text-primary); }

.email {
  display: inline-block;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 15px;
  margin-top: 8px;
}

/* Focus styles for keyboard */
a:focus-visible, button:focus-visible, .cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
