/* ============================================================================
   home.css — the public site.

   Same tokens, same fonts, same one accent. What changes is the rhythm: a
   marketing page breathes more than a dashboard, so the spacing is larger and
   the serif is used at sizes a dashboard never needs.
   ========================================================================= */

/* --------------------------------------------------------------- nav ---- */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: var(--s3) var(--s5);
  display: flex; align-items: center; gap: var(--s5);
}
.nav-brand { display: flex; align-items: center; gap: var(--s3); flex-shrink: 0; }
.nav-mark {
  width: 32px; height: 32px;
  border-radius: var(--r-sm);
  border: 1px solid var(--gold-line);
  background: var(--gold-dim);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 18px; line-height: 1;
  padding-bottom: 2px;
}
.nav-name { font-size: var(--t-small); font-weight: 500; letter-spacing: -0.005em; }
.nav-links { display: flex; align-items: center; gap: var(--s5); margin-left: auto; }
.nav-links a { color: var(--text-2); font-size: var(--t-small); }
.nav-links a:hover { color: var(--text); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--s5); }
.narrow { max-width: 760px; }

section.band { padding: var(--s8) 0; border-bottom: 1px solid var(--line); }
section.band:last-of-type { border-bottom: none; }

.eyebrow {
  font-size: var(--t-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s3);
}

h1.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.03;
  letter-spacing: -0.02em;
  max-width: 16ch;
}
h2.band-title {
  font-family: var(--font-serif);
  font-size: clamp(27px, 3.6vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.018em;
  max-width: 22ch;
}
h3.card-title { font-size: var(--t-h3); font-weight: 500; margin-bottom: var(--s2); }

.lede {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-2);
  max-width: 58ch;
  margin-top: var(--s4);
}
.band-sub {
  font-size: var(--t-body);
  line-height: 1.7;
  color: var(--text-2);
  max-width: 62ch;
  margin-top: var(--s3);
}

/* -------------------------------------------------------------- hero ---- */

.hero {
  padding: var(--s8) 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; top: -280px; right: -160px;
  width: 760px; height: 700px;
  background: radial-gradient(ellipse at center, var(--gold-dim) 0%, transparent 66%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: var(--s8);
  align-items: center;
  position: relative;
}
.hero-actions { display: flex; gap: var(--s3); margin-top: var(--s6); flex-wrap: wrap; }
.hero-note { font-size: var(--t-small); color: var(--text-3); margin-top: var(--s4); }

.btn-lg { padding: 12px var(--s5); font-size: var(--t-body); }

/* The mockup beside the hero: the real interface, in miniature. */
.mock {
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-pop);
  overflow: hidden;
}
.mock-bar {
  display: flex; align-items: center; gap: var(--s2);
  padding: var(--s3) var(--s4);
  border-bottom: 1px solid var(--line);
  background: var(--bg-sunken);
}
.mock-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.mock-title { font-size: var(--t-micro); color: var(--text-3); margin-left: var(--s2); }
.mock-body { padding: var(--s4); }
.mock-row {
  display: flex; align-items: center; gap: var(--s3);
  padding: var(--s3) 0;
  border-bottom: 1px solid var(--line);
}
.mock-row:last-child { border-bottom: none; }
.mock-who { flex: 1; min-width: 0; }
.mock-name { font-size: var(--t-small); font-weight: 500; }
.mock-meta { font-size: var(--t-micro); color: var(--text-3); margin-top: 1px; }

/* ------------------------------------------------------------- cards ---- */

.cards { display: grid; gap: var(--s4); margin-top: var(--s6); }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s5);
}
.card p { font-size: var(--t-small); color: var(--text-2); line-height: 1.65; }
.card-icon {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: var(--panel-3);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--s4);
}
.card-icon svg { width: 17px; height: 17px; }

/* Numbered steps. */
.step-card { position: relative; }
.step-num {
  font-family: var(--font-serif);
  font-size: 30px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--s3);
}

/* ------------------------------------------------------------ pricing --- */

.price-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s5);
  display: flex; flex-direction: column;
}
.price-card.featured { border-color: var(--gold-line); position: relative; }
.price-badge {
  position: absolute; top: -10px; left: var(--s5);
  padding: 2px var(--s3);
  border-radius: var(--r-pill);
  background: var(--gold);
  color: var(--text-on-gold);
  font-size: var(--t-micro);
  font-weight: 600;
}
.price-name { font-size: var(--t-h3); font-weight: 500; }
.price-for { font-size: var(--t-small); color: var(--text-2); margin-top: 4px; min-height: 40px; }
.price-amount {
  font-family: var(--font-serif);
  font-size: 30px;
  margin: var(--s4) 0;
  letter-spacing: -0.015em;
}
.price-list { list-style: none; margin: 0 0 var(--s5); flex: 1; }
.price-list li {
  display: flex; align-items: flex-start; gap: var(--s2);
  font-size: var(--t-small);
  color: var(--text-2);
  padding: 5px 0;
}
.price-list svg { width: 14px; height: 14px; color: var(--emerald); flex-shrink: 0; margin-top: 3px; }

/* --------------------------------------------------------------- demo --- */

.demo {
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: var(--s7);
  position: relative;
  overflow: hidden;
}
.demo::before {
  content: "";
  position: absolute; top: -200px; left: -100px;
  width: 560px; height: 480px;
  background: radial-gradient(ellipse at center, var(--gold-dim) 0%, transparent 68%);
  pointer-events: none;
}
.demo-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s7); align-items: start; position: relative;
}

/* ------------------------------------------------------------- footer --- */

.foot {
  border-top: 1px solid var(--line);
  padding: var(--s5) 0;
}
.foot-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s4); flex-wrap: wrap;
  font-size: var(--t-small);
  color: var(--text-3);
}
.foot-links { display: flex; gap: var(--s5); flex-wrap: wrap; }
.foot-links a { color: var(--text-3); }
.foot-links a:hover { color: var(--text); }

/* ------------------------------------------------------------- a phone -- */

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
  .cards-3, .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
  .demo { padding: var(--s5); }
  .nav-links { gap: var(--s4); }
  .nav-links a.hide-small { display: none; }
}

@media (max-width: 620px) {
  .container { padding: 0 var(--s4); }
  section.band, .hero { padding: var(--s7) 0; }
  .cards-3, .cards-2, .cards-4 { grid-template-columns: minmax(0, 1fr); }
  .hero-actions .btn { flex: 1; justify-content: center; }
}
