:root {
  --ink: #16202a;
  --muted: #617083;
  --line: #dfe6ef;
  --paper: #ffffff;
  --soft: #f5f8fb;
  --blue: #2563eb;
  --teal: #12a594;
  --coral: #ef6f61;
  --green: #74b870;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(223, 230, 239, .88);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 15px;
}

.nav a,
.footer-links a {
  text-decoration: none;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  align-items: center;
  gap: clamp(32px, 7vw, 86px);
  min-height: calc(100vh - 73px);
  padding: 56px clamp(20px, 7vw, 100px) 72px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, .08), rgba(18, 165, 148, .12)),
    #fbfdff;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(44px, 8vw, 82px);
  line-height: 1.02;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.16;
}

h3 {
  margin: 0 0 10px;
  font-size: 19px;
}

.hero-subtitle {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 20px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 750;
  text-decoration: none;
}

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

.button.secondary {
  border-color: var(--line);
  background: #fff;
}

.phone-showcase {
  display: flex;
  justify-content: center;
}

.phone {
  width: min(78vw, 310px);
  aspect-ratio: 9 / 18.5;
  padding: 18px;
  border: 10px solid #121923;
  border-radius: 34px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(22, 32, 42, .2);
}

.image-phone {
  padding: 0;
  overflow: hidden;
  background: #111;
}

.image-phone img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-top {
  width: 76px;
  height: 7px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: #121923;
}

.app-screen {
  height: calc(100% - 25px);
  padding: 18px;
  border-radius: 22px;
  background: #f1f5f9;
}

.preview-card {
  border-radius: 8px;
  background: linear-gradient(145deg, var(--blue), var(--teal));
}

.preview-card.large {
  display: flex;
  align-items: end;
  height: 52%;
  padding: 18px;
  color: #fff;
  font-weight: 800;
}

.preview-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 14px 0;
}

.preview-card.small {
  aspect-ratio: 1;
}

.preview-card.coral {
  background: var(--coral);
}

.preview-card.green {
  background: var(--green);
}

.preview-line {
  width: 100%;
  height: 10px;
  margin-top: 12px;
  border-radius: 999px;
  background: #cbd5e1;
}

.preview-line.short {
  width: 62%;
}

.section {
  padding: 84px clamp(20px, 7vw, 100px);
}

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

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

.section-heading p,
.compliance p,
.feature-card p,
.screen-tile p,
.legal p {
  color: var(--muted);
}

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

.feature-card,
.screen-tile,
.contact-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.feature-card {
  padding: 24px;
}

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

.screen-tile {
  padding: 16px;
  overflow: hidden;
}

.screen-tile img {
  display: block;
  width: 100%;
  aspect-ratio: 750 / 1624;
  margin-bottom: 18px;
  border-radius: 8px;
  object-fit: cover;
  object-position: top center;
  background: #111;
  border: 1px solid rgba(22, 32, 42, .08);
}

.mock {
  height: 250px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: linear-gradient(145deg, #dbeafe, #ccfbf1);
}

.mock-two {
  background: linear-gradient(145deg, #ffe4e0, #dbeafe);
}

.mock-three {
  background: linear-gradient(145deg, #dcfce7, #fef3c7);
}

.compliance {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 460px);
  gap: 34px;
  align-items: start;
}

.info-list {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.info-list p {
  margin: 0 0 12px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(20px, 7vw, 100px);
  background: #16202a;
  color: #fff;
}

.footer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, .72);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 14px;
}

.footer.compact {
  display: block;
}

.legal {
  max-width: 880px;
  margin: 0 auto;
  padding: 64px 20px 88px;
}

.legal h1 {
  margin-bottom: 22px;
  font-size: clamp(34px, 6vw, 58px);
}

.legal h2 {
  margin-top: 34px;
  font-size: 25px;
}

.contact-box {
  padding: 22px;
  margin: 24px 0;
}

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

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

  .hero,
  .compliance {
    grid-template-columns: 1fr;
  }

  .phone-showcase {
    justify-content: flex-start;
  }

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

@media (max-width: 560px) {
  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .nav {
    gap: 10px 12px;
    font-size: 14px;
  }

  .footer {
    flex-direction: column;
  }
}
