:root {
  --background: #ffffff;
  --surface: #f5f7f8;
  --surface-strong: #eaf7f0;
  --ink: #17191c;
  --muted: #606873;
  --border: #dde3e8;
  --brand: #1687c9;
  --brand-dark: #0d5f8f;
  --green: #18a058;
  --coral: #ec625f;
  --amber: #f2a23a;
  --shadow: 0 18px 60px rgba(23, 25, 28, 0.14);
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  display: block;
  max-width: 100%;
}

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

p {
  color: var(--muted);
  margin: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-140%);
  background: var(--ink);
  color: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: 8px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  left: 50%;
  max-width: var(--max-width);
  padding: 1rem 1.5rem;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: 100%;
  z-index: 10;
}

.site-header.compact {
  border-bottom: 1px solid var(--border);
  left: auto;
  margin: 0 auto;
  position: static;
  transform: none;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  gap: 0.65rem;
}

.brand img {
  border-radius: 8px;
}

.nav-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
}

.nav-links a {
  border-radius: 8px;
  color: #2d343d;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.55rem 0.8rem;
}

.nav-links a:focus-visible,
.nav-links a:hover {
  background: rgba(22, 135, 201, 0.1);
  outline: none;
}

.hero {
  isolation: isolate;
  min-height: 86svh;
  overflow: hidden;
  padding: 7.5rem 1.5rem 5rem;
  position: relative;
}

.hero::before {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(245, 247, 248, 0.9) 48%, rgba(234, 247, 240, 0.92) 100%),
    linear-gradient(90deg, rgba(22, 135, 201, 0.12) 0 1px, transparent 1px 88px),
    linear-gradient(0deg, rgba(24, 160, 88, 0.12) 0 1px, transparent 1px 88px);
  content: "";
  inset: 0;
  position: absolute;
  z-index: -3;
}

.hero-content {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 800;
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.02;
  margin: 0;
}

h1 {
  font-size: 4.35rem;
  max-width: 760px;
}

h2 {
  font-size: 2.55rem;
  max-width: 720px;
}

h3 {
  font-size: 1.15rem;
}

.hero-copy {
  font-size: 1.2rem;
  margin-top: 1.35rem;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 3rem;
  padding: 0.78rem 1rem;
}

.button.primary {
  background: var(--ink);
  color: #ffffff;
}

.button.secondary {
  background: #ffffff;
  border-color: var(--border);
  color: var(--ink);
}

.button:focus-visible,
.button:hover {
  box-shadow: 0 0 0 4px rgba(22, 135, 201, 0.18);
  outline: none;
}

.hero-scene {
  inset: 0;
  margin: auto;
  max-width: 1280px;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.hero-mark {
  filter: saturate(1.08);
  opacity: 0.16;
  position: absolute;
  right: 6%;
  top: 13%;
  width: 420px;
}

.phone {
  background: #ffffff;
  border: 8px solid #101316;
  border-radius: 34px;
  box-shadow: var(--shadow);
  color: var(--ink);
  overflow: hidden;
  position: absolute;
}

.phone-main {
  bottom: 4rem;
  min-height: 450px;
  padding: 1.2rem;
  right: 10%;
  transform: rotate(2deg);
  width: 300px;
}

.phone-side {
  bottom: 5.5rem;
  min-height: 330px;
  padding: 1.1rem;
  right: 2.5%;
  transform: rotate(-8deg);
  width: 220px;
}

.phone-status {
  background: #101316;
  border-radius: 999px;
  height: 0.35rem;
  margin: 0 auto 1rem;
  opacity: 0.5;
  width: 4.2rem;
}

.screen-title {
  font-size: 0.82rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.study-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
}

.summary-card {
  background: var(--surface-strong);
}

.study-card span,
.step {
  color: var(--brand-dark);
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 0.65rem;
}

.study-card strong {
  display: block;
  font-size: 1.25rem;
  line-height: 1.18;
}

.study-card p {
  font-size: 0.92rem;
  margin-top: 0.8rem;
}

.answer-row {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: 1fr 1fr;
  margin-top: 1rem;
}

.answer-row span,
.choice {
  border: 1px solid var(--border);
  border-radius: 8px;
  color: #2d343d;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.72rem 0.6rem;
  text-align: center;
}

.progress-strip {
  display: grid;
  gap: 0.45rem;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 1.2rem;
}

.progress-strip i {
  background: var(--brand);
  border-radius: 999px;
  display: block;
  height: 0.38rem;
}

.progress-strip i:nth-child(3) {
  background: var(--amber);
}

.progress-strip i:nth-child(4) {
  background: var(--border);
}

.quiz-line {
  background: var(--border);
  border-radius: 999px;
  height: 0.8rem;
  margin-bottom: 0.6rem;
  width: 100%;
}

.quiz-line.short {
  width: 72%;
}

.choice {
  margin-top: 0.72rem;
  text-align: left;
}

.choice.active {
  background: rgba(24, 160, 88, 0.12);
  border-color: rgba(24, 160, 88, 0.45);
}

.section {
  align-items: center;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 3rem;
  grid-template-columns: 0.9fr 1.1fr;
  margin: 0 auto;
  max-width: var(--max-width);
  padding: 5.5rem 1.5rem;
}

.section-copy p:not(.eyebrow) {
  font-size: 1.08rem;
  margin-top: 1.1rem;
  max-width: 650px;
}

.flow-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.flow-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  min-height: 180px;
  padding: 1.2rem;
}

.flow-item:nth-child(2) {
  background: #eef8fb;
}

.flow-item:nth-child(3) {
  background: #fff4f3;
}

.flow-item:nth-child(4) {
  background: #f1f9f4;
}

.flow-item p {
  margin-top: 0.75rem;
}

.proof-section {
  background: var(--surface);
  border-left: 1.5rem solid #ffffff;
  border-right: 1.5rem solid #ffffff;
  max-width: none;
  padding-left: max(1.5rem, calc((100vw - var(--max-width)) / 2 + 1.5rem));
  padding-right: max(1.5rem, calc((100vw - var(--max-width)) / 2 + 1.5rem));
}

.proof-visual {
  align-items: end;
  display: flex;
  min-height: 260px;
}

.bar-chart {
  align-items: end;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, 4rem);
  height: 230px;
}

.bar-chart span {
  background: var(--coral);
  border-radius: 8px 8px 0 0;
  display: block;
}

.bar-chart span:nth-child(2) {
  background: var(--amber);
}

.bar-chart span:nth-child(3) {
  background: var(--green);
}

.bar-chart span:nth-child(4) {
  background: var(--brand);
}

.launch-section {
  align-items: start;
  grid-template-columns: 1fr 0.9fr;
}

.launch-copy p {
  font-size: 1.08rem;
  margin-top: 1.1rem;
  max-width: 620px;
}

.launch-copy .button {
  margin-top: 1.5rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.contact-actions .button {
  margin-top: 0;
}

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

.launch-list li {
  border-bottom: 1px solid var(--border);
  color: #2d343d;
  font-weight: 800;
  padding: 1rem 0;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--border);
  color: var(--muted);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max-width);
  padding: 1.5rem;
}

.site-footer span {
  color: var(--ink);
  font-weight: 900;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end;
}

.site-footer a {
  color: var(--muted);
  font-weight: 700;
}

.legal-page {
  padding: 4rem 1.5rem 5rem;
}

.legal-copy {
  margin: 0 auto;
  max-width: 780px;
}

.legal-copy h1 {
  font-size: 3rem;
}

.legal-copy h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
}

.legal-copy p {
  margin-top: 0.9rem;
}

.legal-copy a {
  color: var(--brand-dark);
  font-weight: 800;
  text-decoration: underline;
}

@media (max-width: 980px) {
  h1 {
    font-size: 3.35rem;
    max-width: 600px;
  }

  h2 {
    font-size: 2.1rem;
  }

  .hero {
    padding-bottom: 25rem;
  }

  .phone-main {
    bottom: 3rem;
    right: 20%;
  }

  .phone-side {
    bottom: 4rem;
    right: 7%;
  }

  .hero-mark {
    right: 3%;
    top: 24%;
    width: 330px;
  }

  .section,
  .launch-section {
    grid-template-columns: 1fr;
  }

  .proof-section {
    border-left: 0;
    border-right: 0;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 1rem;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .nav-links a {
    padding-left: 0;
  }

  .hero {
    min-height: 88svh;
    padding: 10rem 1rem 23rem;
  }

  h1 {
    font-size: 2.65rem;
  }

  h2,
  .legal-copy h1 {
    font-size: 1.9rem;
  }

  .hero-copy,
  .section-copy p:not(.eyebrow),
  .launch-copy p {
    font-size: 1rem;
  }

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

  .phone-main {
    bottom: 2.1rem;
    left: 50%;
    min-height: 360px;
    padding: 0.95rem;
    right: auto;
    transform: translateX(-50%) rotate(1deg);
    width: 246px;
  }

  .phone-side {
    display: none;
  }

  .hero-mark {
    opacity: 0.13;
    right: -4rem;
    top: 31%;
    width: 280px;
  }

  .study-card strong {
    font-size: 1.05rem;
  }

  .section {
    gap: 2rem;
    padding: 4rem 1rem;
  }

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

  .flow-item {
    min-height: auto;
  }

  .bar-chart {
    gap: 0.65rem;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 1.25rem 1rem;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}
