:root {
  --bg: #f4f0e8;
  --paper: rgba(255, 255, 255, 0.84);
  --paper-strong: #ffffff;
  --ink: #24264c;
  --muted: #5f647f;
  --primary: #3b3c6a;
  --secondary: #cca027;
  --secondary-deep: #b78d1c;
  --line: rgba(59, 60, 106, 0.12);
  --shadow: 0 24px 60px rgba(37, 38, 76, 0.12);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(204, 160, 39, 0.2), transparent 24%),
    radial-gradient(circle at top right, rgba(59, 60, 106, 0.13), transparent 26%),
    linear-gradient(180deg, #fffdf8 0%, #f7f3ea 48%, #efe5d3 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(59, 60, 106, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 60, 106, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 92%);
}

body.lang-zh {
  font-family: "Noto Sans SC", "Manrope", sans-serif;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

p,
li {
  line-height: 1.7;
}

.page-shell {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding-bottom: 72px;
  position: relative;
}

.site-header {
  padding: 24px 0 40px;
}

.inner-header {
  padding-bottom: 10px;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  max-width: min(430px, 72vw);
}

.brand img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-nav a,
.button,
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.site-nav a {
  color: var(--primary);
  border: 1px solid transparent;
}

.lang-switch {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  color: var(--primary);
}

.site-nav-static {
  width: auto;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: rgba(59, 60, 106, 0.08);
  border-color: rgba(59, 60, 106, 0.08);
}

.site-nav a.nav-cta,
.nav-cta,
.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #53558f 62%, var(--secondary));
  box-shadow: 0 14px 30px rgba(59, 60, 106, 0.24);
}

.site-nav a.nav-cta:visited,
.site-nav a.nav-cta:hover,
.site-nav a.nav-cta:focus-visible,
.site-nav a.nav-cta:active,
.nav-cta:visited,
.button-primary:visited {
  color: #fff;
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.button:hover,
.nav-toggle:hover,
.site-nav a:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
}

.hero,
.section-split {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 28px;
}

.hero-copy,
.hero-card,
.panel,
.card,
.value-card,
.contact-band {
  border: 1px solid var(--line);
  background: var(--paper);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero-copy,
.hero-card,
.panel,
.contact-band {
  border-radius: var(--radius-xl);
}

.hero-copy {
  padding: 52px 48px;
}

.hero-copy h1,
.page-hero h1,
.section-heading h2,
.contact-band h2,
.card h3,
.panel h2,
.value-card h3 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.hero-copy h1 {
  font-size: clamp(3.1rem, 5vw, 5.7rem);
  line-height: 0.95;
  max-width: 11ch;
  margin-bottom: 18px;
}

.hero-text,
.page-hero p,
.section-heading p,
.hero-points,
.card p,
.panel p,
.footer-note {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 24px;
}

.hero-points {
  margin: 0;
  padding-left: 18px;
}

.hero-card {
  padding: 28px;
  display: grid;
  gap: 14px;
  align-content: start;
}

.hero-card-label,
.section-label,
.kicker {
  margin: 0 0 8px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--secondary-deep);
}

.metric {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(59, 60, 106, 0.09);
}

.metric span {
  color: var(--muted);
}

.hero-card blockquote {
  margin: 4px 0 0;
  padding: 18px 20px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(59, 60, 106, 0.08), rgba(204, 160, 39, 0.14));
  font-size: 1.02rem;
  line-height: 1.7;
}

.quote-byline {
  margin: 0;
  font-weight: 700;
  color: var(--primary);
}

.page-hero {
  padding: 24px 0 18px;
  max-width: 760px;
}

.page-hero h1 {
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  line-height: 0.98;
  margin-bottom: 14px;
}

.legal-hero {
  max-width: 700px;
}

.section {
  padding: 28px 0;
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading h2 {
  font-size: clamp(2.1rem, 3vw, 3.25rem);
  margin-bottom: 10px;
}

.section-heading.narrow {
  max-width: 740px;
}

.panel,
.contact-band {
  padding: 30px;
}

.story-panel h2,
.contact-band h2,
.panel h2 {
  font-size: clamp(1.8rem, 2.4vw, 2.5rem);
  margin-bottom: 12px;
}

.accent-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(252, 245, 224, 0.92)),
    var(--paper);
}

.card-grid,
.value-grid,
.legal-grid,
.testimonial-grid {
  display: grid;
  gap: 20px;
}

.article-list {
  display: grid;
  gap: 20px;
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.value-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.legal-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.value-card {
  border-radius: var(--radius-lg);
  padding: 26px;
}

.article-card {
  border-radius: var(--radius-lg);
  padding: 26px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.card h3,
.value-card h3 {
  font-size: 1.55rem;
  margin-bottom: 10px;
}

.article-card h3 {
  margin: 0 0 12px;
  font-size: 1.5rem;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.article-meta,
.article-meta-large {
  margin: 0 0 10px;
  color: var(--secondary-deep);
  font-weight: 700;
}

.article-meta-large {
  margin-bottom: 14px;
}

.card ul,
.legal-panel ul,
.detail-list,
.hero-points {
  margin-top: 14px;
}

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

.logo-grid img {
  width: 100%;
  height: 88px;
  padding: 18px;
  object-fit: contain;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  box-shadow: 0 12px 26px rgba(59, 60, 106, 0.08);
}

.section-highlight {
  position: relative;
}

.value-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(241, 233, 214, 0.9)),
    var(--paper);
}

.testimonial-wrap {
  margin-top: 22px;
  padding: 28px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: rgba(255, 252, 245, 0.76);
  box-shadow: var(--shadow);
}

.testimonial-heading {
  max-width: 720px;
  margin-bottom: 18px;
}

.testimonial-heading h3 {
  margin: 0 0 10px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.8rem, 2.3vw, 2.4rem);
  letter-spacing: -0.03em;
  font-weight: 800;
}

.testimonial-heading p:last-child,
.testimonial-meta {
  color: var(--muted);
}

.testimonial-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(59, 60, 106, 0.1);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 30px rgba(59, 60, 106, 0.08);
}

.testimonial-quote {
  margin: 0 0 16px;
  font-size: 1.03rem;
  line-height: 1.8;
  color: var(--ink);
}

.testimonial-meta {
  margin: 0;
  font-weight: 700;
}

.value-card span {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(59, 60, 106, 0.09);
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 14px;
}

.contact-band {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.contact-points {
  display: grid;
  gap: 12px;
  min-width: 260px;
}

.contact-points a:not(.button) {
  font-weight: 700;
  text-decoration: none;
  color: var(--primary);
}

.detail-list {
  list-style: none;
  padding: 0;
}

.detail-list li {
  display: grid;
  gap: 6px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.detail-list li:last-child {
  border-bottom: 0;
}

.iframe-wrap {
  margin: 20px 0 18px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.iframe-wrap iframe {
  width: 100%;
  min-height: 920px;
  border: 0;
}

.article-hero {
  max-width: 840px;
}

.article-panel {
  max-width: 860px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.93);
}

.article-panel-zh {
  font-family: "Noto Sans SC", "Manrope", sans-serif;
}

.article-panel h2 {
  margin-top: 28px;
  font-size: 1.7rem;
}

.article-source {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.legal-note {
  margin: 0 0 20px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(59, 60, 106, 0.06);
  border: 1px solid rgba(59, 60, 106, 0.08);
  color: var(--muted);
}

.legal-panel {
  background: rgba(255, 255, 255, 0.92);
}

.legal-panel h2 {
  margin-top: 28px;
}

.legal-panel h2:first-child {
  margin-top: 0;
}

.note-panel {
  max-width: 760px;
}

.not-found-hero,
.not-found-panel {
  max-width: 840px;
  margin: 0 auto;
}

.not-found-hero {
  text-align: center;
}

.not-found-panel {
  display: grid;
  gap: 28px;
  text-align: center;
}

.not-found-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.not-found-language {
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.not-found-language h2 {
  margin: 0 0 12px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.03em;
}

.site-footer {
  margin-top: 18px;
  padding: 28px 0 8px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: end;
}

.footer-brand,
.footer-copy {
  margin: 0;
}

.footer-brand {
  font-weight: 800;
  color: var(--primary);
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  font-weight: 700;
  color: var(--primary);
}

.footer-copy {
  grid-column: 1 / -1;
  color: var(--muted);
}

@media (max-width: 980px) {
  .hero,
  .section-split,
  .card-grid,
  .value-grid,
  .legal-grid,
  .testimonial-grid,
  .article-list,
  .logo-grid,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .contact-band {
    display: grid;
  }

  .contact-points {
    min-width: 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100vw - 20px, 100%);
  }

  .site-header {
    padding-top: 16px;
  }

  .nav-wrap {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a,
  .nav-cta {
    width: 100%;
  }

  .site-nav-static {
    display: flex;
    width: auto;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    flex-direction: row;
    align-items: center;
  }

  .site-nav-static a,
  .site-nav-static .nav-cta {
    width: auto;
  }

  .hero-copy,
  .hero-card,
  .panel,
  .card,
  .value-card,
  .contact-band {
    padding: 22px;
  }

  .hero-copy h1 {
    font-size: clamp(2.4rem, 11vw, 3.8rem);
  }

  .page-hero h1,
  .section-heading h2 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .iframe-wrap iframe {
    min-height: 980px;
  }
}
