:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --ink: #151821;
  --muted: #5d6678;
  --soft: #eef2f8;
  --line: #dfe5ef;
  --brand: #20b28f;
  --brand-2: #5b73f6;
  --gold: #f3a735;
  --danger: #d94b4b;
  --panel: #ffffff;
  --shadow: 0 18px 48px rgba(23, 30, 45, .10);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: radial-gradient(circle at 12% 0%, rgba(32,178,143,.18), transparent 28%),
    radial-gradient(circle at 90% 8%, rgba(91,115,246,.18), transparent 30%),
    var(--bg);
  color: var(--ink);
}
a { color: inherit; text-decoration: none; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(223,229,239,.84);
}
.nav { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.logo {
  width: 42px; height: 42px; border-radius: 14px;
  background: linear-gradient(135deg, #18c997, #5f6df6 68%, #ffb34d);
  display: grid; place-items: center; color: #fff; font-weight: 900;
  box-shadow: 0 12px 28px rgba(32,178,143,.28);
}
.brand h1 { margin: 0; font-size: 18px; line-height: 1.1; }
.brand p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.links { display: flex; gap: 18px; color: #273044; font-size: 14px; align-items: center; }
.links a { white-space: nowrap; }
.btn, button {
  border: 0; cursor: pointer; font: inherit;
  border-radius: 999px; padding: 12px 18px; font-weight: 800;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; box-shadow: 0 12px 28px rgba(32,178,143,.24);
}
.btn.secondary { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.hero { padding: 70px 0 36px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: stretch; }
.eyebrow { color: var(--brand); font-weight: 900; letter-spacing: .06em; font-size: 13px; text-transform: uppercase; }
.hero h2 { font-size: clamp(36px, 6vw, 64px); line-height: 1.02; margin: 14px 0 18px; letter-spacing: 0; }
.hero .lead { color: #394255; font-size: 18px; line-height: 1.85; max-width: 680px; }
.hero-actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.hero-card, .card {
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(223,229,239,.92);
  border-radius: 24px; box-shadow: var(--shadow);
}
.hero-card { padding: 28px; display: flex; flex-direction: column; justify-content: space-between; min-height: 380px; }
.status { display: grid; gap: 12px; }
.status-row { display: flex; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.status-row:last-child { border-bottom: 0; }
.status-row b { font-size: 15px; }
.status-row span { color: var(--muted); text-align: right; }
.notice {
  margin-top: 20px; padding: 16px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(32,178,143,.12), rgba(243,167,53,.16));
  color: #293246; line-height: 1.7;
}
.section { padding: 34px 0; }
.section-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-end; margin-bottom: 18px; }
.section h3 { margin: 0; font-size: clamp(26px, 4vw, 38px); }
.section-desc { color: var(--muted); line-height: 1.8; max-width: 720px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card { padding: 22px; }
.card h4 { margin: 0 0 10px; font-size: 20px; }
.card p, .card li { color: var(--muted); line-height: 1.75; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag { border-radius: 999px; padding: 7px 10px; background: var(--soft); color: #34405a; font-size: 12px; font-weight: 800; }
.tag.green { background: rgba(32,178,143,.14); color: #0b8068; }
.tag.gold { background: rgba(243,167,53,.18); color: #85520a; }
.price { font-size: 32px; font-weight: 950; margin: 12px 0 4px; }
.price small { font-size: 14px; color: var(--muted); font-weight: 700; }
.flow { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.flow .card { position: relative; padding-top: 48px; }
.flow .card:before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 18px; left: 20px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 900;
}
.banner {
  border-radius: 28px; padding: 34px; color: #fff;
  background: linear-gradient(135deg, #151821, #20493f 52%, #735424);
  display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center;
}
.banner h3 { color: #fff; }
.banner p { color: rgba(255,255,255,.78); }
.page-title { padding: 54px 0 22px; }
.page-title h2 { font-size: clamp(34px, 5vw, 52px); margin: 10px 0; }
.content { padding-bottom: 60px; }
.article { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); line-height: 1.85; }
.article h3 { margin-top: 28px; }
.article h3:first-child { margin-top: 0; }
.article p, .article li { color: #3f485a; }
.table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: 16px; border: 1px solid var(--line); }
.table th, .table td { padding: 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table th { background: #f0f3f8; }
.table tr:last-child td { border-bottom: 0; }
.order-box { display: grid; grid-template-columns: 1fr 360px; gap: 18px; align-items: start; }
.field { display: grid; gap: 7px; margin-bottom: 14px; }
.field label { font-weight: 800; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 14px;
  padding: 13px 14px; font: inherit; background: #fff; color: var(--ink);
}
.field textarea { min-height: 110px; resize: vertical; }
.pay-summary { position: sticky; top: 92px; }
.summary-line { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.summary-line:last-child { border-bottom: 0; }
.footer { background: #12151d; color: rgba(255,255,255,.78); padding: 34px 0; margin-top: 34px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 20px; }
.footer a { color: rgba(255,255,255,.88); display: block; margin: 8px 0; }
.copyright { border-top: 1px solid rgba(255,255,255,.12); margin-top: 22px; padding-top: 18px; font-size: 13px; color: rgba(255,255,255,.56); }
.modal {
  position: fixed; inset: 0; display: none; align-items: center; justify-content: center;
  background: rgba(15,18,25,.58); z-index: 50; padding: 24px;
}
.modal.on { display: flex; }
.modal-panel { width: min(520px, 100%); background: #fff; border-radius: 24px; padding: 26px; box-shadow: var(--shadow); }
.modal-panel h3 { margin-top: 0; }
.close { background: #151821; box-shadow: none; }

@media (max-width: 860px) {
  .links { display: none; }
  .nav { height: 64px; }
  .hero { padding-top: 44px; }
  .hero-grid, .grid, .grid.two, .flow, .order-box, .footer-grid { grid-template-columns: 1fr; }
  .hero-card { min-height: auto; }
  .banner { grid-template-columns: 1fr; }
  .pay-summary { position: static; }
}
