:root {
  color-scheme: light;
  --paper: #f7f2ea;
  --surface: #fffdf8;
  --ink: #17211f;
  --muted: #64706d;
  --line: #e2d8ca;
  --moss: #0d766d;
  --moss-dark: #07534d;
  --coral: #c55b3d;
  --gold: #c38c2e;
  --sage: #dceee8;
  --blue: #315f7b;
  --shadow: 0 24px 70px rgba(23, 33, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
summary {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(226, 216, 202, 0.92);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.9);
  box-shadow: 0 18px 50px rgba(23, 33, 31, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.hero-actions,
.hero-metrics,
.phone-top,
.progress,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 900;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
}

.nav {
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover,
.header-cta:hover {
  color: var(--moss);
}

.header-cta {
  min-height: 40px;
  padding: 11px 16px;
  border-radius: 8px;
  background: var(--sage);
  color: var(--moss-dark);
  font-size: 14px;
  font-weight: 900;
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
  gap: 56px;
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100svh - 92px);
  margin: 0 auto;
  padding: 72px 0 54px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 850px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
}

.hero-text,
.solution-copy p,
.beta p,
.final-cta p {
  max-width: 700px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 15px 22px;
  border-radius: 8px;
  font-weight: 900;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 18px 35px rgba(23, 33, 31, 0.18);
}

.button.primary:hover {
  background: var(--moss-dark);
}

.button.secondary {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.hero-metrics {
  gap: 18px;
  flex-wrap: wrap;
  margin: 36px 0 0;
}

.hero-metrics div {
  min-width: 132px;
  padding: 14px 16px;
  border-left: 3px solid var(--moss);
  background: rgba(255, 253, 248, 0.58);
}

.hero-metrics dt {
  font-size: 30px;
  font-weight: 900;
}

.hero-metrics dd {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.phone-stage {
  display: grid;
  place-items: center;
  min-height: 620px;
}

.phone {
  width: min(360px, 100%);
  border: 10px solid #101716;
  border-radius: 36px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone-top {
  justify-content: space-between;
  padding: 18px 18px 10px;
  font-size: 14px;
}

.phone-top span {
  width: 38px;
  height: 6px;
  border-radius: 999px;
  background: #d7d0c6;
}

.progress {
  gap: 8px;
  overflow-x: auto;
  padding: 8px 14px 14px;
}

.progress span {
  flex: 0 0 auto;
  border-radius: 8px;
  background: #f3eadc;
  padding: 8px 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.progress .active {
  background: var(--ink);
  color: #fff;
}

.mock-section {
  margin: 0 14px 14px;
  border: 1px solid rgba(13, 118, 109, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(220, 238, 232, 0.96), rgba(255, 250, 241, 0.98));
  padding: 18px;
}

.mini-label {
  margin-bottom: 8px;
  color: var(--coral);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.mock-section h2 {
  margin-bottom: 8px;
  font-size: 28px;
}

.mock-section p,
.chat,
.solution-list span,
.pain-grid p,
.scenario-grid p,
.steps p,
.faq p {
  color: var(--muted);
  line-height: 1.55;
}

.chat {
  display: grid;
  gap: 10px;
  padding: 0 14px 14px;
  font-size: 14px;
}

.bubble,
.score {
  border-radius: 8px;
  padding: 12px;
}

.bubble.opponent {
  margin-right: 24px;
  border: 1px solid var(--line);
  background: #f8f1e7;
}

.bubble.user {
  margin-left: 34px;
  background: var(--ink);
  color: #fff;
}

.score {
  border: 1px solid rgba(197, 91, 61, 0.18);
  background: #fff0e8;
  color: var(--ink);
}

.score strong {
  display: block;
  margin-bottom: 4px;
  color: var(--coral);
  font-size: 20px;
}

.mock-button {
  width: calc(100% - 28px);
  min-height: 48px;
  margin: 0 14px 18px;
  border: 0;
  border-radius: 8px;
  background: var(--moss);
  color: #fff;
  font-weight: 900;
}

.section-band,
.solution,
.scenarios,
.faq,
.final-cta {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 82px 0;
}

.section-band {
  width: 100%;
  padding-inline: max(16px, calc((100% - 1180px) / 2));
  background: #fffaf1;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading.compact {
  display: block;
  max-width: 760px;
}

.pain-grid,
.scenario-grid,
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pain-grid article,
.scenario-grid article,
.steps li,
.beta-panel,
.faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 34px rgba(23, 33, 31, 0.06);
}

.pain-grid article,
.scenario-grid article,
.steps li {
  padding: 24px;
}

.pain-grid span,
.steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 20px;
  border-radius: 8px;
  background: var(--sage);
  color: var(--moss-dark);
  font-weight: 900;
}

.solution {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 48px;
  align-items: start;
}

.solution-list {
  display: grid;
  gap: 12px;
}

.solution-list div {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.solution-list strong {
  color: var(--moss-dark);
  font-size: 18px;
}

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

.steps li:nth-child(2) span {
  background: #e8eff4;
  color: var(--blue);
}

.steps li:nth-child(3) span {
  background: #fff0e8;
  color: var(--coral);
}

.steps li:nth-child(4) span {
  background: #fbefd9;
  color: var(--gold);
}

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

.beta {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 42px;
  align-items: center;
}

.beta-panel {
  padding: 28px;
  background: var(--ink);
  color: #fff;
}

.beta-panel h3 {
  font-size: 28px;
}

.beta-panel ul {
  display: grid;
  gap: 14px;
  margin: 20px 0 0;
  padding-left: 20px;
  color: #dfe8e5;
  line-height: 1.55;
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 860px;
}

.faq details {
  padding: 0;
  overflow: hidden;
}

.faq summary {
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 900;
}

.faq p {
  margin: 0;
  padding: 0 22px 20px;
}

.final-cta {
  border-top: 1px solid var(--line);
  text-align: left;
}

.final-cta h2 {
  max-width: 900px;
}

.footer {
  justify-content: space-between;
  gap: 16px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 26px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 920px) {
  .nav {
    display: none;
  }

  .hero,
  .solution,
  .beta,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 26px;
    padding-top: 52px;
  }

  .phone-stage {
    min-height: auto;
  }

  .pain-grid,
  .steps,
  .scenario-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    width: calc(100% - 20px);
    margin-top: 10px;
  }

  .brand {
    font-size: 15px;
  }

  .header-cta {
    padding-inline: 12px;
    font-size: 13px;
  }

  .hero,
  .solution,
  .scenarios,
  .faq,
  .final-cta {
    width: calc(100% - 24px);
  }

  .section-band {
    padding-inline: 12px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-text,
  .solution-copy p,
  .beta p,
  .final-cta p {
    font-size: 17px;
  }

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

  .hero-metrics div,
  .button {
    flex: 1 1 100%;
  }

  .solution-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .footer {
    width: calc(100% - 24px);
    align-items: flex-start;
    flex-direction: column;
  }
}
