:root {
  --bg:        #ffffff;
  --bg-raised: #f5f0e8;
  --bg-box:    #faf8f4;
  --border:    #e4dbd0;
  --text:      #7a6a5e;
  --text-h:    #1a1209;
  --accent:    #1e8a4c;
  --accent-dim: rgba(30, 138, 76, 0.10);
  --accent-border: rgba(30, 138, 76, 0.30);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg:        #1a1714;
    --bg-raised: #221e1b;
    --bg-box:    #2a2420;
    --border:    #3a332d;
    --text:      #9a8f86;
    --text-h:    #f0ebe5;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.6;
}

a { color: var(--accent); }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.nav {
  border-bottom: 1px solid var(--border);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.nav-logo {
  font-family: "Playfair Display", serif;
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--text-h);
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.9rem;
}

.nav-links a { color: var(--text); text-decoration: none; }
.nav-links a:hover { color: var(--text-h); }

.btn {
  display: inline-block;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  padding: 10px 20px;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { opacity: 0.92; }

.btn-secondary {
  background: transparent;
  color: var(--text-h);
  border-color: var(--border);
}
.btn-secondary:hover { background: var(--bg-box); }

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

.hero {
  padding: 88px 0 72px;
  text-align: center;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-weight: 900;
  color: var(--text-h);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.1;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}

.hero .accent { color: var(--accent); }

.hero p {
  max-width: 560px;
  margin: 0 auto 36px;
  font-size: 1.1rem;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-ctas .btn { padding: 13px 26px; font-size: 0.95rem; }

/* ── Mock preview ────────────────────────────────── */

.mock {
  max-width: 720px;
  margin: 56px auto 0;
  background: var(--bg-box);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  text-align: left;
}

.mock-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}
.mock-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--border);
}

.mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  margin-bottom: 8px;
  font-size: 0.85rem;
}
.mock-row:last-child { margin-bottom: 0; }

.mock-time { color: var(--text-h); font-weight: 600; min-width: 54px; }
.mock-tables { display: flex; gap: 6px; flex: 1; flex-wrap: wrap; }
.mock-chip {
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  border-radius: 5px;
  padding: 2px 7px;
  font-size: 0.75rem;
  font-weight: 600;
}
.mock-check {
  width: 18px; height: 18px;
  border-radius: 5px;
  border: 1.5px solid var(--border);
  flex-shrink: 0;
}
.mock-check--done {
  background: var(--accent);
  border-color: var(--accent);
}

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

section { padding: 64px 0; }
section + section { border-top: 1px solid var(--border); }

.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 44px;
}

.section-head h2 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  color: var(--text-h);
  font-size: 1.9rem;
  margin: 0 0 12px;
}

.section-head p { margin: 0; }

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

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg-box);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}

.feature-card h3 {
  font-family: "Playfair Display", serif;
  color: var(--text-h);
  font-size: 1.05rem;
  margin: 0 0 8px;
}

.feature-card p { margin: 0; font-size: 0.9rem; }

/* ── Steps ───────────────────────────────────────── */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  counter-reset: step;
}

.step { text-align: center; }

.step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.step h3 {
  font-family: "Playfair Display", serif;
  color: var(--text-h);
  font-size: 1rem;
  margin: 0 0 8px;
}

.step p { margin: 0; font-size: 0.9rem; }

/* ── Plan comparison ─────────────────────────────── */

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}

.plan-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  background: var(--bg-box);
}

.plan-card--full {
  border-color: var(--accent-border);
  background: var(--accent-dim);
}

.plan-name {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  color: var(--text-h);
  font-size: 1.2rem;
  margin: 0 0 4px;
}

.plan-tagline { font-size: 0.85rem; margin: 0 0 20px; }

.plan-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
}

.plan-list li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 0;
}

.plan-check { color: var(--accent); font-weight: 700; }
.plan-dash { color: var(--border); font-weight: 700; }
.plan-list li.plan-list--off { opacity: 0.45; }

/* ── Final CTA ───────────────────────────────────── */

.cta-banner {
  text-align: center;
}

.cta-banner h2 {
  font-family: "Playfair Display", serif;
  font-weight: 900;
  color: var(--text-h);
  font-size: 2rem;
  margin: 0 0 12px;
}

.cta-banner p { max-width: 460px; margin: 0 auto 28px; }

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

.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  font-size: 0.85rem;
}

.footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a { color: var(--text); text-decoration: none; }
.footer-links a:hover { color: var(--text-h); }

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

@media (max-width: 640px) {
  .wrap { padding: 0 18px; }

  .nav .wrap { padding-top: 14px; padding-bottom: 14px; gap: 8px; }
  .nav-links { gap: 8px; }
  .nav-links a:not(.btn) { display: none; }
  .nav-links .btn { padding: 8px 14px; font-size: 0.82rem; }

  .hero { padding: 52px 0 44px; }
  .hero p { font-size: 1rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { text-align: center; }

  .mock { padding: 14px; margin-top: 36px; border-radius: 12px; }
  .mock-row { padding: 8px 10px; gap: 8px; font-size: 0.78rem; }
  .mock-tables { gap: 5px; }

  section { padding: 44px 0; }
  .section-head { margin-bottom: 32px; }
  .section-head h2 { font-size: 1.5rem; }

  .feature-card, .plan-card { padding: 20px; }

  .cta-banner h2 { font-size: 1.6rem; }

  .footer .wrap { flex-direction: column; align-items: flex-start; }
}
