:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f7fafb;
  --line: #dbe3e7;
  --line-strong: #b9c8cf;
  --text: #172126;
  --muted: #5d6d75;
  --accent: #CEF2FB;
  --orange: #F3B040;
  --red: #e65048;
  --green: #379b6f;
  --shadow: 0 10px 24px rgba(23, 33, 38, 0.07);
  --radius: 8px;
  --page: 1120px;
  --font: "Aptos", "Segoe UI", "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(206, 242, 251, 0.82), rgba(206, 242, 251, 0.82)) 92% 128px / 118px 2px no-repeat,
    linear-gradient(90deg, rgba(243, 176, 64, 0.48), rgba(243, 176, 64, 0.48)) 88% 168px / 74px 2px no-repeat,
    linear-gradient(90deg, rgba(230, 80, 72, 0.26), rgba(230, 80, 72, 0.26)) 96% 212px / 58px 2px no-repeat,
    linear-gradient(90deg, rgba(55, 155, 111, 0.3), rgba(55, 155, 111, 0.3)) 84% 254px / 84px 2px no-repeat;
}

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

button,
a {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(206, 242, 251, 0.96);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 18px;
  top: -60px;
  z-index: 20;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 10px 14px;
}

.skip-link:focus {
  top: 14px;
}

.page {
  position: relative;
  z-index: 1;
  width: min(var(--page), calc(100vw - 32px));
  margin: 0 auto;
  padding: 20px 0 46px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
  border: 1px solid rgba(219, 227, 231, 0.82);
  border-radius: var(--radius);
  background: rgba(248, 250, 251, 0.78);
  padding: 10px 12px;
}

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

.brand img {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  object-fit: cover;
}

.brand-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.brand-name {
  font-size: 1.02rem;
  font-weight: 800;
}

.brand-subtitle,
.hero-summary,
.section-heading p,
.quote-panel li,
.support-card p,
.best-for,
.footer,
.status-line,
.detail-list li,
.conversion-band p {
  color: var(--muted);
}

.brand-subtitle {
  font-size: 0.86rem;
}

.top-actions,
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.lang-control {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 2px;
}

.lang-button {
  min-height: 36px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
  padding: 7px 10px;
}

.lang-button:hover,
.lang-button.is-active {
  background: var(--accent);
  color: #071116;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-weight: 800;
  padding: 10px 14px;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.button:hover {
  border-color: var(--orange);
  transform: translateY(-1px);
}

.button.button-primary {
  border-color: var(--orange);
  background: var(--orange);
  color: #11181d;
}

.button-outline {
  background: var(--surface);
}

.full-width {
  width: 100%;
}

.main {
  display: grid;
  gap: 28px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 24px;
  padding: 66px 0 24px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 16px;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--accent);
}

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

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 16px;
  font-size: 2.65rem;
}

.hero-summary {
  max-width: 610px;
  margin-bottom: 20px;
  font-size: 1.04rem;
}

.price-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.price-strip > span {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 9px 11px;
}

.price-strip strong {
  color: var(--orange);
}

.status-line {
  min-height: 1.4rem;
  margin: 12px 0 0;
  font-size: 0.9rem;
}

.quote-panel,
.package-card,
.support-card,
.conversion-band,
.policy-details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.quote-panel {
  align-self: end;
  display: grid;
  gap: 14px;
  padding: 18px;
}

.quote-panel h2 {
  margin: 0;
  font-size: 1.35rem;
}

.number-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
}

.number-list li::marker {
  color: var(--orange);
  font-weight: 900;
}

.content-section,
.detail-drawer {
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.compact-section {
  padding-top: 22px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.section-heading.stacked {
  display: grid;
  justify-content: start;
}

.section-heading h2 {
  margin: 8px 0 0;
  font-size: 1.38rem;
}

.section-heading p {
  max-width: 560px;
  margin-bottom: 0;
}

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

.package-card {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.package-card.is-featured {
  border-color: var(--orange);
  box-shadow: 0 8px 22px rgba(243, 176, 64, 0.16);
}

.package-topline {
  display: grid;
  gap: 8px;
}

.package-topline h3 {
  margin: 0;
  font-size: 1.12rem;
}

.package-price,
.support-price {
  margin: 0;
  color: var(--orange);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.package-summary {
  margin: 0;
  font-weight: 800;
}

.best-for {
  margin: 0;
}

.tag-list,
.short-list,
.detail-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-list li {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-soft);
  color: var(--muted);
  padding: 5px 7px;
  font-size: 0.82rem;
}

.short-list,
.detail-list {
  display: grid;
  gap: 8px;
}

.short-list li,
.detail-list li {
  position: relative;
  padding-left: 16px;
}

.short-list li::before,
.detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 2px;
  background: var(--orange);
}

.more-details {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.more-details summary,
.policy-details summary {
  cursor: pointer;
  font-weight: 800;
}

.more-details .detail-list {
  margin-top: 10px;
}

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

.support-card {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.support-card h3 {
  margin: 0;
  font-size: 1rem;
}

.support-card p {
  margin-bottom: 0;
}

.support-price {
  color: var(--text);
  font-size: 1.05rem;
}

.conversion-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 20px;
}

.conversion-band h2 {
  margin: 8px 0 8px;
  font-size: 1.45rem;
}

.conversion-band p {
  margin-bottom: 0;
}

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

.policy-details {
  padding: 15px 16px;
}

.policy-details .detail-list {
  margin-top: 12px;
}

.footer {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 0.88rem;
}

.footer p {
  margin-bottom: 0;
}

@media (max-width: 1060px) {
  .package-grid,
  .support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 940px) {
  .topbar,
  .section-heading,
  .conversion-band {
    align-items: start;
    flex-direction: column;
  }

  .topbar {
    display: grid;
  }

  .hero,
  .conversion-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body::before {
    background: none;
  }

  .page {
    width: min(100vw - 22px, var(--page));
    padding-top: 8px;
  }

  .top-actions,
  .hero-actions,
  .button {
    width: 100%;
  }

  .top-actions {
    align-items: stretch;
  }

  .lang-control {
    width: 100%;
  }

  .lang-button {
    flex: 1;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .hero {
    padding-top: 42px;
  }

  h1 {
    font-size: 2rem;
  }

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

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #11181d;
    --surface: #151d22;
    --surface-soft: #10171c;
    --line: #2a3941;
    --line-strong: #40525c;
    --text: #eef7fa;
    --muted: #a9bac2;
    --accent: #83e5f7;
    --orange: #F3B040;
    --red: #ff7068;
    --green: #5ed39c;
    --shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
  }

  .topbar {
    border-color: rgba(64, 82, 92, 0.72);
    background: rgba(21, 29, 34, 0.86);
  }

  .quote-panel,
  .price-strip span,
  .package-card,
  .support-card,
  .conversion-band,
  .policy-details,
  .button {
    background: rgba(21, 29, 34, 0.94);
  }

  .lang-control {
    background: rgba(21, 29, 34, 0.94);
  }

  .button.button-primary {
    border-color: var(--orange);
    background: var(--orange);
    color: #071116;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
