:root {
  --ink-950: #050d19;
  --ink-900: #07172d;
  --ink-850: #0a203d;
  --ink-800: #102b4d;
  --blue-600: #246bfd;
  --blue-500: #2f7bff;
  --cyan-500: #18c7c8;
  --cyan-400: #35e0d0;
  --mint-300: #8bf0dc;
  --paper: #f4f8fc;
  --white: #ffffff;
  --text: #14223a;
  --muted: #66758a;
  --line: #dce6ef;
  --success: #099d7c;
  --warning: #d8891d;
  --shadow: 0 24px 70px rgba(10, 42, 75, 0.12);
  --radius: 18px;
  --shell: min(1180px, calc(100vw - 48px));
  color-scheme: light;
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); line-height: 1.65; }
a { color: inherit; text-decoration: none; }
button, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 1000; padding: 10px 16px; color: var(--ink-900); background: var(--white); border-radius: 8px; transition: top 160ms ease; }
.skip-link:focus { top: 16px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; min-height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(24px, calc((100vw - 1180px) / 2)); color: var(--white); border-bottom: 1px solid rgba(255,255,255,.1); background: linear-gradient(180deg, rgba(5,13,25,.72), rgba(5,13,25,.12)); backdrop-filter: blur(14px); transition: background 180ms ease, box-shadow 180ms ease; }
.site-header.is-scrolled, .site-header-solid { background: rgba(7,23,45,.96); box-shadow: 0 8px 40px rgba(3,12,25,.18); }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; }
.brand-monogram { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.3); border-radius: 11px; background: linear-gradient(135deg, var(--blue-500), var(--cyan-500)); color: white; font-weight: 800; font-size: 12px; letter-spacing: -.03em; box-shadow: 0 0 28px rgba(24,199,200,.28); }
.brand > span:last-child { display: grid; line-height: 1.15; }
.brand strong { font-size: 17px; letter-spacing: .12em; }
.brand small { margin-top: 5px; color: rgba(255,255,255,.58); font-size: 8px; letter-spacing: .18em; }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.site-nav a { position: relative; color: rgba(255,255,255,.72); transition: color 160ms ease; }
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a.is-active { color: var(--white); }
.site-nav a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 2px; background: var(--cyan-400); border-radius: 2px; }
.site-nav .nav-cta { padding: 9px 15px; border: 1px solid rgba(255,255,255,.32); border-radius: 999px; color: var(--white); }
.site-nav .nav-cta::after { display: none; }
.nav-toggle { display: none; min-width: 44px; min-height: 44px; border: 1px solid rgba(255,255,255,.26); border-radius: 10px; color: white; background: transparent; }

.hero { position: relative; min-height: 100svh; overflow: hidden; display: grid; align-items: center; padding: 120px 0 84px; color: white; background: var(--ink-950); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 74% 48%, rgba(33,109,255,.2), transparent 27%), radial-gradient(circle at 64% 34%, rgba(22,215,199,.11), transparent 23%), linear-gradient(112deg, rgba(5,13,25,.98) 9%, rgba(7,23,45,.9) 48%, rgba(7,23,45,.34) 100%); pointer-events: none; }
.hero-canvas, .detail-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-vignette { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,13,25,.84), rgba(5,13,25,.08) 68%), linear-gradient(0deg, rgba(5,13,25,.58), transparent 32%); pointer-events: none; }
.hero-content { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .82fr); gap: 76px; align-items: center; }
.eyebrow, .kicker { margin: 0 0 20px; color: var(--blue-600); font-size: 12px; font-weight: 800; letter-spacing: .18em; }
.eyebrow { display: flex; align-items: center; color: var(--mint-300); }
.eyebrow > span { display: inline-block; width: 34px; height: 1px; margin-right: 12px; background: currentColor; box-shadow: 0 0 10px currentColor; }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(43px, 5.5vw, 76px); line-height: 1.08; letter-spacing: -.045em; font-weight: 760; text-wrap: balance; }
.hero-lead { max-width: 690px; margin: 28px 0 0; color: rgba(233,245,255,.72); font-size: 18px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border: 1px solid transparent; border-radius: 10px; cursor: pointer; font-weight: 700; font-size: 14px; transition: transform 160ms ease, background 160ms ease, border 160ms ease, box-shadow 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: linear-gradient(120deg, var(--blue-600), var(--cyan-500)); color: white; box-shadow: 0 10px 30px rgba(36,107,253,.28); }
.button-ghost { color: white; background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.25); }
.button-outline { color: white; border-color: rgba(255,255,255,.35); background: transparent; }
.button-dark { color: white; background: var(--ink-900); }
.hero-metrics { display: flex; gap: 36px; margin: 42px 0 0; }
.hero-metrics div { padding-left: 14px; border-left: 1px solid rgba(255,255,255,.2); }
.hero-metrics dt { font-size: 27px; line-height: 1; font-weight: 780; color: white; }
.hero-metrics dd { margin: 7px 0 0; color: rgba(255,255,255,.52); font-size: 12px; }

.network-console { justify-self: end; width: min(100%, 430px); border: 1px solid rgba(124,218,255,.22); border-radius: 22px; background: linear-gradient(145deg, rgba(16,43,77,.7), rgba(7,23,45,.46)); box-shadow: 0 36px 90px rgba(0,0,0,.28), inset 0 0 50px rgba(28,160,255,.05); backdrop-filter: blur(12px); overflow: hidden; }
.console-topline { display: flex; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.58); font-size: 10px; letter-spacing: .15em; }
.live-dot { display: flex; align-items: center; gap: 8px; letter-spacing: .04em; color: var(--mint-300); }
.live-dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan-400); box-shadow: 0 0 12px var(--cyan-400); animation: blink 1.8s ease-in-out infinite; }
.core-readout { min-height: 250px; display: grid; place-items: center; align-content: center; position: relative; text-align: center; }
.core-readout strong { position: relative; z-index: 2; font-size: 20px; }
.core-readout small { position: relative; z-index: 2; margin-top: 8px; color: rgba(255,255,255,.48); font-size: 9px; letter-spacing: .16em; }
.core-ring { position: absolute; width: 158px; aspect-ratio: 1; border: 1px solid rgba(53,224,208,.36); border-radius: 50%; box-shadow: 0 0 32px rgba(53,224,208,.12), inset 0 0 28px rgba(47,123,255,.12); animation: ringPulse 3.5s ease-in-out infinite; }
.core-ring::before, .core-ring::after { content: ""; position: absolute; inset: 14px; border: 1px dashed rgba(77,158,255,.35); border-radius: 50%; animation: spin 18s linear infinite; }
.core-ring::after { inset: 33px; border-style: solid; border-color: rgba(53,224,208,.22); animation-direction: reverse; animation-duration: 11s; }
.focus-switcher { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 14px 14px; }
.focus-chip { min-height: 42px; border: 1px solid rgba(255,255,255,.14); border-radius: 9px; color: rgba(255,255,255,.58); background: rgba(255,255,255,.03); cursor: pointer; font-size: 12px; }
.focus-chip.is-active { border-color: rgba(53,224,208,.55); color: white; background: rgba(53,224,208,.1); box-shadow: inset 0 0 18px rgba(53,224,208,.05); }
.signal-row { display: flex; justify-content: space-between; gap: 10px; padding: 13px 16px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.42); font-size: 9px; }
.signal-row b { color: var(--mint-300); }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 24px; display: grid; place-items: center; gap: 8px; transform: translateX(-50%); color: rgba(255,255,255,.48); font-size: 10px; letter-spacing: .16em; }
.scroll-cue i { display: block; width: 1px; height: 24px; background: linear-gradient(var(--cyan-400), transparent); animation: scrollCue 1.8s ease-in-out infinite; }

.section { padding: 116px 0; }
.section-light { background: var(--paper); }
.section-heading { display: grid; grid-template-columns: 1fr minmax(300px, 450px); gap: 60px; align-items: end; margin-bottom: 54px; }
.section-heading h2, .showcase-copy h2, .about-story h2, .product-detail-copy h2, .boundary-inner h2, .company-facts h2, .form-heading h2, .source-layout h2 { margin: 0; font-size: clamp(32px, 4vw, 52px); line-height: 1.16; letter-spacing: -.035em; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 16px; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product-card { position: relative; min-height: 390px; display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.product-card::before { content: ""; position: absolute; right: -54px; top: -54px; width: 170px; height: 170px; border-radius: 50%; background: radial-gradient(circle, rgba(47,123,255,.14), transparent 64%); }
.product-card:hover { transform: translateY(-6px); border-color: rgba(36,107,253,.35); box-shadow: var(--shadow); }
.product-index { color: #8a98aa; font-size: 10px; letter-spacing: .14em; }
.product-status { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; margin-top: 44px; padding: 6px 10px; border-radius: 999px; color: #086a98; background: #e6f7ff; font-size: 11px; font-weight: 700; }
.product-status > span { width: 6px; height: 6px; border-radius: 50%; background: #149bd2; }
.product-status.status-progress { color: #8b5b0c; background: #fff3db; }
.product-status.status-progress > span { background: var(--warning); }
.product-status.status-health { color: #08705b; background: #e6faf5; }
.product-status.status-health > span { background: var(--success); }
.product-card h3 { margin: 20px 0 8px; font-size: 28px; letter-spacing: -.03em; }
.product-card p { margin: 0; color: var(--muted); font-size: 14px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: 24px 0; list-style: none; }
.tag-list li { padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px; color: #52637a; background: #f8fbfe; font-size: 11px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; color: var(--blue-600); font-weight: 750; font-size: 14px; }
.text-link span { transition: transform 160ms ease; }
.text-link:hover span { transform: translateX(4px); }

.evidence-section, .analysis-section, .product-capabilities, .principles-section { color: white; background: var(--ink-900); }
.evidence-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; align-items: center; }
.kicker-bright { color: var(--cyan-400); }
.evidence-copy h2 { margin: 0; font-size: clamp(38px, 4.6vw, 62px); line-height: 1.14; letter-spacing: -.04em; }
.evidence-copy > p:not(.kicker) { max-width: 510px; margin: 26px 0 34px; color: rgba(255,255,255,.62); }
.evidence-flow { position: relative; display: grid; gap: 14px; }
.evidence-flow article { position: relative; z-index: 2; display: grid; grid-template-columns: 44px 1fr; gap: 17px; padding: 20px 22px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(255,255,255,.045); }
.evidence-flow article > span { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(53,224,208,.34); border-radius: 50%; color: var(--mint-300); font-size: 11px; }
.evidence-flow h3 { margin: 0 0 3px; font-size: 17px; }
.evidence-flow p { margin: 0; color: rgba(255,255,255,.55); font-size: 13px; }
.flow-line { position: absolute; z-index: 1; left: 41px; top: 20px; bottom: 20px; width: 1px; background: rgba(53,224,208,.22); }
.flow-line span { position: absolute; width: 3px; height: 60px; left: -1px; border-radius: 3px; background: linear-gradient(transparent, var(--cyan-400), transparent); box-shadow: 0 0 12px var(--cyan-400); animation: flowDown 4s linear infinite; }

.showcase-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 72px; align-items: center; }
.showcase-frame { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: var(--shadow); }
.browser-chrome { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #edf3f8; }
.browser-chrome > span { width: 7px; height: 7px; border-radius: 50%; background: #9aabbc; }
.browser-chrome small { margin-left: 8px; color: #74859a; font-size: 10px; }
.showcase-frame img { width: 100%; }
.showcase-copy > p:not(.kicker) { margin: 24px 0 28px; color: var(--muted); }
.feature-list { margin: 0 0 26px; }
.feature-list div { padding: 17px 0; border-top: 1px solid var(--line); }
.feature-list dt { font-weight: 750; }
.feature-list dd { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.final-cta { position: relative; overflow: hidden; text-align: center; color: white; background: linear-gradient(120deg, #07172d, #0b3156); }
.final-cta::before { content: ""; position: absolute; width: 700px; height: 700px; left: 50%; top: -500px; transform: translateX(-50%); border: 1px solid rgba(53,224,208,.2); border-radius: 50%; box-shadow: 0 0 100px rgba(36,107,253,.16); }
.final-cta-inner { position: relative; }
.final-cta h2 { margin: 0; font-size: clamp(38px, 5vw, 64px); letter-spacing: -.04em; }
.final-cta p:not(.kicker) { max-width: 650px; margin: 22px auto 30px; color: rgba(255,255,255,.62); }

.site-footer { padding: 54px 0; color: rgba(255,255,255,.56); background: var(--ink-950); font-size: 12px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr auto; gap: 42px; align-items: end; }
.footer-grid strong { color: white; font-size: 15px; }
.footer-grid p { margin: 7px 0 0; }
.footer-grid > div:nth-child(2) { display: flex; gap: 18px; }
.footer-grid a:hover { color: white; }

.inner-main { padding-top: 0; }
.product-hero, .page-hero { position: relative; overflow: hidden; display: grid; align-items: center; min-height: 620px; padding: 150px 0 80px; color: white; background: var(--ink-950); }
.product-hero::before, .page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 76% 45%, rgba(36,107,253,.23), transparent 25%), linear-gradient(105deg, rgba(5,13,25,.98), rgba(7,23,45,.55)); }
.product-hero-grid { position: relative; display: grid; grid-template-columns: 1fr .75fr; gap: 80px; align-items: center; }
.detail-status { display: inline-flex; margin: 8px 0 18px; padding: 6px 10px; border: 1px solid rgba(139,240,220,.35); border-radius: 999px; color: var(--mint-300); font-size: 11px; }
.product-hero h1, .page-hero h1 { margin: 0; font-size: clamp(48px, 7vw, 86px); line-height: 1.04; letter-spacing: -.055em; }
.product-subtitle { margin: 16px 0 0; color: var(--mint-300); font-size: 19px; font-weight: 700; }
.product-summary { max-width: 670px; margin: 22px 0 0; color: rgba(255,255,255,.65); }
.product-orbit { justify-self: center; position: relative; width: 320px; aspect-ratio: 1; display: grid; place-items: center; text-align: center; }
.product-orbit strong { position: relative; z-index: 2; font-size: 24px; }
.product-orbit > span:last-child { position: absolute; z-index: 2; top: 58%; color: rgba(255,255,255,.42); font-size: 8px; letter-spacing: .16em; }
.orbit { position: absolute; inset: 16%; border: 1px solid rgba(53,224,208,.35); border-radius: 50%; animation: orbitFloat 5s ease-in-out infinite; }
.orbit::before { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan-400); box-shadow: 0 0 16px var(--cyan-400); }
.orbit-two { inset: 3%; border-color: rgba(47,123,255,.3); animation-delay: -1.4s; animation-direction: reverse; }
.orbit-three { inset: 29%; border-style: dashed; animation-duration: 8s; }
.product-switch { position: sticky; top: 76px; z-index: 40; border-bottom: 1px solid var(--line); background: rgba(244,248,252,.94); backdrop-filter: blur(12px); }
.product-switch-inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.product-switch a { min-height: 72px; display: flex; align-items: center; justify-content: center; gap: 10px; border-right: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.product-switch a:first-child { border-left: 1px solid var(--line); }
.product-switch a span { font-size: 10px; color: #9aa8b8; }
.product-switch a.is-active { color: var(--blue-600); background: white; box-shadow: inset 0 -2px var(--blue-600); font-weight: 750; }
.product-detail-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 80px; align-items: start; }
.rich-copy { margin-top: 26px; color: var(--muted); }
.rich-copy p { margin: 0 0 18px; }
.rich-copy strong { color: var(--text); }
.fact-panel { border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 18px 55px rgba(10,42,75,.08); overflow: hidden; }
.fact-panel-head { display: flex; justify-content: space-between; padding: 17px 20px; color: white; background: var(--ink-900); font-weight: 750; }
.fact-panel-head span { color: rgba(255,255,255,.44); font-size: 9px; letter-spacing: .14em; }
.fact-panel dl { margin: 0; }
.fact-panel dl div { display: grid; grid-template-columns: 100px 1fr; gap: 20px; padding: 15px 20px; border-bottom: 1px solid var(--line); }
.fact-panel dl div:last-child { border-bottom: 0; }
.fact-panel dt { color: var(--muted); font-size: 12px; }
.fact-panel dd { margin: 0; color: var(--text); font-size: 13px; font-weight: 650; }
.product-capabilities .section-heading > p { color: rgba(255,255,255,.56); }
.capability-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.capability-card { min-height: 230px; padding: 24px; border: 1px solid rgba(255,255,255,.12); border-radius: 15px; background: rgba(255,255,255,.045); }
.capability-card > span { color: var(--cyan-400); font-size: 10px; letter-spacing: .14em; }
.capability-card h3 { margin: 56px 0 8px; font-size: 18px; }
.capability-card p { margin: 0; color: rgba(255,255,255,.52); font-size: 13px; }
.screen-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.screen-shot { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: white; box-shadow: 0 16px 50px rgba(10,42,75,.08); }
.screen-shot img { width: 100%; aspect-ratio: 4 / 2.5; object-fit: cover; object-position: top left; }
.screen-shot.is-phone img { aspect-ratio: 4 / 3; object-fit: contain; background: #eef4f9; }
.screen-shot figcaption { padding: 13px 16px; color: var(--muted); font-size: 12px; }
.boundary-block { padding-top: 0; }
.boundary-inner { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; padding: 42px; border-radius: 18px; background: #e7f2fb; }
.boundary-inner > p { margin: 0; color: #52667c; }

.page-hero { min-height: 510px; }
.page-hero-content { position: relative; z-index: 2; }
.page-hero-content > p:last-child { max-width: 760px; margin: 24px 0 0; color: rgba(255,255,255,.64); font-size: 17px; }
.evidence-notice { display: grid; grid-template-columns: 170px 1fr; gap: 30px; padding: 28px; margin-bottom: 40px; border-left: 3px solid var(--warning); border-radius: 0 14px 14px 0; background: #fff8ea; }
.evidence-notice strong { color: #8b5b0c; }
.evidence-notice p { margin: 0; color: #6c5b3e; }
.works-table { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: white; }
.works-row { display: grid; grid-template-columns: 1.05fr .65fr .95fr 1.65fr; align-items: center; min-height: 126px; border-bottom: 1px solid var(--line); }
.works-row:last-child { border-bottom: 0; }
.works-row > * { margin: 0; padding: 20px; }
.works-row > * + * { border-left: 1px solid var(--line); }
.works-head { min-height: 52px; color: white; background: var(--ink-900); font-size: 11px; font-weight: 750; letter-spacing: .08em; }
.works-row b { display: block; font-size: 17px; }
.works-row small { display: block; margin-top: 5px; color: var(--muted); }
.works-row p { color: var(--muted); font-size: 13px; }
.evidence-badge { display: inline-flex; padding: 5px 9px; border-radius: 999px; font-size: 10px; font-weight: 750; }
.evidence-public { color: #086a98; background: #e6f7ff; }
.evidence-confirmed { color: #08705b; background: #e6faf5; }
.evidence-rd { color: #8b5b0c; background: #fff3db; }
.analysis-section .section-heading > p { color: rgba(255,255,255,.55); }
.analysis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.analysis-grid article { min-height: 260px; padding: 26px; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background: rgba(255,255,255,.04); }
.analysis-grid span { color: var(--cyan-400); font-size: 10px; letter-spacing: .17em; }
.analysis-grid h3 { margin: 74px 0 9px; font-size: 20px; }
.analysis-grid p { margin: 0; color: rgba(255,255,255,.52); font-size: 13px; }
.source-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; }
.source-layout > div > p:last-child { color: var(--muted); }
.source-list { margin: 0; padding: 0; list-style: none; counter-reset: source; }
.source-list li { position: relative; padding: 18px 20px 18px 58px; border-top: 1px solid var(--line); counter-increment: source; }
.source-list li::before { content: "0" counter(source); position: absolute; left: 12px; top: 18px; color: var(--blue-600); font-size: 11px; }
.source-list a, .source-title { display: block; color: var(--text); font-weight: 750; }
.source-list span:not(.source-title), .source-list code { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }

.portfolio-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 26px; border: 1px solid var(--line); background: white; }
.portfolio-stats div { display: grid; gap: 7px; padding: 24px; }
.portfolio-stats div + div { border-left: 1px solid var(--line); }
.portfolio-stats strong { color: var(--ink-900); font-size: 38px; line-height: 1; }
.portfolio-stats span { color: var(--muted); font-size: 12px; }
.certificate-heading { margin-top: 64px; }
.certificate-toolbar { display: flex; flex-wrap: wrap; gap: 9px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.certificate-toolbar button { min-height: 42px; padding: 0 16px; border: 1px solid #cddbe7; border-radius: 999px; color: #45586d; background: white; cursor: pointer; font: inherit; font-size: 12px; font-weight: 700; }
.certificate-toolbar button[aria-pressed="true"] { color: white; border-color: var(--blue-600); background: var(--blue-600); box-shadow: 0 9px 28px rgba(36,107,253,.2); }
.certificate-status { margin: 14px 0 26px; color: var(--muted); font-size: 12px; }
.certificate-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; perspective: 1400px; }
.certificate-card { --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%; --lift: 0px; position: relative; display: grid; grid-template-rows: 300px 1fr; overflow: hidden; border: 1px solid #d5e2ec; background: white; box-shadow: 0 22px 58px rgba(9,36,66,.09); transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--lift)); transform-style: preserve-3d; transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }
.certificate-card[hidden] { display: none; }
.certificate-card:hover { --lift: -5px; border-color: rgba(36,107,253,.48); box-shadow: 0 30px 80px rgba(9,47,85,.15); }
.certificate-card::after { content: ""; position: absolute; inset: 0; z-index: 3; background: radial-gradient(circle at var(--mx) var(--my), rgba(139,240,220,.2), transparent 32%); opacity: .55; pointer-events: none; transform: translateZ(38px); }
.certificate-card-media { position: relative; overflow: hidden; padding: 20px; border-bottom: 1px solid var(--line); background: linear-gradient(145deg, #e8f3fb, #f8fbfd 56%, #e4f9f5); transform: translateZ(12px); }
.certificate-card-media::after { content: ""; position: absolute; left: 8%; right: 8%; top: -2px; height: 1px; background: linear-gradient(90deg, transparent, rgba(36,107,253,.75), rgba(53,224,208,.9), transparent); box-shadow: 0 0 16px rgba(53,224,208,.5); animation: certificateScan 5.8s ease-in-out infinite; pointer-events: none; }
.certificate-card-media a { display: block; width: 100%; height: 100%; }
.certificate-card-media img { width: 100%; height: 100%; object-fit: contain; filter: saturate(.88) contrast(1.02); transform: translateZ(26px) scale(1.015); }
.certificate-index { position: absolute; right: 18px; bottom: 14px; padding: 5px 8px; color: white; background: rgba(7,23,45,.82); font-size: 10px; letter-spacing: .14em; }
.certificate-card-body { position: relative; z-index: 2; display: flex; flex-direction: column; padding: 24px; transform: translateZ(22px); }
.certificate-category { color: var(--blue-600); font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.certificate-card h3 { margin: 13px 0 6px; font-size: 21px; line-height: 1.25; }
.certificate-full-title { min-height: 38px; margin: 0 0 17px; color: var(--muted); font-size: 12px; }
.certificate-card dl { margin: 0; border-top: 1px solid var(--line); }
.certificate-card dl div { display: grid; grid-template-columns: 66px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 11px; }
.certificate-card dt { color: var(--muted); }
.certificate-card dd { margin: 0; color: #263a50; font-weight: 700; overflow-wrap: anywhere; }
.certificate-analysis { margin: 18px 0 0; color: var(--muted); font-size: 12px; }
.certificate-actions { display: grid; gap: 8px; margin-top: auto; padding-top: 20px; }
.certificate-actions a { display: flex; align-items: center; justify-content: space-between; min-height: 40px; padding: 0 12px; border: 1px solid #cddbe7; color: var(--ink-900); background: #f7fafc; font-size: 11px; font-weight: 750; }
.certificate-actions a::after { content: "↗"; color: var(--blue-600); }
.evidence-boundary { display: grid; grid-template-columns: 160px 1fr; gap: 28px; margin-top: 34px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.evidence-boundary strong { color: var(--ink-900); }
.evidence-boundary p { margin: 0; color: var(--muted); }

.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.story-copy p { margin: 0 0 22px; color: var(--muted); font-size: 17px; }
.principle-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.principle-grid article { min-height: 250px; padding: 24px; border: 1px solid rgba(255,255,255,.12); border-radius: 15px; background: rgba(255,255,255,.04); }
.principle-grid span { color: var(--cyan-400); font-size: 11px; }
.principle-grid h3 { margin: 80px 0 8px; font-size: 18px; }
.principle-grid p { margin: 0; color: rgba(255,255,255,.52); font-size: 13px; }
.company-facts { display: grid; grid-template-columns: .65fr 1.35fr; gap: 90px; }
.company-facts dl { margin: 0; border-top: 1px solid var(--line); }
.company-facts dl div { display: grid; grid-template-columns: 160px 1fr; gap: 30px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.company-facts dt { color: var(--muted); }
.company-facts dd { margin: 0; font-weight: 650; }

.contact-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: start; }
.brief-builder { padding: 36px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: var(--shadow); }
.form-heading { margin-bottom: 28px; }
.brief-builder label { display: grid; gap: 8px; margin-top: 18px; color: #3b4b60; font-size: 13px; font-weight: 700; }
.brief-builder select, .brief-builder textarea { width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid #cfdbe6; border-radius: 9px; color: var(--text); background: white; font-weight: 400; outline: none; }
.brief-builder textarea { resize: vertical; }
.brief-builder select:focus, .brief-builder textarea:focus { border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(36,107,253,.12); }
.brief-builder .button { margin-top: 24px; }
.form-feedback { min-height: 24px; margin: 12px 0 0; color: var(--success); font-size: 12px; }
.contact-aside { display: grid; gap: 18px; }
.mini-entry { padding: 34px; border-radius: 18px; color: white; background: linear-gradient(145deg, var(--ink-900), #0f3a61); box-shadow: var(--shadow); }
.mini-entry-label { color: var(--cyan-400); font-size: 9px; letter-spacing: .17em; }
.mini-entry h2 { margin: 52px 0 8px; font-size: 34px; }
.mini-entry p { color: rgba(255,255,255,.58); }
.mini-entry code { display: block; padding: 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; color: var(--mint-300); background: rgba(0,0,0,.15); overflow-wrap: anywhere; font-size: 11px; }
.mini-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 20px; }
.mini-entry .button-dark { background: white; color: var(--ink-900); }
.mini-entry .text-link { margin: 0; color: white; }
.contact-note { padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.contact-note p { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.contact-directory { padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.contact-directory h2 { margin: 10px 0 22px; font-size: 28px; }
.contact-directory dl { margin: 0; }
.contact-directory dl div { display: grid; grid-template-columns: 82px 1fr; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 12px; }
.contact-directory dt { color: var(--muted); }
.contact-directory dd { margin: 0; color: var(--text); font-weight: 700; overflow-wrap: anywhere; }
.contact-directory a { color: var(--blue-600); }
.entity-note { margin: 18px 0 0; padding: 13px; color: #6c5b3e; border-left: 2px solid var(--warning); background: #fff8ea; font-size: 11px; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 650ms ease, transform 650ms cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.capture-mode .site-header { position: absolute; }
.capture-mode .reveal { opacity: 1; transform: none; transition: none; }
.capture-mode .certificate-card { transform: none; }
.capture-mode .certificate-card-media::after { display: none; }
@keyframes blink { 50% { opacity: .35; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ringPulse { 50% { transform: scale(1.06); box-shadow: 0 0 52px rgba(53,224,208,.18), inset 0 0 36px rgba(47,123,255,.18); } }
@keyframes scrollCue { 0%,100% { opacity: .3; transform: scaleY(.5); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }
@keyframes flowDown { from { top: -60px; } to { top: 100%; } }
@keyframes orbitFloat { 0%,100% { transform: rotate(0deg) scale(1); } 50% { transform: rotate(180deg) scale(1.06); } }
@keyframes certificateScan { 0%, 12% { top: 0; opacity: 0; } 22% { opacity: 1; } 76% { opacity: .75; } 88%, 100% { top: 100%; opacity: 0; } }

:focus-visible { outline: 2px solid var(--cyan-400); outline-offset: 3px; }
@media (max-width: 980px) {
  :root { --shell: min(100% - 32px, 760px); }
  .site-header { min-height: 68px; padding-inline: 16px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav { position: absolute; left: 16px; right: 16px; top: 76px; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 14px; background: rgba(7,23,45,.98); box-shadow: 0 24px 70px rgba(0,0,0,.26); }
  .site-nav.is-open { display: flex; }
  .site-nav a { min-height: 46px; display: flex; align-items: center; padding: 0 12px; }
  .site-nav a.is-active::after { display: none; }
  .site-nav .nav-cta { justify-content: center; margin-top: 6px; }
  .hero { min-height: auto; padding: 124px 0 92px; }
  .hero-content, .product-hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .network-console { justify-self: stretch; width: 100%; }
  .section { padding: 88px 0; }
  .section-heading, .evidence-layout, .showcase-layout, .product-detail-layout, .about-story, .company-facts, .contact-layout, .source-layout, .boundary-inner { grid-template-columns: 1fr; gap: 42px; }
  .product-grid, .analysis-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 330px; }
  .capability-grid, .principle-grid { grid-template-columns: repeat(2, 1fr); }
  .screen-gallery { grid-template-columns: 1fr 1fr; }
  .certificate-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-stats { grid-template-columns: 1fr 1fr; }
  .portfolio-stats div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .portfolio-stats div:nth-child(4) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; align-items: start; }
  .works-table { overflow-x: auto; }
  .works-row { min-width: 880px; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100% - 28px); }
  .brand strong { font-size: 15px; }
  .hero h1 { font-size: clamp(39px, 12vw, 54px); }
  .hero-lead { font-size: 15px; }
  .hero-metrics { gap: 17px; }
  .hero-metrics div { padding-left: 10px; }
  .hero-metrics dt { font-size: 22px; }
  .network-console { border-radius: 16px; }
  .core-readout { min-height: 210px; }
  .section { padding: 72px 0; }
  .section-heading { gap: 18px; margin-bottom: 36px; }
  .section-heading h2, .showcase-copy h2, .about-story h2, .product-detail-copy h2, .boundary-inner h2, .company-facts h2, .form-heading h2, .source-layout h2 { font-size: 32px; }
  .product-card { padding: 24px; }
  .evidence-copy h2 { font-size: 38px; }
  .showcase-layout { gap: 36px; }
  .footer-grid > div:nth-child(2) { flex-wrap: wrap; }
  .product-hero, .page-hero { min-height: 560px; padding-top: 130px; }
  .product-orbit { width: 250px; }
  .product-switch { top: 68px; overflow-x: auto; }
  .product-switch-inner { width: 720px; }
  .capability-grid, .principle-grid, .screen-gallery { grid-template-columns: 1fr; }
  .certificate-grid { grid-template-columns: 1fr; }
  .certificate-card { grid-template-rows: 340px 1fr; }
  .certificate-toolbar { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 13px; }
  .certificate-toolbar button { flex: 0 0 auto; }
  .evidence-boundary { grid-template-columns: 1fr; gap: 8px; }
  .contact-directory { padding: 24px; }
  .capability-card, .principle-grid article { min-height: 210px; }
  .boundary-inner, .brief-builder, .mini-entry { padding: 26px; }
  .evidence-notice { grid-template-columns: 1fr; gap: 8px; }
  .company-facts dl div, .fact-panel dl div { grid-template-columns: 1fr; gap: 4px; }
  .page-hero-content > p:last-child { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .certificate-card { transform: none !important; }
  .certificate-card-media::after { display: none; }
}
