/* Brand: change these to restyle the whole site. Matches the web app's palette. */
:root {
  --bg: #14110d;
  --bg-raised: #1c1814;
  --card: #2b2620;
  --line: #3d362d;
  --text: #ece3d1;
  --muted: #998f80;
  --gold: #c89b3c;
  --gold-soft: rgb(200 155 60 / 0.14);
  --warn: #d9824a;
  --ok: #8fb07a;
  --radius: 16px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
section { padding: 88px 0; }
.band { background: var(--bg-raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.eyebrow {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.8em;
}
.muted { color: var(--muted); }
.lede { font-size: 1.2rem; color: #d6ccb9; max-width: 34em; }

button, input { font: inherit; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--bg);
  font-weight: 650;
  border: 1px solid var(--gold);
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); background: #d6aa4b; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--gold-soft); border-color: var(--gold); }
.btn-small { padding: 9px 18px; font-size: 0.92rem; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.ctas.center { justify-content: center; }
.sublink { display: inline-block; font-size: 0.95rem; margin-top: 8px; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgb(20 17 13 / 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 1.05rem; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 8px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--muted); font-size: 0.95rem; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero { padding: 72px 0 96px; background: linear-gradient(to bottom, rgb(200 155 60 / 0.07), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }

.mock {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 30px 80px rgb(0 0 0 / 0.45);
  font-variant-numeric: tabular-nums;
}
.mock .label { color: var(--gold); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.mock-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.9rem; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0; }
.mock-stats div { background: var(--bg-raised); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; font-size: 0.78rem; }
.mock-stats strong { font-size: 1.5rem; color: var(--text); }
.mock-rows { list-style: none; margin: 0; padding: 0; font-size: 0.9rem; }
.mock-rows li { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); }
.mock-foot { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; }
.warn { color: var(--warn); }
.ok { color: var(--ok); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step-num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 14px;
}
.steps p { color: #cfc5b3; margin: 0; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.feature { background: var(--card); border-radius: var(--radius); padding: 24px; border: 1px solid transparent; }
.feature:hover { border-color: var(--line); }
.feature h3 { color: var(--gold); }
.feature p { color: #cfc5b3; margin: 0; font-size: 0.97rem; }

/* Audiences */
.audiences { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.audience { border-left: 2px solid var(--gold); padding: 4px 0 4px 22px; }
.audience p { color: #cfc5b3; margin-bottom: 0.4em; }

/* Pricing */
.price-card {
  background: var(--card);
  border: 1px solid var(--gold);
  border-radius: 22px;
  padding: 36px 28px;
  margin: 32px auto 20px;
  max-width: 440px;
}
.price { font-size: 1.1rem; color: var(--muted); }
.price strong { display: block; font-size: 3.6rem; line-height: 1; color: var(--text); margin-bottom: 6px; }
.checks { list-style: none; padding: 0; margin: 20px 0 28px; text-align: left; }
.checks li { padding: 6px 0 6px 28px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 4px; color: var(--gold); font-weight: 700; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details:first-of-type { border-top: 1px solid var(--line); margin-top: 24px; }
summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--gold); font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { color: #cfc5b3; margin: 12px 0 0; }

/* Footer */
footer { padding: 36px 0 48px; }
.footer-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.footer-inner nav { display: flex; gap: 20px; margin-left: auto; }
.footer-inner nav a { color: var(--muted); }
.footer-inner p { margin: 0; font-size: 0.9rem; }

/* Tablet and phone */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps, .audiences { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 64px 0; }
  .hero { padding: 44px 0 64px; }
  .wrap { padding: 0 16px; }
  .nav-links { display: none; }
  .nav-inner { justify-content: space-between; }
  .features { grid-template-columns: 1fr; }
  .ctas .btn { width: 100%; }
  .mock { padding: 16px; }
  .mock-stats strong { font-size: 1.2rem; }
  .mock-rows li { grid-template-columns: 1fr auto; }
  .mock-rows li span:nth-child(2) { display: none; }
  .footer-inner nav { margin-left: 0; }
}

/* Small print, stand-ins and screen-reader text */
.fineprint { color: var(--muted); font-size: 0.92rem; margin: 0; }
.fineprint a { white-space: nowrap; }
.btn-soon { cursor: default; color: var(--muted); }
.btn-soon:hover { transform: none; background: transparent; border-color: var(--line); }
.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; }

/* Waitlist */
.waitlist { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.waitlist input[type=email] {
  flex: 1 1 260px;
  max-width: 360px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-raised);
  color: var(--text);
  font: inherit;
}
.waitlist input[type=email]:focus { outline: 2px solid var(--gold); outline-offset: 2px; }
.waitlist-who { flex-basis: 100%; border: 0; padding: 0; margin: 4px 0 0; display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; color: var(--muted); font-size: 0.95rem; }
.waitlist-who input { accent-color: var(--gold); margin-right: 6px; }
.waitlist-status { flex-basis: 100%; min-height: 1.6em; margin: 0; color: var(--gold); }

/* Demo tour */
.tour { padding: 48px 0 80px; }
.tour-title { font-size: clamp(2rem, 5vw, 3rem); }
.tour-stage { margin-top: 32px; display: grid; grid-template-columns: 1fr; gap: 20px; }
.tour-progress { display: flex; gap: 6px; }
.tour-progress button { flex: 1; height: 5px; border: 0; border-radius: 3px; background: var(--line); cursor: pointer; padding: 0; }
.tour-progress button[aria-selected=true] { background: var(--gold); }
.tour-shot { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px rgb(0 0 0 / 0.45); background: var(--bg-raised); }
.tour-shot img { width: 100%; height: auto; }
.tour-caption { max-width: 760px; }
.tour-caption h2 { font-size: 1.6rem; margin-bottom: 0.3em; }
.tour-caption p { color: #cfc5b3; }
.tour-count { color: var(--gold) !important; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.4em; }
.tour-nav { display: flex; gap: 12px; margin-top: 18px; }
.tour-nav .btn:disabled { opacity: 0.4; cursor: default; transform: none; }
.tour-end { margin-top: 72px; padding-top: 56px; border-top: 1px solid var(--line); }
@media (min-width: 1000px) {
  .tour-stage { grid-template-columns: 1fr 320px; align-items: start; }
  .tour-progress { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .tour-nav .btn { flex: 1; }
  .waitlist .btn { width: 100%; }
  .waitlist input[type=email] { max-width: none; }
}

/* App screenshots */
.screens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 36px 0 12px; }
.screen { display: block; color: var(--text); }
.screen:hover { text-decoration: none; }
.screen img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 20px 50px rgb(0 0 0 / 0.4); transition: transform 0.15s ease; }
.screen:hover img { transform: translateY(-2px); }
.screen span { display: block; margin-top: 12px; font-weight: 600; }
@media (max-width: 900px) { .screens { grid-template-columns: 1fr; max-width: 560px; } }

/* Customer quote */
.quote blockquote { margin: 0; }
.quote blockquote p { font-size: clamp(1.3rem, 2.6vw, 1.7rem); line-height: 1.4; font-weight: 600; }
.quote blockquote p::before { content: "\201C"; }
.quote blockquote p::after { content: "\201D"; }
.quote footer { padding: 0; }

/* Free tools */
.tool { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-top: 28px; }
.tool-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 20px; }
.tool label { display: block; font-size: 0.9rem; color: var(--muted); margin-bottom: 6px; }
.tool input, .tool select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-raised);
  color: var(--text);
}
.tool input:focus, .tool select:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.result { background: var(--bg-raised); border-radius: 12px; padding: 16px; }
.result span { display: block; font-size: 0.85rem; color: var(--muted); }
.result strong { font-size: 1.6rem; font-variant-numeric: tabular-nums; }
.prose h2 { margin-top: 1.6em; font-size: 1.6rem; }
.prose p, .prose li { color: #cfc5b3; }
.prose code { background: var(--card); padding: 2px 6px; border-radius: 6px; font-size: 0.92em; }
.sheet { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 0.92rem; }
.sheet th, .sheet td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.sheet th { background: var(--card); color: var(--gold); font-weight: 600; }
.sheet-scroll { overflow-x: auto; }
@media (max-width: 640px) {
  .tool { padding: 20px; }
  .tool-grid, .results { grid-template-columns: 1fr; }
}
@media print {
  .nav, footer, .no-print { display: none !important; }
  body { background: #fff; color: #000; }
  .sheet th { background: #eee; color: #000; }
  .sheet th, .sheet td { border-color: #999; }
}
.tool-cta { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line); }
.print-title { margin-top: 48px; }
