/* NATLA Code landing page: one page, sections reached by anchors */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f6f8;
  --bg-card: #ffffff;
  --text: #16181d;
  --text-soft: #5b6270;
  --border: #e3e6eb;
  --accent: #2f6fed;
  --accent-hover: #2459c9;
  --accent-text: #ffffff;
  --header-bg: rgba(255, 255, 255, 0.82);
  --radius: 14px;
  --max: 1040px;
  --prose: 720px;
  --header-height: 64px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1115;
    --bg-alt: #15181e;
    --bg-card: #1b1f26;
    --text: #eceef2;
    --text-soft: #9aa2b1;
    --border: #2a2f38;
    --accent: #5b8ef5;
    --accent-hover: #7aa4f7;
    --header-bg: rgba(15, 17, 21, 0.82);
  }
}

/* Base */

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

html {
  scroll-behavior: smooth;
  /* Anchored sections stop below the sticky header */
  scroll-padding-top: calc(var(--header-height) + 8px);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 16px;
}

ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

li {
  margin-bottom: 8px;
}

strong {
  font-weight: 600;
}

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

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

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.brand {
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  letter-spacing: -0.01em;
}

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

.nav {
  display: flex;
  gap: 24px;
}

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

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

/* Hero */

.hero {
  padding: 104px 0 88px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  max-width: 820px;
  margin: 0 auto 20px;
}

.lead {
  font-size: clamp(18px, 2.4vw, 21px);
  color: var(--text-soft);
  max-width: 640px;
  margin: 0 auto 36px;
}

.badge {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 600;
  font-size: 16px;
}

/* Sections */

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

.section-alt {
  background: var(--bg-alt);
}

.section-title {
  font-size: clamp(28px, 4vw, 36px);
  margin: 0 0 32px;
}

/* Features */

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

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

.feature h3 {
  font-size: 18px;
  margin: 0 0 8px;
}

.feature p {
  margin: 0;
  color: var(--text-soft);
  font-size: 16px;
}

/* Long text: Privacy Policy and Support */

.prose {
  max-width: var(--prose);
}

.prose .section-title {
  margin-bottom: 8px;
}

.prose .meta {
  color: var(--text-soft);
  margin-bottom: 32px;
}

.prose h3 {
  font-size: 20px;
  margin: 36px 0 10px;
}

.prose .section-title + h3 {
  margin-top: 24px;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  color: var(--text-soft);
  font-size: 14px;
}

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

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

.footer-nav a {
  color: var(--text-soft);
}

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

/* Small screens */

@media (max-width: 520px) {
  .nav {
    gap: 16px;
  }

  .nav a {
    font-size: 14px;
  }

  .hero {
    padding: 72px 0 64px;
  }

  .section {
    padding: 64px 0;
  }
}
