:root {
  color-scheme: light;
  --ink: #172133;
  --muted: #667085;
  --line: #dce4ee;
  --paper: #ffffff;
  --soft: #f4f7fb;
  --brand: #f04438;
  --brand-dark: #bb241a;
  --green: #14a06f;
  --blue: #2673e8;
  --gold: #f4a120;
  --radius: 8px;
  --shadow: 0 24px 60px rgba(23, 33, 51, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(220, 228, 238, 0.72);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 184px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: var(--radius);
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  box-shadow: 0 10px 24px rgba(240, 68, 56, 0.24);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
  line-height: 1.2;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}

.nav a {
  padding: 8px 12px;
  border-radius: var(--radius);
  color: #344054;
  font-size: 14px;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--brand-dark);
  background: #fff0ee;
  outline: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  min-height: calc(100vh - 72px);
  padding: clamp(48px, 7vw, 92px) clamp(20px, 5vw, 72px) 40px;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(240, 68, 56, 0.08), rgba(38, 115, 232, 0.1) 52%, rgba(20, 160, 111, 0.08)),
    #fbfcff;
}

.hero-copy {
  max-width: 760px;
}

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

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

h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-text {
  max-width: 620px;
  margin: 24px 0 0;
  color: #344054;
  font-size: clamp(18px, 2vw, 22px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
}

.button.primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 14px 28px rgba(240, 68, 56, 0.22);
}

.button.secondary {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.74);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 660px;
  margin: 40px 0 0;
}

.hero-stats div {
  padding: 18px;
  border: 1px solid rgba(220, 228, 238, 0.86);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.hero-stats dt {
  font-size: 28px;
  font-weight: 900;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.phone-wrap {
  position: relative;
  display: grid;
  min-height: 560px;
  place-items: center;
}

.phone-wrap::before {
  position: absolute;
  width: 86%;
  height: 70%;
  border-radius: 48px;
  content: "";
  background:
    linear-gradient(145deg, rgba(240, 68, 56, 0.2), rgba(38, 115, 232, 0.12)),
    linear-gradient(45deg, transparent 48%, rgba(255, 255, 255, 0.62) 49%, transparent 50%);
  transform: rotate(-8deg);
}

.phone {
  position: relative;
  width: min(340px, 86vw);
  aspect-ratio: 0.52;
  padding: 16px;
  border: 10px solid #111827;
  border-radius: 38px;
  background: #111827;
  box-shadow: var(--shadow);
}

.phone-speaker {
  position: absolute;
  top: 13px;
  left: 50%;
  width: 76px;
  height: 7px;
  border-radius: 999px;
  background: #2b3444;
  transform: translateX(-50%);
}

.app-screen {
  display: flex;
  height: 100%;
  flex-direction: column;
  gap: 14px;
  padding: 44px 18px 18px;
  border-radius: 26px;
  background: linear-gradient(180deg, #fff5f3 0%, #ffffff 34%, #edf7ff 100%);
}

.app-top,
.service-panel,
.quick-grid,
.route-card {
  border-radius: var(--radius);
}

.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 800;
}

.signal {
  padding: 3px 9px;
  color: #047857;
  border: 1px solid rgba(20, 160, 111, 0.24);
  border-radius: 999px;
  background: rgba(20, 160, 111, 0.1);
  font-size: 12px;
}

.service-panel {
  padding: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
}

.service-panel p,
.service-panel span {
  margin: 0;
  opacity: 0.88;
}

.service-panel strong {
  display: block;
  margin: 6px 0;
  font-size: 21px;
  line-height: 1.25;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.quick-grid span {
  display: grid;
  min-height: 70px;
  place-items: center;
  border: 1px solid #e9eef5;
  border-radius: var(--radius);
  background: #fff;
  font-weight: 800;
}

.route-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding: 12px;
  background: #fff;
}

.route-card div {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, transparent 44%, rgba(38, 115, 232, 0.38) 45%, rgba(38, 115, 232, 0.38) 55%, transparent 56%),
    linear-gradient(0deg, transparent 44%, rgba(20, 160, 111, 0.42) 45%, rgba(20, 160, 111, 0.42) 55%, transparent 56%),
    #edf7ff;
}

.route-card p {
  margin: 0;
  font-weight: 800;
}

.section {
  padding: clamp(64px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

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

.section-heading.compact {
  margin-bottom: 0;
}

.section-heading h2,
.download-section h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
}

.section-heading p:not(.eyebrow),
.download-section p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 16px 48px rgba(23, 33, 51, 0.08);
}

.feature-band article {
  min-height: 250px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.feature-band article:last-child {
  border-right: 0;
}

.feature-band h3,
.team-list h3,
.activity-layout h3,
.timeline h3 {
  margin: 14px 0 8px;
  font-size: 21px;
  line-height: 1.25;
}

.feature-band p,
.team-list p,
.activity-layout p,
.timeline p {
  margin: 0;
  color: var(--muted);
}

.icon {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
}

.icon.insurance {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86) 28%, transparent 29%),
    var(--brand);
}

.icon.service {
  background:
    radial-gradient(circle at 50% 50%, #fff 0 18%, transparent 19%),
    conic-gradient(from 90deg, var(--blue), #8bb7ff, var(--blue));
}

.icon.life {
  background:
    linear-gradient(135deg, transparent 42%, #fff 43% 56%, transparent 57%),
    var(--green);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
  background: var(--soft);
}

.team-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.team-list article,
.activity-layout article,
.timeline article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.team-list article {
  min-height: 190px;
  padding: 24px;
}

.activity-layout {
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) repeat(3, minmax(0, 0.8fr));
  gap: 14px;
}

.activity-layout article {
  min-height: 260px;
  padding: 24px;
}

.activity-layout article span {
  color: var(--brand);
  font-weight: 900;
}

.activity-main {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(23, 33, 51, 0.9), rgba(23, 33, 51, 0.62)),
    linear-gradient(135deg, var(--brand), var(--blue)) !important;
}

.activity-main p {
  color: rgba(255, 255, 255, 0.82);
}

.activity-main .tag {
  display: inline-flex;
  margin: 0;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.activity-main a {
  display: inline-flex;
  margin-top: 26px;
  color: #fff;
  font-weight: 900;
  border-bottom: 2px solid rgba(255, 255, 255, 0.8);
}

.features-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 5vw, 72px);
  background: #fbfcff;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline article {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 16px;
  padding: 24px;
}

.timeline article > span {
  width: 14px;
  height: 14px;
  margin-top: 8px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 2px rgba(240, 68, 56, 0.28);
}

.download-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: center;
  gap: clamp(28px, 6vw, 86px);
  margin: 0 clamp(20px, 5vw, 72px) clamp(64px, 8vw, 104px);
  padding: clamp(36px, 6vw, 64px);
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(187, 36, 26, 0.96), rgba(240, 68, 56, 0.78)),
    var(--brand);
  box-shadow: var(--shadow);
}

.download-section .eyebrow,
.download-section p {
  color: rgba(255, 255, 255, 0.84);
}

.download-section .button {
  margin-top: 28px;
  color: var(--brand-dark);
  background: #fff;
  box-shadow: none;
}

.qr-card {
  margin: 0;
  padding: 18px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 22px 48px rgba(23, 33, 51, 0.18);
}

.qr-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.qr-card figcaption {
  margin-top: 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  background: #fff;
}

.site-footer p {
  margin: 0;
}

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

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

  .hero,
  .split-section,
  .features-section,
  .download-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .phone-wrap {
    min-height: 520px;
  }

  .feature-band,
  .activity-layout {
    grid-template-columns: 1fr;
  }

  .feature-band article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature-band article:last-child {
    border-bottom: 0;
  }

  .section-heading.compact {
    margin-bottom: 28px;
  }

  .download-section {
    grid-template-columns: 1fr;
  }

  .qr-card {
    width: min(300px, 100%);
  }
}

@media (max-width: 640px) {
  .nav a {
    padding: 7px 8px;
    font-size: 13px;
  }

  .hero-stats,
  .team-list {
    grid-template-columns: 1fr;
  }

  .phone-wrap {
    min-height: 430px;
  }

  .phone {
    width: min(292px, 90vw);
    border-width: 8px;
  }

  .quick-grid span {
    min-height: 58px;
  }

  .section,
  .download-section {
    padding-top: 54px;
    padding-bottom: 54px;
  }
}
