:root {
  --ink: #1c1917;
  --ink-soft: #4a4442;
  --cream: #faf6f1;
  --cream-alt: #f2ebe2;
  --line: #e7dfd4;
  --accent: #b5502e;
  --accent-dark: #8f3d22;
  --accent-soft: #f1dccb;
  --gold: #a3823f;
  --radius: 14px;
  --shadow: 0 20px 50px -25px rgba(28, 25, 23, 0.35);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 16px;
}

p { margin: 0 0 16px; color: var(--ink-soft); }

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 12px;
}

.section-title { font-size: clamp(28px, 3.4vw, 40px); color: var(--ink); }
.center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(181, 80, 46, 0.65);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 14px 28px; font-size: 16px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 241, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: block;
}
.nav {
  display: flex;
  gap: 32px;
}
.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
}
.nav a:hover { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* Hero */
.hero { padding: 72px 0 40px; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  letter-spacing: -0.01em;
}
.lede { font-size: 18px; max-width: 46ch; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin: 28px 0 16px; }
.hero-note { font-size: 14px; color: var(--ink-soft); opacity: 0.85; }

.mock-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  padding: 22px;
  max-width: 420px;
  margin-left: auto;
}
.mock-card-header { display: flex; gap: 6px; margin-bottom: 18px; }
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock-line-title {
  height: 14px;
  width: 60%;
  background: var(--cream-alt);
  border-radius: 6px;
  margin-bottom: 20px;
}
.mock-stat-row { display: flex; gap: 16px; margin-bottom: 20px; }
.mock-stat {
  flex: 1;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
}
.mock-stat-label { display: block; font-size: 12px; color: var(--ink-soft); margin-bottom: 6px; }
.mock-stat-value { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--ink); }
.mock-chart { margin-bottom: 18px; }
.mock-chart svg { width: 100%; height: 70px; }
.mock-chart polyline {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mock-alert {
  font-size: 13px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
}

/* Logos strip */
.logos {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  margin-top: 40px;
}
.logos p {
  margin: 0;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Features */
.features { padding: 96px 0; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-card h3 { font-size: 19px; margin-bottom: 8px; }
.feature-card p { margin: 0 auto; font-size: 15px; max-width: 34ch; }

/* How it works */
.how { padding: 96px 0; background: var(--cream-alt); }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 16px;
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { font-size: 15px; margin: 0; }

/* Showcase */
.showcase { padding: 96px 0; }
.showcase-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 48px;
}
.phone-frame {
  width: 230px;
  margin: 0;
  text-align: center;
}
.phone-frame img {
  width: 100%;
  border-radius: 28px;
  border: 7px solid var(--ink);
  box-shadow: var(--shadow);
}
.phone-frame figcaption {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}

/* Pricing */
.pricing { padding: 96px 0; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  align-items: stretch;
}
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card-featured {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.price-badge {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin: 0;
}
.price-card h3 { font-size: 18px; margin-bottom: 8px; }
.price { font-family: var(--font-display); font-size: 30px; font-weight: 600; margin-bottom: 4px; color: var(--ink); }
.price-sub { font-size: 14px; margin-bottom: 20px; }
.price-card ul { list-style: none; margin: 0 0 28px; padding: 0; flex: 1; }
.price-card li {
  font-size: 14px;
  color: var(--ink-soft);
  padding: 8px 0;
  border-top: 1px solid var(--line);
}
.price-card li:first-child { border-top: none; }
.price-card .btn { align-self: flex-start; }

/* Waitlist */
.waitlist {
  padding: 90px 0;
  background: var(--ink);
  color: #fff;
}
.waitlist-inner { max-width: 640px; text-align: center; margin: 0 auto; }
.waitlist .eyebrow { color: var(--gold); }
.waitlist .section-title { color: #fff; }
.waitlist .lede { color: #d8d2cc; }
.waitlist-form {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.waitlist-form input {
  flex: 1;
  min-width: 220px;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid #4a4442;
  background: #2a2523;
  color: #fff;
  font-size: 15px;
  font-family: var(--font-body);
}
.waitlist-form input::placeholder { color: #9a9089; }
.waitlist-form input:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.waitlist-status { font-size: 14px; color: var(--gold); min-height: 20px; margin-top: 14px; }

/* FAQ */
.faq { padding: 96px 0; }
.faq-list {
  max-width: 720px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 22px;
  background: #fff;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 700;
}
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { margin: 14px 0 0; font-size: 15px; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: #cfc8c1;
  padding-top: 56px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid #3a3532;
}
.footer-inner .logo { color: #fff; }
.footer-inner p { color: #a89f97; margin: 8px 0 0; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { text-decoration: none; color: #cfc8c1; font-size: 14px; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { padding: 20px 0; }
.footer-bottom p { margin: 0; font-size: 13px; color: #8a817a; text-align: center; }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .mock-card { margin: 0 auto; }
  .feature-grid, .steps, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav { position: fixed; top: 72px; left: 0; right: 0; background: var(--cream); flex-direction: column; padding: 20px 24px; border-bottom: 1px solid var(--line); gap: 18px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: all 0.2s ease; }
  .nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-toggle { display: flex; }
  .header-actions .btn-primary { display: none; }
  .feature-grid, .steps, .pricing-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
}
