/* LockMemo marketing site — dark / teal, Linear-Stripe inspired */

:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --surface-elevated: #1c1c1e;
  --surface-pressed: #202022;
  --hairline: rgba(255, 255, 255, 0.10);
  --divider: rgba(255, 255, 255, 0.06);
  --text-primary: #ededed;
  --text-secondary: rgba(237, 237, 237, 0.66);
  --text-muted: rgba(237, 237, 237, 0.40);
  --accent: #14b8a6;
  --accent-soft: rgba(20, 184, 166, 0.14);
  --accent-dim: rgba(20, 184, 166, 0.30);
  --success: #4ade80;
  --warning: #fbbf24;
  --danger: #f87171;
  --r-sm: 8px;
  --r-md: 10px;
  --r-lg: 12px;
  --r-xl: 16px;
}

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

html,
body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 120ms ease-out;
}

a:hover {
  opacity: 0.75;
}

/* ── Layout ──────────────────────────────────────────────────────────────── */

.container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Top nav ─────────────────────────────────────────────────────────────── */

.nav {
  border-bottom: 1px solid var(--hairline);
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 15px;
  letter-spacing: -0.2px;
}

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

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

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

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

/* ── Hero ────────────────────────────────────────────────────────────────── */

.hero {
  padding: 96px 24px 64px;
  text-align: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}

.hero-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  margin: 0 auto 32px;
  display: block;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.hero h1 {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin-bottom: 18px;
}

.hero p {
  font-size: 19px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 32px;
  letter-spacing: -0.2px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  border: 1px solid var(--hairline);
  background: var(--surface);
  color: var(--text-primary);
  cursor: pointer;
  transition: background 120ms ease-out, border-color 120ms ease-out;
}

.btn:hover {
  background: var(--surface-elevated);
  border-color: rgba(255, 255, 255, 0.18);
  opacity: 1;
}

.btn-primary {
  background: var(--accent);
  color: #051c19;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: #10a395;
  border-color: #10a395;
}

.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ── Section base ────────────────────────────────────────────────────────── */

section {
  padding: 72px 0;
  border-top: 1px solid var(--hairline);
}

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.8px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-lead {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 580px;
  margin-bottom: 48px;
}

/* ── Feature grid ────────────────────────────────────────────────────────── */

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

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

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 14px;
  font-size: 18px;
}

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

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

/* ── Trust strip ────────────────────────────────────────────────────────── */

.trust {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  padding: 32px;
}

.trust h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin-bottom: 16px;
}

.trust ul {
  list-style: none;
}

.trust li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  color: var(--text-secondary);
  font-size: 15px;
}

.trust li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.trust .never li::before {
  content: "✕";
  color: var(--text-muted);
}

/* ── Footer ──────────────────────────────────────────────────────────────── */

footer {
  border-top: 1px solid var(--hairline);
  padding: 48px 0 64px;
  color: var(--text-muted);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

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

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

.footer-email {
  margin-top: 4px;
  color: var(--text-secondary);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

/* ── Long-form (privacy / terms) ─────────────────────────────────────────── */

.doc {
  padding: 64px 0 96px;
}

.doc h1 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.8px;
  margin-bottom: 8px;
}

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

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

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

.doc p,
.doc ul,
.doc ol {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.doc ul,
.doc ol {
  padding-left: 24px;
}

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

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

.doc code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: var(--surface-elevated);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 14px;
  color: var(--text-primary);
}

.doc blockquote {
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  padding: 14px 18px;
  margin: 20px 0;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  color: var(--text-primary);
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 640px) {
  .hero {
    padding: 64px 20px 48px;
  }

  .hero h1 {
    font-size: 38px;
    letter-spacing: -1px;
  }

  .hero p {
    font-size: 17px;
  }

  .nav-links {
    gap: 14px;
    font-size: 13px;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 28px;
  }

  .doc h1 {
    font-size: 30px;
  }
}
