/* Landing page. Loads after /lib/ui.css — reuses its tokens, falls back to literal
   values via var(--x, fallback) in case ui.css changes shape before launch. */

body { background: var(--bg, #F7F6F3); }

.topbar nav a { display: none; }
@media (min-width: 720px) {
  .topbar nav a { display: inline-flex; align-items: center; padding: 8px 10px; }
}

/* ---------------------------------------------------------------- hero */
.hero { padding: 36px 0 28px; }
.hero-grid {
  display: grid;
  gap: 28px;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; }
}

.hero-copy h1 {
  font-size: 34px;
  letter-spacing: -.02em;
  margin-bottom: .35em;
}
@media (min-width: 640px) { .hero-copy h1 { font-size: 44px; } }
@media (min-width: 980px) { .hero-copy h1 { font-size: 52px; } }

.hero-copy .lead {
  font-size: 16.5px;
  color: var(--ink2, #3A3F46);
  max-width: 46ch;
  margin-bottom: 24px;
}

.auth-box { max-width: 460px; }
.auth-box form { flex-wrap: wrap; }
.auth-box input[type="email"] { flex: 1 1 220px; }
.auth-box .btn { flex: 0 0 auto; }
.auth-box .hint { margin: 8px 0 0; }

.auth-msg {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: var(--r, 14px);
  background: var(--accentSoft, #E7EDFF);
  border: 1px solid color-mix(in srgb, var(--accent, #1F5EFF) 30%, transparent);
  font-size: 14px;
}
.auth-msg.bad { background: var(--dangerSoft, #FBE9E6); border-color: color-mix(in srgb, var(--danger, #C8412F) 30%, transparent); }
.auth-msg a { font-weight: 600; }

/* phone mock */
.hero-visual { display: flex; justify-content: center; }
.phone-mock {
  width: 240px;
  aspect-ratio: 9 / 18.5;
  border-radius: 34px;
  background: #1b1d21;
  padding: 10px;
  box-shadow: var(--sh-pop, 0 24px 60px rgba(20,22,26,.18));
}
.phone-mock-inner {
  height: 100%;
  border-radius: 26px;
  background: linear-gradient(160deg, #2b2e35, #14161a 70%);
  position: relative;
  overflow: hidden;
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: var(--font);
}
.pm-hook {
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.25;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-shadow: 0 2px 6px rgba(0,0,0,.5);
}
.pm-punch { color: #E0A84A; font-size: 20px; }
.pm-caption {
  align-self: center;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  background: rgba(0,0,0,.35);
  padding: 4px 10px;
  border-radius: 999px;
}
.pm-caption .pm-emph { color: #F5D696; }
.pm-label {
  align-self: flex-start;
  color: #F5D696;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  font-family: var(--mono);
}
.pm-card {
  align-self: flex-start;
  background: #F2EEE4;
  color: #26221B;
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
}
.pm-card-title { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: #968E80; font-weight: 700; }
.pm-card-value { font-size: 16px; font-weight: 700; }

/* ---------------------------------------------------------------- sections */
.section { padding: 48px 0; }
.section.alt { background: var(--panel2, #FAF9F6); border-top: 1px solid var(--line, #E3E0D9); border-bottom: 1px solid var(--line, #E3E0D9); }
.section-title { margin-bottom: 8px; }
.section-title.center { text-align: center; }
.section > .wrap > p.center { max-width: 52ch; margin: 0 auto 28px; }

.steps { margin-top: 28px; }
.step { text-align: left; }
.step-num {
  width: 34px; height: 34px;
  border-radius: 999px;
  background: var(--accentSoft, #E7EDFF);
  color: var(--accent2, #0E2E8C);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}

.checklist { list-style: none; padding: 0; margin: 28px 0 0; }
.checklist .card { font-size: 14.5px; }
.checklist strong { display: block; margin-bottom: 4px; }

.kit-preview-wrap {
  display: grid;
  gap: 28px;
  align-items: center;
}
@media (min-width: 900px) {
  .kit-preview-wrap { grid-template-columns: 1fr 1fr; }
}
.kit-mock {
  background: #F2EEE4;
  border-radius: var(--r-lg, 20px);
  padding: 24px;
  box-shadow: var(--sh-2, 0 2px 8px rgba(20,22,26,.07));
  color: #26221B;
}
.kit-mock-row { display: flex; gap: 10px; margin-bottom: 18px; }
.kit-swatch { width: 28px; height: 28px; border-radius: 8px; }
.kit-mock-hook { font-size: 26px; font-weight: 700; margin-bottom: 12px; }
.kit-mock-caption { font-size: 18px; font-weight: 700; margin-bottom: 18px; }
.kit-mock-caption span { color: #E0A84A; }
.kit-mock-card { background: #fff; border-radius: 14px; padding: 12px 16px; display: inline-block; }
.kit-mock-card-label { font-size: 10px; letter-spacing: .12em; color: #968E80; font-weight: 700; }
.kit-mock-card-value { font-size: 18px; font-weight: 700; color: #2E6C42; }

/* ---------------------------------------------------------------- pricing */
.interval-toggle { display: flex; justify-content: center; gap: 6px; margin-bottom: 28px; }
.save-tag { font-size: 11px; color: var(--ok, #1E7F58); font-weight: 700; margin-left: 4px; }

.pricing-grid { align-items: stretch; }
.plan-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan-card.featured { border-color: var(--accent, #1F5EFF); box-shadow: var(--sh-3, 0 10px 30px rgba(20,22,26,.10)); position: relative; }
.plan-badge {
  position: absolute; top: -12px; right: 16px;
  background: var(--accent, #1F5EFF); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .06em;
  padding: 4px 10px; border-radius: 999px;
}
.plan-name { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted, #7C8189); }
.plan-price { font-size: 34px; font-weight: 700; letter-spacing: -.02em; }
.plan-price small { font-size: 14px; font-weight: 550; color: var(--muted, #7C8189); }
.plan-features { list-style: none; padding: 0; margin: 6px 0 14px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--ink2, #3A3F46); }
.plan-features li::before { content: "✓ "; color: var(--ok, #1E7F58); font-weight: 700; }
.plan-card .btn { margin-top: auto; }

/* ---------------------------------------------------------------- faq */
.faq-list { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--panel, #fff);
  border: 1px solid var(--line, #E3E0D9);
  border-radius: var(--r, 14px);
  padding: 14px 16px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; margin-left: auto; color: var(--muted, #7C8189); font-weight: 700; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin: 10px 0 0; }

/* ---------------------------------------------------------------- footer */
.footer { padding: 28px 0 40px; border-top: 1px solid var(--line, #E3E0D9); }
.footer a { color: var(--ink2, #3A3F46); margin-left: 16px; }
