:root {
  --brand: #5B6596;
  --brand-2: #414a7d;
  --brand-deep: #333A63;
  --ink: #20243A;
  --muted: #5C6178;
  --bg: #EEF0FA;
  --bg-soft: #E9ECF7;
  --card: #FFFFFF;
  --line: rgba(51, 58, 99, 0.14);
  --line-soft: rgba(51, 58, 99, 0.07);
  --serif: 'Lora', Georgia, 'Songti SC', serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  /* Soft, layered, non-parallel translucent waves (iOS-style) for dark panels */
  --wave: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201000%201000'%20preserveAspectRatio='none'%3E%3Cpath%20fill='%23ffffff'%20fill-opacity='.08'%20d='M0,491.9L12,489.7L25,488L38,486.8L50,486.2L62,486L75,486.4L88,487.3L100,488.6L112,490.5L125,492.9L138,495.8L150,499.1L162,502.8L175,507L188,511.5L200,516.5L212,521.7L225,527.2L238,533L250,539.1L262,545.3L275,551.7L288,558.2L300,564.7L312,571.3L325,577.9L338,584.4L350,590.9L362,597.2L375,603.4L388,609.3L400,615L412,620.4L425,625.6L438,630.3L450,634.7L462,638.7L475,642.3L488,645.4L500,648.1L512,650.3L525,652L538,653.2L550,653.8L562,654L575,653.6L588,652.7L600,651.4L612,649.5L625,647.1L638,644.2L650,640.9L662,637.2L675,633L688,628.5L700,623.5L712,618.3L725,612.8L738,607L750,600.9L762,594.7L775,588.3L788,581.8L800,575.3L812,568.7L825,562.1L838,555.6L850,549.1L862,542.8L875,536.6L888,530.7L900,525L912,519.6L925,514.4L938,509.7L950,505.3L962,501.3L975,497.7L988,494.6L1000,491.9L1000,1000L0,1000Z'/%3E%3Cpath%20fill='%23ffffff'%20fill-opacity='.13'%20d='M0,716L12,712.5L25,708.6L38,704.1L50,699.3L62,693.9L75,688.2L88,682.2L100,675.8L112,669.1L125,662.2L138,655.1L150,647.8L162,640.4L175,633L188,625.5L200,618.1L212,610.7L225,603.5L238,596.4L250,589.6L262,582.9L275,576.6L288,570.6L300,565L312,559.7L325,554.9L338,550.6L350,546.8L362,543.4L375,540.6L388,538.4L400,536.7L412,535.6L425,535L438,535.1L450,535.7L462,537L475,538.8L488,541.1L500,544L512,547.5L525,551.4L538,555.9L550,560.7L562,566.1L575,571.8L588,577.8L600,584.2L612,590.9L625,597.8L638,604.9L650,612.2L662,619.6L675,627L688,634.5L700,641.9L712,649.3L725,656.5L738,663.6L750,670.4L762,677.1L775,683.4L788,689.4L800,695L812,700.3L825,705.1L838,709.4L850,713.2L862,716.6L875,719.4L888,721.6L900,723.3L912,724.4L925,725L938,724.9L950,724.3L962,723L975,721.2L988,718.9L1000,716L1000,1000L0,1000Z'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
/* Fine paper grain over the page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

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

.wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

/* Language visibility (default lang-en shown statically; no JS required) */
html.lang-en .zh { display: none; }
html.lang-zh .en { display: none; }

/* Skip link */
.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--brand-deep);
  color: #fff;
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; outline: 3px solid #fff; }

/* Focus */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--brand-deep);
  outline-offset: 3px;
  border-radius: 6px;
}
.principle a:focus-visible,
.contact a:focus-visible,
.hero__card a:focus-visible { outline-color: #fff; }

/* Eyebrow */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--brand);
  opacity: .6;
  display: inline-block;
  flex: none;
}
.eyebrow--light { color: rgba(255,255,255,.75); }
.eyebrow--light::before { background: rgba(255,255,255,.6); opacity: 1; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(238,240,250,.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header { background: rgba(238,240,250,.96); }
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 16px 0;
}
.nav {
  display: flex;
  gap: 30px;
  font-size: 13.5px;
  letter-spacing: .04em;
  color: var(--muted);
}
html.lang-zh .nav { font-size: 14px; letter-spacing: .06em; }
.nav a { transition: color .2s ease; }
.nav a:hover { color: var(--brand-deep); }

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.lang-switch__btn {
  background: transparent;
  color: var(--muted);
  border: none;
  border-radius: 999px;
  padding: 6px 15px;
  font-size: 12.5px;
  letter-spacing: .06em;
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}
.lang-switch__btn:hover { color: var(--brand-deep); }
.lang-switch__btn[aria-pressed="true"] { background: var(--brand-deep); color: #fff; }

/* Hero */
.hero { padding: clamp(54px,7vw,88px) 0 clamp(44px,6vw,72px); }
.hero__grid {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: clamp(28px,4.5vw,64px);
  align-items: center;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(34px,3.8vw,54px);
  line-height: 1.1;
  letter-spacing: -0.005em;
  margin: 0 0 24px;
}
html.lang-zh .hero__title { font-size: clamp(30px,3.4vw,48px); line-height: 1.22; letter-spacing: .01em; }
.lead {
  font-size: 19px;
  color: var(--muted);
  max-width: 46ch;
  margin: 0 0 38px;
}
html.lang-zh .lead { font-size: 18px; max-width: 34ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.btn {
  font-size: 15px;
  border-radius: 999px;
  padding: 14px 28px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: .02em;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
}
html.lang-zh .btn { letter-spacing: .06em; }
.btn--primary {
  background: var(--brand);
  color: #fff;
  border: 1px solid var(--brand);
  box-shadow: 0 10px 26px rgba(91,101,150,.28);
}
.btn--primary:hover { background: var(--brand-deep); border-color: var(--brand-deep); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--brand-deep);
  border: 1px solid var(--line);
}
.btn--ghost:hover { border-color: var(--brand); transform: translateY(-1px); }

.hero__card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(150deg, #5B6596, #414a7d 50%, #333A63);
  color: #fff;
  box-shadow: 0 30px 60px -24px rgba(51,58,99,.5);
  min-height: 380px;
  display: flex;
  flex-direction: column;
}
.hero__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(110% 80% at 16% 4%, rgba(154,160,196,0.38), rgba(91,101,150,0.12) 48%, rgba(91,101,150,0) 72%),
    radial-gradient(90% 80% at 100% 104%, rgba(51,58,99,0.55), rgba(51,58,99,0) 66%);
}
/* Subtle iOS-style wave wash on the dark panels */
.hero__card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 70%;
  z-index: 1;
  pointer-events: none;
  background: var(--wave) no-repeat bottom / 100% 100%;
}
.hero__card-top {
  position: relative;
  z-index: 2;
  padding: 30px 30px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hero__card-top img { height: 54px; width: auto; display: block; }
.hero__card-place { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.hero__card-foot { position: relative; z-index: 2; margin-top: auto; padding: 26px 30px 28px; }
.hero__card-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.45;
  margin: 0 0 22px;
  color: rgba(255,255,255,.95);
}
html.lang-zh .hero__card-tagline { line-height: 1.5; }
.trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 14px;
  border-top: 1px solid rgba(255,255,255,.18);
  padding-top: 20px;
  margin: 0;
}
.trust__item { margin: 0; }
.trust__num { font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 1; margin: 0; }
.trust__label { color: rgba(255,255,255,.66); font-size: 12px; letter-spacing: .02em; margin: 6px 0 0; }

/* Principle band */
.principle {
  position: relative;
  background: var(--brand-deep);
  color: #fff;
  padding: clamp(72px,9vw,120px) 0;
  overflow: hidden;
}
.principle::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(100% 150% at 50% -26%, rgba(122,130,180,0.5), rgba(91,101,150,0.12) 44%, rgba(51,58,99,0) 70%);
}
.principle__inner { position: relative; z-index: 1; width: min(880px, calc(100% - 48px)); margin: 0 auto; text-align: center; }
.principle__mark { font-family: var(--serif); font-size: 64px; line-height: .5; color: rgba(255,255,255,.4); margin-bottom: 18px; }
.principle__quote {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px,3.6vw,46px);
  line-height: 1.28;
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: balance;
}
html.lang-zh .principle__quote { font-size: clamp(26px,3.4vw,44px); line-height: 1.42; letter-spacing: .01em; }
.principle__label { margin: 26px 0 0; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.6); }

/* Sections */
.section { padding: clamp(72px,8vw,104px) 0; position: relative; }
.section--soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.section--soft::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 60%;
  pointer-events: none;
  background: radial-gradient(80% 120% at 88% 100%, rgba(91,101,150,0.07), rgba(91,101,150,0) 60%);
}
.section .wrap { position: relative; z-index: 1; }
.section__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(34px,4vw,56px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  max-width: 22ch;
}
html.lang-zh .section__title { font-size: clamp(30px,3.6vw,50px); line-height: 1.2; letter-spacing: .01em; }
.section__sub { color: var(--muted); font-size: 17px; margin: 0 0 48px; max-width: 56ch; }
html.lang-zh .section__sub { font-size: 16.5px; max-width: 44ch; }

/* Scenario cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 38px 34px 40px;
  box-shadow: 0 22px 50px -34px rgba(51,58,99,.34);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 32px 58px -30px rgba(51,58,99,.42); }
.card__no { font-family: var(--serif); font-weight: 600; font-size: 13px; letter-spacing: .18em; color: var(--brand); }
.card__title { font-family: var(--serif); font-weight: 600; font-size: 24px; margin: 14px 0 14px; letter-spacing: .005em; }
html.lang-zh .card__title { font-size: 23px; letter-spacing: .02em; }
.card__desc { color: var(--muted); font-size: 15.5px; line-height: 1.72; margin: 0; }
html.lang-zh .card__desc { line-height: 1.75; }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 48px; border-top: 1px solid rgba(51,58,99,.18); }
.step { padding-top: 30px; }
.step__num { font-family: var(--serif); font-size: 18px; color: var(--brand); letter-spacing: .12em; }
.step__title { font-family: var(--serif); font-weight: 600; font-size: 34px; margin: 12px 0 12px; }
html.lang-zh .step__title { font-size: 30px; letter-spacing: .02em; }
.step__desc { color: var(--muted); font-size: 15px; margin: 0; }

/* Capability list */
.caps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 56px; }
.cap { display: flex; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cap__no { font-family: var(--serif); font-size: 13px; color: var(--brand); opacity: .6; flex: none; }
.cap__text { font-size: 16px; letter-spacing: .01em; }

/* Contact */
.contact__panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
  border-radius: 28px;
  padding: clamp(44px,5vw,72px) clamp(28px,4vw,60px);
}
.contact__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(85% 130% at 10% -12%, rgba(255,255,255,0.13), rgba(255,255,255,0) 52%);
}
.contact__panel > * { position: relative; z-index: 1; }
.contact__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(36px,5vw,70px);
  margin: 0 0 18px;
  letter-spacing: -0.01em;
  line-height: 1.04;
}
html.lang-zh .contact__title { font-size: clamp(34px,4.6vw,64px); letter-spacing: .01em; line-height: 1.12; }
.contact__copy { color: rgba(255,255,255,.86); font-size: 17px; max-width: 52ch; margin: 0 0 38px; }
html.lang-zh .contact__copy { max-width: 34ch; }
.contact__cards { display: flex; flex-wrap: wrap; gap: 14px; }
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 16px;
  padding: 18px 24px;
  min-width: 210px;
  transition: background .2s ease, transform .15s ease;
}
.contact-card:hover { background: rgba(255,255,255,.2); }
.contact-card__label { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.contact-card__value { font-size: 20px; font-weight: 500; letter-spacing: .01em; }
.contact-card--cta { justify-content: center; background: #fff; color: var(--brand-deep); border-color: #fff; }
.contact-card--cta:hover { background: #fff; transform: translateY(-1px); }
.contact-card--cta .contact-card__value { font-size: 17px; font-weight: 600; }

/* Footer */
.site-footer { color: var(--muted); font-size: 13px; }
.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 40px 0 56px;
  border-top: 1px solid var(--line);
}
.site-footer__logo { height: 26px; width: auto; display: block; margin-bottom: 8px; }
.site-footer__meta { align-self: flex-end; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .card:hover, .btn:hover, .contact-card--cta:hover { transform: none; }
}

/* Responsive */
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__card { min-height: 340px; }
  .site-header__inner { gap: 14px; }
}
@media (max-width: 560px) {
  .wrap { width: min(1180px, calc(100% - 36px)); }
  .nav { gap: 18px; font-size: 13px; }
  html.lang-zh .nav { font-size: 13px; }
  .hero__actions { display: block; }
  .btn { width: 100%; justify-content: center; margin-bottom: 10px; }
  .caps { gap: 0; }
  .contact-card { min-width: 0; flex: 1 1 100%; }
  .site-footer__meta { align-self: flex-start; }
}
