:root {
  --paper: #f3f4f1;
  --paper-bright: #fff;
  --paper-muted: #e5e7e4;
  --ink: #161716;
  --muted: #666a66;
  --line: #c5c9c5;
  --line-strong: #8f948f;
  --red: #c7352e;
  --yellow: #dfac16;
  --white: #fff;
  --max: 1240px;
  --header-height: 76px;
  --scroll-progress: 0;
  --showcase-progress: 0;
  --pointer-x: 0px;
  --pointer-y: 0px;
  --pointer-rotate: 0deg;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin-top: 0; }
#product, #features, #project { scroll-margin-top: var(--header-height); }
.section-shell { width: min(calc(100% - 64px), var(--max)); margin-inline: auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: var(--header-height);
  padding-inline: max(32px, calc((100% - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--red);
  content: "";
  transform: scaleX(var(--scroll-progress));
  transform-origin: left center;
}
.site-header.is-scrolled { border-color: transparent; box-shadow: 0 9px 24px rgba(22, 23, 22, .08); }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand-logo { width: 82px; height: auto; aspect-ratio: 4 / 3; object-fit: contain; mix-blend-mode: multiply; }
.site-nav { display: flex; align-items: center; gap: 30px; color: var(--muted); font-size: 13px; }
.site-nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; transition: color .2s ease; }
.site-nav a::after { position: absolute; right: 0; bottom: 5px; left: 0; height: 1px; background: currentColor; content: ""; transform: scaleX(0); transform-origin: left center; transition: transform .25s ease; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--red); }
.site-nav a:hover::after, .site-nav a:focus-visible::after, .site-nav a[aria-current="location"]::after { transform: scaleX(1); }
.site-nav a[aria-current="location"] { color: var(--ink); }
.site-nav .nav-link-strong { color: var(--ink); border-bottom: 1px solid var(--ink); }
.site-nav .nav-link-strong::after { display: none; }
.site-nav span { margin-left: 4px; font-size: 16px; }
.menu-toggle { display: none; min-width: 44px; min-height: 44px; padding: 8px 0 8px 8px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 23px; height: 2px; margin: 4px 0; background: var(--ink); transition: opacity .2s ease, transform .25s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 21px; color: var(--muted); font: 11px/1.25 Arial, sans-serif; letter-spacing: 0; text-transform: uppercase; }
.eyebrow-mark { display: inline-block; flex: 0 0 25px; width: 25px; height: 3px; background: var(--red); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 48px; padding: 0 21px; border: 1px solid var(--ink); border-radius: 2px; font-size: 14px; font-weight: 700; transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover, .button-dark:focus-visible { border-color: var(--red); background: var(--red); }
.button-light { border-color: var(--white); background: var(--white); color: var(--ink); }
.button-light:hover, .button-light:focus-visible { border-color: var(--yellow); background: var(--yellow); }
.text-link { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; color: var(--red); font-size: 13px; font-weight: 700; }
.text-link span { font-size: 17px; transition: transform .2s ease; }
.text-link:hover span, .text-link:focus-visible span { transform: translate(3px, -2px); }

.showcase { position: relative; height: 390svh; min-height: 2500px; background: var(--paper); }
.showcase-sticky { position: sticky; top: var(--header-height); height: calc(100svh - var(--header-height)); min-height: 640px; overflow: hidden; border-bottom: 1px solid var(--ink); }
.showcase-frame { position: relative; z-index: 2; height: 100%; }
.showcase-backdrop { position: absolute; inset: 0; z-index: 0; overflow: hidden; color: #e3e6e2; font: 800 170px/.78 Arial, sans-serif; pointer-events: none; user-select: none; }
.showcase-backdrop span { position: absolute; display: block; }
.showcase-backdrop span:first-child { top: 7%; left: -18px; }
.showcase-backdrop span:last-child { right: -12px; bottom: 8%; }
.showcase-copy { position: absolute; z-index: 4; top: 44%; left: 0; width: 39%; transform: translateY(-50%); transition: opacity .5s ease, transform .6s cubic-bezier(.22, .75, .22, 1); }
.showcase-brand-copy { opacity: 1; }
.showcase-story-copy { opacity: 0; pointer-events: none; transform: translateY(calc(-50% + 24px)); }
.showcase.is-story .showcase-brand-copy { opacity: 0; pointer-events: none; transform: translateY(calc(-50% - 22px)); }
.showcase.is-story .showcase-story-copy { opacity: 1; pointer-events: auto; transform: translateY(-50%); }
.showcase h1 { margin-bottom: 26px; font-size: 88px; font-weight: 760; line-height: .92; }
.showcase h1 > span, .showcase h1 em { display: block; }
.showcase h1 em { margin-top: 20px; color: var(--ink); font-size: 39px; font-style: normal; font-weight: 600; line-height: 1; }
.showcase h1 .brand-accent { display: inline; color: var(--red); }
.hero-lead { max-width: 440px; margin-bottom: 13px; font-size: 24px; font-weight: 720; line-height: 1.45; }
.hero-body { max-width: 450px; margin-bottom: 27px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.hero-source-link { font-size: 14px; }
.scene-intro { display: grid; grid-template-columns: 28px auto 1fr; gap: 10px; align-items: center; max-width: 320px; margin: 31px 0 0; padding-top: 14px; border-top: 1px solid var(--line-strong); font-size: 12px; }
.scene-intro span { color: var(--red); font: 11px/1 Arial, sans-serif; }
.scene-intro strong { font-size: 13px; }
.scene-intro small { justify-self: end; color: var(--muted); font-size: 12px; }
.showcase-story-copy .eyebrow { margin-bottom: 15px; }
.scene-number { margin: 0 0 4px; color: var(--red); font: 18px/1 Arial, sans-serif; }
.showcase-story-copy h2 { max-width: 500px; margin: 0 0 21px; font-size: 62px; font-weight: 760; line-height: 1.06; }
.showcase-story-copy > p:not(.eyebrow):not(.scene-number):not(.scene-fact) { max-width: 430px; margin-bottom: 21px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.scene-fact { display: inline-flex; margin: 0; padding-top: 13px; border-top: 2px solid var(--yellow); color: var(--ink); font-size: 12px; font-weight: 700; }

.device-stage { position: absolute; z-index: 5; top: 46%; right: -1%; width: min(56%, 700px); transform: translateY(-50%); animation: stage-enter .8s cubic-bezier(.22, .75, .22, 1) both; }
@keyframes stage-enter { from { opacity: .2; transform: translateY(calc(-50% + 26px)) scale(.97); } to { opacity: 1; transform: translateY(-50%) scale(1); } }
.stage-index { display: flex; align-items: center; gap: 15px; margin-bottom: 12px; color: var(--muted); font: 10px/1 Arial, sans-serif; }
.live-connection { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.live-connection i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); }
.live-connection b { font-weight: 600; }
.live-connection.is-live { color: var(--red); }
.live-connection.is-live i { background: var(--red); }
.stage-heading { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 10px; color: var(--muted); font: 10px/1.25 Arial, sans-serif; text-transform: uppercase; }
.stage-heading-label { color: var(--ink); font-weight: 700; }
.device-shell { position: relative; width: 100%; aspect-ratio: 1.39 / 1; padding: 7.3% 7.1% 9.4%; border: 1px solid #868b87; border-radius: 3px; background: #dfe1de; box-shadow: 0 25px 58px rgba(22, 23, 22, .16); transform: translate3d(var(--pointer-x), var(--pointer-y), 0) rotate(var(--pointer-rotate)); transition: transform .18s ease-out, box-shadow .3s ease; will-change: transform; }
.device-shell::before { position: absolute; inset: 4.2% 4.4% 6.2%; border: 1px solid #aaaeaa; border-radius: 2px; content: ""; pointer-events: none; }
.device-detail { position: absolute; top: 2.7%; color: #777c78; font: 8px/1 Arial, sans-serif; }
.device-detail-left { left: 7.1%; }
.device-detail-right { right: 7.1%; }
.device-screen { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border: 2px solid var(--ink); background: var(--white); }
.device-screen::after { position: absolute; z-index: 3; inset: 0; background: var(--white); content: ""; opacity: 0; pointer-events: none; }
.device-screen.is-refreshing::after { animation: eink-refresh .42s ease-out; }
@keyframes eink-refresh { 0%, 100% { opacity: 0; } 42% { opacity: .22; } }
.device-button { position: absolute; right: 3.5%; bottom: 2.4%; width: 4%; aspect-ratio: 1; border: 1px solid #8d928e; border-radius: 50%; background: #c4c7c4; }
.screen-canvas, .screen-text-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; }
.screen-canvas { z-index: 0; background: var(--white); image-rendering: pixelated; image-rendering: crisp-edges; }
.screen-text-canvas { z-index: 1; background: transparent; image-rendering: auto; pointer-events: none; }
.stage-status { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px; min-height: 54px; margin-top: 13px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.legend-palette { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.legend-item { display: inline-flex; align-items: center; gap: 7px; }
.legend-item b { font-weight: 600; white-space: nowrap; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; }
.dot-black { background: var(--ink); }.dot-red { background: var(--red); }.dot-yellow { background: var(--yellow); }
.panel-tag { display: grid; justify-items: end; gap: 2px; padding-left: 18px; border-left: 1px solid var(--line); }
.panel-tag small { color: var(--muted); font-size: 9px; }
.panel-tag strong { max-width: 180px; overflow: hidden; color: var(--ink); font: 600 11px/1.2 Arial, "Microsoft YaHei", sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.screen-switcher { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; width: min(100%, 500px); margin: 13px auto 0; border: 1px solid var(--ink); background: var(--paper-bright); }
.switcher-button { display: grid; grid-template-columns: auto auto; align-items: center; justify-content: center; gap: 7px; min-width: 0; min-height: 44px; padding: 0 11px; border: 0; border-right: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--muted); font-size: 13px; font-weight: 700; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.switcher-button:last-child { border-right: 0; }
.switcher-button span { font: 9px/1 Arial, sans-serif; }
.switcher-button:hover, .switcher-button:focus-visible, .switcher-button.is-active { background: var(--ink); color: var(--white); }
.live-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: min(100%, 500px); min-height: 42px; margin: 4px auto 0; color: var(--muted); font-size: 11px; }
.live-note { display: inline-flex; align-items: center; gap: 8px; min-width: 0; line-height: 1.4; }
.live-note::before { flex: 0 0 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); content: ""; }
.live-refresh { display: inline-grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; font-size: 18px; line-height: 1; }
.live-refresh:hover, .live-refresh:focus-visible { border-color: var(--ink); background: var(--white); }
.live-refresh:disabled { opacity: .45; cursor: wait; }
.showcase-next { position: absolute; z-index: 8; right: max(32px, calc((100% - var(--max)) / 2)); bottom: 0; left: max(32px, calc((100% - var(--max)) / 2)); display: grid; grid-template-columns: 80px 1fr auto; gap: 22px; align-items: center; min-height: 58px; border-top: 1px solid var(--line-strong); background: var(--paper); font-size: 12px; }
.showcase-next span { color: var(--red); font-size: 10px; }
.showcase-next strong { font-weight: 650; }
.showcase-next i { font-size: 18px; font-style: normal; transition: transform .2s ease; }
.showcase-next:hover i, .showcase-next:focus-visible i { transform: translateY(4px); }
.showcase-progress { position: absolute; z-index: 9; right: 0; bottom: 0; left: 0; height: 3px; background: var(--line); pointer-events: none; }
.showcase-progress i { display: block; width: 100%; height: 100%; background: var(--red); transform: scaleX(var(--showcase-progress)); transform-origin: left center; }
.showcase-track { position: absolute; inset: 0; display: grid; grid-template-rows: repeat(4, 1fr); pointer-events: none; }
.showcase-trigger { display: block; min-height: 1px; }

.section-intro { padding-top: 122px; padding-bottom: 76px; }
.section-intro-grid, .features-heading { display: grid; grid-template-columns: 1.35fr .65fr; gap: 100px; align-items: end; }
.section-intro h2, .features-heading h2, .color-heading h2, .project-intro h2, .closing-inner h2 { margin-bottom: 0; font-size: 64px; font-weight: 760; line-height: 1.08; }
.section-intro-grid > p { max-width: 400px; margin: 0 0 5px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.product-lanes { border-top: 1px solid var(--ink); }
.product-lane { border-bottom: 1px solid var(--ink); background: var(--paper-bright); transition: background-color .25s ease, color .25s ease; }
.product-lane-inner { display: grid; grid-template-columns: 75px 230px minmax(280px, 1fr) 320px; gap: 26px; align-items: center; min-height: 190px; }
.product-lane-index { color: var(--muted); font: 15px/1 Arial, sans-serif; }
.product-lane small, .product-spec-grid small, .mode-name small, .project-link small { display: block; color: var(--muted); font: 10px/1.2 Arial, sans-serif; }
.product-lane h3 { margin: 8px 0 0; font-size: 43px; line-height: 1; }
.product-lane p { max-width: 460px; margin: 0; font-size: 17px; line-height: 1.7; }
.product-lane-tags { justify-self: end; color: var(--muted); font-size: 12px; }
.product-lane-content { box-shadow: inset 7px 0 0 var(--yellow); }
.product-lane-connect { background: var(--paper-muted); box-shadow: inset 7px 0 0 var(--red); }
.product-lane-display { background: var(--ink); color: var(--white); box-shadow: inset 7px 0 0 var(--white); }
.product-lane-display small, .product-lane-display .product-lane-index, .product-lane-display .product-lane-tags { color: #aeb2ae; }
.product-spec-band { background: var(--paper-muted); }
.product-spec-grid { display: grid; grid-template-columns: repeat(4, 1fr) auto; align-items: stretch; }
.product-spec-grid > div { min-height: 108px; padding: 25px 23px 20px; border-right: 1px solid var(--line); }
.product-spec-grid > div:first-child { padding-left: 0; }
.product-spec-grid strong { display: block; margin-top: 8px; font-size: 17px; }
.product-spec-grid > a { display: inline-flex; align-items: center; gap: 13px; min-height: 108px; padding-left: 34px; color: var(--red); font-size: 13px; font-weight: 700; }
.product-spec-grid > a span { font-size: 18px; }

.features-section { padding-top: 126px; background: var(--paper-bright); }
.features-heading { margin-bottom: 70px; }
.features-heading > p { max-width: 390px; margin: 0 0 6px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.mode-directory { display: grid; grid-template-columns: repeat(2, 1fr); margin-bottom: 120px; padding: 0; border-top: 1px solid var(--ink); border-left: 1px solid var(--line); list-style: none; }
.mode-entry { --entry-accent: var(--ink); position: relative; display: grid; grid-template-columns: 45px 180px 1fr; gap: 20px; align-items: center; min-height: 166px; padding: 26px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-bright); transition: background-color .25s ease, color .25s ease; }
.mode-entry::before { position: absolute; top: 0; bottom: 0; left: 0; width: 5px; background: var(--entry-accent); content: ""; transform: scaleY(.18); transform-origin: top center; transition: transform .3s ease; }
.mode-entry:hover { background: var(--ink); color: var(--white); }
.mode-entry:hover::before { transform: scaleY(1); }
.mode-entry-yellow { --entry-accent: var(--yellow); }
.mode-entry-red { --entry-accent: var(--red); }
.mode-index { align-self: start; margin-top: 3px; color: var(--entry-accent); font: 11px/1 Arial, sans-serif; }
.mode-name h3 { margin: 8px 0 0; font-size: 32px; line-height: 1.1; transition: transform .25s ease; }
.mode-entry:hover .mode-name h3 { transform: translateX(5px); }
.mode-entry p { max-width: 250px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.mode-entry:hover p, .mode-entry:hover small { color: #b9bdb9; }
.tool-band { background: var(--ink); color: var(--white); }
.tool-band-head { display: flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 82px; border-bottom: 1px solid #4b4d4b; }
.tool-band-head span { color: var(--yellow); font: 10px/1 Arial, sans-serif; }
.tool-band-head strong { font-size: 16px; }
.tool-directory { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 auto; padding-top: 0; padding-bottom: 0; border-left: 1px solid #4b4d4b; list-style: none; }
.tool-directory li { position: relative; display: grid; grid-template-columns: 30px 1fr; gap: 13px; min-height: 180px; padding: 35px 27px; border-right: 1px solid #4b4d4b; }
.tool-directory li > span { color: var(--red); font: 10px/1 Arial, sans-serif; }
.tool-directory .tool-power > span { color: var(--yellow); }
.tool-directory strong, .tool-directory small { display: block; }
.tool-directory strong { margin-bottom: 13px; font-size: 22px; }
.tool-directory small { color: #aeb2ae; font-size: 12px; line-height: 1.65; }
.tool-board { grid-template-columns: 30px 1fr auto !important; }
.tool-board > a { align-self: end; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--yellow); font-size: 12px; font-weight: 700; }
.tool-board > a i { font-size: 17px; font-style: normal; }
.tool-band-footer { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 92px; border-top: 1px solid #4b4d4b; }
.tool-band-footer p { margin: 0; color: #aeb2ae; font-size: 12px; }
.text-link-light { color: var(--yellow); }

.color-section { padding-top: 126px; background: var(--paper); }
.color-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding-bottom: 70px; }
.color-heading .eyebrow { grid-column: 1 / -1; }
.color-heading > p:last-child { align-self: end; max-width: 390px; margin: 0 0 7px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.color-panels { display: grid; grid-template-columns: 1.15fr .92fr .93fr; }
.color-panel { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 470px; padding: 50px max(32px, calc((100vw - var(--max)) / 6)); border-top: 1px solid var(--ink); }
.color-panel > span { position: absolute; top: 34px; left: max(32px, calc((100vw - var(--max)) / 6)); font: 10px/1 Arial, sans-serif; }
.color-panel strong { font-size: 116px; line-height: .9; }
.color-panel p { margin: 24px 0 0; font-size: 16px; font-weight: 700; }
.color-panel small { margin-top: 8px; font: 10px/1.2 Arial, sans-serif; }
.color-panel-black { background: var(--ink); color: var(--white); }
.color-panel-red { background: var(--red); color: var(--white); }
.color-panel-yellow { background: var(--yellow); color: var(--ink); }
.color-panel-black > span, .color-panel-red > span { color: #d1d3d1; }

.project-section { padding: 145px 0; background: var(--paper-bright); }
.project-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 110px; }
.project-intro > p:last-child { max-width: 350px; margin: 28px 0 0; color: var(--muted); font-size: 14px; line-height: 1.85; }
.project-links { border-top: 1px solid var(--ink); }
.project-link { display: grid; grid-template-columns: 50px 1fr 28px; gap: 20px; align-items: center; min-height: 116px; padding: 15px 0; border-bottom: 1px solid var(--line); transition: padding .25s ease, color .25s ease, background-color .25s ease; }
.project-link > span { color: var(--red); font: 11px/1 Arial, sans-serif; }
.project-link strong { display: block; margin-top: 6px; font-size: 20px; }
.project-link p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.project-link > i { justify-self: end; font-size: 20px; font-style: normal; }
.project-link:hover, .project-link:focus-visible { padding-inline: 18px; background: var(--ink); color: var(--white); }
.project-link:hover small, .project-link:focus-visible small, .project-link:hover p, .project-link:focus-visible p { color: #b9bdb9; }

.closing-section { overflow: hidden; border-top: 1px solid var(--ink); background: var(--ink); color: var(--white); }
.closing-inner { position: relative; min-height: 600px; padding-top: 90px; padding-bottom: 90px; }
.closing-inner .eyebrow { color: #aeb2ae; }
.closing-wordmark { position: absolute; right: -30px; bottom: 20px; margin: 0; color: transparent; font: 800 178px/.8 Arial, sans-serif; -webkit-text-stroke: 1px #515451; pointer-events: none; user-select: none; }
.closing-wordmark span { -webkit-text-stroke-color: var(--red); }
.closing-inner h2 { position: relative; z-index: 1; max-width: 700px; margin-top: 130px; font-size: 76px; }
.closing-inner .button { position: absolute; z-index: 2; right: 0; bottom: 93px; }
.site-footer { border-top: 1px solid #4b4d4b; background: var(--ink); color: var(--white); }
.footer-main { display: flex; align-items: center; gap: 24px; min-height: 106px; }
.footer-brand { display: inline-flex; align-items: center; gap: 11px; }
.footer-mark { display: block; width: 26px; height: 26px; border: 2px solid var(--white); border-radius: 50%; }
.footer-mark::after { display: block; width: 8px; height: 8px; margin: 7px auto; border-radius: 50%; background: var(--yellow); content: ""; }
.footer-brand strong { font-size: 14px; }
.footer-main p { margin: 0; color: #aeb2ae; font-size: 13px; }
.site-stats { display: grid; grid-template-columns: repeat(2, minmax(108px, auto)); min-height: 52px; margin-left: auto; border-left: 1px solid #4b4d4b; border-right: 1px solid #4b4d4b; }
.site-stat { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-content: center; padding: 0 18px; }
.site-stat + .site-stat { border-left: 1px solid #4b4d4b; }
.site-stat small { grid-column: 1; color: #aeb2ae; font-size: 10px; line-height: 1.2; }
.site-stat strong { grid-column: 2; grid-row: 1; min-width: 3ch; color: var(--white); font: 700 18px/1 Arial, sans-serif; font-variant-numeric: tabular-nums; text-align: right; }
.site-stat-online { grid-template-columns: 7px 1fr auto; }
.site-stat-online i { grid-column: 1; align-self: center; width: 6px; height: 6px; border-radius: 50%; background: #6b6f6b; }
.site-stat-online small { grid-column: 2; }
.site-stat-online strong { grid-column: 3; }
.site-stats.is-live .site-stat-online i { background: var(--red); animation: stats-live 2.4s ease-in-out infinite; }
.site-stats.is-unavailable { opacity: .72; }
.footer-main > a { display: inline-flex; align-items: center; min-height: 44px; color: var(--yellow); font-size: 13px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 15px; padding-bottom: 24px; border-top: 1px solid #4b4d4b; color: #aeb2ae; font-size: 11px; }
.icp-link { color: inherit; text-decoration: underline; text-decoration-color: #6b6e6b; text-underline-offset: 3px; }
.icp-link:hover, .icp-link:focus-visible { color: var(--white); text-decoration-color: currentColor; }

@keyframes stats-live { 0%, 100% { opacity: .45; transform: scale(.82); } 50% { opacity: 1; transform: scale(1); } }

.reveal { opacity: 1; transform: none; }
.reveal.is-visible { animation: reveal-up .7s cubic-bezier(.22, .75, .22, 1) both; }
@keyframes reveal-up { from { opacity: .25; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (hover: hover) and (pointer: fine) {
  .device-stage:hover .device-shell { box-shadow: 0 34px 72px rgba(22, 23, 22, .2); }
}

@media (min-width: 901px) {
  .stage-index, .stage-heading { display: none; }
  .live-controls { position: absolute; right: 0; bottom: 0; width: 42px; min-height: 42px; margin: 0; }
  .live-note { display: none; }
}

@media (max-width: 1160px) {
  .showcase h1 { font-size: 76px; }
  .showcase h1 em { font-size: 35px; }
  .showcase-story-copy h2 { font-size: 54px; }
  .device-stage { right: 0; width: 58%; }
  .product-lane-inner { grid-template-columns: 60px 185px minmax(250px, 1fr) 250px; gap: 20px; }
  .mode-entry { grid-template-columns: 38px 150px 1fr; padding-inline: 22px; }
  .project-grid { gap: 70px; }
}

@media (max-width: 900px) {
  :root { --header-height: 72px; }
  .section-shell { width: min(calc(100% - 40px), var(--max)); }
  .site-header { padding-inline: 20px; }
  .showcase { height: auto; min-height: 0; }
  .showcase-sticky { position: relative; top: auto; height: auto; min-height: 0; overflow: hidden; padding-top: 48px; }
  .showcase-frame { display: grid; grid-template-columns: 1fr; grid-template-rows: auto auto; gap: 36px; height: auto; }
  .showcase-copy { position: relative; top: auto; left: auto; grid-area: 1 / 1; width: min(100%, 620px); min-height: 350px; transform: none; }
  .showcase-story-copy { transform: translateY(20px); }
  .showcase.is-story .showcase-brand-copy { transform: translateY(-20px); }
  .showcase.is-story .showcase-story-copy { transform: none; }
  .device-stage { position: relative; top: auto; right: auto; grid-area: 2 / 1; width: min(100%, 720px); margin-inline: auto; transform: none; animation-name: mobile-stage-enter; }
  @keyframes mobile-stage-enter { from { opacity: .2; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
  .showcase-backdrop { font-size: 108px; }
  .showcase-backdrop span:first-child { top: 4%; }
  .showcase-backdrop span:last-child { bottom: 29%; }
  .showcase-next { position: relative; right: auto; bottom: auto; left: auto; width: min(calc(100% - 40px), var(--max)); margin: 32px auto 0; }
  .showcase-progress, .showcase-track { display: none; }
  .section-intro-grid, .features-heading, .color-heading, .project-grid { grid-template-columns: 1fr; gap: 38px; }
  .section-intro-grid > p, .features-heading > p, .color-heading > p:last-child { max-width: 560px; }
  .product-lane-inner { grid-template-columns: 54px 180px 1fr; min-height: 170px; }
  .product-lane-tags { grid-column: 3; justify-self: start; }
  .product-spec-grid { grid-template-columns: repeat(2, 1fr); }
  .product-spec-grid > div:nth-child(2) { border-right: 0; }
  .product-spec-grid > div:nth-child(3), .product-spec-grid > div:nth-child(4) { border-top: 1px solid var(--line); }
  .product-spec-grid > a { grid-column: 1 / -1; min-height: 74px; padding-left: 0; border-top: 1px solid var(--line); }
  .mode-entry { grid-template-columns: 42px 175px 1fr; }
  .tool-directory { grid-template-columns: repeat(2, 1fr); }
  .tool-directory li:nth-child(3), .tool-directory li:nth-child(4) { border-top: 1px solid #4b4d4b; }
  .color-panels { grid-template-columns: 1fr; }
  .color-panel { min-height: 300px; padding: 42px 20px; }
  .color-panel > span { top: 28px; left: 20px; }
  .color-panel strong { font-size: 90px; }
  .project-intro > p:last-child { max-width: 480px; }
}

@media (max-width: 640px) {
  .section-shell { width: min(calc(100% - 32px), var(--max)); }
  .site-header { padding-inline: 16px; }
  .brand-logo { width: 76px; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 71px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; border: 1px solid var(--line); border-top: 0; background: var(--paper); box-shadow: 0 12px 24px rgba(22, 23, 22, .08); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav a::after { display: none; }
  .site-nav a:last-child, .site-nav .nav-link-strong { border-bottom: 0; }
  .showcase-sticky { padding-top: 32px; }
  .showcase-frame { gap: 18px; }
  .showcase-copy { min-height: 255px; }
  .showcase h1 { margin-bottom: 17px; font-size: 54px; line-height: .93; }
  .showcase h1 em { margin-top: 13px; font-size: 27px; }
  .hero-lead { margin-bottom: 17px; font-size: 19px; }
  .hero-body { display: none; }
  .hero-actions { gap: 18px; }
  .scene-intro { display: none; }
  .showcase-story-copy h2 { margin-bottom: 15px; font-size: 45px; }
  .showcase-story-copy > p:not(.eyebrow):not(.scene-number):not(.scene-fact) { margin-bottom: 15px; font-size: 14px; line-height: 1.7; }
  .scene-number { font-size: 14px; }
  .showcase-backdrop { font-size: 72px; }
  .stage-index { margin-bottom: 9px; }
  .stage-heading { display: none; }
  .device-shell { aspect-ratio: 1.36 / 1; padding: 7.5% 7.1% 9.5%; }
  .stage-status { display: flex; justify-content: flex-end; min-height: 36px; margin-top: 7px; }
  .stage-status .legend-palette { display: none; }
  .panel-tag { display: flex; align-items: center; gap: 8px; padding-left: 0; border-left: 0; }
  .screen-switcher { width: calc(100% - 54px); margin: 10px 54px 0 0; }
  .switcher-button { min-height: 46px; padding-inline: 4px; }
  .switcher-button span { display: none; }
  .live-controls { position: absolute; right: 0; bottom: 0; width: 44px; min-height: 44px; margin: 0; }
  .live-note { display: none; }
  .showcase-next { grid-template-columns: 55px 1fr auto; gap: 11px; width: calc(100% - 32px); min-height: 58px; margin-top: 8px; }
  .showcase-next strong { font-size: 11px; }
  .section-intro { padding-top: 84px; padding-bottom: 54px; }
  .section-intro h2, .features-heading h2, .color-heading h2, .project-intro h2, .closing-inner h2 { font-size: 42px; line-height: 1.12; }
  .section-intro-grid, .features-heading, .color-heading, .project-grid { gap: 27px; }
  .product-lane-inner { grid-template-columns: 38px 1fr; gap: 15px; min-height: 0; padding-top: 27px; padding-bottom: 27px; }
  .product-lane-inner > div { grid-column: 2; }
  .product-lane h3 { font-size: 34px; }
  .product-lane p, .product-lane-tags { grid-column: 2; }
  .product-lane p { font-size: 14px; }
  .product-lane-tags { justify-self: start; font-size: 11px; }
  .product-spec-grid > div { min-height: 90px; padding: 20px 14px; }
  .product-spec-grid > div:first-child { padding-left: 0; }
  .product-spec-grid strong { font-size: 15px; }
  .features-section { padding-top: 88px; }
  .features-heading { margin-bottom: 45px; }
  .mode-directory { grid-template-columns: 1fr; width: 100%; margin-bottom: 74px; border-left: 0; }
  .mode-entry { grid-template-columns: 34px 130px 1fr; gap: 12px; min-height: 126px; padding: 21px 16px; }
  .mode-name h3 { font-size: 25px; }
  .mode-entry p { font-size: 12px; }
  .tool-band-head { min-height: 70px; }
  .tool-directory { grid-template-columns: 1fr; border-left: 0; }
  .tool-directory li { min-height: 126px; padding: 25px 0; border-right: 0; border-top: 1px solid #4b4d4b; }
  .tool-directory li:first-child { border-top: 0; }
  .tool-board { grid-template-columns: 30px 1fr 62px !important; }
  .tool-band-footer { display: block; padding-top: 22px; padding-bottom: 22px; }
  .tool-band-footer p { margin-bottom: 12px; }
  .color-section { padding-top: 88px; }
  .color-heading { padding-bottom: 50px; }
  .color-panels { grid-template-columns: 1fr; }
  .color-panel { min-height: 245px; padding: 38px 16px; }
  .color-panel > span { top: 23px; left: 16px; }
  .color-panel strong { font-size: 72px; }
  .color-panel p { margin-top: 18px; font-size: 14px; }
  .project-section { padding: 88px 0; }
  .project-link { grid-template-columns: 32px 1fr 22px; gap: 10px; min-height: 102px; }
  .project-link strong { font-size: 17px; }
  .project-link p { font-size: 11px; }
  .closing-inner { min-height: 470px; padding-top: 64px; padding-bottom: 64px; }
  .closing-wordmark { right: -10px; bottom: 30px; font-size: 80px; }
  .closing-inner h2 { margin-top: 75px; font-size: 46px; }
  .closing-inner .button { right: auto; bottom: 66px; left: 16px; }
  .footer-main { display: grid; grid-template-columns: 1fr auto; gap: 5px 18px; min-height: 120px; }
  .footer-main p { grid-column: 1 / -1; }
  .footer-main > a { grid-column: 2; grid-row: 1; justify-self: end; margin-left: 0; }
  .site-stats { grid-column: 1 / -1; grid-row: 3; width: 100%; min-height: 58px; margin: 13px 0 18px; border-top: 1px solid #4b4d4b; border-bottom: 1px solid #4b4d4b; }
  .site-stat { padding-inline: 14px; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-bottom: 5px; }
}

@media (max-width: 380px) {
  .showcase-copy { min-height: 248px; }
  .showcase h1 { font-size: 50px; }
  .showcase h1 em { font-size: 25px; }
  .hero-lead { font-size: 18px; }
  .button { padding-inline: 17px; }
  .mode-entry { grid-template-columns: 30px 112px 1fr; padding-inline: 12px; }
  .mode-name h3 { font-size: 23px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-stats.is-live .site-stat-online i { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal, .reveal.is-visible { opacity: 1; transform: none; animation: none; }
  .device-stage { animation: none; }
  .device-shell { transform: none !important; }
  .device-screen.is-refreshing::after { animation: none; }
}

@media (min-width: 901px) and (prefers-reduced-motion: reduce) {
  .showcase { height: calc(100svh - var(--header-height)); min-height: 640px; }
  .showcase-sticky { position: relative; top: auto; height: 100%; min-height: 640px; }
  .showcase-track, .showcase-progress { display: none; }
}
