/* Landing page — standalone, does not inherit from base layout */

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

:root {
  --bg: #fbf8f1;
  --ink: #171a1f;
  --ink-2: #3d4148;
  --ink-3: #6b6f78;
  --ink-4: #9aa0a8;
  --border: #e8e2d3;
  --surface: #ffffff;
  --brand: #4dbba0;
  --brand-deep: #2e8a73;
  --brand-fg: #0c5a4a;
  --brand-bg: #e8f5f0;
  --brand-border: #b8e0d2;
  --accent: #c9683a;
  --accent-fg: #7a3e1f;
  --accent-bg: #f5e6dc;
  --font-display: 'Fraunces', 'Source Serif Pro', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}

html { -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

a { color: inherit; text-decoration: none; }

/* ── Top bar ─────────────────────────────────────────────────── */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 3rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 10;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.375rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variation-settings: 'opsz' 72, 'SOFT' 50;
}

.wordmark-dot { color: var(--brand); font-weight: 700; }

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1.125rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: all 0.15s ease;
}

.btn-ghost {
  background: transparent;
  color: var(--ink-2);
  border-color: transparent;
}
.btn-ghost:hover { background: var(--brand-bg); color: var(--brand-fg); }

.btn-primary {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.btn-primary:hover { background: var(--ink-2); border-color: var(--ink-2); color: var(--bg); }

.btn-brand {
  background: var(--brand);
  color: #083d31;
  border-color: var(--brand);
}
.btn-brand:hover { background: var(--brand-deep); color: white; border-color: var(--brand-deep); }

.btn-lg { padding: 0.75rem 1.75rem; font-size: 1rem; }

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

.hero {
  max-width: 900px;
  margin: 0 auto;
  padding: 6rem 3rem 5rem;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-fg);
  background: var(--brand-bg);
  border: 1px solid var(--brand-border);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 2rem;
}

.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.75rem, 6vw, 4.25rem);
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--ink);
  font-variation-settings: 'opsz' 96, 'SOFT' 20;
  margin: 0 0 1.5rem;
}

.hero-headline em {
  font-style: normal;
  color: var(--brand-fg);
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--ink-3);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-footnote {
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  color: var(--ink-4);
  font-style: italic;
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 12, 'SOFT' 50;
}

/* ── Divider rule ────────────────────────────────────────────── */

.section-rule {
  border: 0;
  height: 1px;
  background: var(--border);
  max-width: 900px;
  margin: 0 auto;
}

/* ── Features ────────────────────────────────────────────────── */

.features {
  max-width: 960px;
  margin: 0 auto;
  padding: 5rem 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--brand-bg);
  border: 1px solid var(--brand-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--brand-fg);
}

.feature-icon svg { width: 20px; height: 20px; stroke-width: 1.75; }

.feature-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  font-variation-settings: 'opsz' 24, 'SOFT' 20;
  color: var(--ink);
  margin: 0 0 0.5rem;
}

.feature-desc {
  font-size: 0.9375rem;
  color: var(--ink-3);
  line-height: 1.6;
  margin: 0;
}

/* ── How it works ────────────────────────────────────────────── */

.how {
  max-width: 960px;
  margin: 0 auto;
  padding: 5rem 3rem;
}

.how-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-4);
  text-align: center;
  margin: 0 0 3rem;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
}

.step-icon {
  width: 40px;
  height: 40px;
  background: var(--brand-bg);
  border: 1px solid var(--brand-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--brand-fg);
}

.step-icon svg { width: 20px; height: 20px; stroke-width: 1.75; }

.step-badge {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-fg);
  margin: 0 0 0.375rem;
}

.step-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  font-variation-settings: 'opsz' 36, 'SOFT' 20;
  color: var(--ink);
  margin: 0 0 0.5rem;
}

.step-desc {
  font-size: 0.9375rem;
  color: var(--ink-3);
  line-height: 1.65;
  margin: 0;
}

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

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 4rem 3rem 2rem;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.footer-wordmark {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.375rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variation-settings: 'opsz' 72, 'SOFT' 50;
  margin-bottom: 0.75rem;
}

.footer-desc {
  font-size: 0.875rem;
  color: var(--ink-3);
  line-height: 1.65;
  margin: 0 0 1.25rem;
}

.footer-contact a {
  font-size: 0.875rem;
  color: var(--brand-fg);
  font-weight: 500;
}
.footer-contact a:hover { text-decoration: underline; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-col-head {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-4);
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: var(--ink-3);
  margin-bottom: 0.625rem;
  transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--brand-fg); }

.footer-bottom {
  max-width: 960px;
  margin: 2rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright { font-size: 0.8125rem; color: var(--ink-4); }

.footer-social { display: flex; gap: 0.875rem; align-items: center; }

.footer-social a {
  color: var(--ink-4);
  transition: color 0.15s ease;
  display: flex;
}
.footer-social a:hover { color: var(--ink); }
.footer-social svg { width: 17px; height: 17px; }

@media (max-width: 768px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

@media (max-width: 640px) {
  .topbar { padding: 1rem 1.25rem; }
  .hero { padding: 3.5rem 1.25rem 3rem; }
  .features { padding: 3rem 1.25rem; gap: 2rem; grid-template-columns: 1fr; }
  .how { padding: 3rem 1.25rem; }
  .how-steps { grid-template-columns: 1fr; gap: 1rem; }
  .site-footer { padding: 3rem 1.25rem 1.5rem; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 1rem; }
}
