:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #667085;
  --line: #e5eaf0;
  --brand: #0788c9;
  --brand-dark: #005ea8;
  --accent: #e9272f;
  --green: #21a67a;
  --surface: #ffffff;
  --soft: #f4f8fb;
  --shadow: 0 18px 50px rgba(23, 32, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 6vw, 86px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(229, 234, 240, 0.86);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(0, 112, 192, 0.2);
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

nav a:hover {
  color: var(--brand);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
  min-height: 680px;
  padding: 64px clamp(20px, 6vw, 86px) 72px;
  background:
    radial-gradient(circle at top right, rgba(7, 136, 201, 0.13), transparent 32%),
    linear-gradient(180deg, #f8fbfd 0%, #ffffff 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.12;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.18;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions,
.policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.primary-button,
.secondary-button,
.policy-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
}

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

.secondary-button,
.policy-links a {
  color: var(--brand-dark);
  background: #eef7fc;
  border: 1px solid #cae9f8;
}

.phone-preview {
  justify-self: center;
  width: min(360px, 100%);
  padding: 20px;
  border-radius: 34px;
  background: #111827;
  box-shadow: var(--shadow);
}

.phone-top {
  width: 88px;
  height: 5px;
  margin: 4px auto 22px;
  border-radius: 99px;
  background: #273244;
}

.app-card {
  margin-bottom: 14px;
  padding: 18px;
  border-radius: 18px;
  color: #101828;
  background: #fff;
}

.app-card span,
.screen-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.app-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 26px;
}

.app-card small {
  color: var(--muted);
}

.blue-card {
  color: #fff;
  background: linear-gradient(135deg, #079bdd, #005ca8);
}

.blue-card span,
.blue-card small {
  color: rgba(255, 255, 255, 0.78);
}

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

.metric-row div {
  padding: 14px;
  border-radius: 16px;
  color: #fff;
  background: #273244;
}

.metric-row strong,
.metric-row span {
  display: block;
}

.metric-row span {
  color: #cfd6e2;
  font-size: 13px;
}

.section {
  padding: 78px clamp(20px, 6vw, 86px);
}

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

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

.section-heading p:not(.eyebrow) {
  color: var(--muted);
}

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

.feature-grid article,
.screen-card,
.security-panel,
.contact-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.feature-grid article p,
.screen-card p,
.security-panel p,
.contact-card p,
.contact-section p {
  color: var(--muted);
}

.icon-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #fff;
  background: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: steps;
}

.flow-list li {
  position: relative;
  min-height: 146px;
  padding: 24px 24px 24px 72px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
}

.flow-list li::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  left: 24px;
  top: 24px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  font-weight: 800;
}

.flow-list strong,
.flow-list span {
  display: block;
}

.flow-list span {
  margin-top: 8px;
  color: var(--muted);
}

.screen-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.security-panel {
  max-width: 980px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 24px;
  align-items: start;
}

.contact-card p {
  margin-bottom: 10px;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 6vw, 86px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

footer p {
  margin: 0;
}

footer a,
footer span {
  margin-left: 18px;
  color: var(--brand-dark);
  font-weight: 700;
}

footer span {
  display: inline-block;
}

.policy-page {
  background: var(--soft);
}

.policy-shell {
  max-width: 960px;
  margin: 0 auto;
  padding: 54px 20px 80px;
}

.policy-doc {
  padding: 34px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
}

.policy-doc h1 {
  font-size: 38px;
}

.policy-doc h2 {
  margin-top: 30px;
  font-size: 22px;
}

.policy-doc p,
.policy-doc li {
  color: var(--muted);
}

.policy-doc .doc-meta {
  font-weight: 700;
}

.back-home {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--brand-dark);
  font-weight: 800;
}

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

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

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

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .phone-preview {
    justify-self: start;
  }

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

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

  .section,
  .hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-actions,
  .policy-links {
    flex-direction: column;
  }

  .primary-button,
  .secondary-button,
  .policy-links a {
    width: 100%;
  }

  .phone-preview {
    width: 100%;
  }

  .policy-doc {
    padding: 24px 18px;
  }
}
