:root {
  color-scheme: dark;
  --bg: #05070b;
  --bg-deep: #020306;
  --ink: #effff8;
  --muted: #8c9c98;
  --faint: #5f6c67;
  --accent: #c7ff4a;
  --accent-rgb: 199, 255, 74;
  --accent-two: #58f4dc;
  --accent-two-rgb: 88, 244, 220;
  --surface: rgba(8, 13, 18, 0.68);
  --surface-strong: rgba(10, 16, 22, 0.9);
  --line: rgba(209, 255, 230, 0.16);
  --line-strong: rgba(199, 255, 74, 0.45);
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --pointer-x: 0;
  --pointer-y: 0;
  --sans: Inter, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", "Roboto Mono", "Liberation Mono", Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #edf3ff;
  --bg-deep: #fbfdff;
  --ink: #10172c;
  --muted: #626c84;
  --faint: #8992a8;
  --accent: #5557ee;
  --accent-rgb: 85, 87, 238;
  --accent-two: #00b7d5;
  --accent-two-rgb: 0, 183, 213;
  --surface: rgba(255, 255, 255, 0.54);
  --surface-strong: rgba(255, 255, 255, 0.8);
  --line: rgba(48, 57, 91, 0.13);
  --line-strong: rgba(85, 87, 238, 0.35);
  --shadow: 0 34px 100px rgba(65, 79, 138, 0.19);
  --radius: 32px;
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 4%, rgba(var(--accent-two-rgb), 0.08), transparent 27rem),
    linear-gradient(150deg, var(--bg-deep), var(--bg));
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  transition: color 0.6s var(--ease), background-color 0.6s var(--ease);
}

body::before {
  position: fixed;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(var(--accent-two-rgb), 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--accent-two-rgb), 0.07) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

html[data-theme="light"] body {
  background:
    radial-gradient(circle at 8% 4%, rgba(255, 255, 255, 0.96), transparent 28rem),
    radial-gradient(circle at 88% 10%, rgba(117, 243, 255, 0.32), transparent 32rem),
    radial-gradient(circle at 52% 52%, rgba(255, 191, 225, 0.22), transparent 34rem),
    linear-gradient(145deg, #fafdff, var(--bg) 58%, #f6efff);
}

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

::selection { color: var(--bg-deep); background: var(--accent); }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 50%;
  padding: 11px 17px;
  border-radius: 999px;
  color: var(--bg-deep);
  background: var(--accent);
  font: 700 12px/1 var(--mono);
  text-decoration: none;
  transform: translate(-50%, -160%);
  transition: transform 0.2s ease;
}

.skip-link:focus { transform: translate(-50%, 0); }

.field {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.field__aura {
  position: absolute;
  border-radius: 50%;
  filter: blur(6px);
  transition: opacity 0.6s var(--ease), background 0.6s var(--ease);
}

.field__aura--one {
  top: -24vw;
  right: -12vw;
  width: 60vw;
  min-width: 520px;
  aspect-ratio: 1;
  opacity: 0.26;
  background: radial-gradient(circle at 42% 44%, rgba(var(--accent-two-rgb), 0.58), rgba(37, 64, 255, 0.12) 35%, transparent 68%);
  transform: translate(calc(var(--pointer-x) * -18px), calc(var(--pointer-y) * -18px));
}

.field__aura--two {
  bottom: -26rem;
  left: -18rem;
  width: min(58vw, 850px);
  aspect-ratio: 1;
  opacity: 0.15;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.66), transparent 67%);
  transform: translate(calc(var(--pointer-x) * 20px), calc(var(--pointer-y) * 20px));
}

html[data-theme="light"] .field__aura--one { opacity: 0.58; filter: blur(22px); }
html[data-theme="light"] .field__aura--two { opacity: 0.45; filter: blur(30px); }

.field__grid {
  position: absolute;
  right: -15vw;
  bottom: -36vh;
  width: 112vw;
  height: 92vh;
  opacity: 0.48;
  background-image:
    linear-gradient(rgba(var(--accent-rgb), 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--accent-rgb), 0.22) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(ellipse at center, black 5%, transparent 67%);
  transform: perspective(620px) rotateX(64deg) translateX(calc(var(--pointer-x) * 12px));
  transform-origin: center bottom;
}

html[data-theme="light"] .field__grid { opacity: 0.2; }

.field__scan {
  position: absolute;
  inset: -20% 0 auto;
  height: 35%;
  opacity: 0.13;
  background: linear-gradient(to bottom, transparent, rgba(var(--accent-two-rgb), 0.28), transparent);
  animation: scan 12s linear infinite;
}

.shell {
  position: relative;
  z-index: 1;
  width: min(100%, 1920px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 clamp(16px, 2.2vw, 40px);
}

.topbar {
  position: sticky;
  z-index: 30;
  top: 14px;
  min-height: 60px;
  margin-top: 14px;
  padding: 8px 9px 8px 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(24px) saturate(145%);
  -webkit-backdrop-filter: blur(24px) saturate(145%);
}

.brand {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 12px/1 var(--mono);
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand__signal,
.system-state i {
  width: 7px;
  height: 7px;
  display: inline-block;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(var(--accent-rgb), 0.9);
}

.brand__name { display: none; }

.topbar__nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 38px);
}

.topbar__nav a,
.language-link {
  color: var(--muted);
  font: 650 12px/1 var(--mono);
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.topbar__nav a:hover,
.language-link:hover { color: var(--ink); }

.topbar__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 9px;
}

.language-link {
  min-width: 40px;
  min-height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.theme-toggle {
  min-height: 40px;
  padding: 7px 13px 7px 8px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(var(--accent-rgb), 0.06);
  cursor: pointer;
  font: 700 10px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.theme-toggle__glyph {
  width: 24px;
  height: 24px;
  display: inline-block;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--bg-deep);
  box-shadow: inset -7px 0 0 var(--accent);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), background 0.6s var(--ease);
}

html[data-theme="light"] .theme-toggle__glyph {
  background: #fff;
  box-shadow: inset 0 0 0 7px rgba(var(--accent-rgb), 0.9), 0 0 12px rgba(var(--accent-rgb), 0.28);
  transform: rotate(180deg);
}

.hero {
  position: relative;
  min-height: calc(100svh - 86px);
  padding: clamp(70px, 9vh, 128px) clamp(4px, 3vw, 56px) 82px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(38px, 6vw, 100px);
}

.signal-label,
.product-card__code,
.product-card__copy > p,
.system-object,
.section-heading > p,
.scroll-cue {
  font-family: var(--mono);
  text-transform: uppercase;
}

.signal-label {
  margin: 0 0 24px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(3.3rem, 6.8vw, 8.2rem);
  font-weight: 720;
  line-height: 0.89;
  letter-spacing: -0.066em;
}

.hero h1 span {
  color: transparent;
  -webkit-text-stroke: 1.4px var(--ink);
}

.hero__lead {
  max-width: 720px;
  margin: clamp(28px, 4vh, 48px) 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.6;
}

.hero__actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 52px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 720;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button:hover { transform: translateY(-2px); }
.button--primary { color: var(--bg-deep); border-color: var(--accent); background: var(--accent); }
.button--ghost { background: var(--surface); backdrop-filter: blur(18px); }
.button--ghost:hover { border-color: var(--line-strong); }

.system-object {
  position: relative;
  min-height: 480px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(135%);
  -webkit-backdrop-filter: blur(24px) saturate(135%);
  transform: perspective(1200px) rotateY(calc(var(--pointer-x) * 1.5deg)) rotateX(calc(var(--pointer-y) * -1.5deg));
  transition: border-radius 0.6s var(--ease), background 0.6s var(--ease);
}

.system-object::before {
  position: absolute;
  inset: 10% -1px auto;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.system-object__head,
.system-object__readout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.system-state { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.system-state i { width: 5px; height: 5px; }

.system-object__flow { display: grid; gap: 16px; }

.flow-node {
  min-height: 82px;
  padding: 16px;
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  column-gap: 14px;
  border: 1px solid var(--line);
  background: rgba(var(--accent-two-rgb), 0.025);
}

html[data-theme="light"] .flow-node { border-radius: 18px; background: rgba(255, 255, 255, 0.38); }
.flow-node--active { border-color: var(--line-strong); box-shadow: inset 3px 0 0 var(--accent); }
.flow-node__index { grid-row: 1 / 3; color: var(--accent); font-size: 11px; }
.flow-node strong { font-family: var(--sans); font-size: 17px; text-transform: none; }
.flow-node small { color: var(--muted); font-size: 10px; letter-spacing: 0.06em; }

.flow-link {
  width: 1px;
  height: 16px;
  margin: -16px 0 -16px 36px;
  background: var(--line-strong);
}

.system-object__readout { flex-wrap: wrap; justify-content: flex-start; gap: 10px 18px; }
.system-object__readout span { padding-left: 10px; border-left: 1px solid var(--line-strong); }

.scroll-cue {
  position: absolute;
  right: 0;
  bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-decoration: none;
}

.scroll-cue i { color: var(--accent); font-style: normal; }

.products { padding: clamp(90px, 13vw, 190px) clamp(4px, 3vw, 56px); }

.section-heading {
  margin-bottom: clamp(46px, 7vw, 94px);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.section-heading > p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: 0.08em;
  text-align: right;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.product-card {
  position: relative;
  min-height: 310px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  backdrop-filter: blur(22px) saturate(130%);
  -webkit-backdrop-filter: blur(22px) saturate(130%);
  transition: transform 0.28s var(--ease), border-color 0.28s ease, border-radius 0.6s var(--ease);
}

.product-card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.product-card--featured { min-height: 500px; grid-row: span 2; }
.product-card__code { color: var(--accent); font-size: 10px; letter-spacing: 0.13em; }
.product-card__copy { position: relative; z-index: 2; }
.product-card__copy > p { margin: 0 0 14px; color: var(--muted); font-size: 10px; letter-spacing: 0.12em; }
.product-card__copy h3 { margin: 0; font-size: clamp(2rem, 3.6vw, 4.5rem); line-height: 0.98; letter-spacing: -0.05em; }
.product-card:not(.product-card--featured) .product-card__copy h3 { font-size: clamp(2rem, 3vw, 3.4rem); }
.product-card__copy > span { margin-top: 28px; display: inline-flex; gap: 12px; color: var(--muted); font-size: 14px; }
.product-card:hover .product-card__copy > span { color: var(--ink); }
.product-card__copy i { color: var(--accent); font-style: normal; }

.mini-board {
  position: absolute;
  top: 24px;
  right: -22px;
  width: 46%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  opacity: 0.7;
  transform: perspective(700px) rotateY(-18deg) rotateX(8deg);
}

.mini-board i {
  height: 78px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(var(--accent-rgb), 0.13), transparent);
}

.mini-board i:nth-child(2), .mini-board i:nth-child(5) { transform: translateY(20px); }

.approach { padding: clamp(90px, 13vw, 190px) clamp(4px, 3vw, 56px); }

.section-heading--line {
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line);
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  min-height: 150px;
  padding: 30px 0;
  display: grid;
  grid-template-columns: minmax(100px, 0.4fr) 1.6fr;
  align-items: start;
  gap: 30px;
  border-bottom: 1px solid var(--line);
}

.process-list > li > span {
  color: var(--accent);
  font: 700 11px/1 var(--mono);
  letter-spacing: 0.14em;
}

.process-list div {
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(280px, 1fr);
  gap: 40px;
}

.process-list h3 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 3.1rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.process-list p {
  max-width: 590px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.contact-panel {
  min-height: 68vh;
  margin: 0 clamp(4px, 3vw, 56px) clamp(16px, 2.2vw, 40px);
  padding: clamp(36px, 6vw, 86px);
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: end;
  gap: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(125deg, rgba(var(--accent-rgb), 0.08), transparent 42%),
    var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(135%);
}

.contact-panel h2 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 8.4rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.contact-panel__actions {
  display: flex;
  align-items: stretch;
  flex-direction: column;
  gap: 18px;
}

.contact-phone {
  padding: 12px;
  color: var(--muted);
  font: 700 13px/1.2 var(--mono);
  letter-spacing: 0.08em;
  text-align: center;
  text-decoration: none;
}

.site-footer {
  min-height: 84px;
  padding: 24px clamp(4px, 3vw, 56px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font: 650 10px/1.4 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer p { margin: 0; }
.site-footer p:last-child { text-align: right; }
.site-footer nav { display: flex; gap: 22px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

.product-hero {
  min-height: calc(100svh - 86px);
  padding: clamp(76px, 10vh, 140px) clamp(4px, 3vw, 56px) 86px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: clamp(46px, 7vw, 120px);
}

.product-hero h1 {
  margin: 0;
  font-size: clamp(3.2rem, 6.6vw, 8rem);
  line-height: 0.89;
  letter-spacing: -0.068em;
}

.product-hero h1 span { color: transparent; -webkit-text-stroke: 1.35px var(--ink); }

.product-hero__main > p:not(.signal-label) {
  max-width: 760px;
  margin: 36px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.62;
}

.demo-disclosure {
  max-width: 700px;
  margin-top: 18px;
  display: block;
  color: var(--faint);
  font-size: 13px;
  line-height: 1.5;
}

.product-spec {
  min-height: 520px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(135%);
}

.product-spec__top {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font: 700 10px/1 var(--mono);
  letter-spacing: 0.12em;
}

.product-spec ul { margin: 50px 0 0; padding: 0; list-style: none; }

.product-spec li {
  min-height: 90px;
  padding: 16px 12px;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-content: center;
  column-gap: 12px;
  border-top: 1px solid var(--line);
}

.product-spec li > span { grid-row: 1 / 3; color: var(--accent); font: 700 10px/1.5 var(--mono); }
.product-spec strong { font-size: 17px; }
.product-spec small { color: var(--muted); font-size: 13px; }

.outcome,
.packages,
.launch { padding: clamp(90px, 13vw, 190px) clamp(4px, 3vw, 56px); }

.role-grid,
.package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.role-grid article,
.package-card {
  min-height: 360px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: blur(20px) saturate(125%);
}

.role-grid article > span,
.package-card__index {
  color: var(--accent);
  font: 700 10px/1 var(--mono);
  letter-spacing: 0.13em;
}

.role-grid h3,
.package-card h3 {
  margin: auto 0 20px;
  font-size: clamp(1.8rem, 3vw, 3.3rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.role-grid p,
.package-card p,
.package-note {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.package-card { min-height: 570px; }
.package-card--accent { border-color: var(--line-strong); box-shadow: inset 0 3px 0 var(--accent), var(--shadow); }
.package-card p { margin-bottom: 26px; }
.package-card ul { margin: 0; padding: 0; list-style: none; }
.package-card li { padding: 12px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.package-card li::before { margin-right: 9px; color: var(--accent); content: "＋"; }
.package-card > a { margin-top: auto; padding-top: 24px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); font-weight: 700; text-decoration: none; }
.package-card > a span { color: var(--accent); }
.package-note { max-width: 850px; margin-top: 24px; }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.demo-page { height: 100vh; overflow: hidden; background: var(--bg); }
.demo-page::before { opacity: 0.12; mask-image: none; }
.demo-shell { position: relative; z-index: 1; min-height: 100vh; padding: 10px; }

.demo-topbar {
  height: 66px;
  padding: 8px 10px 8px 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  backdrop-filter: blur(22px) saturate(140%);
}

.demo-company { display: grid; gap: 3px; text-align: center; }
.demo-company span { color: var(--muted); font: 700 9px/1 var(--mono); letter-spacing: 0.13em; }
.demo-company b { font-size: 14px; }

.icon-button {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(var(--accent-rgb), 0.04);
  cursor: pointer;
  font: 700 14px/1 var(--mono);
}

.icon-button:hover { border-color: var(--line-strong); }

.demo-layout {
  height: calc(100vh - 86px);
  padding-top: 10px;
  display: grid;
  grid-template-columns: 280px minmax(620px, 1fr) 318px;
  gap: 10px;
  transition: grid-template-columns 0.35s var(--ease);
}

.demo-layout[data-guide-open="false"] { grid-template-columns: 0 minmax(620px, 1fr) 318px; }

.guide-panel,
.activity-panel,
.demo-workspace {
  min-width: 0;
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: blur(22px) saturate(130%);
}

.guide-panel {
  padding: 18px;
  overflow: hidden auto;
  transition: opacity 0.25s ease, transform 0.35s var(--ease);
}

.demo-layout[data-guide-open="false"] .guide-panel { opacity: 0; pointer-events: none; transform: translateX(-24px); }
.guide-panel__head { display: flex; align-items: start; justify-content: space-between; gap: 14px; }
.guide-panel__head span, .activity-panel header span, .board-section header span, .client-view > span { color: var(--accent); font: 700 9px/1 var(--mono); letter-spacing: 0.13em; }
.guide-panel h1, .activity-panel h2 { margin: 8px 0 0; font-size: 21px; line-height: 1.08; letter-spacing: -0.03em; }
.guide-panel > p { margin: 18px 0 22px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.guide-list { margin: 0; padding: 0; list-style: none; }
.guide-list li + li { margin-top: 7px; }

.guide-list button {
  width: 100%;
  min-height: 76px;
  padding: 12px;
  display: grid;
  grid-template-columns: 28px 1fr;
  align-content: center;
  gap: 5px 8px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  text-align: left;
}

html[data-theme="light"] .guide-list button { border-radius: 16px; }
.guide-list button:hover { background: rgba(var(--accent-rgb), 0.06); }
.guide-list button.is-active { border-color: var(--line-strong); background: rgba(var(--accent-rgb), 0.08); }
.guide-list button span { grid-row: 1 / 3; color: var(--accent); font: 700 10px/1.5 var(--mono); }
.guide-list button b { font-size: 13px; line-height: 1.25; }
.guide-list button small { color: var(--muted); font-size: 11px; }

.guide-panel__footer {
  margin-top: 22px;
  padding-top: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font: 700 9px/1.2 var(--mono);
  letter-spacing: 0.08em;
}

.guide-panel__footer kbd { padding: 5px 8px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); background: var(--surface-strong); }

.demo-workspace { padding: 20px; overflow: hidden auto; }
.workspace-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.workspace-head .signal-label { margin-bottom: 7px; font-size: 9px; }
.workspace-head h2 { margin: 0; font-size: clamp(1.8rem, 2.6vw, 3.2rem); letter-spacing: -0.045em; }

.role-switch { padding: 4px; display: inline-flex; border: 1px solid var(--line); border-radius: 999px; background: rgba(var(--accent-rgb), 0.03); }
.role-switch button { min-height: 34px; padding: 0 14px; border: 0; border-radius: 999px; color: var(--muted); background: transparent; cursor: pointer; font-size: 12px; font-weight: 700; }
.role-switch button.is-active { color: var(--bg-deep); background: var(--accent); }

.metric-row { margin-top: 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.metric-row article { min-height: 108px; padding: 14px; display: grid; grid-template-columns: 1fr auto; align-content: space-between; gap: 8px; border: 1px solid var(--line); background: rgba(var(--accent-two-rgb), 0.02); }
html[data-theme="light"] .metric-row article { border-radius: 18px; background: rgba(255,255,255,.38); }
.metric-row span { grid-column: 1 / 3; color: var(--muted); font: 700 9px/1 var(--mono); letter-spacing: 0.1em; }
.metric-row strong { font-size: 28px; line-height: 1; }
.metric-row small { align-self: end; color: var(--muted); font-size: 10px; text-align: right; }

.demo-focus {
  margin-top: 10px;
  padding: 16px;
  display: grid;
  grid-template-columns: 0.7fr 1fr auto;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(110deg, rgba(var(--accent-rgb), 0.11), rgba(var(--accent-two-rgb), 0.03));
}
html[data-theme="light"] .demo-focus { border-radius: 20px; }
.demo-focus span { color: var(--accent); font: 700 9px/1 var(--mono); letter-spacing: 0.12em; }
.demo-focus h3 { margin: 7px 0 0; font-size: 17px; }
.demo-focus p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.demo-action { min-height: 40px; padding: 0 14px; display: inline-flex; align-items: center; gap: 18px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--surface); cursor: pointer; font-size: 11px; font-weight: 700; }
.demo-action span { font-size: 13px; }

.board-section { margin-top: 10px; padding: 16px; border: 1px solid var(--line); }
html[data-theme="light"] .board-section { border-radius: 20px; background: rgba(255,255,255,.28); }
.board-section > header { display: flex; justify-content: space-between; align-items: end; gap: 18px; }
.board-section header h3 { margin: 6px 0 0; font-size: 20px; }
.board-section > header > span { color: var(--muted); }
.kanban { margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.kanban__column { min-width: 0; padding: 10px; border: 1px solid var(--line); background: rgba(0,0,0,.07); }
html[data-theme="light"] .kanban__column { border-radius: 16px; background: rgba(255,255,255,.38); }
.kanban__column h4 { margin: 0 2px 10px; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; }
.kanban__column h4 > span { width: 5px; height: 5px; border-radius: 50%; background: var(--accent-two); }
.kanban__column h4 b { margin-left: auto; color: var(--faint); font: 700 10px/1 var(--mono); }

.task-card { margin-top: 7px; min-height: 128px; padding: 12px; display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--surface-strong); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
html[data-theme="light"] .task-card { border-radius: 13px; }
.task-card--accent { border-color: var(--line-strong); }
.task-card small { color: var(--accent); font: 700 8px/1 var(--mono); letter-spacing: .1em; }
.task-card strong { margin-top: 9px; font-size: 12px; line-height: 1.3; }
.task-card p { margin: 5px 0 10px; color: var(--muted); font-size: 10px; line-height: 1.4; }
.task-card > div { margin-top: auto; display: flex; justify-content: space-between; color: var(--faint); font: 700 8px/1 var(--mono); }

[data-highlight="true"] { border-color: var(--accent) !important; box-shadow: 0 0 0 2px rgba(var(--accent-rgb),.12), 0 0 30px rgba(var(--accent-rgb),.1) !important; transform: translateY(-2px); }

.activity-panel { padding: 18px; overflow: hidden auto; }
.activity-panel > header { display: flex; align-items: start; justify-content: space-between; gap: 14px; }
.activity-list { margin: 28px 0 0; padding: 0; list-style: none; }
.activity-list li { position: relative; padding: 0 0 22px 22px; display: grid; grid-template-columns: 42px 1fr; gap: 8px; }
.activity-list li::before { position: absolute; top: 7px; bottom: -2px; left: 3px; width: 1px; content: ""; background: var(--line); }
.activity-list li:last-child::before { display: none; }
.activity-dot { position: absolute; z-index: 1; top: 3px; left: 0; width: 7px; height: 7px; border: 1px solid var(--faint); border-radius: 50%; background: var(--bg); }
.activity-dot--signal { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 10px rgba(var(--accent-rgb),.7); }
.activity-dot--warn { border-color: #ffb35b; background: #ffb35b; }
.activity-list time { color: var(--faint); font: 700 9px/1.4 var(--mono); }
.activity-list strong { display: block; font-size: 11px; line-height: 1.3; }
.activity-list p { margin: 4px 0 0; color: var(--muted); font-size: 10px; line-height: 1.4; }

.client-view { margin-top: 8px; padding: 16px; border: 1px solid var(--line); background: linear-gradient(135deg, rgba(var(--accent-two-rgb),.08), transparent); }
html[data-theme="light"] .client-view { border-radius: 18px; }
.client-view h3 { margin: 12px 0 8px; font-size: 18px; }
.client-view p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.client-view button { width: 100%; margin-top: 18px; padding: 12px 0 0; display: flex; justify-content: space-between; border: 0; border-top: 1px solid var(--line); color: var(--ink); background: transparent; cursor: pointer; font-size: 10px; font-weight: 700; }
.client-view button span { color: var(--accent); }

@keyframes scan {
  from { transform: translateY(-110%); }
  to { transform: translateY(430%); }
}

@media (max-width: 980px) {
  .topbar { grid-template-columns: 1fr auto; }
  .topbar__nav { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 100px; }
  .system-object { min-height: 440px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card--featured { min-height: 480px; grid-row: auto; }
  .process-list div { grid-template-columns: 1fr; gap: 16px; }
  .contact-panel { grid-template-columns: 1fr; }
  .product-hero { grid-template-columns: 1fr; }
  .product-spec { min-height: 480px; }
  .role-grid, .package-grid { grid-template-columns: 1fr; }
  .role-grid article { min-height: 300px; }
  .package-card { min-height: 520px; }
  .demo-page { height: auto; overflow: auto; }
  .demo-layout, .demo-layout[data-guide-open="false"] { height: auto; grid-template-columns: 1fr; }
  .guide-panel { position: fixed; z-index: 50; inset: 86px 10px 10px; background: var(--surface-strong); }
  .demo-layout[data-guide-open="false"] .guide-panel { display: none; }
  .demo-workspace { overflow: visible; }
  .activity-panel { overflow: visible; }
}

@media (max-width: 640px) {
  .shell { padding-inline: 10px; }
  .topbar { top: 8px; margin-top: 8px; padding-left: 13px; }
  .brand__short { display: none; }
  .brand__name { display: inline; font-size: 10px; }
  .theme-toggle { width: 40px; padding: 7px; }
  .theme-toggle [data-theme-label] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .hero { padding: 88px 4px 70px; gap: 46px; }
  .hero h1 { font-size: clamp(3.05rem, 15vw, 5rem); }
  .hero__lead { font-size: 1rem; }
  .hero__actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; justify-content: space-between; }
  .system-object { min-height: 470px; padding: 14px; }
  .system-object__readout { align-items: flex-start; flex-direction: column; }
  .scroll-cue { display: none; }
  .products { padding: 100px 4px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .section-heading > p { text-align: left; }
  .product-card, .product-card--featured { min-height: 340px; }
  .product-card--featured { min-height: 480px; }
  .mini-board { top: 42px; width: 58%; opacity: 0.48; }
  .approach { padding: 100px 4px; }
  .process-list li { grid-template-columns: 44px 1fr; gap: 14px; }
  .process-list div { min-width: 0; }
  .contact-panel { min-height: 620px; margin-inline: 4px; padding: 28px 20px; }
  .site-footer { grid-template-columns: 1fr; padding-block: 34px; }
  .site-footer p:last-child { text-align: left; }
  .product-hero { padding: 88px 4px 70px; }
  .product-hero h1 { font-size: clamp(3rem, 15vw, 5rem); }
  .product-spec { min-height: 500px; padding: 14px; }
  .outcome, .packages, .launch { padding: 100px 4px; }
  .demo-topbar { grid-template-columns: 1fr auto; }
  .demo-company { display: none; }
  .demo-shell { padding: 6px; }
  .demo-layout { padding-top: 6px; }
  .demo-workspace { padding: 12px; }
  .workspace-head { align-items: flex-start; flex-direction: column; }
  .role-switch { width: 100%; }
  .role-switch button { flex: 1; padding-inline: 8px; }
  .metric-row { grid-template-columns: repeat(2, 1fr); }
  .demo-focus { grid-template-columns: 1fr; }
  .demo-action { width: 100%; justify-content: space-between; }
  .kanban { grid-template-columns: 1fr; }
  .task-card { min-height: 118px; }
  .guide-panel { inset: 78px 6px 6px; }
}

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