/* KiiKii brand site — shared styles */
:root {
  --paper: #f7f4ef;
  --paper-2: #f1ece4;
  --ink: #121016;
  --ink-2: #3b3544;
  --muted: #6b6572;
  --line: rgba(18, 16, 22, 0.12);
  --iris: #6d4de0;
  --lilac: #a178dd;
  --blossom: #c47ac7;
  --white: #ffffff;
  --dark: #0f0c15;
  --radius: 26px;
  --max: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "SF Pro Display", "SF Pro Text", "PingFang SC", "PingFang TC", "Microsoft YaHei", "Noto Sans JP", "Noto Sans KR", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.22'/%3E%3C/svg%3E");
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

::selection {
  background: var(--lilac);
  color: var(--white);
}

:focus-visible {
  outline: 2px solid var(--iris);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: none;
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--iris), var(--blossom));
  transition: width 0.08s linear;
}

.wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}

.site-header.scrolled {
  background: rgba(247, 244, 239, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand img {
  width: 28px;
  height: 28px;
}

.nav {
  display: flex;
  gap: 30px;
}

.nav a {
  position: relative;
  padding: 6px 0;
  font-size: 13px;
  color: var(--muted);
  transition: color 0.2s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--ink);
  transition: right 0.35s var(--ease);
}

.nav a:hover {
  color: var(--ink);
}

.nav a:hover::after {
  right: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.link-subtle {
  padding: 6px 0;
  font-size: 13px;
  color: var(--muted);
  transition: color 0.2s;
}

.link-subtle:hover {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-dark:hover {
  background: #2a2533;
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink);
}

.btn-light {
  background: var(--white);
  color: var(--ink);
}

.btn-light:hover {
  background: #efe9ff;
}

.arrow {
  display: inline-block;
  transition: transform 0.25s var(--ease);
}

.btn:hover .arrow {
  transform: translate(3px, -3px);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.25s;
}

.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 20.5px; }
.nav-toggle span:nth-child(3) { top: 25px; }

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 78px;
  left: 0;
  right: 0;
  z-index: 55;
  display: none;
  padding: 10px 28px 26px;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 244, 239, 0.98);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
}

.mobile-menu[data-open="true"] {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}

.mobile-menu a:last-child {
  border-bottom: 0;
  color: var(--iris);
  font-weight: 600;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 132px 0 0;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -18%;
  right: -12%;
  width: 62vw;
  height: 62vw;
  max-width: 900px;
  max-height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(161, 120, 221, 0.22), rgba(196, 122, 199, 0.1) 45%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 60px;
  align-items: center;
  min-height: calc(100vh - 200px);
  padding-bottom: 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--iris);
}

.hero h1 {
  margin: 24px 0 0;
  font-size: clamp(50px, 7vw, 104px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero h1 .line {
  display: block;
}

.hero h1 .grad {
  background: linear-gradient(96deg, var(--iris) 0%, var(--lilac) 40%, var(--blossom) 74%, #e8a7c6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 560px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-meta span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lilac);
}

.hero-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 34px;
  overflow: hidden;
  background: #17111f;
  box-shadow: 0 50px 110px -60px rgba(50, 25, 110, 0.65);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  filter: saturate(0.92) contrast(1.03);
  transform: scale(1.02);
  animation: heroIn 18s ease-out forwards;
}

@keyframes heroIn {
  to { transform: scale(1.1); }
}

.stage-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 12, 21, 0.16) 0%, rgba(15, 12, 21, 0.02) 34%, rgba(15, 12, 21, 0.66) 100%);
}

.stage-top {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 2;
}

.stage-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(15, 12, 21, 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--white);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
}

.stage-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8ef0c0;
  box-shadow: 0 0 0 4px rgba(142, 240, 192, 0.16);
}

.stage-live {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(15, 12, 21, 0.32);
  color: rgba(255, 255, 255, 0.66);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
}

.stage-pills {
  position: absolute;
  left: 18px;
  bottom: 76px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stage-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stage-pill i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c7b3ff;
}

.stage-bottom {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  color: var(--white);
}

.stage-bottom p {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.stage-bottom span {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.58);
}

/* ---------- marquee ---------- */
.marquee {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.34);
  overflow: hidden;
  padding: 18px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 46px;
  padding-right: 46px;
}

.marquee-group span {
  display: inline-flex;
  align-items: center;
  gap: 46px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.marquee-group span::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lilac);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- sections ---------- */
.section {
  position: relative;
  z-index: 1;
  padding: clamp(84px, 10vw, 148px) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 90px;
}

.section-head {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 32px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-index {
  padding-top: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.section h2 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(34px, 4.6vw, 64px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.section-lead {
  max-width: 62ch;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

/* ---------- manifesto ---------- */
.manifesto-layout {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.manifesto-visual {
  position: sticky;
  top: 108px;
  aspect-ratio: 3 / 4;
  border-radius: 28px;
  overflow: hidden;
  background: #1a1424;
  box-shadow: 0 40px 90px -60px rgba(60, 30, 120, 0.6);
}

.manifesto-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.manifesto-visual:hover img {
  transform: scale(1.04);
}

.manifesto-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 36%, rgba(12, 10, 18, 0.82) 100%);
}

.visual-tag {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 2;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(15, 12, 21, 0.36);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.visual-quote {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 24px;
  z-index: 2;
  margin: 0;
  color: var(--white);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.28;
  letter-spacing: -0.03em;
}

.visual-quote em {
  font-family: Georgia, "Songti SC", "Noto Serif SC", serif;
  font-style: italic;
  font-weight: 400;
}

.manifesto-copy .section-index {
  padding-top: 0;
  margin-bottom: 16px;
}

.manifesto-copy h2 {
  max-width: 14ch;
}

.manifesto-grid {
  display: grid;
  gap: 16px;
  max-width: 640px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.manifesto-grid p {
  margin: 0;
}

.principles {
  display: grid;
  max-width: 680px;
  margin-top: 38px;
}

.principle {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.principle b {
  padding-top: 5px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--iris);
}

.principle h3 {
  margin: 0 0 4px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.principle p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

/* ---------- products ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.46);
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s, background 0.45s, box-shadow 0.45s;
}

.product:hover {
  transform: translateY(-5px);
  border-color: rgba(18, 16, 22, 0.26);
  background: var(--white);
  box-shadow: 0 30px 60px -50px rgba(40, 20, 80, 0.55);
}

.product-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8e1f3;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92);
  transition: transform 0.9s var(--ease);
}

.product:hover .product-media img {
  transform: scale(1.06);
}

.product-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 12, 21, 0) 52%, rgba(15, 12, 21, 0.36) 100%);
}

.product-top {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-num {
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(15, 12, 21, 0.42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
}

.product-arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-size: 13px;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}

.product:hover .product-arrow {
  background: var(--ink);
  color: var(--white);
  transform: rotate(45deg);
}

.product-body {
  padding: 20px 20px 22px;
}

.product h3 {
  margin: 0 0 8px;
  font-size: 21px;
  letter-spacing: -0.03em;
}

.product p {
  max-width: 36ch;
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

.product--code .product-media {
  display: grid;
  place-items: center;
  background: radial-gradient(120% 120% at 20% 0%, #2b2145 0%, #15101f 60%, #0f0c15 100%);
}

.product--code .product-media::after {
  display: none;
}

.code-mini {
  width: 100%;
  padding: 20px 18px;
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.95;
  color: #cfc6e6;
}

.code-mini .k { color: #a98bff; }
.code-mini .s { color: #f0b4d8; }
.code-mini .c { color: rgba(255, 255, 255, 0.34); }

/* ---------- scenarios ---------- */
.scenario-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding-bottom: 44px;
}

.scenario-tile {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 22px;
  overflow: hidden;
  background: #1a1424;
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
}

.scenario-tile:nth-child(even) {
  transform: translateY(44px);
}

.scenario-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
  animation: kenburns 20s ease-in-out infinite alternate;
}

.scenario-tile:nth-child(2) img { animation-delay: -5s; }
.scenario-tile:nth-child(3) img { animation-delay: -10s; }
.scenario-tile:nth-child(4) img { animation-delay: -15s; }

@keyframes kenburns {
  from { transform: scale(1.02); }
  to { transform: scale(1.09); }
}

.scenario-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 12, 21, 0.04) 28%, rgba(15, 12, 21, 0.82) 100%);
}

.tile-num {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.tile-arrow {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: var(--white);
  font-size: 13px;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}

.tile-meta {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  color: var(--white);
}

.tile-meta h3 {
  margin: 0 0 6px;
  font-size: clamp(18px, 1.7vw, 23px);
  letter-spacing: -0.03em;
}

.tile-meta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12.5px;
  line-height: 1.6;
}

.scenario-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px -40px rgba(40, 20, 80, 0.65);
}

.scenario-tile:nth-child(even):hover {
  transform: translateY(39px);
}

.scenario-tile:hover .tile-arrow {
  background: var(--white);
  color: var(--ink);
  transform: rotate(45deg);
}

/* ---------- ecosystem ---------- */
.ecosystem {
  position: relative;
  z-index: 1;
  padding: clamp(84px, 10vw, 140px) 0;
  background: var(--dark);
  color: #f3f0f8;
  overflow: hidden;
}

.ecosystem::before {
  content: "";
  position: absolute;
  top: 8%;
  right: 2%;
  width: 48vw;
  height: 48vw;
  max-width: 660px;
  max-height: 660px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109, 77, 224, 0.26), transparent 68%);
  pointer-events: none;
}

.ecosystem .section-index {
  color: rgba(255, 255, 255, 0.45);
}

.ecosystem h2 {
  color: var(--white);
}

.ecosystem .section-lead {
  color: rgba(255, 255, 255, 0.6);
}

.eco-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eco-points {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.eco-point {
  display: flex;
  gap: 16px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  line-height: 1.7;
}

.eco-point b {
  flex: 0 0 96px;
  padding-top: 3px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--white);
}

.eco-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.code-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.code-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.5);
}

.code-dots {
  display: flex;
  gap: 6px;
}

.code-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.code-body {
  padding: 22px 20px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 2;
  color: #cfc6e6;
}

.code-body .k { color: #a98bff; }
.code-body .s { color: #f0b4d8; }
.code-body .c { color: rgba(255, 255, 255, 0.35); }

/* ---------- about ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: start;
}

.about-copy p {
  max-width: 60ch;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.about-copy p:first-child {
  color: var(--ink);
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.55;
  letter-spacing: -0.025em;
}

.about-copy a {
  border-bottom: 1px solid var(--ink);
}

.contact-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.5);
}

.contact-card h3 {
  margin: 0 0 22px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 0 4px;
  border-top: 1px solid var(--line);
}

.contact-row span {
  color: var(--muted);
  font-size: 13px;
}

.contact-row a {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.03em;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.contact-row a:hover {
  border-color: var(--ink);
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  z-index: 1;
  padding: clamp(80px, 10vw, 136px) 0;
  background: var(--dark);
  color: var(--white);
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/media/workbench.webp") center / cover no-repeat;
  opacity: 0.24;
  filter: saturate(0.8);
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 12, 21, 0.94) 0%, rgba(15, 12, 21, 0.66) 58%, rgba(15, 12, 21, 0.5) 100%);
}

.cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.cta-band .eyebrow {
  color: rgba(255, 255, 255, 0.6);
}

.cta-band .eyebrow::before {
  background: var(--blossom);
}

.cta-band h2 {
  max-width: 14ch;
  margin: 16px 0 0;
  color: var(--white);
  font-size: clamp(34px, 4.6vw, 62px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- footer ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 64px 0 28px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.34);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr));
  gap: 36px;
}

.footer-brand p {
  max-width: 34ch;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.footer-col h4 {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-col a {
  display: block;
  padding: 5px 0;
  font-size: 13px;
  color: var(--ink-2);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

.footer-bottom a {
  border-bottom: 1px solid transparent;
}

.footer-bottom a:hover {
  border-color: var(--muted);
}

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  translate: 0 26px;
  transition: opacity 0.9s var(--ease), translate 0.9s var(--ease);
  transition-delay: var(--d, 0ms);
}

.reveal.in {
  opacity: 1;
  translate: 0 0;
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav { gap: 22px; }
  .hero-grid { gap: 40px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .scenario-mosaic { grid-template-columns: repeat(2, 1fr); row-gap: 14px; }
  .scenario-tile:nth-child(even) { transform: none; }
  .scenario-tile:nth-child(even):hover { transform: translateY(-5px); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}

@media (max-width: 980px) {
  .nav { display: none; }
  .header-actions .link-subtle { display: none; }
  .nav-toggle { display: inline-block; }
  .mobile-menu { display: block; }

  .hero { padding-top: 116px; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
    min-height: 0;
    padding-bottom: 52px;
  }
  .hero-stage {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    aspect-ratio: 1 / 1.08;
  }
  .section-head { grid-template-columns: 1fr; gap: 12px; }
  .section-index { padding-top: 0; }

  .manifesto-layout { grid-template-columns: 1fr; gap: 36px; }
  .manifesto-visual { position: relative; top: 0; max-width: 520px; }
  .manifesto-copy h2 { max-width: 18ch; }

  .eco-grid, .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .wrap { padding: 0 20px; }
  .header-inner { height: 72px; }
  .mobile-menu { top: 72px; padding-left: 20px; padding-right: 20px; }
  .hero { padding-top: 106px; }
  .hero h1 { font-size: clamp(44px, 13vw, 64px); }
  .hero-actions .btn { width: 100%; }
  .hero-meta { gap: 10px 16px; }
  .product-grid { grid-template-columns: 1fr; }
  .scenario-mosaic { grid-template-columns: 1fr; }
  .scenario-tile:nth-child(even) { transform: none; }
  .scenario-tile:nth-child(even):hover { transform: translateY(-5px); }
  .stage-pill { font-size: 8.5px; padding: 7px 10px; }
  .footer-grid { grid-template-columns: 1fr; }
  .marquee-group { gap: 30px; padding-right: 30px; }
  .marquee-group span { gap: 30px; }
  .cta-inner { align-items: flex-start; }
}

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

/* =========================================================
   v3 — animated manifesto, icon products, people wall,
   video about, animated CTA
   ========================================================= */

/* smaller hero headline */
.hero h1 {
  font-size: clamp(42px, 5.4vw, 84px);
  line-height: 1.02;
}

/* ---------- manifesto signal animation ---------- */
.signal {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.08;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 32px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 44%, #efe6ff 0%, #f9eef8 46%, #f7f4ef 74%);
}

.signal-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(109, 77, 224, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(109, 77, 224, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 50%, #000 16%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 16%, transparent 72%);
}

.signal-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  border: 1px solid rgba(109, 77, 224, 0.22);
  border-radius: 50%;
  animation: spin 18s linear infinite;
}

.orbit-a { width: 64%; aspect-ratio: 1; }
.orbit-b { width: 44%; aspect-ratio: 1; border-style: dashed; animation-duration: 12s; animation-direction: reverse; }
.orbit-c { width: 86%; aspect-ratio: 1; border-color: rgba(196, 122, 199, 0.18); animation-duration: 28s; }

.signal-core {
  position: relative;
  z-index: 2;
  width: 34%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 34% 28%, #ffffff, #efe6ff 42%, #d9c4ff 100%);
  box-shadow: 0 0 90px rgba(109, 77, 224, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  animation: corePulse 6s ease-in-out infinite;
}

.signal-core img {
  width: 46%;
  filter: drop-shadow(0 12px 28px rgba(80, 40, 160, 0.28));
}

.signal-word {
  position: absolute;
  z-index: 3;
  padding: 8px 13px;
  border: 1px solid rgba(18, 16, 22, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--ink-2);
  font-size: 12px;
  animation: float 7s ease-in-out infinite;
}

.word-1 { left: 9%; top: 23%; animation-delay: -1s; }
.word-2 { right: 8%; top: 33%; animation-delay: -3s; }
.word-3 { left: 13%; bottom: 24%; animation-delay: -5s; }
.word-4 { right: 11%; bottom: 18%; animation-delay: -2s; }

.signal-tag {
  position: absolute;
  left: 18px;
  top: 18px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.signal-scan {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(109, 77, 224, 0.55), transparent);
  animation: signalScan 5s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes corePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes signalScan {
  0%, 100% { transform: translateY(-84px); opacity: 0; }
  50% { transform: translateY(84px); opacity: 1; }
}

/* ---------- product animated icons ---------- */
.product-visual {
  position: relative;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(18, 16, 22, 0.06);
  background: radial-gradient(circle at 50% 38%, #efe6ff 0%, #f8f1fb 48%, #f7f4ef 78%);
}

.product-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(109, 77, 224, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(109, 77, 224, 0.07) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(circle at 50% 50%, #000 8%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 8%, transparent 72%);
}

.feature-icon {
  position: relative;
  z-index: 2;
  width: 92px;
  height: 92px;
  fill: none;
  stroke: var(--iris);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.6s var(--ease);
}

.product:hover .feature-icon {
  transform: scale(1.08) rotate(-2deg);
}

.icon-face .scan { animation: scanLine 3.4s ease-in-out infinite; }
.icon-face .dot { fill: var(--iris); stroke: none; animation: blink 2.4s steps(1) infinite; }

@keyframes scanLine {
  0%, 100% { transform: translateY(-12px); opacity: 0.25; }
  50% { transform: translateY(16px); opacity: 1; }
}

@keyframes blink {
  50% { opacity: 0; }
}

.icon-music .bar {
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: equalize 1.15s ease-in-out infinite;
}

.icon-music .b2 { animation-delay: -0.18s; }
.icon-music .b3 { animation-delay: -0.36s; }
.icon-music .b4 { animation-delay: -0.54s; }
.icon-music .b5 { animation-delay: -0.72s; }

@keyframes equalize {
  0%, 100% { transform: scaleY(0.38); }
  50% { transform: scaleY(1); }
}

.icon-drama .frame-a { animation: frameSlideA 4s ease-in-out infinite; }
.icon-drama .frame-b { animation: frameSlideB 4s ease-in-out infinite; }

@keyframes frameSlideA {
  0%, 100% { transform: translateX(0); opacity: 1; }
  50% { transform: translateX(6px); opacity: 0.55; }
}

@keyframes frameSlideB {
  0%, 100% { transform: translateX(0); opacity: 0.55; }
  50% { transform: translateX(-6px); opacity: 1; }
}

.icon-canvas .link {
  stroke-dasharray: 5 5;
  animation: dashFlow 4s linear infinite;
}

.icon-canvas .node {
  fill: var(--white);
  animation: nodePulse 3s ease-in-out infinite;
}

.icon-canvas .n2 { animation-delay: -0.7s; }
.icon-canvas .n3 { animation-delay: -1.4s; }
.icon-canvas .n4 { animation-delay: -2.1s; }

@keyframes dashFlow {
  to { stroke-dashoffset: -30; }
}

@keyframes nodePulse {
  0%, 100% { r: 5; }
  50% { r: 7; }
}

.icon-agent .spark {
  transform-box: fill-box;
  transform-origin: center;
  animation: sparkPulse 5s ease-in-out infinite;
}

.icon-agent .orbit-dot {
  transform-origin: 60px 60px;
  animation: spin 4s linear infinite;
}

@keyframes sparkPulse {
  0%, 100% { transform: scale(1) rotate(0); opacity: 0.85; }
  50% { transform: scale(1.08) rotate(8deg); opacity: 1; }
}

.icon-code .cursor { animation: blink 1.1s steps(1) infinite; }

/* ---------- people wall ---------- */
.scenario-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
}

.scenario-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.scenario-legend span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lilac);
}

.people-wall {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 44px;
  gap: 12px;
  padding: 6px 0 54px;
}

.person {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: #1a1424;
  box-shadow: 0 24px 46px -34px rgba(40, 20, 80, 0.6);
  transform: rotate(var(--r, 0deg));
  translate: 0 0;
  animation: drift 10s ease-in-out infinite;
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
}

.person:nth-child(2n) { animation-delay: -3s; }
.person:nth-child(3n) { animation-delay: -6s; }

.person img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92);
  transition: transform 0.9s var(--ease), filter 0.5s;
}

.person::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 12, 21, 0.02) 46%, rgba(15, 12, 21, 0.72) 100%);
}

.person span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(15, 12, 21, 0.36);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.person:hover {
  z-index: 4;
  transform: rotate(0deg) translateY(-6px);
  box-shadow: 0 34px 60px -34px rgba(40, 20, 80, 0.7);
  animation-play-state: paused;
}

.person:hover img {
  transform: scale(1.06);
  filter: saturate(1.02);
}

.p1 { grid-column: 1 / 4; grid-row: 1 / 8; --r: -1.6deg; }
.p2 { grid-column: 4 / 7; grid-row: 2 / 9; --r: 1.2deg; }
.p3 { grid-column: 7 / 10; grid-row: 1 / 7; --r: -0.8deg; }
.p4 { grid-column: 10 / 13; grid-row: 2 / 10; --r: 1.8deg; }
.p5 { grid-column: 1 / 4; grid-row: 9 / 16; --r: 1.4deg; }
.p6 { grid-column: 4 / 7; grid-row: 10 / 17; --r: -1.1deg; }
.p7 { grid-column: 7 / 10; grid-row: 8 / 15; --r: 1.6deg; }
.p8 { grid-column: 10 / 13; grid-row: 11 / 18; --r: -1.4deg; }

@keyframes drift {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

/* ---------- about video ---------- */
.about-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: stretch;
}

.about-media {
  position: relative;
  min-height: 500px;
  border-radius: 28px;
  overflow: hidden;
  background: #17111f;
  box-shadow: 0 40px 90px -60px rgba(60, 30, 120, 0.6);
}

.about-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
}

.about-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 12, 21, 0.04) 0%, rgba(15, 12, 21, 0.58) 100%);
}

.about-media-tag {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 2;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(15, 12, 21, 0.36);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
}

.about-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-copy .contact-card {
  margin-top: 30px;
}

/* ---------- animated CTA ---------- */
.cta-band {
  background: #0f0c15;
}

.cta-band::before {
  inset: -45%;
  background: conic-gradient(from 0deg, #6d4de0, #c47ac7, #f3b6d8, #a178dd, #6d4de0);
  opacity: 0.38;
  filter: blur(90px);
  animation: spin 28s linear infinite;
}

.cta-band::after {
  background: radial-gradient(circle at 50% 50%, rgba(15, 12, 21, 0.08) 0%, rgba(15, 12, 21, 0.58) 55%, rgba(15, 12, 21, 0.94) 100%);
}

.cta-inner {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 26px;
}

.cta-band h2 {
  max-width: 18ch;
  margin: 0;
}

.cta-band .eyebrow {
  margin-bottom: 0;
}

.cta-actions {
  margin-top: 0;
}

/* ---------- v3 responsive ---------- */
@media (max-width: 980px) {
  .signal {
    max-width: 520px;
    margin: 0 auto;
  }
  .about-layout { grid-template-columns: 1fr; gap: 32px; }
  .about-media { min-height: 340px; }
  .people-wall {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
    gap: 10px;
    padding-bottom: 0;
  }
  .person {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 9 / 16;
    transform: none;
    animation: none;
  }
  .person:hover { transform: translateY(-4px); }
}

@media (max-width: 620px) {
  .hero h1 { font-size: clamp(38px, 11vw, 54px); }
  .signal { min-height: 340px; }
  .signal-word { font-size: 10px; padding: 6px 10px; }
  .product-visual { aspect-ratio: 16 / 9; }
  .feature-icon { width: 78px; height: 78px; }
  .about-media { min-height: 300px; }
}

/* =========================================================
   v4 — compact product list, centered manifesto,
   portrait wall as scenario background
   ========================================================= */
.section {
  padding: clamp(64px, 7vw, 104px) 0;
}

.section-head {
  margin-bottom: clamp(30px, 3.6vw, 46px);
}

.ecosystem {
  padding: clamp(64px, 7vw, 104px) 0;
}

.cta-band {
  padding: clamp(64px, 7vw, 96px) 0;
}

/* ---------- compact product list ---------- */
.product-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.product-row {
  display: grid;
  grid-template-columns: 32px 56px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.44);
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s, box-shadow 0.35s;
}

.product-row:hover {
  transform: translateY(-2px);
  border-color: rgba(18, 16, 22, 0.26);
  background: var(--white);
  box-shadow: 0 20px 40px -34px rgba(40, 20, 80, 0.5);
}

.product-row .product-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.product-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(109, 77, 224, 0.14);
  border-radius: 16px;
  background: radial-gradient(circle at 38% 28%, #f2eaff, #faf4fb 70%);
  transition: transform 0.4s var(--ease);
}

.product-row:hover .product-icon {
  transform: scale(1.06);
}

.product-icon .feature-icon {
  width: 32px;
  height: 32px;
}

.product-row:hover .feature-icon {
  transform: scale(1.08) rotate(-2deg);
}

.product-text h3 {
  margin: 0 0 3px;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.product-text p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
}

.product-row .product-arrow {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 12px;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s;
}

.product-row:hover .product-arrow {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
  transform: rotate(45deg);
}

/* ---------- centered manifesto ---------- */
.manifesto-section {
  position: relative;
  overflow: hidden;
}

.manifesto-aura {
  position: absolute;
  left: 50%;
  top: 32%;
  width: min(720px, 88vw);
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(161, 120, 221, 0.24), rgba(196, 122, 199, 0.1) 46%, transparent 70%);
  filter: blur(12px);
  animation: corePulse 9s ease-in-out infinite;
  pointer-events: none;
}

.manifesto-center {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.manifesto-center .section-index {
  padding-top: 0;
  margin-bottom: 14px;
}

.manifesto-center h2 {
  max-width: none;
  margin: 0 auto;
  font-size: clamp(36px, 4.8vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.manifesto-lead {
  max-width: 62ch;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.signal-line {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.signal-line span {
  animation: wordFade 4.5s ease-in-out infinite;
}

.signal-line span:nth-of-type(2) { animation-delay: -1.1s; }
.signal-line span:nth-of-type(3) { animation-delay: -2.2s; }
.signal-line span:nth-of-type(4) { animation-delay: -3.3s; }

.signal-line i {
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lilac), transparent);
  animation: linePulse 3.2s ease-in-out infinite;
}

.signal-line i:nth-of-type(2) { animation-delay: -1s; }
.signal-line i:nth-of-type(3) { animation-delay: -2s; }

@keyframes wordFade {
  0%, 100% { opacity: 0.38; }
  50% { opacity: 1; }
}

@keyframes linePulse {
  0%, 100% { transform: scaleX(0.45); opacity: 0.35; }
  50% { transform: scaleX(1); opacity: 1; }
}

.principles--row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: none;
  margin-top: 44px;
  text-align: left;
}

/* ---------- scenarios as a portrait wall ---------- */
.scenarios-wall {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: clamp(70px, 8vw, 108px) 0;
  background: #0f0c15;
  color: var(--white);
}

.people-bg {
  position: absolute;
  inset: -7%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 14px;
  opacity: 0.42;
  filter: saturate(0.72) contrast(1.05);
  animation: bgDrift 22s ease-in-out infinite alternate;
}

.people-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  transform: rotate(var(--r, 0deg)) scale(1.03);
}

.people-bg img:nth-child(2n) { translate: 0 24px; }
.people-bg img:nth-child(3n) { translate: 0 -18px; }
.people-bg img:nth-child(1) { --r: -1.4deg; }
.people-bg img:nth-child(2) { --r: 1.2deg; }
.people-bg img:nth-child(3) { --r: -0.8deg; }
.people-bg img:nth-child(4) { --r: 1.6deg; }
.people-bg img:nth-child(5) { --r: 1deg; }
.people-bg img:nth-child(6) { --r: -1.6deg; }
.people-bg img:nth-child(7) { --r: 0.9deg; }
.people-bg img:nth-child(8) { --r: -1.2deg; }

@keyframes bgDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(0, -14px, 0) scale(1.02); }
}

.scenarios-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 12, 21, 0.94) 0%, rgba(15, 12, 21, 0.74) 46%, rgba(15, 12, 21, 0.56) 100%),
    linear-gradient(180deg, rgba(15, 12, 21, 0.56), rgba(15, 12, 21, 0.86));
}

.scenarios-inner {
  position: relative;
  z-index: 2;
}

.scenarios-wall .section-index {
  color: rgba(255, 255, 255, 0.45);
}

.scenarios-wall h2 {
  max-width: 14ch;
  color: var(--white);
}

.scenarios-wall .section-lead {
  color: rgba(255, 255, 255, 0.62);
}

.scenario-text-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 42px;
}

.scenario-text {
  display: block;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.scenario-text:hover {
  border-color: rgba(255, 255, 255, 0.72);
  transform: translateY(-3px);
}

.scenario-text .num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.5);
}

.scenario-text h3 {
  margin: 12px 0 6px;
  color: var(--white);
  font-size: clamp(18px, 1.7vw, 22px);
  letter-spacing: -0.03em;
}

.scenario-text p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12.5px;
  line-height: 1.65;
}

/* ---------- v4 responsive ---------- */
@media (max-width: 980px) {
  .product-list { grid-template-columns: 1fr; }
  .principles--row { grid-template-columns: 1fr; gap: 0; }
  .scenario-text-grid { grid-template-columns: repeat(2, 1fr); }
  .people-bg {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
  }
}

@media (max-width: 620px) {
  .section { padding: 56px 0; }
  .product-row {
    grid-template-columns: 26px 48px minmax(0, 1fr) 26px;
    gap: 12px;
    padding: 14px;
  }
  .product-icon { width: 48px; height: 48px; border-radius: 14px; }
  .product-icon .feature-icon { width: 28px; height: 28px; }
  .product-text h3 { font-size: 16px; }
  .product-text p { font-size: 12px; }
  .scenario-text-grid { grid-template-columns: 1fr; gap: 18px; }
  .scenarios-wall { padding: 56px 0; }
  .manifesto-center h2 { font-size: clamp(32px, 10vw, 44px); }
  .signal-line { gap: 10px; }
  .signal-line i { width: 24px; }
}

/* =========================================================
   v5 — full-screen hero, unified H2, section contrast,
   richer manifesto, 3x2 product grid, light ecosystem
   ========================================================= */

/* unify H2 across every section */
.section h2,
.manifesto-center h2,
.scenarios-wall h2,
.ecosystem h2,
.cta-band h2 {
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

/* distinct section backgrounds */
#manifesto {
  background: linear-gradient(180deg, #f2e7d6 0%, #ece0ce 100%);
}

#products {
  background: #fffdfa;
}

#ecosystem {
  border-top: 1px solid var(--line);
  background: #f2f0f9;
  color: var(--ink);
}

#about {
  background: #f1ece4;
}

/* ---------- full-screen hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: 132px 0 84px;
  overflow: hidden;
  background: #08070b;
}

.hero::before {
  display: none;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  filter: saturate(0.9) contrast(1.05);
}

.hero-mask {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 7, 12, 0.92) 0%, rgba(8, 7, 12, 0.64) 48%, rgba(8, 7, 12, 0.24) 100%),
    linear-gradient(180deg, rgba(8, 7, 12, 0.52) 0%, rgba(8, 7, 12, 0.04) 36%, rgba(8, 7, 12, 0.86) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.hero h1 {
  color: var(--white);
}

.hero h1 .grad {
  background: linear-gradient(96deg, #c7b3ff 0%, #f0b4d8 58%, #ffd9a8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.64);
}

.hero .eyebrow::before {
  background: #c7b3ff;
}

.hero-sub {
  color: rgba(255, 255, 255, 0.72);
}

.hero-actions .btn-dark {
  background: var(--white);
  color: var(--ink);
}

.hero-actions .btn-dark:hover {
  background: #efe9ff;
}

.hero-actions .btn-ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
}

.hero-actions .btn-ghost:hover {
  border-color: var(--white);
}

.hero-meta {
  border-top-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.58);
}

.hero-meta span::before {
  background: #c7b3ff;
}

.hero-scroll {
  position: absolute;
  right: 26px;
  bottom: 28px;
  z-index: 2;
  writing-mode: vertical-rl;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.42);
}

/* header over the dark hero */
.site-header:not(.scrolled) .brand,
.site-header:not(.scrolled) .brand span {
  color: var(--white);
}

.site-header:not(.scrolled) .nav a {
  color: rgba(255, 255, 255, 0.68);
}

.site-header:not(.scrolled) .nav a:hover {
  color: var(--white);
}

.site-header:not(.scrolled) .nav a::after {
  background: var(--white);
}

.site-header:not(.scrolled) .link-subtle {
  color: rgba(255, 255, 255, 0.68);
}

.site-header:not(.scrolled) .link-subtle:hover {
  color: var(--white);
}

.site-header:not(.scrolled) .btn-dark {
  background: var(--white);
  color: var(--ink);
}

.site-header:not(.scrolled) .btn-dark:hover {
  background: #efe9ff;
}

.site-header:not(.scrolled) .nav-toggle {
  border-color: rgba(255, 255, 255, 0.28);
}

.site-header:not(.scrolled) .nav-toggle span {
  background: var(--white);
}

/* ---------- richer manifesto ---------- */
.manifesto-section {
  background: linear-gradient(180deg, #f2e7d6 0%, #ece0ce 100%);
}

.manifesto-bg {
  position: absolute;
  left: 50%;
  top: 42%;
  translate: -50% -50%;
  z-index: 1;
  white-space: nowrap;
  font-size: clamp(110px, 19vw, 260px);
  font-weight: 700;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(18, 16, 22, 0.07);
  pointer-events: none;
  animation: bgWord 18s ease-in-out infinite alternate;
}

@keyframes bgWord {
  from { translate: -50% -50%; }
  to { translate: -50% -55%; }
}

.manifesto-center h2 .grad {
  background: linear-gradient(96deg, var(--iris) 0%, var(--lilac) 46%, var(--blossom) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.manifesto-chip {
  position: absolute;
  z-index: 3;
  padding: 7px 11px;
  border: 1px solid rgba(18, 16, 22, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  animation: float 7s ease-in-out infinite;
}

.chip-a { left: 1%; top: 16%; animation-delay: -2s; }
.chip-b { right: 0; top: 38%; animation-delay: -4s; }
.chip-c { right: 9%; bottom: 6%; animation-delay: -6s; }

/* ---------- 3 x 2 product cards ---------- */
.product-list {
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.product-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-height: 190px;
  padding: 22px;
  position: relative;
}

.product-row .product-num {
  position: absolute;
  top: 18px;
  right: 18px;
}

.product-row .product-arrow {
  position: absolute;
  right: 18px;
  bottom: 18px;
}

.product-icon {
  width: 52px;
  height: 52px;
}

.product-icon .feature-icon {
  width: 30px;
  height: 30px;
}

.product-text {
  max-width: 34ch;
}

.product-text h3 {
  font-size: 18px;
}

.product-text p {
  font-size: 12.5px;
}

/* ---------- light ecosystem ---------- */
#ecosystem {
  background: #f2f0f9;
  color: var(--ink);
}

.ecosystem::before {
  background: radial-gradient(circle, rgba(161, 120, 221, 0.18), transparent 68%);
}

.ecosystem .section-index {
  color: var(--muted);
}

.ecosystem h2 {
  color: var(--ink);
}

.ecosystem .section-lead {
  color: var(--muted);
}

.ecosystem .eco-point {
  color: var(--muted);
}

.ecosystem .eco-point b {
  color: var(--ink);
}

.ecosystem .btn-light {
  background: var(--ink);
  color: var(--white);
}

.ecosystem .btn-light:hover {
  background: #2a2533;
}

.ecosystem .btn-ghost {
  border-color: var(--line);
  color: var(--ink);
}

.ecosystem .btn-ghost:hover {
  border-color: var(--ink);
}

/* ---------- v5 responsive ---------- */
@media (max-width: 980px) {
  .product-list { grid-template-columns: repeat(2, 1fr); }
  .manifesto-chip { display: none; }
  .hero { padding-top: 116px; }
}

@media (max-width: 620px) {
  .hero { padding: 104px 0 64px; }
  .hero-scroll { display: none; }
  .product-list { grid-template-columns: 1fr; }
  .product-row { min-height: 0; padding: 18px; }
  .manifesto-bg { font-size: 26vw; }
  .product-row .product-num { top: 16px; right: 16px; }
  .product-row .product-arrow { right: 16px; bottom: 16px; }
}

/* =========================================================
   v6 — product image cards, centered scenarios header,
   full-screen video about, bright CTA
   ========================================================= */

/* product cards with background images */
.product-row {
  justify-content: flex-end;
  min-height: 240px;
  padding: 0;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.1);
  background: #111014;
  color: var(--white);
}

.product-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.product-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92);
  transition: transform 0.9s var(--ease);
}

.product-row::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(6, 5, 10, 0.12) 0%, rgba(6, 5, 10, 0.34) 44%, rgba(6, 5, 10, 0.9) 100%);
}

.product-row > *:not(.product-bg) {
  position: relative;
  z-index: 2;
}

.product-row .product-num {
  color: rgba(255, 255, 255, 0.68);
}

.product-icon {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 3;
  width: 46px;
  height: 46px;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(15, 12, 21, 0.36);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.product-icon .feature-icon {
  width: 24px;
  height: 24px;
  stroke: var(--white);
}

.product-text {
  padding: 0 58px 22px 22px;
  max-width: 32ch;
}

.product-text h3 {
  margin-bottom: 6px;
  color: var(--white);
  font-size: 20px;
}

.product-text p {
  color: rgba(255, 255, 255, 0.72);
}

.product-arrow {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(15, 12, 21, 0.32);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
}

.product-row:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: #111014;
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.75);
}

.product-row:hover .product-bg img {
  transform: scale(1.06);
}

.product-row:hover .product-arrow {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

/* centered scenarios header */
.scenarios-wall .section-head {
  display: block;
  max-width: 840px;
  margin: 0 auto clamp(36px, 4vw, 52px);
  text-align: center;
}

.scenarios-wall .section-index {
  display: block;
  margin-bottom: 14px;
}

.scenarios-wall h2 {
  margin: 0 auto;
  max-width: 18ch;
}

.scenarios-wall .section-lead {
  margin: 18px auto 0;
  max-width: 62ch;
}

/* full-screen video about */
.about-video {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  padding: 104px 0;
  overflow: hidden;
  background: #08070b;
  color: var(--white);
}

.about-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}

.about-video-mask {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 7, 12, 0.58) 0%, rgba(8, 7, 12, 0.32) 42%, rgba(8, 7, 12, 0.82) 100%),
    radial-gradient(ellipse 70% 60% at 50% 50%, transparent 20%, rgba(8, 7, 12, 0.55) 100%);
}

.about-video-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  text-align: center;
}

.about-video-inner .section-index {
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.5);
}

.about-video h2 {
  margin: 0 auto;
  max-width: none;
  color: var(--white);
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.about-video p {
  max-width: 62ch;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.85;
}

.about-contact {
  margin-top: 12px !important;
  font-family: var(--mono);
  font-size: 12px !important;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.56) !important;
}

.about-contact a {
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.36);
}

.about-video .btn {
  margin-top: 30px;
}

.about-video .btn-light {
  background: var(--white);
  color: var(--ink);
}

.about-video .btn-light:hover {
  background: #efe9ff;
}

/* bright CTA band, clearly separated from the dark about video */
.cta-band {
  background: linear-gradient(120deg, #5a3bd6 0%, #8a63e6 34%, #c47ac7 70%, #f0b4d8 100%);
  color: var(--white);
}

.cta-band::before {
  inset: -40%;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.5), transparent 38%),
    radial-gradient(circle at 72% 82%, rgba(255, 255, 255, 0.3), transparent 42%);
  opacity: 1;
  filter: blur(28px);
  animation: ctaDrift 14s ease-in-out infinite alternate;
}

.cta-band::after {
  background: linear-gradient(180deg, rgba(10, 8, 15, 0.02), rgba(10, 8, 15, 0.26));
}

.cta-band .eyebrow {
  color: rgba(255, 255, 255, 0.76);
}

.cta-band .eyebrow::before {
  background: var(--white);
}

.cta-band h2 {
  color: var(--white);
}

.cta-band .btn-light {
  background: var(--white);
  color: var(--ink);
}

.cta-band .btn-light:hover {
  background: #f3eaff;
}

@keyframes ctaDrift {
  from { transform: translate3d(-2%, -2%, 0) scale(1); }
  to { transform: translate3d(3%, 2%, 0) scale(1.08); }
}

/* ---------- v6 responsive ---------- */
@media (max-width: 980px) {
  .about-video { padding: 88px 0; }
}

@media (max-width: 620px) {
  .product-row { min-height: 210px; }
  .product-text { padding: 0 52px 18px 18px; }
  .product-icon { left: 16px; top: 16px; width: 42px; height: 42px; }
  .product-icon .feature-icon { width: 22px; height: 22px; }
  .about-video { padding: 76px 0; }
  .about-video p { font-size: 14px; }
}

/* =========================================================
   v7 — calmer manifesto, restored MCP section,
   shorter about video, CTA removed
   ========================================================= */
.about-video {
  min-height: clamp(480px, 68svh, 680px);
  padding: 72px 0;
}

@media (max-width: 620px) {
  .about-video {
    min-height: 520px;
    padding: 56px 0;
  }
}

/* =========================================================
   v8 — multi-page brand site
   ========================================================= */

/* header: dark text on light subpages, white only on .on-dark home */
.site-header:not(.on-dark):not(.scrolled) .brand,
.site-header:not(.on-dark):not(.scrolled) .brand span {
  color: var(--ink);
}

.site-header:not(.on-dark):not(.scrolled) .nav a {
  color: var(--muted);
}

.site-header:not(.on-dark):not(.scrolled) .nav a:hover {
  color: var(--ink);
}

.site-header:not(.on-dark):not(.scrolled) .nav a::after {
  background: var(--ink);
}

.site-header:not(.on-dark):not(.scrolled) .link-subtle {
  color: var(--muted);
}

.site-header:not(.on-dark):not(.scrolled) .link-subtle:hover {
  color: var(--ink);
}

.site-header:not(.on-dark):not(.scrolled) .btn-dark {
  background: var(--ink);
  color: var(--white);
}

.site-header:not(.on-dark):not(.scrolled) .btn-dark:hover {
  background: #2a2533;
}

.site-header:not(.on-dark):not(.scrolled) .nav-toggle {
  border-color: var(--line);
}

.site-header:not(.on-dark):not(.scrolled) .nav-toggle span {
  background: var(--ink);
}

.lang-switch {
  padding: 6px 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}

.lang-switch:hover {
  color: var(--ink);
}

.site-header.on-dark:not(.scrolled) .lang-switch {
  color: rgba(255, 255, 255, 0.68);
}

.site-header.on-dark:not(.scrolled) .lang-switch:hover {
  color: var(--white);
}

.nav a[aria-current="page"] {
  color: var(--ink);
}

.nav a[aria-current="page"]::after {
  right: 0;
}

.site-header.on-dark:not(.scrolled) .nav a[aria-current="page"] {
  color: var(--white);
}

/* subpage hero */
.page-hero {
  padding: 140px 0 56px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #f3eee6 0%, #f7f4ef 100%);
}

.page-hero h1 {
  margin: 16px 0 0;
  font-size: clamp(40px, 5.6vw, 80px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.page-lead {
  max-width: 64ch;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--ink);
}

.breadcrumb span:last-child {
  color: var(--ink);
}

/* home intro + gateway */
.home-intro {
  padding: clamp(64px, 8vw, 110px) 0;
  text-align: center;
}

.home-intro h2 {
  max-width: 18ch;
  margin: 14px auto 0;
  font-size: clamp(34px, 4.6vw, 64px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.home-intro p {
  max-width: 62ch;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.gateway-section {
  padding: 0 0 clamp(64px, 8vw, 110px);
}

.gateway-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.gateway-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
  padding: 26px;
  border-radius: 26px;
  overflow: hidden;
  color: var(--white);
  background: #111014;
}

.gateway-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.gateway-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.gateway-bg--code {
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 20%, #2b2145 0%, #15101f 58%, #0f0c15 100%);
}

.gateway-code {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #cfc6e6;
}

.gateway-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(8, 7, 12, 0.08) 0%, rgba(8, 7, 12, 0.86) 100%);
}

.gateway-card > *:not(.gateway-bg):not(.gateway-index):not(.gateway-arrow) {
  position: relative;
  z-index: 2;
}

.gateway-index {
  position: absolute;
  left: 24px;
  top: 22px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.65);
}

.gateway-text h3 {
  margin: 0 0 8px;
  font-size: 26px;
  letter-spacing: -0.03em;
}

.gateway-text p {
  max-width: 34ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.7;
}

.gateway-arrow {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  font-size: 14px;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}

.gateway-card:hover .gateway-bg img {
  transform: scale(1.05);
}

.gateway-card:hover .gateway-arrow {
  background: var(--white);
  color: var(--ink);
  transform: rotate(45deg);
}

/* scenario page image strip */
.scenario-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.scenario-strip img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 18px;
}

/* product / scenario detail blocks */
.product-block {
  padding: clamp(56px, 7vw, 96px) 0;
  border-top: 1px solid var(--line);
}

.product-block-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.product-block--alt .product-block-inner {
  grid-template-columns: 0.95fr 1.05fr;
}

.product-block--alt .product-block-media {
  order: 2;
}

.product-block-media {
  aspect-ratio: 16 / 10;
  border-radius: 24px;
  overflow: hidden;
  background: #111;
}

.product-block-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-block-index {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--iris);
}

.product-block-copy h2 {
  margin: 12px 0 0;
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.product-block-copy p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.product-block-copy ul {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.product-block-copy li {
  display: flex;
  gap: 10px;
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.6;
}

.product-block-copy li::before {
  content: "";
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--iris);
}

.product-block-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

/* MCP page extras */
.mcp-clients {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 32px;
}

.mcp-client {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.5);
}

.mcp-client h3 {
  margin: 0 0 6px;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.mcp-client p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.mcp-note {
  max-width: 70ch;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

/* about page band + story */
.about-band {
  min-height: clamp(420px, 60svh, 600px);
  padding: 72px 0;
}

.about-story {
  padding: clamp(56px, 7vw, 96px) 0;
  border-top: 1px solid var(--line);
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}

.about-story p {
  max-width: 62ch;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.about-story p:first-child {
  color: var(--ink);
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.55;
  letter-spacing: -0.025em;
}

/* contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
}

.contact-big {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.contact-big a {
  border-bottom: 1px solid var(--ink);
}

.contact-note {
  max-width: 58ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

/* legal page */
.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.legal-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.5);
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s;
}

.legal-card:hover {
  transform: translateY(-3px);
  border-color: var(--ink);
  background: var(--white);
}

.legal-card h3 {
  margin: 0;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.legal-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.legal-card span {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--iris);
}

/* v8 responsive */
@media (max-width: 980px) {
  .page-hero { padding: 118px 0 44px; }
  .gateway-grid { grid-template-columns: 1fr; }
  .product-block-inner,
  .product-block--alt .product-block-inner,
  .about-story-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .product-block--alt .product-block-media { order: 0; }
  .mcp-clients { grid-template-columns: 1fr; }
  .legal-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .page-hero { padding: 104px 0 36px; }
  .gateway-card { min-height: 260px; }
  .product-block { padding: 48px 0; }
  .about-band { min-height: 420px; padding: 56px 0; }
  .scenario-strip { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   v9 — white split manifesto, split products, animated about
   ========================================================= */

/* manifesto: white background + left text / right video */
#manifesto {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.manifesto-split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.manifesto-text .section-index {
  padding-top: 0;
  margin-bottom: 14px;
}

.manifesto-text h2 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(34px, 4.6vw, 64px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.manifesto-text .manifesto-lead {
  max-width: 56ch;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.principles--stack {
  display: grid;
  gap: 0;
  max-width: 620px;
  margin-top: 30px;
}

.manifesto-video {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 320px;
  border-radius: 28px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 40px 90px -60px rgba(60, 30, 120, 0.55);
}

.manifesto-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.manifesto-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 7, 12, 0.04) 0%, rgba(8, 7, 12, 0.5) 100%);
}

.manifesto-video-tag {
  position: absolute;
  left: 18px;
  top: 18px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(15, 12, 21, 0.36);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
}

/* products: left sticky intro + right list */
.product-split {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.product-side {
  position: sticky;
  top: 110px;
}

.product-side .section-index {
  padding-top: 0;
  margin-bottom: 14px;
}

.product-side h2 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(34px, 4.6vw, 64px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.product-side .section-lead {
  max-width: 48ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.product-rows {
  display: grid;
  gap: 10px;
}

.product-item {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) 32px;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s, box-shadow 0.35s;
}

.product-item:hover {
  transform: translateY(-2px);
  border-color: rgba(18, 16, 22, 0.26);
  background: var(--white);
  box-shadow: 0 22px 40px -34px rgba(40, 20, 80, 0.5);
}

.product-thumb {
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.product-item:hover .product-thumb img {
  transform: scale(1.06);
}

.product-copy .product-num {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--iris);
}

.product-copy h3 {
  margin: 4px 0 3px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.product-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
}

.product-item .product-arrow {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 12px;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s;
}

.product-item:hover .product-arrow {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
  transform: rotate(45deg);
}

/* about: animated HTML background */
.about-animated {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(480px, 68svh, 680px);
  padding: 72px 0;
  overflow: hidden;
  background: #0f0c15;
  color: var(--white);
}

.about-animated::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: conic-gradient(from 90deg, rgba(109, 77, 224, 0.34), transparent 28%, rgba(196, 122, 199, 0.28), transparent 62%, rgba(109, 77, 224, 0.34));
  filter: blur(70px);
  animation: spin 34s linear infinite;
}

.about-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  animation: aboutFloat 14s ease-in-out infinite;
}

.about-orb-a {
  width: 40vw;
  height: 40vw;
  max-width: 520px;
  max-height: 520px;
  left: -8%;
  top: -12%;
  background: #6d4de0;
}

.about-orb-b {
  width: 36vw;
  height: 36vw;
  max-width: 480px;
  max-height: 480px;
  right: -8%;
  bottom: -14%;
  background: #c47ac7;
  animation-delay: -5s;
}

.about-orb-c {
  width: 24vw;
  height: 24vw;
  max-width: 320px;
  max-height: 320px;
  left: 42%;
  top: 32%;
  background: #f0b4d8;
  opacity: 0.22;
  animation-delay: -9s;
}

.about-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  animation: spin 30s linear infinite;
}

.about-ring-a {
  width: 72vw;
  height: 72vw;
  max-width: 820px;
  max-height: 820px;
}

.about-ring-b {
  width: 48vw;
  height: 48vw;
  max-width: 560px;
  max-height: 560px;
  border-style: dashed;
  animation-duration: 20s;
  animation-direction: reverse;
}

.about-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 50%, #000 12%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 12%, transparent 72%);
}

.about-animated-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  text-align: center;
}

.about-animated-inner .section-index {
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.5);
}

.about-animated h2 {
  margin: 0 auto;
  color: var(--white);
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.about-animated p {
  max-width: 62ch;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.85;
}

.about-animated .about-contact {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.56);
}

.about-animated .about-contact a {
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.36);
}

.about-animated .btn {
  margin-top: 30px;
}

.about-animated .btn-light {
  background: var(--white);
  color: var(--ink);
}

.about-animated .btn-light:hover {
  background: #efe9ff;
}

@keyframes aboutFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -24px, 0) scale(1.06); }
}

/* v9 responsive */
@media (max-width: 980px) {
  .manifesto-split,
  .product-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .product-side {
    position: relative;
    top: 0;
  }
  .manifesto-video {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
  }
}

@media (max-width: 620px) {
  .product-item {
    grid-template-columns: 84px minmax(0, 1fr) 24px;
    gap: 12px;
    padding: 10px;
  }
  .product-copy h3 { font-size: 16px; }
  .product-copy p { font-size: 12px; }
  .about-animated { min-height: 520px; padding: 56px 0; }
}

/* =========================================================
   v10 — one-line manifesto, icon product grid,
   light compact about, dark animated MCP block
   ========================================================= */

/* manifesto heading on one line */
.manifesto-split {
  grid-template-columns: 1.1fr 0.9fr;
}

.manifesto-text h2 {
  max-width: none;
  font-size: clamp(28px, 2.8vw, 36px);
  white-space: nowrap;
}

@media (max-width: 980px) {
  .manifesto-text h2 {
    white-space: normal;
    font-size: clamp(30px, 5.4vw, 46px);
  }
}

/* products: 3 x 2 icon grid */
.product-rows {
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.product-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-height: 132px;
  padding: 16px;
  position: relative;
}

.product-icon-badge {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(109, 77, 224, 0.16);
  border-radius: 12px;
  background: radial-gradient(circle at 38% 28%, #f2eaff, #faf4fb 70%);
  transition: transform 0.4s var(--ease);
}

.product-item:hover .product-icon-badge {
  transform: scale(1.08);
}

.product-icon-badge .feature-icon {
  width: 22px;
  height: 22px;
  stroke: var(--iris);
}

.product-copy h3 {
  margin: 2px 0 3px;
  font-size: 15px;
}

.product-copy p {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-item .product-arrow {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 24px;
  height: 24px;
  font-size: 11px;
}

/* about: light, compact, dark text */
.about-animated {
  min-height: clamp(400px, 52svh, 540px);
  padding: 64px 0;
  background: #f7f4ef;
  color: var(--ink);
}

.about-animated::before {
  background: conic-gradient(from 90deg, rgba(161, 120, 221, 0.3), transparent 28%, rgba(196, 122, 199, 0.22), transparent 62%, rgba(161, 120, 221, 0.3));
  filter: blur(80px);
  opacity: 0.55;
}

.about-orb-a {
  background: #c7b3ff;
  opacity: 0.34;
}

.about-orb-b {
  background: #f0b4d8;
  opacity: 0.28;
}

.about-orb-c {
  background: #ffd9a8;
  opacity: 0.26;
}

.about-ring {
  border-color: rgba(18, 16, 22, 0.08);
}

.about-grid-bg {
  background-image:
    linear-gradient(rgba(18, 16, 22, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 16, 22, 0.05) 1px, transparent 1px);
}

.about-animated-inner .section-index {
  color: var(--muted);
}

.about-animated h2 {
  color: var(--ink);
}

.about-animated p {
  color: var(--muted);
}

.about-animated .about-contact {
  color: var(--muted);
}

.about-animated .about-contact a {
  color: var(--ink);
  border-bottom-color: rgba(18, 16, 22, 0.3);
}

.about-animated .btn-dark {
  background: var(--ink);
  color: var(--white);
}

.about-animated .btn-dark:hover {
  background: #2a2533;
}

/* MCP page second screen: black + animation */
.mcp-dark {
  position: relative;
  overflow: hidden;
  background: #0f0c15;
  color: var(--white);
}

.mcp-dark::before {
  content: "";
  position: absolute;
  inset: -35%;
  background: conic-gradient(from 90deg, rgba(109, 77, 224, 0.34), transparent 28%, rgba(196, 122, 199, 0.26), transparent 62%, rgba(109, 77, 224, 0.34));
  filter: blur(80px);
  animation: spin 32s linear infinite;
}

.mcp-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  animation: aboutFloat 14s ease-in-out infinite;
}

.mcp-orb-a {
  width: 34vw;
  height: 34vw;
  max-width: 440px;
  max-height: 440px;
  left: -6%;
  top: -12%;
  background: #6d4de0;
}

.mcp-orb-b {
  width: 30vw;
  height: 30vw;
  max-width: 400px;
  max-height: 400px;
  right: -6%;
  bottom: -14%;
  background: #c47ac7;
  animation-delay: -6s;
}

.mcp-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 50%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 10%, transparent 72%);
}

.mcp-dark .wrap {
  position: relative;
  z-index: 2;
}

.mcp-dark .section-index {
  color: rgba(255, 255, 255, 0.45);
}

.mcp-dark h2 {
  color: var(--white);
}

.mcp-dark .section-lead {
  color: rgba(255, 255, 255, 0.62);
}

.mcp-dark .eco-point {
  color: rgba(255, 255, 255, 0.66);
}

.mcp-dark .eco-point b {
  color: var(--white);
}

.mcp-dark .btn-light {
  background: var(--white);
  color: var(--ink);
}

.mcp-dark .btn-ghost {
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--white);
}

.mcp-dark .btn-ghost:hover {
  border-color: var(--white);
}

/* v10 responsive */
@media (max-width: 980px) {
  .product-rows {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .product-rows {
    grid-template-columns: 1fr;
  }
  .product-item {
    min-height: 0;
  }
  .about-animated {
    min-height: 420px;
    padding: 56px 0;
  }
}

/* =========================================================
   v11 — hard overrides for MCP black + about contact,
   product card icon/title row
   ========================================================= */

/* MCP second screen: this ID+class rule beats the earlier #ecosystem light theme */
#ecosystem.mcp-dark {
  background: #0f0c15;
  color: var(--white);
  border-top-color: rgba(255, 255, 255, 0.08);
}

/* about contact line must be dark on the light background */
#about .about-contact {
  color: var(--ink) !important;
}

#about .about-contact a {
  color: var(--ink) !important;
  border-bottom-color: rgba(18, 16, 22, 0.3);
}

/* product card: icon + title on one row, description below */
.product-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 24px;
}

.product-head h3 {
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.product-item > p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* =========================================================
   v12 — logo contrast on dark hero vs light scrolled header
   ========================================================= */

.brand .logo-dark {
  display: block;
}

.brand .logo-light {
  display: none;
}

.site-header.on-dark:not(.scrolled) .brand .logo-light {
  display: block;
}

.site-header.on-dark:not(.scrolled) .brand .logo-dark {
  display: none;
}

/* =========================================================
   v13 — mobile-only layout fixes
   ========================================================= */

@media (max-width: 980px) {
  /* v10 base rule must not keep the manifesto side-by-side on tablets/phones */
  .manifesto-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  /* manifesto: text first, video below; three principles in one row */
  .principles--stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 24px;
  }

  .principles--stack .principle {
    display: block;
    padding: 12px 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
  }

  .principles--stack .principle b {
    display: block;
    padding-top: 0;
    font-size: 9px;
  }

  .principles--stack .principle h3 {
    margin: 4px 0 0;
    font-size: 13px;
  }

  .principles--stack .principle p {
    display: none;
  }

  /* scenarios: 2 per row, 2 rows */
  .scenario-text-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .scenario-text {
    padding-top: 12px;
  }

  .scenario-text h3 {
    font-size: 16px;
  }

  .scenario-text p {
    font-size: 11.5px;
    line-height: 1.55;
  }

  /* footer: brand on top, four link columns below */
  .footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px 8px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-col h4 {
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .footer-col a {
    font-size: 11px;
    line-height: 1.6;
  }
}

/* =========================================================
   v14 — model capabilities page
   ========================================================= */

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

.model-card {
  --accent: #6d4de0;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.58);
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s, background 0.35s;
}

.model-card:hover {
  transform: translateY(-3px);
  border-color: rgba(18, 16, 22, 0.24);
  background: var(--white);
  box-shadow: 0 24px 50px -38px rgba(40, 20, 80, 0.45);
}

.model-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.model-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(109, 77, 224, 0.14);
  border-radius: 14px;
  background: #f7f3ff;
  color: var(--accent);
}

.model-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.model-name h3 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.model-name span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--muted);
}

.model-desc {
  min-height: 64px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.model-prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}

.model-price {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
}

.model-price--ours {
  border-color: rgba(109, 77, 224, 0.2);
  background: #f6f1ff;
}

.model-price > span {
  display: block;
  color: var(--muted);
  font-size: 10px;
}

.model-price b {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-top: 4px;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.model-price b em {
  font-size: 11px;
  font-style: normal;
}

.model-price b i {
  font-style: normal;
}

.model-price b small {
  margin-left: 3px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
}

.model-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
}

.model-save {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(109, 77, 224, 0.1);
  color: var(--iris);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.model-example {
  color: var(--muted);
  font-size: 11px;
}

.model-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
}

.model-link:hover {
  color: var(--iris);
}

.model-note {
  max-width: 78ch;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

/* keep short leads and notes on one line on desktop */
.page-lead.wide-lead,
.section-lead.wide-lead,
.mcp-note.wide-note,
.model-note.wide-note {
  max-width: none;
}

.section h2.models-heading {
  max-width: none;
}

@media (min-width: 981px) {
  .section h2.models-heading {
    font-size: clamp(30px, 3.2vw, 46px);
  }
}

@media (min-width: 1200px) {
  html[lang="zh-CN"] .page-lead.wide-lead,
  html[lang="zh-CN"] .section-lead.wide-lead,
  html[lang="zh-CN"] .mcp-note.wide-note,
  html[lang="zh-CN"] .model-note.wide-note,
  html[lang="zh-CN"] .section h2.models-heading {
    white-space: nowrap;
  }
}

.model-cta {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

@media (max-width: 980px) {
  .model-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .model-grid {
    grid-template-columns: 1fr;
  }
  .model-desc {
    min-height: 0;
  }
}

