/* ===== CSS Custom Properties ===== */
:root {
  --bg: #07090d;
  --bg-soft: #0c1015;
  --panel: #10151b;
  --line: rgba(255, 255, 255, .12);
  --line-bright: rgba(255, 255, 255, .24);
  --text: #f3f6f7;
  --muted: #929ca6;
  --accent: #19e0ca;
  --signal: #ff5b3d;
  --white: #ffffff;
  --content: 1240px;
}

/* ===== Reset & Base ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #f5f5f7;
  color: #1d1d1f;
  font-family: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ===== Skip Link ===== */
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 12px 18px; background: var(--white); color: #000; }
.skip-link:focus { top: 12px; }

/* ===== Header ===== */
.site-header {
  height: 52px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 max(22px, calc((100% - var(--content)) / 2));
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: rgba(7,9,13,.78);
  backdrop-filter: blur(18px);
  position: fixed;
  z-index: 30;
  top: 0;
}
.brand { display: flex; align-items: center; gap: 11px; width: max-content; }
.brand img { width: 30px; height: 30px; border-radius: 50%; filter: grayscale(1) contrast(1.1); }
.brand-copy { display: flex; flex-direction: column; gap: 2px; }
.brand-copy strong { color: #f5f5f7; font-size: 13px; font-weight: 700; }
.brand-copy small { display: none; }
.site-nav { display: flex; height: 100%; align-items: center; gap: 30px; }
.site-nav a { color: #d2d2d7; font-size: 11px; position: relative; }
.site-nav a::after { content: ""; height: 1px; width: 0; background: var(--accent); position: absolute; left: 0; bottom: -9px; transition: width .25s; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { width: 100%; }
.header-cta {
  justify-self: end;
  color: #001512;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 18px;
  padding: 7px 14px;
  font-size: 12px;
  transition: background .2s, color .2s;
}
.header-cta:hover { background: #70f7e9; color: #001512; }
.menu-toggle { display: none; }

/* ===== Hero ===== */
.hero {
  position: relative;
  height: min(920px, 100svh);
  min-height: 720px;
  overflow: hidden;
  color: #f5f5f7;
}
#cabin-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,9,13,.98) 0%, rgba(7,9,13,.7) 35%, rgba(7,9,13,.03) 67%, rgba(7,9,13,.56) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(920px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: 116px;
  text-align: center;
}
.hero-kicker { margin: 0 0 12px; font-size: 10px; font-weight: 700; color: #8a949d; }
h1 { margin: 0; font-size: 23px; line-height: 1.2; font-weight: 600; }
.hero-statement { margin: 16px 0 0; font-size: 76px; line-height: 1.08; font-weight: 650; }
.hero-lead { max-width: none; margin: 22px 0 25px; color: #aeb6bd; font-size: 18px; line-height: 1.5; }
.hero-actions { display: flex; gap: 12px; align-items: center; justify-content: center; }
.hero .button { min-height: 42px; border-radius: 22px; padding: 0 20px; }
.text-link { color: #5ddfd2; font-size: 14px; padding: 11px 4px; }
.text-link:hover { text-decoration: underline; }
.text-link span { font-size: 20px; line-height: 0; margin-left: 3px; }
.hero-status {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  width: min(620px, calc(100% - 48px));
  display: flex;
  justify-content: center;
}
.hero-status > div {
  width: 33.33%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 0 12px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.16);
}
.hero-status > div:last-child { border-right: 0; }
.hero-status strong { font-size: 15px; font-weight: 600; }
.hero-status span { font-size: 10px; color: #868f97; }
.scene-label {
  position: absolute;
  z-index: 2;
  right: 26px;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  font-size: 9px;
  color: var(--muted);
}
.scene-label span:last-child { color: var(--accent); font-size: 11px; }

/* ===== Shared Section Components ===== */
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: #a5afb8; font-size: 10px; font-weight: 700; }
.eyebrow span { display: inline-block; width: 24px; height: 1px; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
h1, h2, h3, p { letter-spacing: 0; }
.band { background-color: var(--bg-soft); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .65fr); gap: 80px; align-items: end; margin-bottom: 68px; }
.section-heading h2, .cockpit-copy h2, .closing h2 { margin: 0; font-size: 42px; line-height: 1.25; font-weight: 570; }
.section-heading > p { margin: 0 0 3px; color: var(--muted); font-size: 14px; line-height: 1.8; }

/* ===== Buttons ===== */
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 28px; padding: 0 20px; border: 1px solid var(--line-bright); font-size: 13px; font-weight: 600; transition: transform .2s, background .2s, color .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #001513; background: var(--accent); border-color: var(--accent); }
.button-primary:hover { background: #6ff5e7; border-color: #6ff5e7; }
.button-quiet:hover { background: rgba(255,255,255,.08); }

/* ===== Control Deck ===== */
.control-deck { display: grid; grid-template-columns: 2fr 1fr .9fr .9fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.control-group { min-width: 0; padding: 25px 24px; border-right: 1px solid var(--line); }
.control-group:first-child { padding-left: 0; }
.control-group:last-child { border-right: 0; padding-right: 0; }
.control-label { min-height: 17px; display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; font-weight: 700; margin-bottom: 18px; }
.control-label output { color: var(--text); font-variant-numeric: tabular-nums; }
.segmented { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.segmented button { min-height: 40px; padding: 0 10px; color: var(--muted); background: transparent; border: 0; border-right: 1px solid var(--line); font-size: 11px; cursor: pointer; }
.segmented button:last-child { border-right: 0; }
.segmented button.active { background: var(--text); color: #090b0f; }
.swatches { display: flex; gap: 14px; align-items: center; height: 40px; }
.swatch { width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; background: var(--swatch); cursor: pointer; position: relative; }
.swatch::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid transparent; }
.swatch.active::after { border-color: var(--white); }
input[type="range"] { width: 100%; height: 16px; appearance: none; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--accent) var(--range, 70%), rgba(255,255,255,.18) var(--range, 70%)); }
input[type="range"]::-webkit-slider-thumb { appearance: none; width: 12px; height: 12px; margin-top: -5px; border: 2px solid var(--bg-soft); border-radius: 50%; background: var(--white); box-shadow: 0 0 0 1px var(--white); }
input[type="range"]::-moz-range-track { height: 2px; background: rgba(255,255,255,.18); }
input[type="range"]::-moz-range-progress { height: 2px; background: var(--accent); }
input[type="range"]::-moz-range-thumb { width: 10px; height: 10px; border: 2px solid var(--bg-soft); border-radius: 50%; background: var(--white); }

/* ===== Feature Icons (CSS Art) ===== */
.feature-icon { width: 46px; height: 46px; margin: 52px 0 28px; position: relative; color: var(--accent); }
.signal-icon { display: flex; gap: 5px; align-items: flex-end; }
.signal-icon i { display: block; width: 4px; background: currentColor; box-shadow: 0 0 10px currentColor; }
.signal-icon i:nth-child(1) { height: 14px; } .signal-icon i:nth-child(2) { height: 26px; } .signal-icon i:nth-child(3) { height: 38px; }
.audio-icon { display: flex; align-items: center; gap: 4px; }
.audio-icon i { display: block; width: 3px; height: 15px; background: currentColor; animation: equalize 1.1s ease-in-out infinite alternate; }
.audio-icon i:nth-child(2) { animation-delay: -.7s; } .audio-icon i:nth-child(3) { animation-delay: -.3s; } .audio-icon i:nth-child(4) { animation-delay: -.9s; } .audio-icon i:nth-child(5) { animation-delay: -.45s; }
@keyframes equalize { to { height: 42px; } }
.voice-icon { border: 1px solid currentColor; border-radius: 24px 24px 18px 18px; width: 25px; height: 36px; margin-left: 8px; }
.voice-icon i { position: absolute; width: 39px; height: 22px; border: 1px solid currentColor; border-top: 0; border-radius: 0 0 25px 25px; left: -8px; top: 22px; }
.link-icon i { position: absolute; width: 27px; height: 14px; border: 1px solid currentColor; border-radius: 12px; transform: rotate(-38deg); }
.link-icon i:first-child { left: 0; top: 8px; } .link-icon i:last-child { left: 17px; top: 23px; }
.wireless-icon i { position: absolute; border: 1px solid currentColor; border-bottom: 0; border-left-color: transparent; border-right-color: transparent; border-radius: 50% 50% 0 0; left: 50%; transform: translateX(-50%); bottom: 8px; }
.wireless-icon i:nth-child(1) { width: 42px; height: 35px; } .wireless-icon i:nth-child(2) { width: 27px; height: 23px; } .wireless-icon i:nth-child(3) { width: 7px; height: 7px; border: 0; border-radius: 50%; background: currentColor; }
.update-icon { border: 1px solid currentColor; border-radius: 50%; }
.update-icon i::before { content: ""; position: absolute; width: 12px; height: 12px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); left: 16px; top: 13px; }
.update-icon i::after { content: ""; position: absolute; width: 2px; height: 24px; background: currentColor; left: 22px; top: 8px; }

/* ===== System Flow ===== */
.system-flow { display: grid; grid-template-columns: 1fr 90px 1fr 90px 1fr 90px 1fr; align-items: stretch; margin-top: 10px; }
.flow-node { min-height: 190px; border: 1px solid var(--line); padding: 22px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; }
.flow-node::before { content: ""; width: 5px; height: 5px; background: #68727d; position: absolute; top: 19px; right: 19px; }
.flow-node.focus { border-color: rgba(25,224,202,.48); background: rgba(25,224,202,.035); }
.flow-node.focus::before { background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.node-id { position: absolute; left: 22px; top: 19px; color: #67717b; font-size: 9px; }
.flow-node strong { font-size: 19px; font-weight: 550; margin-bottom: 9px; }
.flow-node small { color: var(--muted); font-size: 9px; }
.flow-link { display: flex; align-items: center; position: relative; color: var(--muted); }
.flow-link::before { content: ""; width: 100%; height: 1px; background: var(--line-bright); }
.flow-link::after { content: ""; width: 5px; height: 5px; border-top: 1px solid var(--muted); border-right: 1px solid var(--muted); transform: rotate(45deg); position: absolute; right: 1px; }
.flow-link i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); position: absolute; animation: packet 2.6s linear infinite; }
.flow-link:nth-child(4) i { animation-delay: -.8s; } .flow-link:nth-child(6) i { animation-delay: -1.6s; }
.flow-link span { position: absolute; width: 100%; text-align: center; top: calc(50% + 14px); font-size: 8px; }
@keyframes packet { from { left: 0; } to { left: calc(100% - 7px); } }
.architecture-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }
.architecture-notes p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.75; }
.architecture-notes span { display: block; color: var(--text); font-size: 11px; margin-bottom: 7px; }

/* ===== Cockpit & App Display ===== */
.cockpit-list { margin: 0; }
.cockpit-list div { display: grid; grid-template-columns: 58px 1fr; gap: 20px; border-top: 1px solid var(--line); padding: 16px 0; }
.cockpit-list div:last-child { border-bottom: 1px solid var(--line); }
.cockpit-list dt { font-size: 12px; color: var(--accent); }
.cockpit-list dd { margin: 0; color: #c1c8cd; font-size: 12px; }

.app-display {
  min-height: 480px;
  border: 1px solid #28313a;
  background: #0b0f14;
  box-shadow: 0 30px 90px rgba(0,0,0,.48);
  overflow: hidden;
}
.app-topbar { height: 44px; border-bottom: 1px solid var(--line); padding: 0 16px; display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 9px; }
.app-topbar > div { display: flex; align-items: center; gap: 8px; color: #c6ced4; }
.status-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.app-topbar > span { color: var(--accent); }
.app-body { min-height: 435px; display: grid; grid-template-columns: 58px 1fr; }
.app-sidebar { border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 17px; }
.app-mark { color: var(--white); font-size: 9px; margin-bottom: 23px; }
.app-sidebar button { width: 34px; height: 34px; border: 0; background: transparent; position: relative; cursor: pointer; }
.app-sidebar button.active { background: rgba(25,224,202,.12); }
.app-sidebar button i { display: block; width: 13px; height: 13px; border: 1px solid #69747e; margin: auto; transform: rotate(45deg); }
.app-sidebar button.active i { border-color: var(--accent); box-shadow: 0 0 9px rgba(25,224,202,.4); }
.app-main { padding: 25px 28px; }
.app-title { display: flex; justify-content: space-between; align-items: center; }
.app-title > div { display: flex; flex-direction: column; gap: 4px; }
.app-title small { color: var(--muted); font-size: 8px; }
.app-title strong { font-size: 17px; font-weight: 550; }
.app-title button { border: 1px solid rgba(25,224,202,.45); color: var(--accent); background: rgba(25,224,202,.06); padding: 8px 13px; font-size: 9px; }
.strip-map { height: 245px; border-bottom: 1px solid var(--line); margin-top: 6px; position: relative; }
.mini-car { width: 74%; height: 190px; position: absolute; left: 13%; top: 24px; border: 1px solid #303943; border-radius: 46% 46% 27% 27%; }
.mini-car::before { content: ""; position: absolute; inset: 17px 31px 35px; border: 1px solid #222b33; border-radius: 43%; }
.mini-car::after { content: ""; position: absolute; left: 50%; top: 10%; width: 1px; height: 80%; background: #202830; }
.mini-car > i { position: absolute; width: 66px; height: 45px; border: 1px solid #39434d; border-radius: 50%; left: calc(50% - 33px); bottom: 45px; }
.mini-line { position: absolute; display: block; height: 9px; background: rgba(25,224,202,.38); filter: blur(4px); box-shadow: 0 0 14px rgba(25,224,202,.55); animation: miniPulse 2s ease-in-out infinite alternate; }
.mini-line.l1 { left: 11%; top: 53%; width: 28%; transform: rotate(78deg); }
.mini-line.l2 { right: 11%; top: 53%; width: 28%; transform: rotate(-78deg); }
.mini-line.l3 { left: 25%; top: 29%; width: 20%; transform: rotate(15deg); }
.mini-line.l4 { right: 25%; top: 29%; width: 20%; transform: rotate(-15deg); }
@keyframes miniPulse { to { filter: hue-rotate(130deg); opacity: .55; } }
.strip-legend { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 26px; color: var(--muted); font-size: 8px; }
.strip-legend span { display: flex; align-items: center; gap: 6px; }
.strip-legend i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.app-controls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding-top: 22px; }
.app-controls > div { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.app-controls small { color: var(--muted); font-size: 8px; }
.app-controls b { font-size: 9px; font-weight: 500; }
.app-controls span { grid-column: 1 / -1; display: block; height: 2px; background: linear-gradient(90deg, var(--accent) var(--fill), #28313a var(--fill)); }
.app-controls .hue-bar { background: linear-gradient(90deg, #ef4b4b, #f0d44a, #42dd7d, #39bce4, #6e5be7, #e346b5, #ef4b4b); }

/* ===== Highlights Section ===== */
.highlights {
  padding: 128px 0 138px;
  overflow: hidden;
  background: #f5f5f7;
}
.highlight-heading {
  width: min(var(--content), calc(100% - 80px));
  margin: 0 auto 48px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.highlight-heading h2 { margin: 0; font-size: 50px; line-height: 1.1; font-weight: 650; color: #1d1d1f; }
.gallery-actions { display: flex; gap: 10px; }
.gallery-actions button {
  width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%;
  background: #dedee2; color: #303034; font-size: 20px; cursor: pointer;
  transition: background .2s, transform .2s;
}
.gallery-actions button:hover { background: #c9c9ce; transform: scale(1.04); }
.highlight-track {
  display: flex; gap: 20px; overflow-x: auto;
  overscroll-behavior-inline: contain; scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0 max(40px, calc((100% - var(--content)) / 2)) 16px;
}
.highlight-track::-webkit-scrollbar { display: none; }
.highlight-card {
  position: relative; flex: 0 0 min(74vw, 820px); height: 550px;
  overflow: hidden; scroll-snap-align: center; border-radius: 8px;
  color: #f5f5f7; background: #090b0f;
}
.highlight-copy { position: relative; z-index: 3; padding: 40px 42px; }
.highlight-copy small { color: rgba(255,255,255,.58); font-size: 10px; font-weight: 700; }
.highlight-copy h3 { margin: 12px 0 0; font-size: 30px; line-height: 1.25; font-weight: 600; }
.music-stage { position: absolute; inset: auto 10% 0; height: 58%; display: flex; align-items: flex-end; justify-content: center; gap: 18px; }
.music-stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(255,255,255,.2); }
.music-stage i { width: 5%; min-width: 18px; height: 35%; background: #18e0ca; box-shadow: 0 0 24px rgba(24,224,202,.45); animation: highlightBeat 1.5s ease-in-out infinite alternate; }
.music-stage i:nth-child(2), .music-stage i:nth-child(6) { height: 58%; animation-delay: -.7s; background: #20bff0; }
.music-stage i:nth-child(3), .music-stage i:nth-child(5) { height: 82%; animation-delay: -.25s; background: #715cff; }
.music-stage i:nth-child(4) { height: 100%; animation-delay: -.95s; background: #df4fbc; }
@keyframes highlightBeat { to { height: 14%; opacity: .45; } }
.highlight-aware { background: #e9eaed; color: #16171a; }
.highlight-aware .highlight-copy small { color: #777980; }
.aware-stage { position: absolute; left: 8%; right: 8%; bottom: 8%; height: 58%; border: 2px solid #b6bac0; border-radius: 48% 48% 24% 24%; }
.aware-stage::before { content: ""; position: absolute; inset: 15% 24% 24%; border: 1px solid #c4c7cc; border-radius: 46%; }
.aware-stage span { position: absolute; height: 16px; background: rgba(255,81,59,.45); filter: blur(7px); box-shadow: 0 0 24px rgba(255,81,59,.55); }
.aware-stage span:nth-child(1) { width: 30%; left: 7%; top: 52%; transform: rotate(78deg); }
.aware-stage span:nth-child(2) { width: 30%; right: 7%; top: 52%; transform: rotate(-78deg); }
.aware-stage span:nth-child(3) { width: 40%; left: 30%; top: 18%; background: rgba(27,170,241,.42); box-shadow: 0 0 24px rgba(27,170,241,.55); }
.highlight-voice { background: #0e1718; }
.voice-stage { position: absolute; left: 50%; bottom: 14%; width: 270px; height: 270px; transform: translateX(-50%); display: grid; place-items: center; }
.voice-stage span { width: 48px; height: 48px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 55px rgba(25,224,202,.8); }
.voice-stage i { position: absolute; border: 1px solid rgba(25,224,202,.38); border-radius: 50%; animation: voiceWave 2.8s ease-out infinite; }
.voice-stage i:nth-of-type(1) { width: 110px; height: 110px; }
.voice-stage i:nth-of-type(2) { width: 180px; height: 180px; animation-delay: -.9s; }
.voice-stage i:nth-of-type(3) { width: 250px; height: 250px; animation-delay: -1.8s; }
@keyframes voiceWave { 0% { transform: scale(.7); opacity: 0; } 40% { opacity: 1; } 100% { transform: scale(1.1); opacity: 0; } }
.highlight-create { color: #17171a; background: #f0f0f2; }
.highlight-create .highlight-copy small { color: #777980; }
.create-stage { position: absolute; left: 9%; right: 9%; bottom: 14%; height: 50%; display: flex; gap: 14px; align-items: stretch; }
.create-stage span { flex: 1; border-radius: 5px; background: #14d9be; }
.create-stage span:nth-child(2) { background: #1c9be8; transform: translateY(-18px); }
.create-stage span:nth-child(3) { background: #725af2; transform: translateY(-36px); }
.create-stage span:nth-child(4) { background: #e248b3; transform: translateY(-18px); }
.create-stage span:nth-child(5) { background: #ff5340; }

/* ===== Experience Section ===== */
.experience {
  padding: 138px max(40px, calc((100% - var(--content)) / 2));
  color: #f5f5f7;
  background: #080a0e;
}
.experience .section-heading { align-items: start; }
.experience .section-heading h2 { font-size: 54px; }
.experience .section-heading > p { color: #929ca6; padding-top: 42px; }
.experience .control-deck {
  background: #0f1318;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  overflow: hidden;
}
.experience .control-group,
.experience .control-group:first-child,
.experience .control-group:last-child { padding: 28px 24px; }

/* ===== Capabilities Section ===== */
.capabilities {
  padding: 138px max(40px, calc((100% - var(--content)) / 2));
  color: #1d1d1f;
  background: #fff;
}
.capabilities .eyebrow { color: #6e6e73; }
.capabilities .section-heading { grid-template-columns: 1.25fr .55fr; align-items: end; }
.capabilities .section-heading h2 { font-size: 54px; }
.capabilities .feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; border: 0; }
.capabilities .feature {
  min-height: 360px;
  padding: 34px;
  border: 0;
  border-radius: 8px;
  background: #f5f5f7;
  overflow: hidden;
  position: relative;
  transition: background .25s;
}
.capabilities .feature:hover { background: #eeeeF1; }
.capabilities .feature-index { color: #86868b; font-size: 10px; }
.capabilities .feature-icon { margin: 62px 0 35px; color: #00796e; }
.capabilities .feature h3 { margin: 0 0 14px; font-size: 22px; font-weight: 550; }
.capabilities .feature p { max-width: 330px; color: #6e6e73; font-size: 14px; line-height: 1.8; }

/* ===== Architecture Section ===== */
.architecture {
  padding: 140px max(40px, calc((100% - var(--content)) / 2));
  color: #f5f5f7;
  background: #111315;
}
.architecture .section-heading h2 { font-size: 54px; }
.architecture .flow-node { border-color: rgba(255,255,255,.14); background: transparent; }
.architecture .flow-node.focus { background: rgba(25,224,202,.04); }

/* ===== Cockpit Section ===== */
.cockpit {
  width: min(var(--content), calc(100% - 80px));
  min-height: 920px;
  margin: 0 auto;
  padding: 150px 0;
  display: grid;
  grid-template-columns: .8fr 1.35fr;
  gap: 90px;
  align-items: center;
  color: #1d1d1f;
  background: #f5f5f7;
}
.cockpit-copy h2 { font-size: 50px; }
.cockpit-copy > p:not(.eyebrow) { color: #6e6e73; font-size: 14px; line-height: 1.85; margin: 24px 0 36px; }
.cockpit-copy .cockpit-list dd { color: #6e6e73; }
.cockpit-copy .cockpit-list div { border-color: rgba(0,0,0,.12); }
.app-display { transform: perspective(1200px) rotateY(-2deg); }

/* ===== Project / Scenes Section ===== */
.project {
  padding: 140px max(40px, calc((100% - var(--content)) / 2));
  color: #1d1d1f;
  background: #fff;
}
.project .eyebrow { color: #6e6e73; }
.project .section-heading h2 { font-size: 54px; }
.project .project-modules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; border: 0; }
.project .module {
  min-height: 330px;
  padding: 36px;
  border: 0;
  border-radius: 8px;
  background: #f5f5f7;
}
.project .module > span { color: var(--accent); font-size: 9px; }
.project .module h3 { margin: 72px 0 12px; font-size: 27px; font-weight: 530; }
.project .module p { max-width: 470px; color: #6e6e73; font-size: 14px; line-height: 1.75; }
.project .module small { display: block; color: #86868b; font-size: 9px; margin-top: 26px; }

/* ===== Closing Section ===== */
.closing {
  height: 560px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
  color: #f5f5f7;
}
#closing-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.closing-content { position: relative; z-index: 2; }
.closing-content > p { margin: 0 0 18px; color: var(--accent); font-size: 9px; }
.closing h2 { font-size: 56px; margin-bottom: 34px; }

/* ===== Footer ===== */
footer {
  width: min(var(--content), calc(100% - 80px));
  min-height: 120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 50px;
  color: #6e6e73;
  font-size: 9px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { width: 34px; height: 34px; border-radius: 50%; filter: grayscale(1); }
.footer-brand div { display: flex; flex-direction: column; gap: 4px; }
.footer-brand strong { color: #1d1d1f; font-size: 11px; }
.footer-brand small { font-size: 7px; }
.footer-info { display: flex; flex-direction: column; gap: 2px; text-align: right; }
.footer-info p { margin: 0; }
.footer-contact { color: #1d1d1f; }
.footer-icp a { color: #6e6e73; text-decoration: none; }
.footer-icp a:hover { color: #1d1d1f; }

/* ===== Reveal & Motion Animations ===== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.music-stage i,
.voice-stage i,
.audio-icon i,
.flow-link i,
.mini-line { animation-play-state: paused; }
.motion-active .music-stage i,
.motion-active .voice-stage i,
.motion-active .audio-icon i,
.motion-active .flow-link i,
.motion-active .mini-line { animation-play-state: running; }

/* ===== Media Queries ===== */
@media (max-width: 1060px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav { top: 52px; }
  .hero-statement { font-size: 64px; }
  .highlight-card { flex-basis: 78vw; height: 500px; }
  .capabilities .section-heading { grid-template-columns: 1fr; }

  .site-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; height: auto; padding: 24px; background: #090c10; border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; gap: 22px; }
  .site-nav.open { display: flex; }
  .header-cta { display: none; }
  .menu-toggle { justify-self: end; display: flex; width: 38px; height: 38px; padding: 0; background: transparent; border: 1px solid var(--line); flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
  .menu-toggle span { width: 16px; height: 1px; background: var(--text); transition: transform .2s; }
  .menu-toggle.open span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle.open span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .control-deck { grid-template-columns: 1fr 1fr; }
  .control-group, .control-group:first-child, .control-group:last-child { padding: 23px; border-bottom: 1px solid var(--line); }
  .control-group:nth-child(2) { border-right: 0; }
  .capabilities .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .system-flow { grid-template-columns: 1fr 58px 1fr; row-gap: 28px; }
  .flow-link:nth-of-type(4) { display: none; }
  .flow-node:nth-of-type(5) { grid-column: 1; grid-row: 2; }
  .flow-link:nth-of-type(6) { grid-column: 2; grid-row: 2; }
  .flow-node:nth-of-type(7) { grid-column: 3; grid-row: 2; }
  .cockpit { grid-template-columns: 1fr; gap: 55px; }
}

@media (max-width: 720px) {
  .site-header { height: 48px; padding: 0 16px; }
  .site-nav { top: 48px; }
  .brand img { width: 34px; height: 34px; }
  .hero { height: 94svh; min-height: 690px; }
  .hero-content { width: calc(100% - 32px); padding-top: 96px; }
  .hero-kicker { font-size: 9px; }
  h1 { font-size: 18px; }
  .hero-statement { margin-top: 13px; font-size: 46px; }
  .hero-lead { margin-top: 16px; font-size: 15px; }
  .hero-actions { flex-direction: row; width: auto; align-items: center; }
  .hero-status { width: calc(100% - 24px); bottom: 22px; }
  .hero-status strong { font-size: 12px; }
  .hero-status span { display: none; }
  .scene-label { display: none; }

  .highlights { padding: 90px 0 96px; }
  .highlight-heading { width: calc(100% - 36px); margin-bottom: 32px; }
  .highlight-heading h2 { font-size: 36px; }
  .gallery-actions button { width: 34px; height: 34px; }
  .highlight-track { padding-left: 18px; padding-right: 18px; gap: 12px; }
  .highlight-card { flex-basis: calc(100vw - 48px); height: 480px; }
  .highlight-copy { padding: 28px 26px; }
  .highlight-copy h3 { font-size: 24px; }

  .experience, .capabilities, .architecture, .project { padding: 82px 18px; }
  .experience .section-heading h2,
  .capabilities .section-heading h2,
  .architecture .section-heading h2,
  .project .section-heading h2 { font-size: 36px; }

  .section-heading { grid-template-columns: 1fr; gap: 24px; margin-bottom: 44px; }
  .section-heading h2, .cockpit-copy h2, .closing h2 { font-size: 32px; }
  .experience .section-heading > p { padding-top: 0; }
  .experience .control-deck { border-radius: 6px; }
  .control-deck { grid-template-columns: 1fr; }
  .control-group, .control-group:first-child, .control-group:last-child { padding: 22px 0; border-right: 0; }
  .segmented { grid-template-columns: repeat(2, 1fr); }
  .segmented button:nth-child(2) { border-right: 0; }
  .segmented button:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

  .capabilities .feature-grid { grid-template-columns: 1fr; }
  .capabilities .feature { min-height: 270px; padding: 25px; }
  .feature-icon { margin-top: 38px; }

  .system-flow { grid-template-columns: 1fr; gap: 0; }
  .flow-node, .flow-node:nth-of-type(5), .flow-node:nth-of-type(7) { grid-column: 1; grid-row: auto; min-height: 145px; }
  .flow-link, .flow-link:nth-of-type(4), .flow-link:nth-of-type(6) { display: flex; grid-column: 1; grid-row: auto; height: 56px; width: 1px; margin-left: 50%; }
  .flow-link::before { width: 1px; height: 100%; }
  .flow-link::after { right: -2px; bottom: 0; top: auto; transform: rotate(135deg); }
  .flow-link i { animation: packetVertical 2.6s linear infinite; }
  .flow-link span { left: 14px; top: 22px; width: 100px; text-align: left; }
  @keyframes packetVertical { from { top: 0; left: -3px; } to { top: calc(100% - 7px); left: -3px; } }
  .architecture-notes { grid-template-columns: 1fr; gap: 22px; }

  .cockpit { width: calc(100% - 36px); min-height: auto; padding: 96px 0; }
  .cockpit-copy h2 { font-size: 36px; }
  .app-display { min-height: 410px; transform: none; }
  .app-body { grid-template-columns: 44px 1fr; min-height: 366px; }
  .app-sidebar { overflow: hidden; }
  .app-main { padding: 20px 14px; }
  .strip-map { height: 210px; }
  .mini-car { width: 88%; left: 6%; height: 165px; }
  .app-controls { gap: 12px; }

  .project .project-modules { grid-template-columns: 1fr; }
  .project .module { min-height: 220px; padding: 25px; }
  .project .module h3 { margin-top: 44px; }

  .closing { height: 400px; }
  .closing h2 { font-size: 38px; }

  footer { width: calc(100% - 36px); padding: 32px 0; grid-template-columns: 1fr; gap: 16px; }
  .footer-info { text-align: center; }
}

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