/* Forma — Editorial design tokens.
   All colors match the iOS app's palette exactly so the website + app feel
   like one product. */

:root {
  --bg:      #f8f7f5;
  --paper:   #fdfcfb;
  --ink:     #141414;
  --gray:    #717170;
  --line:    rgba(0, 0, 0, 0.10);
  --line-strong: rgba(0, 0, 0, 0.18);
  --inset:   1.5rem;
}

* { box-sizing: border-box; }

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; border-bottom: 0.5px solid var(--ink); padding-bottom: 1px; }
a:hover { color: var(--gray); border-color: var(--gray); }

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

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

.container {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 32px;
}

.container--narrow { max-width: 720px; }

main { padding: 56px 0 96px; }

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

.nav {
  border-bottom: 0.5px solid var(--line);
  padding: 20px 0;
  background: var(--bg);
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-brand {
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.18em;
  border: none;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray);
  border: none;
  padding-bottom: 0;
}
.nav-links a.active { color: var(--ink); }

/* ─────────────────────────────── Type ─────────────────────────────── */

.serif {
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.label {
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gray);
  font-weight: 500;
}

h1.hero {
  font-family: ui-serif, Georgia, serif;
  font-weight: 500;
  font-size: 72px;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 24px 0 28px;
}

h2 {
  font-family: ui-serif, Georgia, serif;
  font-weight: 500;
  font-size: 36px;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  line-height: 1.18;
}

h3 {
  font-family: ui-serif, Georgia, serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.005em;
  margin: 0 0 10px;
}

p { margin: 0 0 14px; }

.lede { font-size: 18px; line-height: 1.6; color: var(--ink); }

.body-gray { color: var(--gray); }

/* ─────────────────────────────── Buttons ─────────────────────────────── */

.btn {
  display: inline-block;
  background: var(--ink);
  color: white !important;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 18px 28px;
  border: none;
  font-weight: 500;
  transition: opacity 0.18s ease;
}
.btn:hover { opacity: 0.86; color: white !important; border: none; }

.btn--ghost {
  background: transparent;
  color: var(--ink) !important;
  border: 0.5px solid var(--ink);
  padding: 17px 27px;
}

/* ─────────────────────────────── Sections ─────────────────────────────── */

.section { padding: 80px 0; border-top: 0.5px solid var(--line); }
.section:first-of-type { border-top: none; }

.hero-section { padding: 80px 0 120px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
  margin-top: 48px;
}

.feature {
  border-top: 0.5px solid var(--ink);
  padding-top: 18px;
}
.feature .label { margin-bottom: 10px; display: block; }

.step-list { counter-reset: step; margin-top: 36px; padding: 0; list-style: none; }
.step-list li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 28px;
  padding: 24px 0;
  border-top: 0.5px solid var(--line);
  align-items: baseline;
}
.step-list li::before {
  counter-increment: step;
  content: "STEP " counter(step, decimal-leading-zero);
  font-size: 9px;
  letter-spacing: 0.26em;
  color: var(--gray);
  font-weight: 500;
}
.step-list h3 { margin-bottom: 6px; }
.step-list p { color: var(--gray); margin: 0; }

/* ─────────────────────────────── Pricing ─────────────────────────────── */

.pricing-table {
  width: 100%;
  margin-top: 40px;
  border-collapse: collapse;
  font-size: 14px;
}
.pricing-table th, .pricing-table td {
  text-align: left;
  padding: 18px 0;
  border-top: 0.5px solid var(--line);
}
.pricing-table tr:last-child td { border-bottom: 0.5px solid var(--line); }
.pricing-table th {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray);
  font-weight: 500;
  width: 28%;
}
.pricing-table td.tier { text-align: center; width: 22%; }
.pricing-table .check { font-family: ui-serif, Georgia, serif; font-size: 18px; }
.pricing-table .dash  { color: var(--gray); }
.pricing-cta {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 0.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.pricing-cta .price { font-family: ui-serif, Georgia, serif; font-size: 28px; font-weight: 500; }
.pricing-cta .price small { font-size: 14px; color: var(--gray); margin-left: 6px; }

/* ─────────────────────────────── Founder note ─────────────────────────────── */

.founder {
  background: var(--paper);
  padding: 56px 0;
  margin-top: 80px;
  border-top: 0.5px solid var(--line);
  border-bottom: 0.5px solid var(--line);
}
.founder p { max-width: 560px; }
.founder .signature {
  font-family: ui-serif, Georgia, serif;
  font-style: italic;
  margin-top: 18px;
  font-size: 17px;
}

/* ─────────────────────────────── FAQ ─────────────────────────────── */

.faq dl { margin-top: 40px; }
.faq dt {
  font-family: ui-serif, Georgia, serif;
  font-weight: 500;
  font-size: 19px;
  margin: 28px 0 6px;
  padding-top: 22px;
  border-top: 0.5px solid var(--line);
}
.faq dt:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.faq dd { color: var(--gray); margin: 0 0 18px; }

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

footer {
  border-top: 0.5px solid var(--line);
  padding: 40px 0;
  background: var(--paper);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-inner small {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray);
}
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray);
  border: none;
}

/* ─────────────────────────────── Support / Privacy page ─────────────────────────────── */

.doc {
  max-width: 720px;
  margin: 0 auto;
}
.doc h2 { margin-top: 56px; margin-bottom: 16px; font-size: 28px; }
.doc h3 { font-size: 18px; margin: 28px 0 8px; }
.doc p, .doc li { color: var(--ink); }
.doc ul, .doc ol { padding-left: 22px; }
.doc strong { font-weight: 600; }
.doc .meta { font-size: 13px; color: var(--gray); margin-top: 4px; }
.doc hr { border: none; border-top: 0.5px solid var(--line); margin: 56px 0; }

/* ─────────────────────────────── Mobile ─────────────────────────────── */

@media (max-width: 700px) {
  h1.hero { font-size: 46px; line-height: 1.05; }
  h2 { font-size: 28px; }
  .container { padding: 0 24px; }
  .nav-links { gap: 18px; }
  .feature-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-section { padding: 56px 0 80px; }
  .section { padding: 56px 0; }
  .pricing-cta { flex-direction: column; align-items: flex-start; }
  .step-list li { grid-template-columns: 1fr; gap: 6px; }
  .step-list li::before { font-size: 9px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
