:root {
  color-scheme: light dark;
  --ink: #12151a;
  --muted: #525a66;
  --paper: #ffffff;
  --raised: #f4f5f7;
  --accent: #9fc735;
  --accent-dark: #55750d;
  --blue: #1676c3;
  --line: #dfe3e8;
  --max: 70rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

a { color: var(--accent-dark); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .14em; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: .5rem;
}

.skip-link:focus {
  left: .5rem;
  z-index: 10;
  padding: .7rem 1rem;
  background: var(--ink);
  color: var(--paper);
}

header, main, footer { padding-inline: max(1.25rem, calc((100% - var(--max)) / 2)); }

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.brand { color: var(--ink); font-weight: 800; text-decoration: none; letter-spacing: -.02em; }
nav { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .95rem; }

main { min-height: 68vh; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, .75fr);
  gap: 3rem;
  align-items: center;
  padding-block: clamp(4rem, 10vw, 8rem);
}

.eyebrow { color: var(--accent-dark); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; }
h1 { max-width: 13ch; margin: .35rem 0 1.25rem; font-size: clamp(2.8rem, 7vw, 5.8rem); }
h2 { margin-top: 3rem; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.lede { max-width: 43rem; font-size: clamp(1.15rem, 2vw, 1.45rem); color: var(--muted); }

.button {
  display: inline-block;
  margin-top: 1rem;
  padding: .9rem 1.25rem;
  border-radius: .8rem;
  background: var(--accent);
  color: #11150d;
  font-weight: 750;
  text-decoration: none;
}

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; margin: 1.5rem 0; }
.text-link { font-weight: 750; }
.plan-line { display: flex; align-items: center; gap: .75rem; margin: .85rem 0; }
.plan-line span, .step {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
  color: #11150d;
  font-weight: 850;
}

.phone-card, .card, .notice {
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: var(--raised);
  padding: 1.5rem;
}

.phone-card { box-shadow: 0 1.5rem 4rem rgb(18 21 26 / .12); }
.phone-card strong { display: block; font-size: 1.4rem; }
.score { font-size: 3rem; color: var(--accent-dark); font-weight: 850; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-bottom: 4rem;
}
.grid-five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid-five .card { padding: 1.2rem; }
.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, .9fr);
  gap: 3rem;
  align-items: center;
  padding-block: 4rem;
  border-top: 1px solid var(--line);
}
.coach-preview { border: 1px solid var(--line); border-radius: 1.4rem; padding: 1.7rem; background: var(--raised); box-shadow: 0 1.2rem 3rem rgb(18 21 26 / .1); }
.coach-preview h3 { font-size: 1.6rem; }
.coach-preview hr { border: 0; border-top: 1px solid var(--line); margin: 1.5rem 0; }
.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 1.8rem; margin: .65rem 0; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-dark); font-weight: 900; }
.traffic-lights { display: grid; gap: .7rem; }
.traffic-item { display: grid; grid-template-columns: 2.5rem 1fr auto; align-items: center; gap: .9rem; padding: 1rem; background: var(--raised); border: 1px solid var(--line); border-radius: 1rem; }
.traffic-item span { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; border: .25rem solid currentColor; font-weight: 900; }
.traffic-item small { color: var(--muted); }
.traffic-item.red { color: #b83f3a; }
.traffic-item.amber { color: #a96c00; }
.traffic-item.amber span { background: #f3c45c; }
.traffic-item.green { color: #1d7549; }
.traffic-item.green span { background: #2c925e; color: white; }

.content { max-width: 48rem; padding-block: 3rem 5rem; }
.content h1 { max-width: none; font-size: clamp(2.5rem, 6vw, 4.5rem); }
.notice { border-left: .45rem solid var(--accent); }
.meta { color: var(--muted); font-size: .95rem; }

footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-block: 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .9rem;
}

@media (max-width: 46rem) {
  header { align-items: flex-start; flex-direction: column; }
  .hero, .grid, .split-section { grid-template-columns: 1fr; }
  .hero { gap: 2rem; }
  .traffic-item { grid-template-columns: 2.5rem minmax(0, 1fr); }
  .traffic-item small { grid-column: 2; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f2f4f7;
    --muted: #a8b0bd;
    --paper: #0e1116;
    --raised: #171b22;
    --accent: #8eae46;
    --accent-dark: #b6d177;
    --line: #303641;
  }
  .button { color: #0e1116; }
  .phone-card { box-shadow: 0 1.5rem 4rem rgb(0 0 0 / .35); }
  .traffic-item.red { color: #e8837e; }
  .traffic-item.amber { color: #e6b65a; }
  .traffic-item.green { color: #72c999; }
}

@media (max-width: 72rem) and (min-width: 47rem) {
  .grid-five { grid-template-columns: repeat(3, 1fr); }
}
