:root {
  --bg: #f6f7f8;
  --card: #ffffff;
  --text: #111827;
  --muted: #667085;
  --line: #e4e7ec;
  --green: #16a36a;
  --blue: #0b8daa;
  --yellow: #ffe45c;
  --shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

* {
  box-sizing: border-box;
}

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

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

.topbar {
  max-width: 1080px;
  margin: 0 auto;
  padding: 22px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: var(--green);
  color: white;
  font-size: 14px;
}

.nav {
  gap: 26px;
  color: var(--muted);
}

main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 20px 40px;
}

.hero {
  max-width: 760px;
  padding: 56px 0 42px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-weight: 700;
}

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

h1 {
  margin-bottom: 14px;
  font-size: 42px;
  line-height: 1.15;
}

.lead {
  color: var(--muted);
  font-size: 17px;
}

.card,
.notes article,
.details,
.legal article,
.contact,
dialog {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.section-title {
  margin-bottom: 16px;
}

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

.card {
  min-height: 360px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.card.highlight {
  border-color: rgba(22, 163, 106, 0.55);
}

.card-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.card h3 {
  font-size: 20px;
}

.card strong {
  font-size: 26px;
}

.card p,
.notes li,
.hint {
  color: var(--muted);
  line-height: 1.7;
}

.plan-badge {
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eefdf6;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}

.feature-list {
  display: grid;
  gap: 8px;
  margin: 14px 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 18px;
  color: #344054;
  line-height: 1.55;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.card-note {
  margin-bottom: 16px;
  padding: 10px 12px;
  border-radius: 6px;
  background: #f8fafc;
  border: 1px solid var(--line);
  font-size: 14px;
}

.card button,
.copy,
.channel-link {
  margin-top: auto;
  min-height: 40px;
  border: 0;
  border-radius: 6px;
  background: var(--green);
  color: white;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.highlight button {
  background: var(--blue);
}

.order-channel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 18px 0 30px;
  padding: 22px;
  border: 1px solid rgba(22, 163, 106, 0.32);
  border-radius: 6px;
  background: linear-gradient(180deg, #ffffff 0%, #f5fffa 100%);
  box-shadow: var(--shadow);
}

.order-channel h2 {
  margin-bottom: 8px;
}

.order-channel p:not(.eyebrow) {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.channel-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  padding: 0 18px;
  white-space: nowrap;
}

.notes,
.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0;
}

.notes article,
.details,
.legal article {
  padding: 20px;
}

.notes ul,
.notes ol {
  padding-left: 20px;
}

.details,
.legal {
  margin: 28px 0;
}

.detail-grid {
  display: grid;
  gap: 10px;
}

details {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fafc;
}

summary {
  cursor: pointer;
  font-weight: 700;
}

details p,
.legal p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.contact {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: grid;
  gap: 8px;
  width: 178px;
  padding: 14px;
  text-align: center;
}

.contact span {
  color: var(--muted);
  font-size: 13px;
}

.contact a {
  padding: 9px 12px;
  border-radius: 6px;
  background: var(--yellow);
  font-weight: 700;
}

.contact a:first-of-type {
  background: var(--green);
  color: white;
}

dialog {
  width: min(520px, calc(100vw - 32px));
  border: 0;
}

dialog::backdrop {
  background: rgba(15, 23, 42, 0.45);
}

.dialog-body {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.close {
  justify-self: end;
  border: 0;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  font: inherit;
}

footer {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 28px 20px 42px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 900px) {
  .hero,
  .cards,
  .notes,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .contact {
    position: static;
    width: auto;
    margin: 20px;
  }

  .order-channel {
    align-items: stretch;
    flex-direction: column;
  }

  .channel-link {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .nav {
    display: none;
  }

  h1 {
    font-size: 32px;
  }
}

