:root {
  color-scheme: dark;
  --bg: #090c12;
  --header: #090c12e8;
  --surface: #10151e;
  --panel: #111722;
  --wash: #0d1119;
  --ink: #f5f6f9;
  --sub: #a7afbf;
  --line: #ffffff1f;
  --accent: #97adff;
  --accent-end: #b1d9ff;
  --action: #bdccff;
  --action-ink: #111a35;
  --selected: #212c4b;
  --shadow: #05060b70;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f8fb;
  --header: #f7f8fbeb;
  --surface: #fff;
  --panel: #fff;
  --wash: #eef2f8;
  --ink: #162035;
  --sub: #4c5871;
  --line: #26385926;
  --accent: #294cb5;
  --accent-end: #28769c;
  --action: #274ebd;
  --action-ink: #fff;
  --selected: #e7edff;
  --shadow: #29345010;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Noto Sans CJK SC', 'Microsoft YaHei', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body:has(dialog[open]) { overflow: hidden; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
img { display: block; width: 100%; height: auto; }
p, h1, h2, h3, figure { margin: 0; }
.wrap { width: min(1280px, calc(100% - 104px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 20; top: .5rem; left: .75rem; padding: 8px 16px; background: var(--surface); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; inset: 0 0 auto; z-index: 5; background: var(--header); border-bottom: 1px solid var(--line); backdrop-filter: blur(22px); }
.navigation { min-height: 72px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.wordmark { width: fit-content; display: inline-flex; align-items: center; gap: 13px; color: var(--ink); font-size: 21px; font-weight: 700; letter-spacing: .09em; }
.brand-symbol { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg,#5e74e8,#253475 66%,#10172f); border: 1px solid #748ff6; box-shadow: inset 0 1px 8px #ecf4ff65; transform: rotate(-9deg); }
.site-header nav { display: flex; gap: clamp(19px, 3.6vw, 52px); font-size: 15px; color: var(--sub); }
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--ink); }
.theme-control { display: inline-flex; justify-self: end; gap: 2px; align-items: center; padding: 3px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); white-space: nowrap; }
.theme-control a { border-radius: inherit; padding: 4px 12px; font-size: 14px; color: var(--sub); }
.theme-control a[aria-current] { background: var(--selected); color: var(--ink); }
:root[data-theme="dark"] [data-theme-choice="dark"], :root[data-theme="light"] [data-theme-choice="light"] { background: var(--selected); color: var(--ink); }
.reading-progress { height: 2px; position: absolute; inset: auto 0 -1px; background: linear-gradient(90deg, var(--accent), var(--accent-end)); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.hero { isolation: isolate; position: relative; min-height: clamp(600px, 78svh, 800px); display: grid; align-items: center; padding-block: 65px 96px; }
.hero-copy { position: relative; z-index: 1; width: max-content; max-width: 100%; animation: entrance .8s .05s both; }
.eyebrow { color: var(--accent); font-size: 15px; font-weight: 650; letter-spacing: .13em; }
.hero h1 { margin: 17px 0 22px; font-size: clamp(72px, 7.5vw, 118px); line-height: 1.05; letter-spacing: -.065em; font-weight: 780; }
.hero h1 em { font-style: normal; color: var(--accent); background: linear-gradient(105deg, var(--accent), var(--accent-end)); background-clip: text; -webkit-text-fill-color: transparent; }
.hero h1 em span { margin-left: .025em; }
.hero-role { font-size: clamp(22px, 2.15vw, 32px); font-weight: 610; letter-spacing: -.035em; }
.hero-description { color: var(--sub); margin-top: 13px; font-size: clamp(16px, 1.32vw, 19px); line-height: 1.8; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 31px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 47px; padding: 8px 23px; border: 1px solid transparent; border-radius: 999px; font-size: 15px; font-weight: 620; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-2px); }
.primary { color: var(--action-ink); background: var(--action); }
.primary:hover { filter: brightness(1.08); }
.secondary { color: var(--ink); border-color: var(--line); background: var(--header); }
.secondary:hover { border-color: var(--accent); }
.hero-art { position: absolute; z-index: 0; width: min(82%, 1060px); right: -4%; top: 50%; transform: translate3d(0,calc(-50% + var(--hero-y, 0px)),0); mask-image: radial-gradient(ellipse 70% 65% at 56% 49%, black 52%, transparent 85%); pointer-events: none; }
.hero-art img { transform: translate3d(var(--pointer-x, 0px),var(--pointer-y, 0px),0); transition: transform .6s cubic-bezier(.2,.65,.25,1); }
.art-light, :root[data-theme="light"] .art-dark { display: none; }
:root[data-theme="light"] .art-light { display: block; }
:root[data-theme="light"] .hero-art { mix-blend-mode: multiply; }
.hero-scroll { color: var(--sub); font-size: 14px; display: flex; align-items: center; gap: 10px; position: absolute; inset: auto auto 24px 0; }
.hero-scroll span { width: 1px; height: 23px; background: var(--accent); animation: beckon 2.7s infinite ease-in-out; transform-origin: top; }
@keyframes beckon { 0%, 100% { transform: scaleY(.55); opacity: .55; } 45% { transform: scaleY(1); opacity: 1; } }
@keyframes entrance { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.section { padding-block: clamp(76px, 8vw, 132px); }
.business { border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 1fr minmax(260px, 380px); gap: 36px; align-items: end; margin-bottom: 30px; }
.section-heading h2, .service h2, .about h2 { margin: 10px 0 0; font-size: clamp(36px, 5vw, 72px); line-height: 1.13; font-weight: 750; letter-spacing: -.065em; }
.section-heading > p, .service-intro > p:last-child, .about > p:not(.eyebrow) { color: var(--sub); line-height: 1.85; }
.business-showcase { border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--panel); box-shadow: 0 16px 60px var(--shadow); }
.series-nav { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); }
.series-tab { display: grid; padding: 17px 18px; gap: 2px; text-align: center; border-inline-end: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; transition: background .2s ease, color .2s ease; }
.series-tab:last-child { border-inline-end: 0; }
.series-tab strong { font-size: clamp(16px, 1.6vw, 21px); font-weight: 640; }
.series-tab span { color: var(--sub); font-size: 14px; }
.series-tab[aria-selected="true"], .series-tab:hover { background: var(--selected); }
.series-tab[aria-selected="true"]::after { content: ''; height: 3px; position: absolute; inset: auto 0 0; background: var(--accent); }
.series-tab:focus-visible { outline-offset: -5px; z-index: 1; }
.series-panel { display: grid; grid-template-columns: .88fr 1.12fr; min-height: 448px; }
.series-panel[hidden] { display: none; }
.series-panel[aria-labelledby]:not([hidden]) .series-copy { animation: entrance .45s both; }
.series-copy { padding: clamp(29px, 4vw, 65px); align-self: center; }
.series-copy h3 { margin: 12px 0 15px; font-size: clamp(34px, 4vw, 56px); font-weight: 720; letter-spacing: -.06em; line-height: 1.19; }
.series-copy > p:not(.eyebrow) { color: var(--sub); max-width: 44ch; line-height: 1.8; }
.chips { display: flex; flex-wrap: wrap; list-style: none; gap: 7px; padding: 0; margin: 20px 0 25px; }
.chips li { border-radius: 999px; border: 1px solid var(--line); padding: 4px 11px; font-size: 14px; color: var(--sub); }
.text-action { background: transparent; padding: 5px 0; border: 0; border-bottom: 1px solid currentColor; color: var(--accent); font-weight: 640; }
.text-action:hover { color: var(--ink); }
.series-image { position: relative; overflow: hidden; min-height: 260px; background: var(--wash); }
.series-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .65s ease, opacity .45s ease; }
.home-image img { object-position: 51% 58%; }
.series-image:hover img { transform: scale(1.045); }
.service { background: var(--wash); border-block: 1px solid var(--line); }
.service-layout { display: grid; grid-template-columns: .95fr 1.05fr; align-items: start; gap: clamp(42px, 9vw, 130px); }
.service-intro > p:last-child { margin-top: 20px; max-width: 40ch; }
.steps { display: grid; gap: 10px; }
.steps details { border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.steps details[open] { border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.steps summary { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 17px 21px; cursor: pointer; list-style: none; font-size: clamp(17px, 2vw, 21px); font-weight: 620; }
.steps summary::-webkit-details-marker { display: none; }
.steps details > p { margin: 0; padding: 0 21px 20px; color: var(--sub); }
.plus { width: 15px; height: 15px; display: grid; place-items: center; flex: none; color: var(--accent); }
.plus::after, .plus::before { content: ''; height: 1px; width: 100%; background: currentColor; grid-area: 1 / 1; }
.plus::after { transform: rotate(90deg); transition: transform .2s ease; }
.steps details[open] .plus::after { transform: rotate(0); }
.about { text-align: center; }
.about > p:not(.eyebrow) { max-width: 580px; margin: 23px auto 30px; }
.footer { border-top: 1px solid var(--line); color: var(--sub); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; min-height: 84px; font-size: 14px; padding-block: 18px; }
.footer a:hover { color: var(--ink); }
.example-dialog { padding: 0; color: var(--ink); border: 1px solid var(--line); border-radius: 24px; background: var(--panel); width: min(610px, calc(100% - 30px)); max-height: 90vh; box-shadow: 0 22px 80px #0005; }
.example-dialog[open] { animation: entrance .25s both; }
.example-dialog::backdrop { background: #030611b5; backdrop-filter: blur(6px); }
.dialog-inner { position: relative; padding: clamp(22px, 5vw, 42px); }
.close-dialog { position: absolute; top: 17px; right: 17px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); padding: 5px 13px; font-size: 14px; }
.close-dialog:hover { border-color: var(--accent); }
.dialog-inner h2 { font-size: clamp(25px, 5vw, 39px); line-height: 1.27; letter-spacing: -.04em; margin: 14px 0; }
.example-description, .example-steps dd { color: var(--sub); }
.example-steps { display: grid; margin: 20px 0 0; }
.example-steps > div { display: grid; grid-template-columns: 70px 1fr; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); }
.example-steps dt { color: var(--accent); font-weight: 620; }
.example-steps dd { margin: 0; }
.motion .reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s cubic-bezier(.17,.54,.28,1); }
.motion .reveal.in-view, .motion .reveal:focus-within, .motion .reveal:target { opacity: 1; transform: translateY(0); }
@media (max-width: 1060px) {
  .wrap { width: calc(100% - 64px); }
  .hero-art { right: -3%; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .navigation { min-height: 64px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 16px; padding-top: 11px; }
  .site-header nav { order: 3; width: 100%; justify-content: space-between; gap: 12px; padding: 10px 0; }
  html { scroll-padding-top: 120px; }
  .wordmark { font-size: 18px; }
  .brand-symbol { width: 22px; height: 22px; }
  .hero { min-height: auto; grid-template-columns: minmax(0, 1fr); padding-block: 45px 24px; }
  .hero-copy { width: 100%; min-width: 0; }
  .hero h1 { font-size: clamp(53px, 11vw, 83px); }
  .hero-art { position: relative; width: 100%; right: 0; top: 0; transform: none; grid-row: 2; margin-top: -10px; }
  .hero-scroll { display: none; }
  .desktop-break { display: none; }
  .hero-actions { margin-top: 22px; }
  .section { padding-block: 62px; }
  .section-heading, .series-panel, .service-layout { grid-template-columns: 1fr; }
  .section-heading { gap: 14px; }
  .series-nav { grid-template-columns: repeat(2, 1fr); }
  .series-tab:nth-child(2) { border-inline-end: 0; }
  .series-tab { padding: 11px 7px; }
  .series-panel { min-height: 0; }
  .series-image { min-height: 0; aspect-ratio: 1.65; }
  .footer-inner { gap: 10px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .motion .reveal { opacity: 1; transform: none; }
}
