:root {
  --blue: #0879ff;
  --blue-deep: #0057f3;
  --sky: #eaf5ff;
  --mint: #dff8ec;
  --green: #22923a;
  --amber: #f39a24;
  --red: #f22a34;
  --ink: #070b16;
  --muted: #647085;
  --line: #dde7f2;
  --surface: #ffffff;
  --soft: #f6f9fd;
  --shadow: 0 20px 70px rgba(19, 46, 86, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.legal-document a {
  color: var(--blue-deep);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 22px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(221, 231, 242, 0.74);
  backdrop-filter: blur(22px);
}

.brand img {
  width: clamp(154px, 14vw, 224px);
  height: auto;
}

.nav-links {
  display: flex;
  gap: clamp(18px, 3vw, 34px);
  color: #273244;
  font-size: 0.98rem;
  font-weight: 750;
}

.nav-links a {
  padding: 8px 0;
}

.hero {
  position: relative;
  min-height: 94vh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 132px clamp(22px, 7vw, 92px) 72px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 44%, rgba(234, 245, 255, 0.62) 100%),
    url("assets/1-welcome.jpg") right 12% center / min(38vw, 480px) auto no-repeat,
    var(--sky);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 96px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-icon {
  width: 82px;
  height: 82px;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(0, 87, 243, 0.22);
}

.eyebrow {
  margin: 24px 0 12px;
  color: var(--blue-deep);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(4rem, 12vw, 9.5rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  line-height: 1.15;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 600px;
  margin-bottom: 34px;
  color: #263144;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 650;
}

.hero-actions,
.cta-section {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 15px 24px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 850;
  white-space: nowrap;
}

.button-primary {
  color: #fff;
  background: linear-gradient(90deg, var(--blue-deep), #07a9f4);
  box-shadow: 0 18px 35px rgba(0, 119, 255, 0.28);
}

.button-secondary {
  color: var(--blue-deep);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
}

.hero-media {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-shot {
  position: absolute;
  width: min(27vw, 342px);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.hero-shot-primary {
  right: clamp(20px, 8vw, 118px);
  bottom: -120px;
}

.hero-shot-secondary {
  right: clamp(228px, 27vw, 520px);
  bottom: -190px;
  transform: rotate(-5deg);
  opacity: 0.72;
}

.proof-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: min(1120px, calc(100% - 44px));
  margin: -28px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: 0 18px 48px rgba(19, 46, 86, 0.09);
}

.proof-strip div {
  min-height: 122px;
  padding: 26px;
  background: #fff;
}

.proof-strip span {
  display: block;
  margin-bottom: 6px;
  color: var(--blue-deep);
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 900;
  line-height: 1;
}

.proof-strip p,
.feature-card p,
.site-footer p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 650;
}

.section {
  padding: clamp(78px, 11vw, 138px) clamp(22px, 6vw, 84px);
}

.section-heading {
  max-width: 840px;
  margin-bottom: 42px;
}

.feature-section {
  background: #fff;
}

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

.feature-card {
  min-height: 236px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 42px rgba(19, 46, 86, 0.07);
}

.feature-mark {
  display: block;
  width: 42px;
  height: 10px;
  margin-bottom: 34px;
  border-radius: 999px;
}

.feature-mark.blue {
  background: var(--blue);
}

.feature-mark.green {
  background: var(--green);
}

.feature-mark.amber {
  background: var(--amber);
}

.feature-mark.red {
  background: var(--red);
}

.screens-section {
  background: var(--soft);
}

.screen-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
  align-items: start;
}

figure {
  margin: 0;
}

.phone-frame {
  position: relative;
  aspect-ratio: 1206 / 2622;
  padding: 3.1%;
  border-radius: 12.5% / 5.8%;
  background:
    linear-gradient(145deg, #222936 0%, #05070b 36%, #171d27 100%);
  box-shadow:
    0 18px 52px rgba(19, 46, 86, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    inset 0 0 0 5px rgba(0, 0, 0, 0.42);
}

.phone-frame::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 3.6%;
  left: 50%;
  width: 31%;
  height: 4.6%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #000;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.09);
}

.phone-frame::after {
  content: "";
  position: absolute;
  left: -1.2%;
  top: 18%;
  width: 1.5%;
  height: 11%;
  border-radius: 999px 0 0 999px;
  background: #10151f;
  box-shadow: 0 15% 0 #10151f;
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10.6% / 4.7%;
  background: #eef4fa;
}

figure .phone-frame {
  width: 100%;
  max-width: 330px;
  margin: 0 auto;
}

figcaption {
  padding-top: 14px;
  color: #273244;
  font-weight: 850;
  text-align: center;
}

.cta-section {
  justify-content: space-between;
  margin: clamp(42px, 7vw, 86px) clamp(22px, 6vw, 84px);
  padding: clamp(30px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, #fff 0%, rgba(234, 245, 255, 0.86) 100%),
    var(--sky);
}

.cta-copy {
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: 760px;
}

.cta-copy img {
  flex: 0 0 auto;
  width: 76px;
  height: 76px;
  border-radius: 20px;
}

.cta-copy .eyebrow {
  margin-top: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(22px, 6vw, 84px);
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: 172px;
  height: auto;
  margin-bottom: 8px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #273244;
  font-weight: 800;
}

.legal-main {
  min-height: 100vh;
  padding: 142px clamp(20px, 5vw, 72px) 80px;
  background:
    linear-gradient(180deg, rgba(234, 245, 255, 0.88) 0%, #fff 280px),
    var(--surface);
}

.legal-document {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 52px rgba(19, 46, 86, 0.09);
}

.legal-document h1 {
  margin-bottom: 12px;
  font-size: clamp(3rem, 8vw, 6rem);
}

.legal-document h2 {
  margin: 38px 0 12px;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  line-height: 1.1;
}

.legal-document p {
  color: #273244;
  font-size: 1.05rem;
  font-weight: 560;
}

.legal-date {
  color: var(--muted);
  font-weight: 800;
}

@media (max-width: 1040px) {
  .hero {
    min-height: 92vh;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.88) 58%, rgba(234, 245, 255, 0.72) 100%),
      url("assets/1-welcome.jpg") right -54px bottom -156px / 330px auto no-repeat,
      var(--sky);
  }

  .hero-shot {
    display: none;
  }

  .proof-strip {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 720px) {
  .site-header {
    padding: 16px 18px;
  }

  .nav-links {
    display: none;
  }

  .brand img {
    width: 162px;
  }

  .hero {
    min-height: 94vh;
    padding: 104px 20px 56px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 54%, rgba(234, 245, 255, 0.65) 100%),
      url("assets/4-regular-review.jpg") right -70px bottom -240px / 315px auto no-repeat,
      var(--sky);
  }

  .hero-icon {
    width: 66px;
    height: 66px;
    border-radius: 18px;
  }

  h1 {
    font-size: clamp(3.9rem, 18vw, 6.2rem);
  }

  h2 {
    font-size: clamp(2.05rem, 10vw, 3.25rem);
  }

  .hero-copy {
    max-width: 92%;
    font-size: 1.18rem;
  }

  .button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .proof-strip {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  .proof-strip div {
    min-height: 104px;
    padding: 22px;
  }

  .section {
    padding: 70px 20px;
  }

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

  .feature-card {
    min-height: auto;
  }

  .screen-gallery {
    max-width: 360px;
    margin: 0 auto;
  }

  .cta-section,
  .cta-copy,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-section {
    margin: 38px 20px;
  }

  .footer-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .legal-main {
    padding: 108px 20px 58px;
  }

  .legal-document {
    padding: 24px;
  }
}
