:root {
  --bg: #fffaf0;
  --panel: #ffffff;
  --ink: #292724;
  --muted: #6d665f;
  --line: rgba(41, 39, 36, 0.12);
  --brand: #ff8f24;
  --brand-strong: #ed3831;
  --green: #2e8d6c;
  --blue: #1f6a9f;
  --shadow: 0 18px 48px rgba(77, 65, 47, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
}

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: 20px;
  height: 76px;
  padding: 0 clamp(18px, 5vw, 72px);
  background: rgba(255, 250, 240, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand img {
  display: block;
  width: clamp(132px, 20vw, 190px);
  height: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 8px 0;
}

.site-nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 15px;
}

.site-nav a {
  position: relative;
  white-space: nowrap;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--brand), var(--brand-strong));
  transition: width 0.2s ease;
}

.site-nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(44px, 8vw, 92px) clamp(20px, 6vw, 88px);
  gap: clamp(28px, 6vw, 80px);
  overflow: hidden;
}

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

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

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(42px, 8vw, 88px);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.18;
  letter-spacing: 0;
}

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

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(17px, 2.2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 700;
}

.btn.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  box-shadow: 0 12px 24px rgba(237, 56, 49, 0.22);
}

.btn.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.hero-stats {
  display: grid;
  max-width: 640px;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hero-stats div,
.feature-card,
.steps article,
.terminal-list article,
.value-grid div {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hero-stats div {
  padding: 14px;
}

.hero-stats strong {
  display: block;
  font-size: clamp(18px, 2.5vw, 26px);
  line-height: 1.2;
}

.hero-stats span,
.value-grid span {
  color: var(--muted);
  font-size: 14px;
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.phone-shell {
  position: absolute;
  inset: 18px 8% auto auto;
  width: min(78vw, 360px);
  height: 620px;
  padding: 28px 18px;
  border: 10px solid #2b2927;
  border-radius: 42px;
  background: linear-gradient(180deg, #fefefe, #fff4df);
  box-shadow: var(--shadow);
}

.phone-top {
  width: 92px;
  height: 6px;
  margin: 0 auto 22px;
  border-radius: 999px;
  background: #2b2927;
}

.route-map {
  position: relative;
  height: 514px;
  overflow: hidden;
  border-radius: 26px;
  background:
    linear-gradient(90deg, rgba(31, 106, 159, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(31, 106, 159, 0.08) 1px, transparent 1px),
    linear-gradient(150deg, #fff8e8, #e9f5ef);
  background-size: 38px 38px, 38px 38px, auto;
}

.map-line {
  position: absolute;
  left: 50px;
  top: 76px;
  width: 230px;
  height: 350px;
  border: 8px solid transparent;
  border-left-color: var(--brand);
  border-bottom-color: var(--green);
  border-radius: 38px;
  transform: rotate(-12deg);
}

.pin {
  position: absolute;
  width: 26px;
  height: 26px;
  border: 6px solid #fff;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.pin.start {
  left: 68px;
  top: 76px;
  background: var(--brand);
}

.pin.mid {
  right: 72px;
  top: 228px;
  background: var(--blue);
}

.pin.end {
  left: 138px;
  bottom: 82px;
  background: var(--brand-strong);
}

.assistant-card,
.pay-card,
.orbital-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(77, 65, 47, 0.14);
}

.assistant-card {
  left: 28px;
  right: 28px;
  bottom: 28px;
  padding: 16px;
}

.assistant-card span,
.orbital-card span {
  display: block;
  color: var(--brand-strong);
  font-size: 13px;
  font-weight: 700;
}

.assistant-card strong,
.orbital-card strong {
  display: block;
  margin-top: 4px;
  font-size: 22px;
}

.pay-card {
  right: 24px;
  top: 92px;
  padding: 10px 14px;
  color: #fff;
  background: var(--blue);
  border-color: transparent;
  font-weight: 700;
}

.orbital-card {
  left: 0;
  bottom: 62px;
  width: min(76vw, 280px);
  padding: 18px;
}

.section {
  padding: clamp(56px, 9vw, 110px) clamp(20px, 6vw, 88px);
}

.section-head {
  max-width: 780px;
  margin-bottom: 32px;
}

.section-head p:not(.eyebrow),
.terminal-copy p {
  color: var(--muted);
  font-size: 18px;
}

.about-grid,
.steps,
.terminal-list,
.value-grid {
  display: grid;
  gap: 16px;
}

.about-grid {
  grid-template-columns: 1.2fr 0.8fr;
}

.feature-card,
.steps article,
.terminal-list article {
  padding: clamp(20px, 3vw, 30px);
}

.feature-card.wide {
  grid-row: span 2;
}

.feature-card p,
.steps p,
.terminal-list p {
  color: var(--muted);
}

.agent {
  background: #ffffff;
}

.steps {
  grid-template-columns: repeat(3, 1fr);
}

.steps article {
  min-height: 260px;
}

.steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 34px;
  color: #fff;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  font-weight: 800;
}

.terminal {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
  background: linear-gradient(135deg, #fffaf0, #eef7f1);
}

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

.value-grid {
  grid-template-columns: repeat(4, 1fr);
}

.value-grid div {
  padding: 22px;
}

.value-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 22px;
}

.footer {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
  padding: 38px clamp(20px, 6vw, 88px);
  color: #fff;
  background: #2d2a27;
}

.footer img {
  width: min(240px, 68vw);
  background: #fffaf0;
}

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

address {
  display: grid;
  align-content: center;
  gap: 8px;
  font-style: normal;
  color: rgba(255, 255, 255, 0.86);
}

@media (max-width: 900px) {
  .site-header {
    height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 78px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

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

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

  .hero-visual {
    min-height: 500px;
  }

  .phone-shell {
    left: 50%;
    right: auto;
    width: min(86vw, 330px);
    height: 520px;
    transform: translateX(-50%);
  }

  .route-map {
    height: 414px;
  }

  .orbital-card {
    left: 10px;
    bottom: 20px;
  }

  .about-grid,
  .steps,
  .terminal-list,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .feature-card.wide {
    grid-row: auto;
  }
}

@media (max-width: 560px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .brand img {
    width: 142px;
  }
}
