:root {
  color-scheme: light;
  --ink: #202033;
  --muted: #6e6d80;
  --line: #e8e5f2;
  --surface: #ffffff;
  --soft: #f7f5fc;
  --purple: #675ce8;
  --purple-dark: #4f45cb;
  --coral: #f36c5d;
  --green: #1a9b66;
  font-family:
    Inter,
    'PingFang SC',
    'Microsoft YaHei',
    system-ui,
    -apple-system,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 12%, rgba(103, 92, 232, 0.1), transparent 27rem), var(--soft);
  line-height: 1.7;
}

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

.notice {
  padding: 0.45rem 1rem;
  color: #78541d;
  background: #fff5d9;
  border-bottom: 1px solid #f3dfaa;
  text-align: center;
  font-size: 0.85rem;
}

.site-header,
main,
footer {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.08rem;
  font-weight: 800;
}

.brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  color: white;
  border-radius: 0.8rem;
  background: linear-gradient(135deg, var(--purple), var(--coral));
  box-shadow: 0 0.5rem 1.2rem rgba(103, 92, 232, 0.24);
}

nav {
  display: flex;
  gap: 1.4rem;
  color: var(--muted);
  font-size: 0.92rem;
}

nav a:hover,
.footer-links a:hover {
  color: var(--purple);
}

.hero {
  min-height: 590px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
  padding: 4.5rem 0 6rem;
}

.eyebrow {
  display: inline-block;
  color: var(--purple);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  margin: 0.7rem 0 1.4rem;
  font-size: clamp(2.7rem, 6vw, 5.25rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

h2 {
  margin: 0.45rem 0 0.8rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.2;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.18rem;
}

.hero-copy > p,
.section-heading > p,
.contact-section p,
.policy-summary > p {
  color: var(--muted);
}

.hero-copy > p {
  max-width: 43rem;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.primary-action,
.secondary-action {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.2rem;
  border-radius: 0.85rem;
  font-weight: 700;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.primary-action {
  color: white;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  box-shadow: 0 0.8rem 1.8rem rgba(103, 92, 232, 0.23);
}

.secondary-action {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
}

.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-2px);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 2.2rem;
  color: white;
  border-radius: 2rem;
  background: linear-gradient(145deg, #6d62ef 0%, #584cd5 72%);
  box-shadow: 0 2rem 4rem rgba(69, 58, 170, 0.25);
}

.hero-panel::after {
  content: '';
  position: absolute;
  width: 12rem;
  height: 12rem;
  right: -4rem;
  bottom: -5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.panel-icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  margin-bottom: 1.3rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.17);
  font-size: 1.5rem;
}

.hero-panel strong,
.hero-panel span {
  display: block;
}

.hero-panel strong {
  font-size: 1.45rem;
}

.hero-panel span {
  margin: 0.3rem 0 1.2rem;
  color: rgba(255, 255, 255, 0.78);
}

.hero-panel ul {
  position: relative;
  z-index: 1;
  margin: 0;
  padding-left: 1.2rem;
}

.section {
  padding: 5.3rem 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 2rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.info-card {
  min-height: 250px;
  padding: 1.7rem;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.82);
}

.info-card p,
.boundary-list p,
.policy-content p,
.policy-content li {
  color: var(--muted);
}

.card-number {
  display: block;
  margin-bottom: 2.8rem;
  color: var(--coral);
  font-weight: 800;
}

.safety-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 8vw, 7rem);
}

.boundary-list p {
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--purple);
  background: rgba(255, 255, 255, 0.7);
}

.boundary-list strong {
  color: var(--ink);
}

.contact-section {
  align-items: center;
}

.contact-section .secondary-action {
  justify-self: end;
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.36fr) minmax(0, 0.64fr);
  gap: clamp(2rem, 7vw, 6rem);
  padding: 5rem 0 7rem;
}

.policy-summary {
  align-self: start;
  position: sticky;
  top: 2rem;
}

.policy-summary h1 {
  font-size: clamp(2.6rem, 5vw, 4rem);
}

.policy-note {
  margin-top: 1.5rem;
  padding: 1rem;
  color: #65541f;
  border: 1px solid #f0dda5;
  border-radius: 1rem;
  background: #fff8e4;
}

.policy-content {
  padding: 2rem clamp(1.25rem, 4vw, 3.5rem);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: var(--surface);
}

.policy-content section + section {
  margin-top: 2.3rem;
  padding-top: 2.3rem;
  border-top: 1px solid var(--line);
}

.policy-content h2 {
  font-size: 1.32rem;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 0 3rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}

footer strong,
footer span {
  display: block;
}

footer strong {
  color: var(--ink);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.8rem 1.4rem;
}

@media (max-width: 780px) {
  .site-header {
    min-height: 68px;
  }

  nav a:not(:last-child) {
    display: none;
  }

  .hero,
  .safety-section,
  .contact-section,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 3.5rem 0 4rem;
  }

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

  .info-card {
    min-height: auto;
  }

  .card-number {
    margin-bottom: 1.5rem;
  }

  .contact-section .secondary-action {
    justify-self: start;
  }

  .policy-summary {
    position: static;
  }

  footer {
    flex-direction: column;
  }

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

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

  .primary-action,
  .secondary-action {
    transition: none;
  }
}
