:root {
  color-scheme: light;
  --bg: #f7faf9;
  --paper: #ffffff;
  --ink: #17242e;
  --muted: #647280;
  --line: #dbe6e2;
  --soft: #edf7f4;
  --teal: #0f766e;
  --teal-dark: #0b5f59;
  --mint: #dff3ef;
  --amber: #b9751c;
  --shadow: 0 18px 42px rgba(25, 45, 64, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0, var(--bg) 420px),
    var(--bg);
}

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

button {
  font: inherit;
}

.page {
  width: min(1040px, calc(100% - 36px));
  margin: 0 auto;
  padding: 14px 0 34px;
}

.domain-banner {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 0;
  padding: 10px 16px;
  border: 1px solid rgba(15, 118, 110, 0.28);
  border-radius: 8px;
  color: var(--teal-dark);
  background: linear-gradient(180deg, #f0fbf8, #ffffff);
  box-shadow: 0 16px 34px rgba(15, 118, 110, 0.10);
  font-weight: 900;
}

.domain-banner span {
  color: var(--muted);
  font-size: 14px;
}

.domain-banner strong {
  color: var(--teal);
  font-size: clamp(22px, 4vw, 34px);
  line-height: 1;
}

.domain-banner:hover {
  border-color: rgba(15, 118, 110, 0.48);
}

.hero {
  padding: clamp(24px, 5vw, 48px) 0 22px;
  text-align: center;
}

.eyebrow,
.card-label {
  margin: 0;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(30px, 5.8vw, 48px);
  line-height: 1.06;
}

.lead {
  max-width: 560px;
  margin: 12px auto 0;
  color: var(--muted);
  font-size: clamp(16px, 2.4vw, 19px);
  line-height: 1.75;
}

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

.route,
.help-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.route {
  min-height: 184px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.route:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 118, 110, 0.38);
  box-shadow: 0 22px 48px rgba(25, 45, 64, 0.12);
}

.route:focus-visible,
.copy-row button:focus-visible {
  outline: 3px solid rgba(15, 118, 110, 0.24);
  outline-offset: 3px;
}

.route--primary {
  border-color: rgba(15, 118, 110, 0.45);
}

.route__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.route__index {
  color: var(--teal);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.route__pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--amber);
  background: #fff5e7;
  font-size: 13px;
  font-weight: 900;
}

.route strong {
  margin-top: 20px;
  font-size: 24px;
  line-height: 1.3;
}

.route small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

.route__button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  border-radius: 8px;
  color: var(--teal);
  background: var(--soft);
  font-weight: 900;
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 16px;
  margin-top: 14px;
}

.support-grid--single {
  grid-template-columns: 1fr;
}

.help-card {
  padding: 24px;
}

.help-card h2 {
  margin: 10px 0 8px;
  font-size: 22px;
  line-height: 1.35;
}

.help-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.copy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.copy-row button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fbfdfc;
  cursor: pointer;
  font-weight: 800;
}

.copy-row button:hover {
  border-color: rgba(15, 118, 110, 0.38);
  color: var(--teal);
}

.copy-status {
  min-height: 38px;
  display: flex;
  align-items: center;
  margin-top: 16px;
  padding: 0 12px;
  border-left: 4px solid var(--teal);
  color: var(--teal-dark);
  background: var(--soft);
  font-weight: 900;
}

@media (max-width: 860px) {
  .routes,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .route {
    min-height: 158px;
  }
}

@media (max-width: 580px) {
  .page {
    width: min(100% - 28px, 520px);
    padding-top: 10px;
  }

  .domain-banner {
    display: grid;
    gap: 4px;
    text-align: center;
    min-height: 46px;
    padding: 8px 12px;
  }

  .hero {
    padding: 22px 0 18px;
  }

  h1 {
    font-size: 28px;
  }

  .lead {
    font-size: 15px;
    line-height: 1.6;
  }

  .route {
    min-height: 144px;
    padding: 18px;
  }

  .route__index {
    font-size: 26px;
  }

  .route strong {
    margin-top: 16px;
    font-size: 22px;
  }
}
