:root {
  --ui-text: #b5c3d4;
  --ui-title: #e4edf7;
  --ui-strong: #d8e6f2;
  --ui-muted: #90a2b8;
  --ui-label: #a8b8cb;
  --ui-value: #85d5c0;
  --ui-primary-text: #ddfff6;
  --ui-primary-bg: rgb(19 76 69 / 96%);
  --ui-secondary-text: #bac9da;
  --ui-secondary-bg: rgb(137 166 197 / 9%);
  --ui-secondary-border: rgb(151 177 206 / 16%);
  --ui-region-bg: rgb(12 24 40 / 88%);
  --ui-region-tint: rgb(132 165 202 / 4%);
  --ui-region-border: rgb(151 177 206 / 12%);
  --ui-user-message-bg: rgb(35 67 78 / 60%);
  --ui-field-bg: rgb(5 15 28 / 76%);
  --ui-shadow-soft: 0 4px 16px rgb(0 5 14 / 12%);
  --ui-shadow-raised: 0 12px 36px rgb(0 5 14 / 28%);
  --ui-title-shadow: none;
  --ui-font-body: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Segoe UI", sans-serif;
  --ui-font-mono: ui-monospace, "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  --ui-weight-title: 650;
  --ui-weight-label: 550;
  --ui-weight-body: 400;
}

:root {
  color-scheme: dark;
  --landing-bg: #05070b;
  --landing-text: var(--ui-text);
  --landing-muted: var(--ui-muted);
  --landing-line: rgb(255 255 255 / 12%);
  --landing-glass: rgb(13 17 24 / 62%);
  --landing-accent: #8ef0d2;
  --landing-accent-strong: #d4fff1;
  --landing-max: 1320px;
  --landing-pointer-x: 50%;
  --landing-pointer-y: 34%;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--landing-bg);
  color: var(--landing-text);
}
html[data-landing-palette="aurora"] { --landing-accent: #79f2ff; --landing-accent-strong: #d5fbff; }
html[data-landing-palette="nebula"] { --landing-accent: #e3a6ff; --landing-accent-strong: #f4dcff; }
html[data-landing-palette="lunar"] { --landing-accent: #e8dcc2; --landing-accent-strong: #fff5dd; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 0; scroll-behavior: smooth; }
body { min-width: 280px; margin: 0; background: var(--landing-bg); }
body::before {
  position: fixed; inset: -20%; z-index: -2; content: ""; pointer-events: none;
  background:
    linear-gradient(rgb(5 7 11 / 58%), rgb(5 7 11 / 84%)),
    var(--landing-background-image, linear-gradient(transparent, transparent)),
    radial-gradient(circle at var(--landing-pointer-x) var(--landing-pointer-y), rgb(71 185 255 / 16%), transparent 24%),
    radial-gradient(circle at 76% 13%, rgb(154 92 255 / 12%), transparent 26%),
    radial-gradient(circle at 20% 84%, rgb(66 245 185 / 8%), transparent 28%), #05070b;
  transition: background-position 400ms ease;
  background-position: center;
  background-size: auto, cover, auto, auto, auto, auto;
}
a { color: inherit; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 2px solid var(--landing-accent); outline-offset: 4px; }
.landing-skip { position: fixed; top: -5rem; left: 1rem; z-index: 20; padding: .65rem 1rem; background: #fff; color: #000; }
.landing-skip:focus { top: 1rem; }
.landing-shell { min-width: 0; min-height: 100vh; }
.landing-header, #landing-main, .landing-footer {
  width: min(var(--landing-max), calc(100% - 48px)); max-width: 100%; min-width: 0; margin-inline: auto;
}
.landing-header {
  position: sticky; top: 0; z-index: 10; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center; gap: 1rem; min-height: 76px; border-bottom: 1px solid var(--landing-line);
  background: linear-gradient(to bottom, rgb(5 7 11 / 92%), rgb(5 7 11 / 58%)); backdrop-filter: blur(18px);
}
.landing-brand { display: inline-flex; min-width: 0; max-width: 100%; align-items: center; gap: .72rem; width: fit-content; font-weight: 680; text-decoration: none; }
.landing-brand img { width: 30px; height: 30px; object-fit: contain; }
.landing-brand-mark { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--landing-line); border-radius: 10px; background: rgb(255 255 255 / 6%); font-size: .72rem; }
.landing-brand img, .landing-brand-mark { flex: 0 0 auto; }
#landing-brand-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.landing-navigation, .landing-footer nav { display: flex; min-width: 0; align-items: center; gap: 1.5rem; }
.landing-navigation { width: min(60vw, 760px); max-width: 100%; justify-content: center; overflow: hidden; }
.landing-navigation a { min-width: 0; max-width: 18ch; flex: 0 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.landing-navigation a, .landing-footer a { color: var(--landing-muted); font-size: .88rem; text-decoration: none; }
.landing-navigation a:hover, .landing-footer a:hover { color: var(--landing-text); }
.landing-header-action { min-width: 0; max-width: 100%; justify-self: end; padding: .56rem .9rem; border: 1px solid var(--landing-line); border-radius: 999px; overflow-wrap: anywhere; text-align: center; text-decoration: none; }
.landing-hero { display: grid; min-width: 0; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); min-height: min(760px, calc(100vh - 76px)); align-items: center; gap: clamp(2rem, 4vw, 4rem); padding-block: clamp(3.75rem, 7vw, 6rem); }
.landing-hero-copy { position: relative; z-index: 2; min-width: 0; max-width: 100%; }
.landing-hero-copy, .landing-story-copy, .landing-download-copy, .landing-footer { overflow-wrap: anywhere; }
.landing-eyebrow { margin: 0 0 1rem; color: var(--landing-accent); font-size: .75rem; font-weight: 760; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { color: var(--ui-title); text-shadow: var(--ui-title-shadow); }
h3 { color: var(--ui-strong); }
h1 { max-width: 11ch; margin-bottom: 1.4rem; font-size: clamp(3rem, 5.1vw, 5rem); font-weight: 600; letter-spacing: -.068em; line-height: .96; word-break: auto-phrase; text-wrap: pretty; }
h2 { margin-bottom: 1rem; font-size: clamp(2.2rem, 5vw, 4.6rem); font-weight: 580; letter-spacing: -.055em; line-height: 1; text-wrap: balance; }
h3 { font-size: 1.05rem; letter-spacing: -.02em; }
.landing-hero-summary { max-width: 56ch; margin-bottom: 2rem; color: var(--landing-muted); font-size: clamp(1.05rem, 2vw, 1.28rem); line-height: 1.7; }
.landing-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.landing-action { display: inline-flex; max-width: 100%; min-height: 48px; align-items: center; justify-content: center; padding: .72rem 1.15rem; border: 1px solid var(--landing-line); border-radius: 999px; overflow-wrap: anywhere; text-align: center; text-decoration: none; }
.landing-action-primary { border-color: color-mix(in srgb, var(--landing-accent) 45%, transparent); background: color-mix(in srgb, var(--landing-accent) 18%, var(--ui-region-bg)); color: var(--landing-accent-strong); box-shadow: var(--ui-shadow-soft); }
.landing-media { overflow: hidden; border-radius: 28px; }
.landing-media img, .landing-media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.landing-media img[data-motion="float"] { animation: landing-media-float 7s ease-in-out infinite; }
.landing-media img[data-motion="pulse"] { animation: landing-media-pulse 5s ease-in-out infinite; }
.landing-media img[data-motion="orbit"] { animation: landing-media-orbit 16s linear infinite; }
.landing-media img[data-motion="parallax"] { transform: scale(1.04); transition: transform 900ms ease; }
.landing-media :is(img, video)[data-presentation="ambient"] { opacity: .72; filter: saturate(1.2); }
.landing-media :is(img, video)[data-presentation="diagram"] { object-fit: contain; padding: 1.2rem; }
.landing-story { border-top: 1px solid var(--landing-line); }
.landing-story-section { display: grid; min-width: 0; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: start; padding-block: clamp(4.5rem, 8vw, 7.5rem); border-bottom: 1px solid var(--landing-line); scroll-margin-top: 104px; }
.landing-story-section[data-layout="media-left"] .landing-story-copy { order: 2; }
.landing-story-copy { max-width: 480px; }
.landing-story-copy > p:last-of-type { max-width: 56ch; color: var(--landing-muted); font-size: 1.05rem; line-height: 1.75; }
.landing-story-content { min-width: 0; border-top: 1px solid var(--landing-line); }
.landing-story-items { display: grid; }
.landing-story-item { display: grid; grid-template-columns: minmax(150px, .72fr) minmax(0, 1.28fr); gap: 1rem 1.75rem; align-items: start; padding: 1.35rem 0; border-bottom: 1px solid var(--landing-line); }
.landing-story-item h3 { margin: 0; }
.landing-story-item p { margin: 0; color: var(--landing-muted); }
.landing-story-item small { color: var(--landing-accent); font-weight: 720; letter-spacing: .08em; }
.landing-story-item strong { color: var(--ui-value); display: block; font-size: clamp(1.65rem, 3vw, 2.35rem); letter-spacing: -.04em; line-height: 1; }
.landing-story-item-body { display: grid; gap: .42rem; }
.landing-story-content[data-content-kind="process"] .landing-story-item,
.landing-story-content[data-content-kind="metrics"] .landing-story-item { grid-template-columns: minmax(72px, .28fr) minmax(0, 1fr); }
.landing-story-points { display: grid; gap: .65rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.landing-story-points li { padding-block: .6rem; border-bottom: 1px solid var(--landing-line); color: var(--landing-muted); }
.landing-story-media { min-height: 390px; border: 1px solid var(--landing-line); background: radial-gradient(circle at 50% 36%, rgb(106 120 255 / 24%), transparent 40%), var(--landing-glass); }
.landing-download { display: grid; min-width: 0; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 2rem 6rem; align-items: start; padding-block: clamp(6rem, 11vw, 10rem); scroll-margin-top: 104px; }
.landing-download-state { min-height: 140px; padding: 1.4rem; border-top: 1px solid var(--landing-line); border-bottom: 1px solid var(--landing-line); }
.landing-download-state p { color: var(--landing-muted); }
.landing-account-workspace { padding-block: 1.5rem; border-top: 1px solid var(--landing-line); scroll-margin-top: 100px; }
.landing-account-workspace h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.landing-account-workspace > header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.landing-account-workspace > p, .landing-workspace-row p { color: var(--landing-muted); overflow-wrap: anywhere; }
.landing-workspace-row { padding-block: 1.25rem; border-block-start: 1px solid var(--landing-line); }
.landing-workspace-row h3 { margin-bottom: .5rem; }.landing-workspace-row summary { cursor: pointer; }
.landing-workspace-form { display: grid; grid-template-columns: max-content minmax(100px, 1fr) max-content minmax(120px, 2fr) auto; gap: .75rem; align-items: center; padding-block: 1rem; }
.landing-workspace-form input, .landing-workspace-form select { min-width: 0; width: 100%; min-height: 44px; padding: .5rem .75rem; color: inherit; background: rgb(255 255 255 / 4%); border: 1px solid var(--landing-line); border-radius: 6px; }
.landing-workspace-boundary { font-size: .85rem; }
.landing-api-workbench { min-width: 0; padding-top: 1.25rem; border-top: 1px solid var(--landing-line); }
.landing-api-workbench > header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; }
.landing-api-workbench p { color: var(--landing-muted); overflow-wrap: anywhere; }
.landing-api-workbench input, .landing-api-workbench select { min-width: 0; width: 100%; min-height: 44px; padding: .6rem .75rem; color: inherit; background: rgb(121 242 255 / 4%); border: 1px solid var(--landing-line); border-radius: 4px; }
.landing-api-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(140px, 100%), 1fr)); margin: 0 0 1rem; border-block: 1px solid var(--landing-line); }
.landing-api-metrics > div { min-width: 0; padding: .85rem .5rem; }.landing-api-metrics dt { font-size: .8rem; color: var(--landing-muted); }.landing-api-metrics dd { margin: .35rem 0 0; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.landing-api-issue-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: .5rem; padding-block: .75rem; }
.landing-api-key-row { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; padding-block: .75rem; border-top: 1px solid var(--landing-line); }
.landing-api-key-row span { flex: 1 1 240px; min-width: 0; overflow-wrap: anywhere; font-size: .85rem; color: var(--landing-muted); }
.landing-api-secret { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; padding-block: 1rem; border-block: 1px solid var(--landing-accent); }
.landing-api-secret label, .landing-api-secret input { grid-column: 1 / -1; }.landing-api-secret input { font-family: ui-monospace, monospace; }
.landing-package-list { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 1px; background: var(--landing-line); }
.landing-package { display: grid; gap: .75rem; min-height: 180px; align-content: start; padding: 1.4rem; background: var(--landing-bg); }
.landing-package[data-recommended="true"] { background: linear-gradient(135deg, rgb(142 240 210 / 10%), transparent 60%), var(--landing-bg); }
.landing-package p { margin: 0; color: var(--landing-muted); }
.landing-package a { justify-self: start; margin-top: auto; }
.landing-footer { display: flex; min-width: 0; justify-content: space-between; gap: 2rem; padding-block: 2.4rem; border-top: 1px solid var(--landing-line); color: var(--landing-muted); }
.landing-footer p { margin: 0; }
.landing-footer-links { display: contents; }
[data-landing-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 800ms ease, transform 800ms cubic-bezier(.2,.8,.2,1); }
[data-landing-reveal][data-visible="true"] { opacity: 1; transform: none; }
.landing-unavailable {
  width: min(620px, calc(100% - 48px)); max-width: 100%; min-width: 0; margin: 20vh auto;
  overflow-wrap: anywhere; text-align: center;
}
.landing-unavailable button { min-height: 44px; padding: .65rem 1rem; border: 1px solid currentColor; border-radius: 999px; background: transparent; color: inherit; }
.landing-access-dialog { width: min(520px, calc(100% - 28px)); padding: clamp(1.3rem, 4vw, 2.2rem); border: 1px solid var(--landing-line); border-radius: 24px; background: rgb(9 12 18 / 96%); color: var(--landing-text); box-shadow: 0 40px 120px rgb(0 0 0 / 58%); }
.landing-access-dialog::backdrop { background: rgb(0 0 0 / 66%); backdrop-filter: blur(12px); }
.landing-identity-gateway { width: min(820px, calc(100% - 28px)); }
.landing-identity-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; overflow: hidden; margin-top: 1.4rem; border: 1px solid var(--landing-line); border-radius: 18px; background: var(--landing-line); }
.landing-identity-card { display: grid; min-width: 0; min-height: 230px; align-content: start; padding: 1.25rem; background: rgb(9 12 18 / 98%); }
.landing-identity-card h3 { margin-bottom: .65rem; font-size: 1.12rem; }
.landing-identity-card p { margin-bottom: 1.2rem; color: var(--landing-muted); line-height: 1.62; }
.landing-identity-card .landing-action { justify-self: start; margin-top: auto; background: transparent; color: var(--landing-text); }
.landing-identity-card[data-identity-kind="administrator"] .landing-action { border-color: var(--landing-accent); }
.landing-identity-card[data-available="false"] { opacity: .68; }
.landing-dialog-close { display: flex; justify-content: flex-end; }
.landing-dialog-close button { width: 38px; height: 38px; border: 1px solid var(--landing-line); border-radius: 50%; background: transparent; color: inherit; font-size: 1.4rem; }
.landing-access-heading p { color: var(--landing-muted); }
.landing-access-heading h2 { font-size: 2.1rem; }
.landing-access-tabs { display: grid; grid-template-columns: repeat(2, 1fr); margin-bottom: 1rem; border-bottom: 1px solid var(--landing-line); }
.landing-access-tabs button { padding: .7rem; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--landing-muted); }
.landing-access-tabs button[aria-pressed="true"] { border-color: var(--landing-accent); color: var(--landing-text); }
.landing-access-form { display: grid; grid-template-columns: 1fr; gap: .5rem; }
.landing-access-form label { color: var(--landing-muted); font-size: .85rem; }
.landing-access-form input { width: 100%; min-height: 46px; margin-bottom: .45rem; padding: .7rem .8rem; border: 1px solid var(--landing-line); border-radius: 10px; background: rgb(255 255 255 / 4%); color: inherit; }
.landing-access-form button[type="submit"] { min-height: 48px; margin-top: .5rem; border: 0; border-radius: 999px; background: var(--landing-accent-strong); color: #04100c; font-weight: 720; }
#landing-access-message { min-height: 1.5em; margin: 1rem 0 0; color: var(--landing-muted); }
@keyframes landing-media-float { 50% { transform: translateY(-10px) scale(1.015); } }
@keyframes landing-media-pulse { 50% { opacity: .82; transform: scale(1.025); } }
@keyframes landing-media-orbit { 50% { transform: scale(1.025) rotate(1deg); } }
@media (max-width: 1180px) {
  .landing-header { grid-template-columns: minmax(0, 1fr) auto; }
  .landing-navigation { display: none; }
}
@media (max-width: 940px) {
  .landing-hero { grid-template-columns: minmax(0, 1fr); min-height: auto; }
  .landing-hero-copy { max-width: 720px; }
}
@media (max-width: 780px) {
  .landing-workspace-form { grid-template-columns: 1fr; }
  .landing-header, #landing-main, .landing-footer { width: min(100% - 28px, var(--landing-max)); }
  .landing-header { grid-template-columns: minmax(0, 1fr) auto; gap: .75rem; min-height: 64px; }
  .landing-navigation { display: none; }.landing-header-action { max-width: min(46vw, 12rem); font-size: .82rem; line-height: 1.25; }
  .landing-hero { width: 100%; grid-template-columns: minmax(0, 1fr); gap: 2.75rem; min-height: auto; padding-top: 5rem; }
  .landing-actions { align-items: stretch; }.landing-action { flex: 1 1 10rem; }
  .landing-story-section, .landing-download { grid-template-columns: minmax(0, 1fr); min-height: auto; }
  .landing-story-section, .landing-download { scroll-margin-top: 84px; }
  .landing-story-section[data-layout="media-left"] .landing-story-copy { order: initial; }
  .landing-story-copy { max-width: none; }
  .landing-story-item, .landing-story-content[data-content-kind="process"] .landing-story-item,
  .landing-story-content[data-content-kind="metrics"] .landing-story-item { grid-template-columns: 1fr; gap: .5rem; }
  .landing-story-media { min-height: 260px; }.landing-package-list { grid-column: 1; }
  .landing-identity-options { grid-template-columns: 1fr; }
  .landing-identity-card { min-height: auto; }
  .landing-footer { flex-direction: column; }.landing-footer nav { flex-wrap: wrap; }
}
@media (max-width: 440px) {
  .landing-header, #landing-main, .landing-footer { width: calc(100% - 24px); }
  .landing-header { gap: .55rem; }
  .landing-brand { gap: .5rem; }.landing-brand img, .landing-brand-mark { width: 28px; height: 28px; }
  .landing-header-action { max-width: 47vw; padding: .5rem .7rem; }
  h1 { font-size: clamp(2.45rem, 12.5vw, 3.15rem); }
  h2 { font-size: clamp(2rem, 10.5vw, 2.7rem); }
  .landing-hero { gap: 2.25rem; padding-top: 3.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-landing-reveal] { opacity: 1; transform: none; }
  .landing-media video { pointer-events: auto; }
}
@media (prefers-reduced-transparency: reduce) {
  .landing-action-primary { background: #193648; backdrop-filter: none; }
}
@media (forced-colors: active) {
  body::before { display: none; }.landing-header { background: Canvas; backdrop-filter: none; }
  .landing-story-media, .landing-package { forced-color-adjust: none; background: Canvas; border: 1px solid CanvasText; }
  h1, h2, h3, .landing-story-item strong { color: CanvasText; text-shadow: none; }
  .landing-action-primary { forced-color-adjust: auto; color: ButtonText; background: ButtonFace; border-color: ButtonText; box-shadow: none; }
}


.landing-hero-visual { position: relative; width: 100%; max-width: 100%; min-width: 0; min-height: 540px; container-type: inline-size; isolation: isolate; }
.landing-business-scene { width: 100%; max-width: 100%; min-width: 0; min-height: inherit; }
.landing-work-stage {
  --work-stage-accent: var(--landing-accent); position: relative; display: grid; width: 100%; max-width: 100%; min-width: 0; min-height: 600px; gap: 0;
  margin: 0; overflow: hidden; border: 1px solid rgb(255 255 255 / 9%); border-radius: 28px; isolation: isolate;
  background: linear-gradient(150deg, rgb(16 22 32 / 88%), rgb(7 10 16 / 78%));
  box-shadow: 0 42px 120px rgb(0 0 0 / 36%), inset 0 1px rgb(255 255 255 / 8%);
  backdrop-filter: blur(28px) saturate(1.12);
}
.landing-work-stage > :not(.landing-work-stage-media) { position: relative; z-index: 2; }
.landing-work-stage[data-has-media="true"] {
  min-height: 640px; grid-template-rows: minmax(250px, .72fr) auto auto auto; align-content: start;
  background: #080d14;
}
.landing-work-stage-media { position: relative; z-index: 0; grid-area: 1 / 1 / 2 / 2; min-height: 250px; overflow: hidden; pointer-events: none; }
.landing-work-stage-media::after {
  position: absolute; inset: 0; content: "";
  background: linear-gradient(180deg, rgb(5 8 13 / 18%) 0%, transparent 46%, rgb(5 8 13 / 88%) 100%),
    linear-gradient(90deg, rgb(5 8 13 / 28%), transparent 28% 76%, rgb(5 8 13 / 18%));
}
.landing-work-stage-media :is(img, video) { display: block; width: 100%; height: 100%; object-fit: cover; opacity: 1; filter: saturate(1.02) contrast(1.02); }
.landing-work-stage-media :is(img, video)[data-presentation="ambient"] { opacity: .78; filter: saturate(1.08) contrast(1.02); }
.landing-work-stage-media :is(img, video)[data-presentation="diagram"] { object-fit: contain; opacity: .9; }
.landing-work-stage-media img[data-motion="float"] { animation: landing-work-media-float 14s ease-in-out infinite; }
.landing-work-stage-media img[data-motion="parallax"] { animation: landing-work-media-parallax 18s ease-in-out infinite; }
.landing-work-stage-media img[data-motion="orbit"] { animation: landing-work-media-orbit 22s ease-in-out infinite; }
.landing-work-stage-media img[data-motion="pulse"] { animation: landing-work-media-pulse 8s ease-in-out infinite; }
.landing-work-stage[data-has-media="true"] .landing-work-stage-heading {
  grid-area: 1 / 1 / 2 / 2; align-self: start; border-bottom-color: rgb(255 255 255 / 12%);
  background: linear-gradient(180deg, rgb(5 8 13 / 78%), rgb(5 8 13 / 28%), transparent); backdrop-filter: none;
}
.landing-work-stage[data-has-media="true"] .landing-work-workspace {
  grid-row: 2; margin: -42px 14px 0; overflow: hidden; border: 1px solid rgb(255 255 255 / 12%); border-radius: 21px;
  background: linear-gradient(120deg, rgb(9 14 22 / 91%), rgb(7 11 18 / 82%));
  box-shadow: 0 22px 55px rgb(0 0 0 / 34%), inset 0 1px rgb(255 255 255 / 7%); backdrop-filter: blur(20px) saturate(1.08);
}
.landing-work-stage[data-has-media="true"] .landing-work-roster { background: rgb(5 8 13 / 30%); }
.landing-work-stage[data-has-media="true"] .landing-work-system-rails { grid-row: 3; }
.landing-work-stage[data-has-media="true"] figcaption { grid-row: 4; }
.landing-work-stage[data-preset="distributed-work"] { --work-stage-accent: #72d8ff; }
.landing-work-stage[data-preset="reviewed-workflow"] { --work-stage-accent: #c1a0ff; }
.landing-work-stage::before {
  position: absolute; inset: -24%; z-index: -2; content: ""; pointer-events: none;
  background: radial-gradient(circle at 68% 38%, color-mix(in srgb, var(--work-stage-accent) 17%, transparent), transparent 25%),
    radial-gradient(circle at 18% 82%, rgb(87 109 255 / 12%), transparent 24%);
  animation: landing-work-ambient 13s ease-in-out infinite;
}
.landing-work-stage::after {
  position: absolute; inset: 58px 0 62px; z-index: -1; content: ""; pointer-events: none; opacity: .24;
  background-image: linear-gradient(rgb(255 255 255 / 3%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 3%) 1px, transparent 1px);
  background-size: 42px 42px; mask-image: radial-gradient(ellipse at 62% 45%, #000, transparent 72%);
}
.landing-work-stage-heading {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; min-width: 0; min-height: 58px; align-items: center;
  gap: .85rem; padding: .8rem 1.1rem; border-bottom: 1px solid rgb(255 255 255 / 8%); background: rgb(5 8 13 / 42%);
}
.landing-work-stage-heading h2 { min-width: 0; margin: 0; overflow-wrap: anywhere; font-size: .83rem; font-weight: 660; letter-spacing: -.01em; }
.landing-work-window-dots { width: 7px; height: 7px; border-radius: 50%; background: #ff726d; box-shadow: 14px 0 #ffd15a, 28px 0 #6dd8a5; }
.landing-work-stage-state { display: inline-flex; min-width: 0; align-items: center; gap: .45rem; color: var(--landing-muted); font-size: .64rem; letter-spacing: .06em; }
.landing-work-stage-state::before { width: 6px; height: 6px; border-radius: 50%; background: var(--work-stage-accent); box-shadow: 0 0 15px var(--work-stage-accent); content: ""; animation: landing-work-status 2.4s ease-in-out infinite; }
.landing-work-workspace { display: grid; min-width: 0; grid-template-columns: minmax(0, .42fr) minmax(0, 1.58fr); }
.landing-work-roster { min-width: 0; padding: .9rem .75rem; border-right: 1px solid rgb(255 255 255 / 8%); background: rgb(5 8 13 / 30%); }
.landing-work-roster-list { display: grid; gap: .48rem; }
.landing-work-roster-card {
  position: relative; display: grid; min-width: 0; grid-template-columns: 32px minmax(0, 1fr); gap: .58rem; align-items: center;
  padding: .68rem; border: 1px solid transparent; border-radius: 14px; background: rgb(255 255 255 / 2.6%);
  animation: landing-work-roster 9s ease-in-out infinite;
}
.landing-work-roster-card:nth-child(2) { animation-delay: -6s; }.landing-work-roster-card:nth-child(3) { animation-delay: -3s; }.landing-work-roster-card:nth-child(4) { animation-delay: -7.5s; }
.landing-work-roster-avatar { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 11px; background: color-mix(in srgb, var(--work-stage-accent) 13%, rgb(255 255 255 / 4%)); color: var(--landing-accent-strong); font-size: .69rem; font-weight: 720; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--work-stage-accent) 22%, transparent); }
.landing-work-roster-copy { display: grid; min-width: 0; gap: .18rem; }
.landing-work-roster-copy strong { overflow-wrap: anywhere; font-size: .68rem; font-weight: 650; }
.landing-work-roster-copy small { display: -webkit-box; overflow: hidden; color: var(--landing-muted); font-size: .56rem; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.landing-work-roster-state { grid-column: 2; width: max-content; max-width: 100%; margin-top: -.1rem; overflow: hidden; color: color-mix(in srgb, var(--work-stage-accent) 78%, white); font-size: .52rem; text-overflow: ellipsis; white-space: nowrap; }
.landing-work-main { position: relative; display: grid; min-width: 0; grid-template-rows: auto 1fr auto; gap: .75rem; padding: .9rem; overflow: hidden; }
.landing-work-main::before { position: absolute; top: -20%; bottom: -20%; left: -10%; width: 16%; content: ""; pointer-events: none; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--work-stage-accent) 6%, transparent), transparent); filter: blur(8px); animation: landing-work-scan 11s linear infinite; }
.landing-work-channel-dock { display: flex; min-width: 0; flex-wrap: wrap; gap: .38rem; margin: 0; padding: 0; list-style: none; }
.landing-work-channel { display: inline-flex; max-width: 100%; min-width: 0; align-items: center; gap: .34rem; padding: .38rem .52rem; border: 1px solid rgb(255 255 255 / 8%); border-radius: 999px; background: rgb(255 255 255 / 3%); color: var(--landing-muted); overflow-wrap: anywhere; font-size: .56rem; }
.landing-work-channel .landing-work-stage-icon { width: 14px; height: 14px; }
.landing-work-channel:nth-child(2n) { animation: landing-work-channel 5s ease-in-out infinite -2.5s; }
.landing-work-activity { position: relative; display: grid; min-width: 0; align-content: center; gap: .42rem; margin: 0; padding: .2rem 0; list-style: none; }
.landing-work-activity::before { position: absolute; top: 10%; bottom: 10%; left: 15px; width: 1px; content: ""; background: linear-gradient(transparent, color-mix(in srgb, var(--work-stage-accent) 48%, transparent), transparent); }
.landing-work-activity-item {
  position: relative; display: grid; min-width: 0; grid-template-columns: 31px minmax(0, 1fr) auto; gap: .62rem; align-items: center;
  min-height: 54px; padding: .58rem .65rem .58rem .32rem; border: 1px solid rgb(255 255 255 / 6%); border-radius: 15px;
  background: linear-gradient(90deg, rgb(255 255 255 / 4.5%), rgb(255 255 255 / 1.5%));
  animation: landing-work-activity 15s ease-in-out infinite;
}
.landing-work-activity-item:nth-child(2) { animation-delay: -12s; }.landing-work-activity-item:nth-child(3) { animation-delay: -9s; }
.landing-work-activity-item:nth-child(4) { animation-delay: -6s; }.landing-work-activity-item:nth-child(5) { animation-delay: -3s; }
.landing-work-activity-marker { position: relative; z-index: 1; display: grid; width: 29px; height: 29px; place-items: center; border-radius: 10px; background: #0c1119; color: var(--landing-muted); font-size: .49rem; font-variant-numeric: tabular-nums; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 9%); }
.landing-work-activity-copy { display: grid; min-width: 0; gap: .18rem; }
.landing-work-activity-copy strong { overflow-wrap: anywhere; font-size: .66rem; font-weight: 650; }
.landing-work-activity-copy small { overflow-wrap: anywhere; color: var(--landing-muted); font-size: .55rem; line-height: 1.4; }
.landing-work-activity-owner { max-width: 110px; overflow: hidden; color: var(--landing-muted); font-size: .52rem; text-overflow: ellipsis; white-space: nowrap; }
.landing-work-outcomes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .42rem; }
.landing-work-outcome { display: grid; min-width: 0; grid-template-columns: 23px minmax(0, 1fr); gap: .45rem; align-items: center; padding: .55rem; border-top: 1px solid color-mix(in srgb, var(--work-stage-accent) 26%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--work-stage-accent) 6%, transparent), transparent); }
.landing-work-outcome > span:last-child { display: grid; min-width: 0; gap: .12rem; }.landing-work-outcome strong { overflow-wrap: anywhere; font-size: .57rem; }.landing-work-outcome small { overflow-wrap: anywhere; color: var(--landing-muted); font-size: .5rem; }
.landing-work-stage-icon { position: relative; display: block; width: 21px; height: 21px; color: var(--work-stage-accent); opacity: .84; }
.landing-work-stage-icon::before, .landing-work-stage-icon::after { position: absolute; content: ""; }
.landing-work-stage-icon[data-icon="wechat"]::before, .landing-work-stage-icon[data-icon="message"]::before { inset: 4px 2px 6px; border: 1px solid currentColor; border-radius: 6px; }
.landing-work-stage-icon[data-icon="wechat"]::after, .landing-work-stage-icon[data-icon="message"]::after { right: 3px; bottom: 3px; width: 5px; height: 5px; border-right: 1px solid currentColor; transform: skew(-28deg); }
.landing-work-stage-icon[data-icon="mail"]::before { inset: 5px 1px; border: 1px solid currentColor; border-radius: 3px; }.landing-work-stage-icon[data-icon="mail"]::after { top: 7px; left: 4px; width: 11px; height: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); }
.landing-work-stage-icon[data-icon="browser"]::before { inset: 3px 1px; border: 1px solid currentColor; border-radius: 4px; }.landing-work-stage-icon[data-icon="browser"]::after { top: 8px; right: 3px; left: 3px; height: 1px; background: currentColor; box-shadow: -1px -3px 0 -.2px currentColor; }
.landing-work-stage-icon[data-icon="sheet"]::before { inset: 2px 3px; border: 1px solid currentColor; border-radius: 3px; background: linear-gradient(90deg, transparent 47%, currentColor 48% 52%, transparent 53%), linear-gradient(transparent 47%, currentColor 48% 52%, transparent 53%); opacity: .82; }
.landing-work-stage-icon[data-icon="report"]::before, .landing-work-stage-icon[data-icon="receipt"]::before { inset: 2px 4px; border: 1px solid currentColor; border-radius: 3px; }.landing-work-stage-icon[data-icon="report"]::after { top: 8px; right: 7px; left: 7px; height: 1px; background: currentColor; box-shadow: 0 4px currentColor, 0 8px currentColor; }.landing-work-stage-icon[data-icon="receipt"]::after { top: 7px; left: 8px; width: 6px; height: 3px; border-bottom: 1px solid currentColor; border-left: 1px solid currentColor; transform: rotate(-45deg); }
.landing-work-system-rails { display: grid; min-width: 0; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: .7rem; align-items: center; padding: .72rem 1rem .35rem; color: var(--landing-muted); font-size: .57rem; }
.landing-work-system-rails > span[data-rail] { min-width: 0; padding-top: .5rem; border-top: 1px solid color-mix(in srgb, var(--work-stage-accent) 27%, transparent); overflow-wrap: anywhere; }.landing-work-system-rails > span[data-rail="local"] { text-align: right; }
.landing-work-junction { width: 9px; height: 9px; border: 1px solid var(--work-stage-accent); border-radius: 3px; box-shadow: 0 0 18px color-mix(in srgb, var(--work-stage-accent) 40%, transparent); transform: rotate(45deg); }
.landing-work-stage figcaption { min-width: 0; max-width: 72ch; margin: 0; padding: .15rem 1rem .85rem; overflow-wrap: anywhere; color: var(--landing-muted); font-size: .55rem; line-height: 1.5; }
@keyframes landing-work-ambient { 50% { transform: translate3d(2.5%, -1.5%, 0) scale(1.03); } }
@keyframes landing-work-status { 50% { opacity: .35; transform: scale(.72); } }
@keyframes landing-work-scan { from { transform: translateX(0); } to { transform: translateX(760%); } }
@keyframes landing-work-roster { 0%, 66%, 100% { border-color: transparent; background: rgb(255 255 255 / 2.6%); } 76%, 90% { border-color: color-mix(in srgb, var(--work-stage-accent) 22%, transparent); background: color-mix(in srgb, var(--work-stage-accent) 7%, transparent); } }
@keyframes landing-work-activity { 0%, 74%, 100% { border-color: rgb(255 255 255 / 6%); transform: none; } 82%, 92% { border-color: color-mix(in srgb, var(--work-stage-accent) 34%, transparent); box-shadow: 0 9px 28px color-mix(in srgb, var(--work-stage-accent) 8%, transparent); transform: translateX(3px); } }
@keyframes landing-work-channel { 50% { border-color: color-mix(in srgb, var(--work-stage-accent) 24%, transparent); } }
@keyframes landing-work-media-float { 50% { transform: translate3d(0, -1.25%, 0) scale(1.025); } }
@keyframes landing-work-media-parallax { 0%, 100% { transform: translate3d(-1.2%, 0, 0) scale(1.06); } 50% { transform: translate3d(1.2%, -1%, 0) scale(1.09); } }
@keyframes landing-work-media-orbit { 0%, 100% { transform: scale(1.07) rotate(-.25deg); } 50% { transform: scale(1.1) rotate(.25deg); } }
@keyframes landing-work-media-pulse { 50% { opacity: .82; transform: scale(1.025); } }
@container (max-width: 560px) {
  .landing-work-stage { min-height: auto; }.landing-work-workspace { grid-template-columns: minmax(0, 1fr); }
  .landing-work-stage[data-has-media="true"] { min-height: auto; grid-template-rows: minmax(200px, auto) auto auto auto; }
  .landing-work-stage[data-has-media="true"] .landing-work-stage-media { min-height: 200px; }
  .landing-work-stage[data-has-media="true"] .landing-work-workspace { margin: -26px 9px 0; border-radius: 17px; }
  .landing-work-roster { border-right: 0; border-bottom: 1px solid rgb(255 255 255 / 8%); }
  .landing-work-roster-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .landing-work-roster-card { grid-template-columns: 28px minmax(0, 1fr); padding: .56rem; }.landing-work-roster-avatar { width: 28px; height: 28px; }
  .landing-work-roster-state { display: none; }.landing-work-main { padding: .75rem; }
  .landing-work-activity-owner { display: none; }.landing-work-activity-item { grid-template-columns: 31px minmax(0, 1fr); }
}
@media (max-width: 780px) {
  .landing-hero-visual, .landing-business-scene { min-height: 0; }.landing-work-stage { min-height: auto; border-radius: 22px; }
  .landing-work-stage[data-has-media="true"] { min-height: auto; grid-template-rows: minmax(210px, auto) auto auto auto; }
  .landing-work-stage[data-has-media="true"] .landing-work-stage-media { min-height: 210px; }
  .landing-work-stage[data-has-media="true"] .landing-work-workspace { margin: -28px 10px 0; }
  .landing-work-stage-heading { grid-template-columns: auto minmax(0, 1fr); }.landing-work-stage-state { grid-column: 2; }
  .landing-work-outcomes { grid-template-columns: 1fr; }.landing-work-outcome { min-height: 46px; }
}
@container (max-width: 420px) {
  .landing-work-stage-heading { grid-template-columns: 35px minmax(0, 1fr); gap: .55rem; padding-inline: .8rem; }
  .landing-work-stage-state { grid-column: 2; }
  .landing-work-roster-list { grid-template-columns: minmax(0, 1fr); }
  .landing-work-system-rails { gap: .45rem; padding-inline: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .landing-work-stage::before, .landing-work-stage-state::before, .landing-work-main::before,
  .landing-work-roster-card, .landing-work-channel, .landing-work-activity-item,
  .landing-work-stage-media img { animation: none !important; }
  .landing-work-stage-media:has(video) { pointer-events: auto; }
  .landing-work-stage-media:has(video)::after { pointer-events: none; }
}
@media (forced-colors: active) {
  .landing-work-stage, .landing-work-roster-card, .landing-work-activity-item { border: 1px solid CanvasText; background: Canvas; box-shadow: none; forced-color-adjust: auto; }
  .landing-work-stage::before, .landing-work-stage::after, .landing-work-main::before, .landing-work-stage-media { display: none; }
  .landing-work-roster-avatar, .landing-work-activity-marker { border: 1px solid CanvasText; background: Canvas; box-shadow: none; }
}
