/* Landing page. Tokens come from base.css. */

html {
  scroll-behavior: smooth;
}

.landing {
  overflow-x: hidden;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

.wrap.narrow {
  max-width: 720px;
}

.tone-good {
  color: var(--accent);
}

.tone-warn {
  color: var(--warn);
}

.tone-bad {
  color: var(--danger);
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
}

.nav-links {
  display: none;
  gap: 24px;
}

.nav-links a {
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
}

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

@media (min-width: 860px) {
  .nav-links {
    display: flex;
  }
}

/* Hero */
.hero {
  padding: 48px 0 56px;
  background:
    radial-gradient(900px 400px at 85% 10%, var(--accent-soft), transparent 70%),
    radial-gradient(600px 300px at 0% 100%, var(--info-soft), transparent 70%);
}

.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .hero {
    padding: 80px 0 88px;
  }
}

.pill {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.hero h1 {
  margin: 16px 0;
  font-size: clamp(34px, 6vw, 58px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.lead {
  margin: 0 0 28px;
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--muted);
  max-width: 600px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-note {
  margin: 16px 0 0;
  font-size: 14px;
}

/* Phone demo */
.hero-demo {
  display: grid;
  justify-items: center;
  gap: 12px;
}

.phone {
  position: relative;
  width: min(340px, 100%);
  padding: 14px;
  border-radius: 40px;
  background: #101614;
  box-shadow: 0 30px 60px rgb(16 24 20 / 25%), inset 0 0 0 2px #2a3530;
}

.phone-notch {
  width: 90px;
  height: 22px;
  margin: 0 auto 8px;
  border-radius: 999px;
  background: #000;
}

.phone-screen {
  display: grid;
  gap: 10px;
  min-height: 470px;
  padding: 14px 12px;
  border-radius: 28px;
  background: var(--bg);
  overflow: hidden;
  align-content: start;
}

.phone-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  transition: border-color 0.3s;
}

.phone-status .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.phone-status.level-warn {
  border-left-color: var(--warn);
}

.phone-status.level-warn .dot {
  background: var(--warn);
}

.phone-status.level-bad {
  border-left-color: var(--danger);
}

.phone-status.level-bad .dot {
  background: var(--danger);
}

.phone-status-main {
  display: grid;
  flex: 1;
  min-width: 0;
}

.phone-status-main small {
  color: var(--muted);
  font-size: 12px;
}

.phone-timer {
  font-size: 22px;
  font-weight: 800;
}

.phone-timer.overdue {
  color: var(--danger);
}

.phone-coach {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--accent-soft);
  font-size: 13px;
  min-height: 62px;
}

.phone-coach b {
  font-size: 14px;
}

.phone-coach.tone-warn {
  background: var(--warn-soft);
}

.phone-coach.tone-bad {
  background: var(--danger-soft);
}

.phone-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.phone-list li {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  transition: background 0.3s;
}

.phone-list li:last-child {
  border-bottom: 0;
}

.phone-list li.active {
  background: var(--accent-soft);
  font-weight: 700;
}

.phone-list li.done {
  color: var(--muted);
  text-decoration: line-through;
}

.phone-list s {
  color: var(--muted);
  font-weight: 400;
  margin-right: 4px;
}

.phone-finish {
  padding: 4px 4px 0;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

.demo-caption {
  max-width: 340px;
  margin: 0;
  font-size: 14px;
  text-align: center;
}

/* Sections */
.band {
  padding: 64px 0;
  background: var(--surface-2);
}

.section-block {
  padding: 64px 0;
}

.section-title {
  margin: 0 0 28px;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  text-align: center;
}

.section-title.left {
  text-align: left;
}

.section-sub {
  margin: -16px auto 28px;
  text-align: center;
  max-width: 560px;
}

.cards-3,
.cards-2,
.pricing,
.steps {
  display: grid;
  gap: 16px;
}

@media (min-width: 760px) {
  .cards-3,
  .steps,
  .pricing {
    grid-template-columns: repeat(3, 1fr);
  }

  .cards-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature h3,
.step h3,
.audience h3 {
  margin: 8px 0;
  font-size: 20px;
}

.feature p,
.step p,
.audience p {
  margin: 0;
}

.feature-icon {
  font-size: 30px;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
}

.split {
  display: grid;
  gap: 32px;
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
}

.checks,
.ticks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.checks li,
.ticks li {
  position: relative;
  padding-left: 28px;
}

.checks li::before,
.ticks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 800;
}

.ticks {
  gap: 8px;
  margin: 16px 0 20px;
  font-size: 15px;
}

.compare {
  display: grid;
  padding: 8px 20px;
}

.compare-head,
.compare-row,
.compare-foot {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1.2fr;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.compare-head {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.compare-foot {
  border-bottom: 0;
  font-weight: 800;
}

.audience {
  display: flex;
  flex-direction: column;
}

.audience .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* Pricing */
.price {
  position: relative;
  display: flex;
  flex-direction: column;
}

.price h3 {
  margin: 0;
  font-size: 20px;
}

.price-tag {
  margin: 10px 0 0;
}

.price-tag b {
  font-size: 38px;
  font-weight: 800;
}

.price-tag span {
  color: var(--muted);
}

.price .btn {
  margin-top: auto;
}

.price.featured {
  border: 2px solid var(--accent);
}

.price-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 800;
}

/* Signup */
.signup {
  padding: 28px;
}

.signup h2 {
  margin: 0 0 6px;
  font-size: 28px;
}

.signup > p {
  margin: 0 0 20px;
}

#lead-form {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 15px;
}

.field em {
  font-style: normal;
  font-weight: 400;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.tier-note {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  font-weight: 600;
}

.form-status {
  margin: 0;
  min-height: 1.5em;
  font-weight: 600;
}

.form-status.ok {
  color: var(--accent);
}

.form-status.error {
  color: var(--danger);
}

.consent {
  margin: 0;
  font-size: 13px;
}

.signup.done #lead-form {
  display: none;
}

/* FAQ */
.faq {
  margin-bottom: 10px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.faq summary {
  padding: 16px 0;
  font-weight: 700;
  cursor: pointer;
}

.faq p {
  margin: 0 0 16px;
  color: var(--muted);
}

/* Footer */
.footer {
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
}
