@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700&display=swap');

:root {
  --primary: #162F50;
  --background: #F5F7FB;
  --surface: #FFFFFF;
  --highlight: #EAF2FC;
  --border: #A9C3E6;
  --text: #243B5A;
  --accent: #3478D4;
  --heading-font: "DM Sans", system-ui, sans-serif;
  color: var(--text);
  background: var(--background);
  font: 16px/1.6 "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
:root:lang(zh-CN) {
  --heading-font: "Noto Sans SC", system-ui, sans-serif;
  font-family: "Noto Sans SC", system-ui, sans-serif;
}
body, figure, h1, h2, h3, p { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.wrap { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: fixed; z-index: 2; top: 8px; left: 8px; background: var(--surface); padding: 10px; transform: translateY(-200%); }
.skip:focus { transform: none; }

.header, .footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 22px; }
.header { color: var(--primary); border-bottom: 1px solid var(--border); }
.brand-logo { flex: none; }
.brand-logo img { width: 96px; height: auto; mix-blend-mode: multiply; }
nav { display: flex; flex-wrap: wrap; gap: 6px clamp(8px, 1.6vw, 22px); font-size: 14px; font-weight: 600; }
nav a { padding: 7px 4px; border-bottom: 2px solid transparent; }
nav a:hover, nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.language { display: flex; gap: 3px; border: 1px solid var(--border); border-radius: 24px; background: var(--surface); padding: 3px; flex-shrink: 0; }
.language button { border: 0; border-radius: 20px; padding: 7px 12px; background: none; color: var(--text); font-size: 12px; font-weight: 700; }
.language button:hover { background: var(--highlight); }
.language button[aria-pressed="true"] { color: var(--surface); background: var(--primary); }

.hero { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: clamp(32px, 5vw, 78px); padding-block: clamp(55px, 7vw, 105px); }
.eyebrow { color: var(--primary); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; }
h1, h2 { font-family: var(--heading-font); font-weight: 600; color: var(--primary); letter-spacing: -.02em; }
h1 { font-size: clamp(54px, 7.25vw, 105px); line-height: 1.08; margin-block: 20px 26px; }
h1 em { color: var(--accent); font-style: normal; }
h2 { font-size: clamp(40px, 5.3vw, 72px); line-height: 1; }
:lang(zh-CN) :is(h1, h2) { font-weight: 700; }
:lang(zh-CN) h1 { font-size: clamp(43px, 5.5vw, 80px); line-height: 1.17; }
:lang(zh-CN) h1 em { font-style: normal; }
:lang(zh-CN) h2 { font-size: clamp(32px, 4.4vw, 59px); line-height: 1.2; }
.lede { max-width: 52ch; color: var(--text); font-size: 17px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; border-radius: 10px; background: var(--primary); color: var(--surface); font-weight: 700; font-size: 14px; padding: 13px 20px; }
.button:hover { background: var(--text); color: var(--surface); }
.hero .button { margin-top: 30px; }
.hero-photo { background: var(--highlight); overflow: hidden; border-radius: 28px; border: 1px solid var(--border); }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 1.12; object-fit: cover; }

.approach { background: var(--highlight); padding-block: 64px; }
.split { display: grid; grid-template-columns: 1fr 2fr; gap: 30px; }
.split .eyebrow { margin-top: 8px; }
.split h2 { margin-bottom: 15px; }
.section, .faq { padding-block: clamp(58px, 7vw, 100px); }
.section h2, .faq h2 { margin-top: 12px; }
.steps { list-style: none; padding: 0; margin: 35px 0 0; display: grid; gap: 12px; }
.steps li { border: 1px solid var(--border); border-radius: 16px; background: var(--surface); padding: 21px; }
.number { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--highlight); color: var(--primary); font-size: 13px; font-weight: 700; }
.steps p, .questions p { color: var(--text); }
.faq { background: var(--highlight); }
.questions { display: grid; align-content: start; gap: 10px; }
details { border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
details[open] { border-color: var(--accent); }
summary { cursor: pointer; padding: 16px 18px; border-radius: 12px; color: var(--primary); font-weight: 700; }
summary:hover { background: var(--background); }
summary::marker { color: var(--accent); }
details p { padding: 0 18px 18px 35px; max-width: 66ch; }
.next { background: var(--primary); color: var(--surface); padding-block: 60px; }
.next-inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.next h2 { color: var(--surface); font-size: clamp(36px, 4.5vw, 62px); }
.next p { margin-top: 12px; color: var(--highlight); }
.light { background: var(--surface); color: var(--primary); flex-shrink: 0; }
.light:hover { background: var(--highlight); color: var(--primary); }
.next :focus-visible { outline-color: var(--highlight); }
.footer > a:last-child { font-size: 14px; font-weight: 600; }


.page-section { min-height: 58vh; }
.page-heading { max-width: 720px; margin-bottom: 28px; }
.page-heading h1 { font-size: clamp(52px, 7vw, 90px); margin: 0 0 18px; }
.page-heading .lede { margin-top: 16px; }
.about-copy { max-width: 720px; font-size: 18px; line-height: 1.8; }
.about-copy p + p { margin-top: 1em; }
.text-link { display: inline-block; margin-top: 20px; font-weight: 700; color: var(--primary); text-decoration: underline; text-underline-offset: .3em; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; }
.panel { padding: clamp(20px, 3vw, 36px); border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.panel h2, .service-steps h2 { font-size: clamp(25px, 4vw, 42px); margin: 0 0 10px; line-height: 1.12; }
.service-steps li { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 16px; }
.carousel { padding: clamp(24px, 4vw, 48px); }
.carousel-controls { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid var(--border); padding-top: 18px; }
.carousel-status { display: flex; align-items: center; gap: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.carousel-controls [data-autoplay] { width: 44px; height: 44px; padding: 10px; }
.playback-icon { display: block; width: 22px; height: 22px; fill: currentColor; }
@media (max-width: 520px) {
  .carousel-status { order: 1; width: 100%; justify-content: center; }
}
.carousel-controls button { border: 1px solid var(--border); border-radius: 10px; background: var(--highlight); color: var(--primary); padding: 8px 12px; font-weight: 700; }
.carousel-controls button:hover { background: var(--surface); }
.cases-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.case-card h3 { color: var(--primary); font-size: 15px; margin-top: 16px; }
.case-card ul, .profile-slide ul { margin: 8px 0 0; padding-inline-start: 1.35em; }
.case-card li + li, .profile-slide li + li { margin-top: 5px; }
.profile-slide { min-height: clamp(220px, 25vw, 300px); margin-bottom: 16px; }
.profile-slide h2 { font-size: clamp(48px, 6vw, 80px); }
.profile-slide ul { max-width: 68ch; font-size: clamp(16px, 1.7vw, 19px); }
.contact-grid .panel { padding: clamp(20px, 3vw, 32px); }
.contact-row { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: start; gap: 14px; }
.contact-info .contact-row + .contact-row { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); }
.contact-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--highlight); color: var(--primary); }
.contact-icon svg { width: 23px; height: 23px; }
.contact-row h2 { margin: 0 0 6px; font-family: inherit; font-size: 21px; font-weight: 700; line-height: 1.35; }
.contact-info address { font-style: normal; }
.contact-info address p + p { margin-top: 10px; }
.phone { display: inline-block; font-weight: 700; text-decoration: underline; text-underline-offset: .22em; }
.qr-frame { display: grid; place-items: center; margin-top: 20px; padding: 10px; border-radius: 12px; background: var(--highlight); }
.qr-frame img { width: min(100%, 248px); height: auto; border-radius: 6px; }

@media (max-width: 950px) {
  .wrap { width: min(1200px, calc(100% - 48px)); }
}
@media (max-width: 720px) {
  .hero, .split, .contact-grid, .cases-grid { grid-template-columns: 1fr; }
  .hero { gap: 35px; }
  .hero-photo { border-radius: 20px; }
  .header { flex-wrap: wrap; gap: 10px 18px; padding-block: 14px; }
  .header nav { order: 1; width: 100%; padding-block: 5px; }
  .header nav a { padding-block: 4px; }
  .next-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 410px) {
  .wrap { width: calc(100% - 36px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.profile-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 10px; }
.profile-heading h2 { margin: 0; }
.founder-badge { display: inline-block; flex-shrink: 0; color: var(--primary); font-weight: 700; padding: 3px 10px; border: 1px solid var(--border); border-radius: 999px; background: var(--highlight); font-size: 13px; line-height: 1.5; }
