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

:root {
  --ink:          #1d1d1f;
  --mid:          #6e6e73;
  --paper:        #ffffff;
  --off:          #f5f5f7;
  --rule:         #d2d2d7;
  --accent:       #0071e3;
  --accent-hover: #0077ed;
  --accent-soft:  #dbeafe;
  --radius:       18px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--paper);
  color: var(--ink);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 52px;
}

/* logo variant (index.html) */
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.nav-logo svg { width: 32px; height: 32px; }
.nav-wordmark {
  font-family: 'DM Serif Display', serif;
  font-size: 17px;
  color: var(--ink);
  letter-spacing: -0.02em;
}

/* brand variant (app pages) */
.nav-brand {
  font-family: 'DM Mono', monospace;
  font-size: 14px; font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink); text-decoration: none;
}

.nav-links { display: flex; gap: 24px; }
.nav-links a {
  font-family: 'DM Mono', monospace;
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mid);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: var(--ink); font-weight: 500; }

/* ── SHARED ELEMENTS ── */
hr {
  border: none;
  border-top: 1px solid var(--rule);
}

.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px; font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid);
}

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 15px; font-weight: 500;
  padding: 13px 28px;
  border-radius: 980px;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }

.btn-dark {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  font-family: 'DM Mono', monospace;
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 13px 28px;
  border-radius: 980px;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}
.btn-dark:hover { background: #333; transform: translateY(-1px); }

/* ── PAGE HEADER (support + privacy) ── */
.page-header {
  max-width: 680px;
  margin: 0 auto;
  padding: 72px 24px 48px;
}
.page-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.page-header h1 {
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.page-header h1 strong { font-weight: 600; }
.page-header p {
  margin-top: 16px;
  font-size: 16px; line-height: 1.65;
  color: var(--mid);
}
.page-header .meta {
  margin-top: 16px;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--mid);
}

/* ── CONTENT WRAPPER (support + privacy) ── */
.content {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--rule);
  padding: 32px 24px;
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}
.footer-copy {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--mid);
  letter-spacing: 0.02em;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--mid);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--accent); }

/* ── ANIMATION ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  nav { padding: 0 16px; }
  .nav-links { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
