:root {
  color-scheme: dark;
  --home-content-width: 1360px;
  --home-inset: clamp(16px, 4.5vw, 72px);
  --mp-section-space: clamp(2.5rem, 4.5vw, 4.5rem);
  --mp-heading-size: clamp(1.75rem, 1.3rem + 1.45vw, 2.625rem);
  --mp-body-size: clamp(1rem, .94rem + .28vw, 1.1875rem);
  --mp-caption-size: clamp(.9375rem, .91rem + .16vw, 1.0625rem);
  --mp-media-radius: clamp(8px, .7vw, 12px);
  --home-paper: #091322;
  --home-ink: #f1f6ff;
  --home-night: #060e1b;
  --home-ice: #86e1ff;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  background: var(--home-paper);
  color: var(--home-ink);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.mp-home {
  --mp-home-header-fallback: calc(clamp(92px,6.7vw,114px) + 1px);
  scroll-padding-top: calc(var(--mp-home-header-height,var(--mp-home-header-fallback)) + 16px);
}
html.mp-home :is(#top,#features,.mpg,.mpg-set,.mp-story) { scroll-margin-block-start: 0; }
body { margin: 0; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid #8addff; outline-offset: 4px; }
.home-shell { width: min(var(--home-content-width), calc(100% - 2 * var(--home-inset))); margin-inline: auto; }
.skip { position: fixed; left: 10px; top: 8px; z-index: 10; transform: translateY(-160%); padding: 10px 18px; border-radius: 5px; background: white; color: #071d21; }
.skip:focus { transform: none; }
.site-header { color: #f2f7ff; background: #0a1524; border-bottom: 1px solid #29394e; }
.mp-home .site-header { position: sticky; inset-block-start: 0; z-index: 4; }
.masthead {
  min-height: clamp(92px,6.7vw,114px); padding-block: 12px;
  display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center;
  gap: clamp(15px,1.8vw,36px);
}
.home-brand { display: inline-flex; flex: none; align-items: center; }
.home-brand img { display: block; width: clamp(145px, 13vw, 185px); height: auto; }
.masthead .home-brand { min-width: 0; min-height: 44px; justify-self: start; border-radius: 4px; }
.masthead .home-brand img { width: clamp(230px,18.2vw,306px); max-width: 100%; height: auto; }
.masthead nav {
  justify-self: end; display: flex; align-items: stretch; gap: clamp(2px,.4vw,8px);
}
.masthead a, .hero-actions a, .home-footer a { text-decoration: none; }
.masthead nav a, .masthead .login {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px;
  white-space: nowrap; font-size: clamp(16px,1.05vw,19px); font-weight: 650; line-height: 1.3;
}
.masthead nav a { padding: 8px clamp(10px,.92vw,19px); color: #e3edf9; }
html:not(.mp-home) .masthead nav a:hover, .masthead nav a[aria-current] { color: #a6e9ff; text-decoration: underline; text-underline-offset: .55em; text-decoration-thickness: 2px; }
.mp-home .masthead nav a:hover { background: #172a40; border-radius: 6px; }
.masthead .login { gap: 9px; padding: 9px clamp(14px,1.15vw,22px); border: 1px solid #6993a9; border-radius: 7px; background: #112536; color: #e2f4ff; }
.masthead .login:hover { background: #1b3749; border-color: #a2e7ff; }
.masthead .nav-toggle { display: none; }
.masthead a:focus-visible { outline: 3px solid #b8f4ff; outline-offset: 2px; }
@media (max-width: 1080px) {
  html.mp-home { --mp-home-header-fallback: 127px; }
  .masthead { grid-template-columns: minmax(0,1fr) auto; min-height: 0; gap: 10px 14px; padding-block: 13px 11px; }
  .masthead nav { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; }
  .masthead nav a { flex: 1 1 auto; }
  .masthead .login { grid-column: 2; grid-row: 1; }
  .masthead .home-brand img { width: clamp(205px,29vw,244px); }
}
@media (max-width: 620px) {
  html.mp-home { --mp-home-header-fallback: 214px; }
  html.mp-home:has(.has-nav-toggle) { --mp-home-header-fallback: 63px; }
  .masthead { gap: 8px 9px; padding-block: 9px; }
  .masthead .home-brand img { width: clamp(178px,48vw,218px); }
  .masthead nav { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2px; padding-block-start: 6px; border-top: 1px solid #34495a; }
  html:lang(en) .masthead nav { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .masthead nav a { min-height: 44px; font-size: 15px; padding: 6px 3px; }
  .masthead .login { min-height: 44px; gap: 6px; padding: 8px 10px; font-size: 15px; }
  .masthead.has-nav-toggle { grid-template-columns: minmax(0,1fr) auto auto; column-gap: 7px; }
  .masthead.has-nav-toggle .home-brand img { width: clamp(145px,48vw,218px); }
  .masthead.has-nav-toggle .login { grid-column: 3; }
  .masthead.has-nav-toggle .login span { display: none; }
  .masthead .nav-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 6px; grid-column: 2; grid-row: 1; min-height: 44px; padding: 6px 10px; border: 1px solid #46617b; border-radius: 8px; background: #16283e; color: #e6f4ff; font-size: 15px; font-weight: 650; }
  .nav-toggle::before { content: ""; width: 12px; height: 10px; border-block: 1.5px solid currentColor; background: linear-gradient(currentColor,currentColor) center / 100% 1.5px no-repeat; }
  .masthead.has-nav-toggle:not(.nav-open) nav { display: none; }
  .mp-home .masthead.has-nav-toggle nav {
    position: absolute; inset-block-start: 100%; inset-inline: var(--home-inset);
    max-height: calc(100vh - var(--mp-home-header-height,var(--mp-home-header-fallback)) - 16px);
    max-height: calc(100dvh - var(--mp-home-header-height,var(--mp-home-header-fallback)) - 16px);
    overflow: auto; overscroll-behavior: contain; align-content: start; padding: 8px;
    border: 1px solid #34495a; border-radius: 0 0 10px 10px; background: #0a1524;
    box-shadow: 0 12px 24px #02081180;
  }
}
@media (max-width: 365px) {
  .masthead .nav-toggle { width: 44px; padding-inline: 0; }
  .masthead .nav-toggle::before { width: 16px; height: 12px; }
  .masthead .nav-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .masthead.has-nav-toggle .login { padding-inline: 8px; }
}
@media (forced-colors: active) {
  .masthead nav a[aria-current] { outline: 2px solid Highlight; outline-offset: -3px; }
}
.home-hero {
  position: relative; isolation: isolate; overflow: hidden; color: #f4f8ff;
  background: radial-gradient(ellipse at 78% 50%,#102643 0%,#060d1d 47%,#060d19 75%);
  border-bottom: 1px solid #2b435b;
}
.home-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(90deg, #597bac16 1px, transparent 1px), linear-gradient(#597bac14 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(20deg, #000000bd, transparent 54%, #00000065);
}
.hero-inner {
  display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); align-items: center;
  grid-template-areas: "intro art" "action art"; column-gap: clamp(24px, 3.5vw, 60px);
  padding-block: var(--mp-section-space);
}
.hero-copy, .hero-visual { min-width: 0; }
.hero-copy { grid-area: intro; align-self: end; container-type: inline-size; }
.hero-convert { grid-area: action; align-self: start; min-width: 0; }
.hero-audience { display: flex; align-items: center; gap: 12px; color: #a4d9e9; font-size: var(--mp-caption-size); margin: 0 0 16px; font-weight: 650; }
.hero-audience::before { content: ""; width: 24px; height: 2px; background: #83e1ff; }
.hero-copy h1 { margin: 0; font-size: clamp(2rem, 4.5vw, 4.4rem); font-size: clamp(2rem, 11cqi, 4.4rem); line-height: 1.16; font-weight: 720; letter-spacing: -.035em; }
.hero-copy h1 > span { display: block; }
.hero-copy .hero-accent { width: fit-content; color: #a5dfff; background: linear-gradient(110deg,#b9efff,#91cfff 62%,#b4baff); background-clip: text; -webkit-text-fill-color: transparent; }
.hero-summary { margin: clamp(14px,1.4vw,22px) 0 0; max-width: 30em; font-size: var(--mp-body-size); line-height: 1.8; color: #d2dfed; text-wrap: pretty; line-break: strict; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; margin-top: 22px; }
.hero-primary { display: inline-flex; align-items: center; min-height: 48px; gap: 18px; border-radius: 7px; padding: 8px 22px; color: #091d32; background: #a8e9fc; font-size: 17px; font-weight: 680; }
.hero-primary:hover { background: #cdf2ff; }
.hero-browse { display:inline-flex; align-items:center; gap:8px; min-height:44px; color:#c1e5f5; font-size:var(--mp-body-size); font-weight:600; }
.hero-browse:hover { color:white; text-decoration:underline; text-underline-offset:.25em; }
.hero-offer { color: #b7c9db; margin: 12px 0 0; font-size: var(--mp-caption-size); line-height: 1.65; text-wrap: pretty; }
.hero-offer strong { color: #e4effb; font-weight: 630; white-space: nowrap; }
.hero-visual { grid-area: art; margin: 0; width: min(100%, 42rem); justify-self: end; }
.home-cover { position: relative; isolation: isolate; width: 100%; aspect-ratio: 16 / 9; }
.home-cover-image {
  position: absolute; inset: 0; margin: auto; width: auto; max-width: 100%; height: 100%; display: block; object-fit: contain;
  mask-image: linear-gradient(90deg,transparent,#000 9% 91%,transparent),linear-gradient(180deg,transparent,#000 4% 94%,transparent);
  mask-composite: intersect;
  pointer-events: none; opacity: 1; mix-blend-mode: plus-lighter; transition: opacity 480ms ease-in-out;
}
.home-cover-image[aria-hidden="true"] { opacity: 0; }
.cover-legend { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 12px; margin-top: 8px; padding: 2px 0; border-top: 1px solid #32485a; color: #e0ecf7; font-size: var(--mp-caption-size); }
.cover-legend strong { font-weight: 600; }
.cover-switch { display: inline-flex; gap: 2px; }
.cover-switch[hidden] { display: none; }
.cover-switch button { min-height: 44px; min-width: 44px; padding: 5px 8px; border: 0; color: #c6d5e3; background: transparent; font-size: inherit; line-height: 1.4; }
.cover-switch button:hover { color: white; }
.cover-switch button[aria-pressed="true"] { color: #a6e9ff; font-weight: 650; text-decoration: underline; text-underline-offset: .45em; text-decoration-thickness: 2px; }
.cover-switch [data-cover-rotation] { display: inline-grid; place-items: center; flex: 0 0 44px; margin-inline-start: 4px; padding: 0; border: 1px solid #365467; border-radius: 8px; color: #bdefff; }
.cover-switch [data-cover-rotation]:hover { background: #183248; border-color: #6da6bc; }
.cover-switch .cover-rotation-play, .cover-switch [data-paused="true"] .cover-rotation-pause { display: none; }
.cover-switch [data-paused="true"] .cover-rotation-play { display: inline; }
.gallery-shell { padding-block: var(--mp-section-space); }
#features, #top { scroll-margin-top: 12px; }
.home-footer { background: #070f1d; color: #bdcada; border-top: 1px solid #283749; }
.footer-inner { padding-block: 27px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.footer-inner .home-brand img { width: 138px; }
.legal { display: flex; gap: 5px 21px; flex-wrap: wrap; align-items: center; font-size: 12px; line-height: 1.8; }
.legal a:hover { color: var(--home-ice); text-decoration: underline; }
.home-pathways, .home-cases, .home-resources { border-top: 1px solid #26364a; }
.home-pathways { background: radial-gradient(ellipse at 8% 100%, #10243b, transparent 60%), #0a1422; }
.pathways-inner, .resources-inner { display: grid; grid-template-columns: minmax(0,.88fr) minmax(0,1.32fr); gap: clamp(28px,7vw,110px); padding-block: clamp(30px,3.5vw,62px); }
.pathways-intro h2, .home-section-head h2, .resources-inner h2 { margin: 0; font-size: clamp(28px,3.1vw,48px); line-height: 1.2; letter-spacing: -.045em; }
.inline-next, .mp-story .inline-next { display: inline-flex; gap: 9px; align-items: center; min-height: 40px; color: #99e4fd; font-size: 14px; font-weight: 610; text-decoration: none; }
.inline-next:hover { text-decoration: underline; text-underline-offset: 4px; }
.pathways-intro .inline-next, .mp-story-copy .inline-next { margin-top: 10px; }
.pathways-list > a { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid #304256; padding: 14px 2px; text-decoration: none; }
.pathways-list > a:first-child { padding-top: 0; }
.pathways-list > a > span:last-child, .resource-links a > span { color: #85c9e4; }
.pathways-list strong, .pathways-list small { display: block; }
.pathways-list strong { color: #edf5ff; font-size: clamp(17px,1.45vw,23px); }
.pathways-list small { color: #b9ccdd; line-height: 1.65; font-size: 14px; margin-top: 3px; }
.pathways-list a:hover strong, .resource-links a:hover { color: #9ce9ff; }
.home-cases { background: #0a1422; padding-block: clamp(32px,3.6vw,64px); }
.home-section-head { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between; align-items: baseline; margin-bottom: 22px; }
.case-reels { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(12px,1.3vw,22px); }
.case-reel { display: block; overflow: hidden; border: 1px solid #40536a; border-radius: 8px; background: linear-gradient(112deg,#112135,#0c1829); text-decoration: none; }
.case-reel > img { display: block; width: 100%; height: auto; aspect-ratio: 560 / 356; object-fit: cover; }
.case-caption { display: flex; flex-direction: column; padding: 12px clamp(12px,1.2vw,20px) 15px; color: white; border-top: 1px solid #35485d; }
.case-caption small { font-size: 12px; letter-spacing: .03em; color: #d4ecff; }
.case-caption strong { margin-top: 3px; font-size: clamp(17px,1.55vw,26px); line-height: 1.35; }
.case-reel:hover, .case-reel:focus-visible { border-color: #92dfff; }
.home-resources { background: #0b1524; }
.resources-inner { grid-template-columns: repeat(2,minmax(0,1fr)); }
.resources-inner h2 { font-size: clamp(24px,2vw,34px); }
.resource-links { padding: 0; margin: 12px 0 0; list-style: none; }
.resource-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; padding-block: 9px; color: #c4d4e6; font-size: clamp(14px,1vw,16px); line-height: 1.55; text-decoration: none; border-bottom: 1px solid #26394e; }
.footer-about p, .footer-support { font-size: 13px; line-height: 1.65; }
.footer-about p { margin: 8px 0; }
.footer-support { max-width: 38em; }
.footer-support summary { color: #a5ddf7; cursor: pointer; width: fit-content; padding: 4px 0; }
.support-content { margin-top: 6px; }
.support-content a { text-decoration: underline; text-underline-offset: 3px; }
.support-content [data-contact-info] { white-space: pre-line; }
.support-content img { display: block; margin: 10px 0; width: 112px; height: auto; border-radius: 4px; }
@media (max-width: 710px) {
  .pathways-inner, .resources-inner { grid-template-columns: minmax(0,1fr); gap: 22px; }
  .pathways-intro { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 5px 12px; }
  .pathways-intro .inline-next { margin: 0; }
  .home-section-head { margin-bottom: 14px; }
  .case-reels { grid-template-columns: minmax(0,1fr); gap: 12px; }
}
@media (max-width: 760px) {
  .hero-inner { grid-template-columns: minmax(0,1fr); grid-template-areas: "intro" "action" "art"; gap: 20px; padding-block: clamp(28px,6vw,44px); }
  .hero-copy h1 { font-size: clamp(2rem, 8vw, 3rem); font-size: clamp(2rem, 11cqi, 3rem); }
  .hero-audience { margin-bottom: 12px; }
  .hero-summary { margin-top: 12px; }
  .hero-convert .hero-actions { margin: 0; }
  .hero-visual { width: min(100%, 30rem); justify-self: center; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 14px; }
}
@media (forced-colors: active) {
  .hero-copy .hero-accent { -webkit-text-fill-color: CanvasText; }
  .cover-switch button[aria-pressed="true"] { outline: 2px solid Highlight; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .home-cover-image { transition: none; }
}

.compact-resources>.home-shell{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 36px;padding-block:24px}
.compact-resources h2{font-size:21px;margin:0}.compact-resources nav{display:flex;flex-wrap:wrap;gap:0 23px}.compact-resources a{font-size:14px;color:#afdaeb;text-decoration:none;padding:11px 0}
.compact-resources a:hover{text-decoration:underline}
@media(max-width:710px){.compact-resources>.home-shell{gap:4px}.compact-resources nav{gap:0 14px}}
