/* Dabbi marketing site — dark, terracotta, on-brand with the app. */
:root {
  --bg: #0E0D0C;
  --surface1: #1A1816;
  --surface2: #221F1C;
  --hairline: #2E2A26;
  --text-hi: #F5F1EA;
  --text-mid: #B8AFA3;
  --text-low: #7C7468;
  --accent: #E0703A;
  --accent-strong: #D4622A;
  --accent-ghost: rgba(224, 112, 58, 0.14);
  --success: #4A8A42;
  --max: 1080px;
  --radius: 16px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text-hi);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.section { padding: 64px 0; }
h1, h2, h3 { line-height: 1.18; letter-spacing: -0.02em; }
h1 { font-size: clamp(34px, 6vw, 56px); font-weight: 800; }
h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; margin-bottom: 14px; }
h3 { font-size: 19px; font-weight: 700; }
p { color: var(--text-mid); font-size: 17px; }
.eyebrow { color: var(--accent); font-size: 12.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }

/* nav */
header.nav { position: sticky; top: 0; z-index: 50; background: rgba(14,13,12,0.82); backdrop-filter: blur(10px); border-bottom: 1px solid var(--hairline); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 18px; color: var(--text-hi); }
.brand:hover { text-decoration: none; }
.spark { width: 24px; height: 24px; display: inline-block; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--text-mid); font-size: 14.5px; font-weight: 600; }
.nav-links a:hover { color: var(--text-hi); text-decoration: none; }
@media (max-width: 680px) { .nav-links a:not(.btn) { display: none; } }

/* buttons */
.btn { display: inline-block; background: var(--accent); color: #1A1008; font-weight: 700; font-size: 15px; padding: 12px 20px; border-radius: 12px; border: 0; cursor: pointer; }
.btn:hover { background: var(--accent-strong); text-decoration: none; }
.btn.ghost { background: transparent; color: var(--text-hi); border: 1px solid var(--hairline); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }

/* hero */
.hero { padding: 84px 0 56px; }
.hero h1 .accent { color: var(--accent); }
.hero p.lead { font-size: clamp(17px, 2.4vw, 21px); color: var(--text-mid); max-width: 640px; margin: 22px 0 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-note { color: var(--text-low); font-size: 13px; margin-top: 14px; }

/* magic-moment card */
.moment { background: var(--surface1); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 24px; margin-top: 44px; }
.moment .row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; }
@media (max-width: 720px) { .moment .row { grid-template-columns: 1fr; } .moment .arrow { transform: rotate(90deg); justify-self: start; } }
.chip { background: var(--surface2); border: 1px solid var(--hairline); border-radius: 12px; padding: 14px 16px; }
.chip .label { color: var(--text-low); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.chip .body { color: var(--text-hi); font-size: 15px; margin-top: 5px; }
.chip.out { border-color: var(--accent); background: var(--accent-ghost); }
.arrow { color: var(--accent); font-size: 26px; text-align: center; }

/* feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--surface1); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 22px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 15px; }
.num { width: 30px; height: 30px; border-radius: 9px; background: var(--accent-ghost); color: var(--accent); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; }

/* compare table */
table.cmp { width: 100%; border-collapse: collapse; background: var(--surface1); border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden; }
table.cmp th, table.cmp td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--hairline); font-size: 15px; vertical-align: top; }
table.cmp th { background: var(--surface2); color: var(--text-mid); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; }
table.cmp td.yes { color: var(--success); font-weight: 700; }
table.cmp td.no { color: var(--text-low); }
table.cmp tr:last-child td { border-bottom: 0; }

/* pricing */
.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 720px) { .tiers { grid-template-columns: 1fr; } }
.tier { background: var(--surface1); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 26px; }
.tier.featured { border-color: var(--accent); }
.tier .price { font-size: 30px; font-weight: 800; margin: 8px 0 4px; }
.tier ul { list-style: none; margin: 16px 0 0; }
.tier li { color: var(--text-mid); font-size: 15px; padding: 7px 0 7px 26px; position: relative; }
.tier li::before { content: "✓"; color: var(--accent); position: absolute; left: 0; font-weight: 800; }

/* faq */
.faq-item { border-bottom: 1px solid var(--hairline); padding: 20px 0; }
.faq-item h3 { margin-bottom: 8px; }
.faq-item p { font-size: 15.5px; }

/* waitlist */
.waitlist { background: linear-gradient(180deg, var(--accent-ghost), transparent), var(--surface1); border: 1px solid var(--accent); border-radius: 20px; padding: 36px; text-align: center; }
.waitlist form { display: flex; gap: 10px; max-width: 460px; margin: 20px auto 0; flex-wrap: wrap; }
.waitlist input[type=email] { flex: 1; min-width: 220px; background: var(--bg); border: 1px solid var(--hairline); color: var(--text-hi); border-radius: 12px; padding: 13px 16px; font-size: 15px; }
.waitlist input[type=email]:focus { outline: none; border-color: var(--accent); }
.waitlist .msg { margin-top: 14px; font-size: 14px; min-height: 20px; }
.waitlist .msg.ok { color: var(--success); }
.waitlist .msg.err { color: #D9694F; }

/* footer */
footer { border-top: 1px solid var(--hairline); padding: 40px 0; color: var(--text-low); font-size: 13.5px; }
.foot-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-links a { color: var(--text-mid); }

.muted { color: var(--text-low); font-size: 13px; }
.center { text-align: center; }
.mt-s { margin-top: 10px; } .mt-m { margin-top: 24px; } .mt-l { margin-top: 44px; }
