:root {
  --ink: #182230;
  --muted: #5f6b7a;
  --soft: #f5f7fa;
  --line: #e5e9f0;
  --brand: #c94838;
  --brand-dark: #963526;
  --blue: #22577a;
  --green: #2f8f83;
  --gold: #b7791f;
  --white: #ffffff;
  --shadow: 0 18px 44px rgba(24, 34, 48, 0.1);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(229, 233, 240, 0.92);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

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

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  object-fit: contain;
  box-shadow: 0 8px 20px rgba(24, 34, 48, 0.12);
}

.brand-name {
  display: block;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.1;
}

.brand-sub {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #344054;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  padding: 10px 0;
}

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

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  text-align: center;
  line-height: 1.25;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(201, 72, 56, 0.22);
}

.button-primary:hover {
  background: var(--brand-dark);
}

.button-ghost {
  border-color: #cbd5e1;
  background: var(--white);
  color: var(--ink);
}

.button-muted {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 26%, rgba(47, 143, 131, 0.12), transparent 28%),
    linear-gradient(180deg, #fbfcfe 0%, #f4f7fb 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.76fr);
  gap: 64px;
  align-items: center;
  min-height: 680px;
  padding: 76px 0 92px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 900;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 660px;
  margin: 24px 0 0;
  color: #485568;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 720px;
  margin-top: 44px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.proof-item {
  min-height: 96px;
  padding: 20px;
  background: var(--white);
}

.proof-value {
  display: block;
  color: var(--ink);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.1;
}

.proof-label {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.visual-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone {
  width: min(340px, 100%);
  padding: 14px;
  border: 1px solid #d8dee8;
  border-radius: 34px;
  background: #111827;
  box-shadow: 0 34px 70px rgba(24, 34, 48, 0.24);
}

.phone-screen {
  min-height: 600px;
  overflow: hidden;
  border-radius: 24px;
  background: #f7f9fc;
}

.phone-status {
  display: flex;
  justify-content: center;
  padding: 12px 0 8px;
}

.phone-notch {
  width: 72px;
  height: 6px;
  border-radius: 999px;
  background: #d8dee8;
}

.app-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
}

.app-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 900;
}

.app-title img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
}

.app-badge {
  padding: 4px 8px;
  border-radius: 999px;
  background: #e9f6f4;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.app-banner {
  margin: 8px 18px 16px;
  padding: 20px;
  border-radius: 16px;
  background: #22577a;
  color: var(--white);
}

.app-banner strong {
  display: block;
  font-size: 22px;
  line-height: 1.25;
}

.app-banner span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.category-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 0 18px 16px;
}

.category-chip {
  display: grid;
  place-items: center;
  min-height: 58px;
  border-radius: 12px;
  background: var(--white);
  color: #344054;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(24, 34, 48, 0.06);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0 18px 18px;
}

.product-card {
  min-height: 144px;
  padding: 12px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 8px 18px rgba(24, 34, 48, 0.06);
}

.product-art {
  height: 72px;
  border-radius: 10px;
  background: #f3eadf;
}

.product-card:nth-child(2) .product-art {
  background: #e5f1f4;
}

.product-card:nth-child(3) .product-art {
  background: #edf2ea;
}

.product-card:nth-child(4) .product-art {
  background: #f7e7e2;
}

.product-line {
  width: 82%;
  height: 8px;
  margin-top: 14px;
  border-radius: 999px;
  background: #d8dee8;
}

.product-price {
  width: 48%;
  height: 9px;
  margin-top: 10px;
  border-radius: 999px;
  background: var(--brand);
}

.section {
  padding: 88px 0;
}

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

.section-dark {
  background: #172033;
  color: var(--white);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.65fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 34px;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 900;
}

.section-dark .section-kicker {
  color: #73c9bd;
}

.section-title {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.16;
  letter-spacing: 0;
}

.section-desc {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.section-dark .section-desc {
  color: rgba(255, 255, 255, 0.72);
}

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

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

.info-card,
.service-card,
.tech-card,
.contact-card,
.legal-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.info-card,
.service-card,
.tech-card {
  padding: 24px;
}

.info-icon,
.service-mark,
.tech-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: #f4ebe8;
  color: var(--brand);
  font-size: 18px;
  font-weight: 900;
}

.info-card:nth-child(2) .info-icon,
.info-card:nth-child(5) .info-icon,
.service-card:nth-child(2) .service-mark {
  background: #e8f4f3;
  color: var(--green);
}

.info-card:nth-child(3) .info-icon,
.info-card:nth-child(6) .info-icon,
.service-card:nth-child(3) .service-mark {
  background: #e8eef4;
  color: var(--blue);
}

.info-card:nth-child(4) .info-icon,
.service-card:nth-child(4) .service-mark {
  background: #f7efe2;
  color: var(--gold);
}

.info-card h3,
.service-card h3,
.tech-card h3,
.contact-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}

.info-card p,
.service-card p,
.tech-card p,
.contact-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  overflow: hidden;
}

.flow-step {
  min-height: 190px;
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.flow-step:last-child {
  border-right: 0;
}

.flow-index {
  display: block;
  color: #73c9bd;
  font-size: 14px;
  font-weight: 900;
}

.flow-step h3 {
  margin: 18px 0 10px;
  font-size: 20px;
}

.flow-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.service-card {
  min-height: 210px;
}

.tech-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(300px, 0.64fr);
  gap: 24px;
  align-items: stretch;
}

.tech-list {
  display: grid;
  gap: 16px;
}

.tech-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.tech-card .tech-mark {
  margin-bottom: 0;
  background: #e8eef4;
  color: var(--blue);
}

.api-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: 28px;
  border-radius: var(--radius);
  background: #172033;
  color: var(--white);
}

.api-box p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.api-domain {
  display: block;
  margin-top: 28px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-family: Consolas, Monaco, "Courier New", monospace;
  font-size: 18px;
  word-break: break-word;
}

.experience {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.56fr);
  gap: 34px;
  align-items: center;
}

.experience-box {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.experience-box h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.18;
}

.experience-box p {
  margin: 14px 0 0;
  color: var(--muted);
}

.experience-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.notice-box {
  padding: 28px;
  border-radius: var(--radius);
  background: #fff7ed;
  border: 1px solid #fed7aa;
}

.notice-box strong {
  display: block;
  color: #9a3412;
  font-size: 18px;
}

.notice-box p {
  margin: 10px 0 0;
  color: #7c2d12;
  font-size: 14px;
}

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

.contact-card {
  padding: 22px;
}

.contact-value {
  display: block;
  margin-top: 10px;
  color: var(--brand-dark);
  font-weight: 900;
  word-break: break-word;
}

.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  background: #111827;
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 900;
}

.footer-brand img {
  width: 34px;
  height: 34px;
  border-radius: 7px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  font-size: 14px;
}

.footer-note {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
}

.legal-hero {
  padding: 72px 0 44px;
  background: var(--soft);
}

.legal-hero h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.12;
}

.legal-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
}

.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 36px;
  padding: 52px 0 86px;
}

.legal-toc {
  position: sticky;
  top: 96px;
  align-self: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.legal-toc strong {
  display: block;
  margin-bottom: 10px;
}

.legal-toc a {
  display: block;
  padding: 7px 0;
  color: var(--muted);
  font-size: 14px;
}

.legal-toc a:hover {
  color: var(--brand);
}

.legal-content {
  min-width: 0;
}

.template-alert {
  margin-bottom: 20px;
  padding: 18px;
  border: 1px solid #fed7aa;
  border-radius: var(--radius);
  background: #fff7ed;
  color: #7c2d12;
}

.legal-card {
  padding: 28px;
  margin-bottom: 18px;
}

.legal-card h2 {
  margin: 0 0 14px;
  font-size: 24px;
}

.legal-card h3 {
  margin: 22px 0 8px;
  font-size: 18px;
}

.legal-card p,
.legal-card li {
  color: #475467;
}

.legal-card ul {
  padding-left: 1.25em;
}

.legal-meta {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 980px) {
  .hero-grid,
  .section-head,
  .tech-panel,
  .experience,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: 0;
    padding: 56px 0 70px;
  }

  .grid-3,
  .grid-4,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow {
    grid-template-columns: 1fr;
  }

  .flow-step {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .flow-step:last-child {
    border-bottom: 0;
  }

  .legal-toc {
    position: static;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .nav {
    min-height: 64px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 64px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 14px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .nav-links a {
    padding: 12px 2px;
  }

  .nav-links .button {
    margin-top: 6px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-proof,
  .grid-3,
  .grid-4,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .phone {
    width: min(330px, 100%);
  }

  .phone-screen {
    min-height: 560px;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .brand-name {
    font-size: 18px;
  }

  .hero-actions,
  .experience-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .category-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .experience-box,
  .notice-box,
  .legal-card {
    padding: 22px;
  }
}
