/* ───────── Reset + base ───────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: #1a1a1a;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: #1f7a3a; text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 0.5em; }
h1 { font-size: 2.5rem; font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.01em; margin-top: 0; }
h3 { font-size: 1.125rem; font-weight: 600; }
p  { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.5em; }
ul li, ol li { margin-bottom: 0.25em; }

/* ───────── Layout ───────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 720px; }

.section { padding: 64px 0; }
.section-alt { background: #f9fafb; }

/* ───────── Header / nav ───────── */
.site-header {
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 600;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.brand-name { font-size: 1.05rem; }

.site-header nav {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.site-header nav a {
  color: #4b5563;
  font-size: 0.95rem;
}
.site-header nav a:hover { color: #1a1a1a; text-decoration: none; }
.site-header nav a.current { color: #1a1a1a; font-weight: 500; }

/* ───────── Hero ───────── */
.hero {
  padding: 96px 0 64px;
  text-align: center;
}
.hero h1 {
  max-width: 760px;
  margin: 0 auto 16px;
}
.hero .lede {
  max-width: 640px;
  margin: 0 auto 16px;
  font-size: 1.15rem;
  color: #374151;
}
.muted { color: #6b7280; }
.small { font-size: 0.875rem; }

/* ───────── Feature grid ───────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.feature {
  padding: 24px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}
.section-alt .feature { background: #ffffff; }
.feature h3 { margin-bottom: 8px; color: #1a1a1a; }
.feature p { margin: 0; color: #4b5563; }

/* ───────── Sign-up section ───────── */
.steps {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px 24px 20px 44px;
  margin: 16px 0 32px;
}
.steps li {
  margin-bottom: 8px;
}

.sms-sample {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px 20px;
  max-width: 480px;
  margin: 8px 0 24px;
}
.sms-meta {
  font-size: 0.8rem;
  color: #6b7280;
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.sms-body {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.95rem;
  color: #1a1a1a;
}

.fine-print {
  font-size: 0.95rem;
  color: #4b5563;
  border-left: 3px solid #d1d5db;
  padding-left: 16px;
  margin: 0;
}

/* ───────── Doc pages (privacy / terms) ───────── */
.doc {
  padding: 48px 0 80px;
}
.doc h1 {
  font-size: 2rem;
  margin-bottom: 4px;
}
.doc h2 {
  font-size: 1.3rem;
  margin-top: 40px;
  margin-bottom: 12px;
}
.doc h3 {
  font-size: 1.05rem;
  margin-top: 24px;
  margin-bottom: 8px;
}
.doc ul, .doc ol { color: #374151; }

/* ───────── Footer ───────── */
.site-footer {
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}
.footer-heading {
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #4b5563;
  margin: 0 0 12px;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer ul li {
  margin-bottom: 6px;
}
.site-footer a {
  color: #4b5563;
  font-size: 0.95rem;
}

/* ───────── Responsive tweaks ───────── */
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  .hero { padding: 56px 0 40px; }
  .section { padding: 48px 0; }
  .site-header nav { gap: 14px; }
  .site-header nav a { font-size: 0.9rem; }
}
