:root {
  --ink: #0f172a;
  --ink-soft: #1f2937;
  --charcoal: #171717;
  --forest: #004022;
  --green: #81c784;
  --green-soft: #dff4df;
  --cream: #f8faf4;
  --paper: #ffffff;
  --muted: #64748b;
  --line: rgba(15, 23, 42, 0.12);
  --dark-line: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 80px rgba(15, 23, 42, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: var(--cream);
  color: var(--ink);
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header,
.site-footer,
.hero,
.intro-band,
.section,
.cta-section {
  padding-inline: clamp(20px, 5vw, 72px);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 18px;
  background: var(--charcoal);
  color: #f8fafc;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.header-links,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.header-links a,
.site-footer a {
  color: rgba(248, 250, 252, 0.78);
  font-weight: 700;
  text-decoration: none;
}

.header-links a:hover,
.site-footer a:hover {
  color: var(--green);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
  min-height: calc(100vh - 78px);
  padding-block: clamp(56px, 8vw, 108px);
  background:
    radial-gradient(circle at 78% 12%, rgba(129, 199, 132, 0.18), transparent 30%),
    linear-gradient(135deg, #101813 0%, #171717 58%, #0f172a 100%);
  color: #f8fafc;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  line-height: 1.02;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.hero-text {
  max-width: 640px;
  margin-bottom: 28px;
  color: #dbe6dd;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
}

.button.primary {
  background: var(--green);
  color: #102215;
}

.button.secondary {
  border-color: var(--dark-line);
  color: #f8fafc;
}

.availability,
.fine-print {
  max-width: 620px;
  color: #a8b5ad;
  font-size: 0.95rem;
  line-height: 1.6;
}

.product-preview {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: min(100%, 390px);
  padding: 22px;
  border: 10px solid rgba(255, 255, 255, 0.18);
  border-radius: 42px;
  background: #0f1912;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
}

.phone-header,
.summary-grid,
.debt-card > div,
.scenario-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.phone-header {
  margin-bottom: 18px;
  color: #f8fafc;
  font-size: 1.25rem;
  font-weight: 800;
}

.status-pill {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(129, 199, 132, 0.16);
  color: var(--green);
  font-size: 0.75rem;
}

.summary-card,
.debt-card,
.projection-card {
  margin-bottom: 14px;
  padding: 18px;
  border: 1px solid var(--dark-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  color: #f8fafc;
}

.summary-card span,
.debt-card small,
.projection-card span,
.scenario-row em {
  color: #cbd5e1;
}

.summary-card strong {
  display: block;
  margin: 6px 0 14px;
  font-size: 2.35rem;
}

.summary-grid {
  align-items: stretch;
}

.summary-grid span {
  flex: 1;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.82rem;
}

.summary-grid b {
  display: block;
  margin-top: 4px;
  color: #f8fafc;
  font-size: 1rem;
}

.debt-card strong {
  color: var(--green);
}

.progress-track {
  width: 100%;
  height: 8px;
  margin: 14px 0 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--forest), var(--green));
}

.projection-card > span {
  display: block;
  margin-bottom: 12px;
  font-weight: 800;
}

.scenario-row {
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
}

.scenario-row.active {
  background: rgba(129, 199, 132, 0.16);
}

.scenario-row em {
  font-style: normal;
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  gap: 32px;
  padding-block: clamp(44px, 7vw, 76px);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.intro-band p:last-child,
.section p,
.cta-section p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.section {
  padding-block: clamp(56px, 8vw, 96px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07);
}

.feature-card img {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  padding: 8px;
  border-radius: 8px;
  background: var(--charcoal);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  background: #eef7ee;
}

.trust-list {
  display: grid;
  gap: 14px;
}

.trust-list div {
  padding: 20px;
  border: 1px solid rgba(0, 64, 34, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.75);
}

.trust-list strong,
.trust-list span {
  display: block;
}

.trust-list strong {
  margin-bottom: 6px;
}

.trust-list span {
  color: var(--muted);
  line-height: 1.55;
}

.roadmap-section {
  background: var(--paper);
}

.roadmap-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.roadmap-list span {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream);
  font-weight: 800;
}

.cta-section {
  padding-block: clamp(56px, 8vw, 92px);
  background: var(--charcoal);
  color: #f8fafc;
  text-align: center;
}

.cta-section p {
  max-width: 620px;
  margin-inline: auto;
  color: #cbd5e1;
}

.cta-section .button {
  margin-top: 4px;
}

.store-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.store-links img {
  height: 48px;
  width: auto;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 26px;
  background: #101010;
  color: #f8fafc;
}

.site-footer p {
  margin: 0;
  color: rgba(248, 250, 252, 0.62);
}

.legal-page {
  background: var(--cream);
}

.legal-hero {
  padding: clamp(44px, 7vw, 76px) clamp(20px, 5vw, 72px);
  background: var(--charcoal);
  color: #f8fafc;
}

.legal-hero p {
  max-width: 760px;
  color: #d6ded8;
  line-height: 1.7;
}

.legal-content {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding-block: clamp(40px, 7vw, 76px);
}

.legal-content h2 {
  margin-top: 34px;
  font-size: 1.35rem;
}

.legal-content p,
.legal-content li {
  color: var(--ink-soft);
  line-height: 1.75;
}

.legal-content a {
  color: var(--forest);
  font-weight: 800;
}

@media (max-width: 980px) {
  .hero,
  .intro-band,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

@media (max-width: 680px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-links {
    gap: 12px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .phone-frame {
    border-width: 7px;
    border-radius: 32px;
    padding: 16px;
  }
}
