:root {
  --bg: #FFFFFF;
  --bg-secondary: #F5F5F7;
  --card-bg: #F5F5F7;
  --row-bg: #FFFFFF;
  --tag-bg: #E8F2FF;

  --text: #1D1D1F;
  --text-secondary: #6E6E73;
  --text-tertiary: #86868B;

  --accent: #0071E3;
  --accent-hover: #0058B0;
  --accent-tint: #E8F2FF;

  --border: rgba(0, 0, 0, .08);
  --nav-bg: rgba(255, 255, 255, .8);
  --hero-shadow: rgba(0, 0, 0, .25);
  --selection: #CFE6FF;

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-secondary: #1C1C1E;
    --card-bg: #1C1C1E;
    --row-bg: #000000;
    --tag-bg: #0A2A45;

    --text: #F5F5F7;
    --text-secondary: #98989D;
    --text-tertiary: #6E6E73;

    --accent: #2997FF;
    --accent-hover: #6BB6FF;
    --accent-tint: #0A2A45;

    --border: rgba(255, 255, 255, .12);
    --nav-bg: rgba(0, 0, 0, .72);
    --hero-shadow: rgba(0, 0, 0, .6);
    --selection: rgba(41, 151, 255, .35);
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

::selection { background: var(--selection); }

img { max-width: 100%; display: block; }

/* Header / nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 32px;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

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

.brand img {
  width: 22px;
  height: 22px;
  border-radius: 5px;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 13px;
}

.nav-links a { color: var(--text); }
.nav-links a:hover { color: var(--accent-hover); }
.nav-links a[aria-current="page"] { color: var(--accent); }

/* Buttons / pills */

.eyebrow {
  display: inline-block;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 22px;
}

.cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.cta-pill {
  display: inline-block;
  background: var(--accent);
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: 100px;
  white-space: nowrap;
}

a.cta-pill:hover { background: var(--accent-hover); color: #FFFFFF; }

.cta-note {
  font-size: 15px;
  color: var(--text-secondary);
}

.fine-print {
  font-size: 13px;
  color: var(--text-tertiary);
  margin: 0;
}

/* Hero */

.hero {
  max-width: 840px;
  margin: 0 auto;
  padding: 96px 24px 0;
  text-align: center;
}

.hero h1 {
  font-size: 56px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}

.hero-lead {
  font-size: 20px;
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 36px;
}

.hero .cta-row { margin-bottom: 14px; }

.hero-shot {
  display: flex;
  justify-content: center;
  padding: 56px 24px 0;
  margin-bottom: 120px;
}

.hero-shot img {
  width: 380px;
  height: auto;
  border-radius: 32px;
  box-shadow: 0 40px 80px -30px var(--hero-shadow);
}

/* Features grid */

.features {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 120px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 32px 26px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 10px;
}

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

/* Voice band — always dark, does not follow the light/dark toggle */

.voice-band {
  background: #1D1D1F;
  padding: 110px 24px;
}

.voice-band-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.voice-band h2 {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  margin: 0 0 20px;
}

.voice-band-inner > p {
  font-size: 18px;
  line-height: 1.6;
  color: #A1A1A6;
  max-width: 600px;
  margin: 0 auto 48px;
}

.voice-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: left;
}

.voice-point {
  background: #2C2C2E;
  border-radius: 16px;
  padding: 22px 24px;
}

.voice-point .name {
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
}

.voice-point .desc {
  font-size: 13.5px;
  color: #A1A1A6;
  margin-top: 6px;
}

/* Bottom CTA */

.cta-section {
  padding: 110px 24px;
  text-align: center;
}

.cta-section h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 28px;
}

/* Content pages (support / privacy / changelog) */

.page {
  margin: 0 auto;
  padding: 80px 24px 80px;
}

.page.support { max-width: 760px; }
.page.changelog { max-width: 720px; padding-bottom: 100px; }
.page.policy { max-width: 680px; }

.page h1 {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}

.page-intro {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 56px;
  max-width: 560px;
}

.page.changelog .page-intro { max-width: 540px; }

/* Support — FAQ */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--bg-secondary);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 56px;
}

.faq-item {
  background: var(--row-bg);
  padding: 24px 28px;
}

.faq-item .q {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.faq-item .a {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

.help-callout {
  background: var(--bg-secondary);
  border-radius: 16px;
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.help-callout .title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.help-callout .body {
  font-size: 15px;
  color: var(--text-secondary);
}

.help-callout .cta-pill {
  font-size: 15px;
  padding: 12px 24px;
}

/* Changelog — timeline */

.release {
  display: flex;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}

.release:last-child {
  padding-bottom: 0;
  border-bottom: 0;
  margin-bottom: 0;
}

.release-meta { flex: 0 0 130px; }

.release-date {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
}

.release-tag {
  display: inline-block;
  margin-top: 10px;
  background: var(--tag-bg);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
}

.release-body { flex: 1; }

.release-body h2 {
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 12px;
}

.release-body ul {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
  padding-left: 20px;
}

/* Privacy policy */

.updated {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: 48px;
}

.policy-sections {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.policy-sections h2 {
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 10px;
}

.policy-sections p,
.policy-sections ul {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0 0 12px;
}

.policy-sections p:last-child,
.policy-sections ul:last-child { margin-bottom: 0; }

.policy-sections ul { padding-left: 20px; }

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
}

.site-footer .wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: var(--text-tertiary);
}

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

.site-footer .links a { color: var(--text-tertiary); }
.site-footer .links a:hover { color: var(--accent-hover); }

/* Responsive — the handoff mocks are desktop-only; these scale them down */

@media (max-width: 900px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .voice-points { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .hero { padding-top: 64px; }
  .hero h1 { font-size: 40px; }
  .hero-lead { font-size: 18px; }
  .hero-shot { padding-top: 48px; margin-bottom: 80px; }
  .hero-shot img { width: 100%; max-width: 380px; }

  .features { padding-bottom: 80px; }

  .voice-band { padding: 80px 24px; }
  .voice-band h2 { font-size: 30px; }
  .voice-band-inner > p { font-size: 17px; margin-bottom: 32px; }

  .cta-section { padding: 80px 24px; }
  .cta-section h2 { font-size: 27px; }

  .page { padding-top: 56px; }
  .page h1 { font-size: 34px; }
  .page-intro { margin-bottom: 40px; }

  .faq-item { padding: 22px 22px; }
  .help-callout { padding: 26px 24px; }

  .release { flex-direction: column; gap: 12px; }
  .release-meta { flex: none; display: flex; align-items: center; gap: 12px; }
  .release-tag { margin-top: 0; }
}

@media (max-width: 600px) {
  .site-header {
    height: auto;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 10px 20px;
  }

  .nav-links { gap: 20px; }

  .site-footer .wrap {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }
}

@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .help-callout .cta-pill { width: 100%; text-align: center; }
}
