:root {
  --ink: #172033;
  --muted: #667085;
  --line: #dbe2ef;
  --paper: #ffffff;
  --wash: #f4f7ff;
  --blue: #2477e5;
  --blue-dark: #1558ae;
  --pink: #d84f91;
  --yellow: #f2c94c;
  --lavender: #8f72e8;
  --max-width: 1180px;
}

* {
  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;
  line-height: 1.5;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-150%);
}

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

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  width: min(100% - 40px, var(--max-width));
  height: 72px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--paper);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 750;
  text-decoration: none;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.site-nav a,
footer > a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
footer > a:hover {
  color: var(--blue-dark);
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 750;
  text-decoration: none;
}

.header-cta {
  min-height: 40px;
  padding: 0 17px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
}

.hero {
  position: relative;
  height: min(720px, calc(100svh - 124px));
  min-height: 500px;
  overflow: hidden;
  background: var(--wash);
  border-top: 1px solid #e9eef8;
  border-bottom: 1px solid var(--line);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 58%;
  background: rgba(244, 247, 255, 0.94);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(100% - 40px, var(--max-width));
  height: 100%;
  margin: 0 auto;
  padding-bottom: 42px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(54px, 8vw, 104px);
  font-weight: 800;
  line-height: 0.96;
}

.hero-lede {
  max-width: 560px;
  margin: 28px 0 0;
  color: #44506a;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  margin-top: 34px;
  align-items: center;
  gap: 22px;
}

.button {
  padding: 0 23px;
}

.button-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(36, 119, 229, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--blue-dark);
}

.text-link {
  color: var(--blue-dark);
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
}

.hero-visual {
  position: absolute;
  z-index: 1;
  inset: -84px max(-50px, calc((100vw - var(--max-width)) / 2 - 72px)) auto auto;
  width: min(48vw, 560px);
  height: 900px;
  transform: rotate(5deg);
}

.phone {
  position: relative;
  overflow: hidden;
  border: 8px solid #fff;
  border-radius: 34px;
  background: #f5f7ff;
  box-shadow: 0 28px 70px rgba(31, 46, 78, 0.18), 0 0 0 1px rgba(23, 32, 51, 0.08);
}

.phone img {
  width: 100%;
  height: auto;
}

.signal-band {
  display: grid;
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
  padding: 50px 0 54px;
  grid-template-columns: 1fr 1.7fr;
  align-items: center;
  gap: 70px;
  border-bottom: 1px solid var(--line);
}

.signal-band > p {
  margin: 0;
  color: #35425c;
  font-size: 20px;
  font-weight: 650;
}

.signal-band ul {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  list-style: none;
}

.signal-band li {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.signal-band strong {
  font-size: 15px;
}

.signal-band span {
  color: var(--muted);
  font-size: 13px;
}

.feature-section,
.screens-section {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
  padding: 108px 0;
}

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

.section-heading h2,
.stats-copy h2,
.closing h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 780;
  line-height: 1.08;
}

.section-heading > p:last-child,
.stats-copy > p:last-child {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.feature-list {
  display: grid;
  margin-top: 64px;
  grid-template-columns: 1fr 1fr;
  column-gap: 64px;
}

.feature-list article {
  display: grid;
  padding: 30px 0;
  grid-template-columns: 50px 1fr;
  gap: 20px;
  border-top: 1px solid var(--line);
}

.feature-number {
  color: var(--pink);
  font-size: 13px;
  font-weight: 850;
}

.feature-list h3 {
  margin: 0 0 9px;
  font-size: 20px;
}

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

.screens-section {
  width: 100%;
  padding-right: max(20px, calc((100vw - var(--max-width)) / 2));
  padding-left: max(20px, calc((100vw - var(--max-width)) / 2));
  background: #eef3ff;
}

.screens-heading {
  margin-bottom: 68px;
}

.screen-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(22px, 4vw, 58px);
}

.screen-item {
  margin: 0;
}

.screen-item:nth-child(2) {
  padding-top: 72px;
}

.screen-item:nth-child(3) {
  padding-top: 22px;
}

.screen-item figcaption {
  display: flex;
  margin-top: 24px;
  padding-left: 4px;
  flex-direction: column;
  gap: 5px;
}

.screen-item figcaption strong {
  font-size: 18px;
}

.screen-item figcaption span {
  color: var(--muted);
  font-size: 14px;
}

.stats-band {
  display: grid;
  min-height: 760px;
  padding: 100px max(20px, calc((100vw - var(--max-width)) / 2));
  grid-template-columns: 1fr minmax(300px, 430px);
  align-items: center;
  gap: clamp(60px, 9vw, 140px);
  overflow: hidden;
  background: #172033;
  color: #fff;
}

.stats-copy .eyebrow {
  color: var(--yellow);
}

.stats-copy > p:last-child {
  color: #c9d3e5;
}

.phone-stats {
  align-self: start;
  transform: translateY(42px) rotate(-2deg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.closing {
  display: flex;
  min-height: 470px;
  padding: 92px 20px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--pink);
  color: #fff;
  text-align: center;
}

.closing .eyebrow {
  color: #fff;
}

.closing h2 {
  max-width: 850px;
}

.button-light {
  margin-top: 36px;
  background: #fff;
  color: #8f225a;
}

footer {
  display: grid;
  width: min(100% - 40px, var(--max-width));
  min-height: 118px;
  margin: 0 auto;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

footer p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

footer > a:last-child {
  justify-self: end;
}

a:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .hero::after {
    width: 68%;
  }

  .hero-visual {
    right: -80px;
    width: 52vw;
  }

  .hero-lede {
    max-width: 480px;
  }

  .signal-band {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .feature-list {
    column-gap: 36px;
  }

  .stats-band {
    grid-template-columns: 1fr 330px;
    gap: 42px;
  }
}

@media (max-width: 700px) {
  .site-header {
    width: min(100% - 28px, var(--max-width));
    height: 64px;
  }

  .site-nav {
    display: none;
  }

  .brand {
    font-size: 16px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .hero {
    height: min(700px, calc(100svh - 112px));
    min-height: 540px;
  }

  .hero::after {
    width: 100%;
    height: 58%;
    background: rgba(244, 247, 255, 0.96);
  }

  .hero-copy {
    width: min(100% - 32px, var(--max-width));
    padding-top: 50px;
    padding-bottom: 210px;
    justify-content: flex-start;
  }

  h1 {
    font-size: clamp(50px, 16vw, 72px);
  }

  .hero-lede {
    margin-top: 20px;
    font-size: 17px;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .hero-actions .text-link {
    display: none;
  }

  .hero-visual {
    inset: auto -24px -390px auto;
    width: 280px;
    height: auto;
    transform: rotate(4deg);
  }

  .signal-band,
  .feature-section {
    width: min(100% - 32px, var(--max-width));
  }

  .signal-band {
    padding: 42px 0;
  }

  .signal-band ul {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .feature-section,
  .screens-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .feature-list {
    grid-template-columns: 1fr;
    margin-top: 44px;
  }

  .screen-showcase {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .screen-item,
  .screen-item:nth-child(2),
  .screen-item:nth-child(3) {
    width: min(100%, 390px);
    margin: 0 auto;
    padding-top: 0;
  }

  .stats-band {
    min-height: auto;
    padding-top: 80px;
    padding-bottom: 0;
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .phone-stats {
    width: min(100%, 390px);
    margin: 0 auto;
    transform: translateY(70px) rotate(-2deg);
  }

  .closing {
    min-height: 430px;
  }

  footer {
    padding: 34px 0;
    grid-template-columns: 1fr;
    justify-items: center;
  }

  footer > a:last-child {
    justify-self: center;
  }
}

@media (max-height: 680px) and (min-width: 701px) {
  .hero {
    min-height: 460px;
  }

  .hero-copy {
    padding-bottom: 20px;
  }

  .hero-lede {
    margin-top: 18px;
  }

  .hero-actions {
    margin-top: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
