:root {
  color-scheme: light;
  --ink: #17212b;
  --muted: #5d6875;
  --line: #dce4e9;
  --paper: #f7faf9;
  --surface: #ffffff;
  --green: #146b5d;
  --green-soft: #d9eee8;
  --gold: #d89d2f;
  --red: #cb4b3f;
  --blue: #2a6f97;
  --shadow: 0 22px 70px rgba(22, 42, 52, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(247, 250, 249, 0.9);
  border-bottom: 1px solid rgba(220, 228, 233, 0.85);
  backdrop-filter: blur(18px);
}

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

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(20, 107, 93, 0.2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

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

.nav-links a:hover {
  color: var(--green);
}

.hero {
  position: relative;
  min-height: clamp(560px, 72vh, 640px);
  overflow: hidden;
  padding: clamp(48px, 7vw, 96px) clamp(20px, 6vw, 88px);
  background:
    linear-gradient(90deg, rgba(247, 250, 249, 0.96) 0%, rgba(247, 250, 249, 0.78) 46%, rgba(247, 250, 249, 0.34) 100%),
    #eef7f4;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: end;
  opacity: 0.42;
  pointer-events: none;
}

.hero-media img {
  width: min(760px, 80vw);
  height: auto;
  transform: translate(10%, 3%) scale(1.15);
}

.hero-inner,
.phone-preview {
  position: relative;
  z-index: 1;
}

.hero-inner {
  max-width: 700px;
}

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

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(64px, 12vw, 136px);
  line-height: 0.92;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 30px;
  color: #31404c;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.7;
}

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

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.primary-action {
  color: #fff;
  background: var(--green);
  box-shadow: 0 12px 28px rgba(20, 107, 93, 0.24);
}

.secondary-action {
  color: var(--green);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(20, 107, 93, 0.22);
}

.phone-preview {
  position: absolute;
  top: 52%;
  right: clamp(28px, 8vw, 150px);
  transform: translateY(-50%);
  z-index: 1;
}

.phone-shell {
  width: min(330px, 78vw);
  aspect-ratio: 9 / 18;
  padding: 26px 18px;
  border: 10px solid #1b2931;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(20, 107, 93, 0.08), rgba(216, 157, 47, 0.16)),
    #ffffff;
  box-shadow: var(--shadow);
}

.phone-status {
  width: 82px;
  height: 6px;
  margin: 0 auto 28px;
  border-radius: 999px;
  background: #1b2931;
}

.phone-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
}

.phone-card img {
  width: 54px;
  height: 54px;
  border-radius: 8px;
}

.phone-card strong,
.phone-metric strong {
  display: block;
  font-size: 20px;
}

.phone-card span,
.phone-metric span {
  color: var(--muted);
  font-size: 13px;
}

.phone-metric {
  margin: 18px 0;
  padding: 18px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--blue));
}

.phone-metric span {
  color: rgba(255, 255, 255, 0.78);
}

.phone-list {
  display: grid;
  gap: 10px;
}

.phone-list span {
  display: block;
  height: 52px;
  border-radius: 8px;
  background: linear-gradient(90deg, #f1f5f4, #fff);
  border: 1px solid var(--line);
}

.section {
  padding: clamp(46px, 7vw, 92px) clamp(20px, 6vw, 88px);
}

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

.section-heading h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.1;
}

.intro {
  display: grid;
  grid-template-columns: minmax(240px, 460px) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  background: var(--surface);
}

.intro > p,
.assurance-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

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

.feature-grid .section-heading {
  grid-column: 1 / -1;
}

.feature-card {
  min-height: 240px;
  padding: 24px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(22, 42, 52, 0.07);
}

.feature-card img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  margin-bottom: 22px;
}

.feature-card h3,
.steps h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.feature-card p,
.steps p {
  color: var(--muted);
  line-height: 1.75;
}

.process {
  background: #142329;
  color: #fff;
}

.process .eyebrow {
  color: #8ee0c7;
}

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

.steps li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  padding: 24px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.steps span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  color: #142329;
  background: var(--gold);
  font-weight: 900;
}

.steps p {
  color: rgba(255, 255, 255, 0.74);
}

.assurance {
  display: grid;
  grid-template-columns: minmax(240px, 440px) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  background:
    linear-gradient(135deg, rgba(20, 107, 93, 0.11), rgba(203, 75, 63, 0.08)),
    var(--paper);
}

.developer {
  background: var(--surface);
}

.developer-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 0;
}

.developer-list div {
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fbfdfc;
}

.developer-list dt {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.developer-list dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 17px;
  font-weight: 800;
}

.developer-list a {
  color: var(--green);
  text-decoration: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 6vw, 88px);
  color: rgba(255, 255, 255, 0.76);
  background: #142329;
  font-size: 14px;
}

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

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

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

  .phone-preview {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    margin-top: 34px;
  }

  .intro,
  .assurance,
  .feature-grid,
  .steps,
  .developer-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    position: static;
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .steps li {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}
