/* ── Fonts ─────────────────────────────────────────────────────────────────── */

@font-face {
  font-family: 'Fraunces';
  src: url('fonts/Fraunces-VariableFont_SOFT,WONK,opsz,wght.ttf') format('truetype');
  font-style: normal;
  font-weight: 100 900;
}

@font-face {
  font-family: 'Fraunces';
  src: url('fonts/Fraunces-Italic-VariableFont_SOFT,WONK,opsz,wght.ttf') format('truetype');
  font-style: italic;
  font-weight: 100 900;
}

/* ── Tokens ────────────────────────────────────────────────────────────────── */

:root {
  --accent:          #5F8604;
  --accent-muted:    #D7EBCC;
  --bg:              #FAF8F4;
  --text:            #1A1714;
  --text-secondary:  #888888;
  --text-tertiary:   #AAAAAA;
}

/* ── Reset ─────────────────────────────────────────────────────────────────── */

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

/* ── Base ──────────────────────────────────────────────────────────────────── */

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 1rem;
}

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

a:hover {
  opacity: 0.75;
}

/* ── Header ────────────────────────────────────────────────────────────────── */

header {
  background: var(--bg);
  border-bottom: 1px solid var(--accent-muted);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  padding: 0.875rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.4rem;
}

.brand-name {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

/* ── Nav tabs ──────────────────────────────────────────────────────────────── */

nav {
  display: flex;
}

.nav-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.5rem 1rem;
  transition: color 0.15s, border-color 0.15s;
}

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

.nav-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  font-weight: 500;
}

/* ── Main ──────────────────────────────────────────────────────────────────── */

main {
  padding: 3rem 1.5rem 4rem;
}

/* ── Tab sections ──────────────────────────────────────────────────────────── */

.tab-section {
  display: none;
}

.tab-section.active {
  display: block;
}

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

.hero {
  display: flex;
  gap: 3rem;
  align-items: stretch;
  margin-bottom: 2.5rem;
}

.hero-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.subheading {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.use-cases {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.use-case {
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  padding: 0.9rem 1.1rem;
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  background: #fff;
  box-shadow: 0 2px 8px rgba(95, 134, 4, 0.1);
}

h1 {
  font-family: 'Fraunces', serif;
  font-size: 5rem;
  font-weight: normal;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.tagline {
  font-family: 'Fraunces', serif;
  font-size: 1.8rem;
  color: var(--text);
  margin-bottom: 1.75rem;
}

.hero-subtitle {
  font-size: 1.0625rem;
  color: var(--text);
  line-height: 1.75;
  max-width: 36rem;
}

.hero-screenshots {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  flex-shrink: 0;
}

.screenshot {
  width: 16rem;
  height: auto;
  border-radius: 0.875rem;
  box-shadow: 0 8px 28px rgba(26, 23, 20, 0.16);
}

/* ── CTA panel ─────────────────────────────────────────────────────────────── */

.cta-panel {
  background: var(--accent-muted);
  border: 1px solid rgba(95, 134, 4, 0.18);
  border-radius: 1rem;
  padding: 1.75rem 2rem;
}

.cta-panel p {
  font-size: 1.0625rem;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.cta-panel p:last-child {
  margin-bottom: 0;
}

/* ── Section headings ──────────────────────────────────────────────────────── */

h2 {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1.25rem;
  letter-spacing: -0.015em;
}

/* ── Content sections (Support, Privacy, About) ────────────────────────────── */

#support p,
#privacy p,
#security p,
#how-it-works p,
#about p {
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

#support ol,
#privacy ul,
#about ul {
  padding-left: 1.3rem;
  font-size: 1.0625rem;
  margin-bottom: 1.25rem;
}

#support ol li,
#privacy ul li,
#about ul li {
  margin-bottom: 0.5rem;
  line-height: 1.65;
}

.steps {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin-top: 0.5rem;
}

.step {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.step-screenshots {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.step-screenshots .screenshot {
  flex: 1;
  min-width: 0;
  width: 0;
  max-width: 14rem;
}

.step-label {
  font-family: 'Fraunces', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.section-heading {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

.sign-off {
  font-family: 'Fraunces', serif;
  color: var(--text);
  margin-top: 0.5rem;
}

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

@media (max-width: 768px) {
  h1 {
    font-size: 2.25rem;
  }

  .hero {
    flex-direction: column;
    gap: 2rem;
  }

  .hero-screenshots {
    justify-content: center;
    width: 100%;
  }

  .screenshot {
    width: 44%;
    max-width: 16rem;
  }

  .cta-panel {
    padding: 1.25rem 1.25rem;
  }

  .nav-tab {
    padding: 0.5rem 0.625rem;
    font-size: 0.875rem;
  }

  .steps {
    flex-direction: column;
  }
}
