/* Landing page (spec 09). Tokens and base styles come from /css/styles.css. */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.site-header .inner,
.section .inner,
.hero .inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: 64px;
}

.site-header .actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.site-header .actions .link {
  min-height: 44px;
}

.site-header .btn {
  min-height: 44px;
  padding: 0 var(--space-4);
}

@media (max-width: 420px) {
  .site-header .btn {
    display: none;
  }
}

.hero {
  padding: var(--space-6) 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.hero .inner {
  display: grid;
  gap: var(--space-6);
  align-items: center;
}

@media (min-width: 900px) {
  .hero {
    padding: 72px 0;
  }

  .hero .inner {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.eyebrow {
  display: inline-block;
  margin-bottom: var(--space-3);
  color: var(--brand);
  font-weight: 600;
}

.hero h1 {
  font-size: var(--text-3xl);
  letter-spacing: -0.02em;
}

@media (min-width: 900px) {
  .hero h1 {
    font-size: 48px;
  }
}

.hero .lead {
  max-width: 34em;
  color: var(--muted);
  font-size: var(--text-lg);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-5);
  margin: var(--space-5) 0 var(--space-4);
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: var(--text-sm);
}

.trust-line .fa {
  color: var(--brand);
}

.phone {
  width: min(340px, 100%);
  margin: 0 auto;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 36px;
  background: var(--text);
  box-shadow: 0 8px 32px rgba(29, 35, 39, 0.12);
}

.phone .screen {
  position: relative;
  overflow: hidden;
  padding: var(--space-4);
  border-radius: 24px;
  background: var(--bg);
}

.phone .screen h2 {
  margin-bottom: var(--space-2);
  font-size: var(--text-lg);
}

.mini-step {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-2);
  padding: var(--space-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-control);
  background: var(--surface);
  font-size: var(--text-sm);
  font-weight: 500;
}

.mini-step .fa {
  margin-top: 3px;
  color: var(--brand);
}

.sample-badge {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
}

.section {
  padding: 56px 0;
}

.section.alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section h2 {
  max-width: 24em;
  font-size: var(--text-2xl);
}

.section .intro {
  max-width: 40em;
  color: var(--muted);
}

.cards {
  display: grid;
  gap: var(--space-4);
  margin: var(--space-5) 0 0;
  padding: 0;
  list-style: none;
}

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

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

@media (min-width: 1000px) {
  .cards.four {
    grid-template-columns: repeat(4, 1fr);
  }
}

.cards .card h3 {
  font-size: var(--text-md);
}

.cards .card .fa {
  margin-bottom: var(--space-3);
  color: var(--brand);
  font-size: 22px;
}

.closing {
  margin-top: var(--space-5);
  font-size: var(--text-lg);
}

.manifesto {
  max-width: 44em;
}

.manifesto p {
  font-size: var(--text-lg);
}

.how {
  display: grid;
  gap: var(--space-4);
  margin: var(--space-5) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: how;
}

@media (min-width: 720px) {
  .how {
    grid-template-columns: repeat(3, 1fr);
  }
}

.how li {
  counter-increment: how;
}

.how li::before {
  content: counter(how);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: var(--space-3);
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
}

.plan-sample {
  position: relative;
  max-width: 640px;
  margin-top: var(--space-5);
  box-shadow: 0 1px 2px rgba(29, 35, 39, 0.06), 0 4px 16px rgba(29, 35, 39, 0.06);
}

.plan-sample .step {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-4) 0 0;
  border-top: 1px solid var(--border);
  margin-top: var(--space-4);
}

.plan-sample .step .fa {
  width: 36px;
  height: 36px;
  padding: 10px;
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--brand);
}

.plan-sample .step h3 {
  margin-bottom: var(--space-1);
  font-size: var(--text-md);
}

.plan-sample .step p {
  margin: 0;
}

.caption {
  max-width: 640px;
  margin-top: var(--space-3);
  color: var(--muted);
  font-size: var(--text-sm);
}

.factors {
  display: grid;
  gap: var(--space-4);
  max-width: 640px;
  margin: var(--space-5) 0 var(--space-4);
  padding: 0;
  list-style: none;
}

.factors .head {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-1);
  font-weight: 500;
}

.factors .bar {
  height: 10px;
  overflow: hidden;
  border-radius: 5px;
  background: var(--border);
}

.factors .fill {
  height: 100%;
  border-radius: 5px;
  background: var(--brand);
}

.honest {
  display: grid;
  gap: var(--space-4);
  max-width: 44em;
  margin: var(--space-5) 0;
  padding: 0;
  list-style: none;
}

.honest li {
  padding-left: var(--space-4);
  border-left: 3px solid var(--accent);
}

.honest p {
  margin: 0;
}

.fraud {
  max-width: 44em;
}

.faq {
  max-width: 44em;
  margin-top: var(--space-5);
}

.faq details {
  border-bottom: 1px solid var(--border);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: 56px;
  padding: var(--space-3) 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--brand);
  font-size: var(--text-xl);
  font-weight: 400;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  padding-bottom: var(--space-4);
  color: var(--text);
}

.final {
  text-align: center;
}

.final h2 {
  margin-right: auto;
  margin-left: auto;
}

.sticky-cta {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  display: none;
  padding: var(--space-3) var(--space-4) calc(var(--space-3) + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.sticky-cta.visible {
  display: block;
}

@media (min-width: 900px) {
  .sticky-cta.visible {
    display: none;
  }
}

.skip-link {
  position: absolute;
  top: -48px;
  left: var(--space-4);
  z-index: 30;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-control);
  background: var(--brand);
  color: #fff;
}

.skip-link:focus {
  top: var(--space-2);
  color: #fff;
}

.plan-sample > p:first-of-type {
  padding-right: 72px;
}
