/* ═══════════════════════════════════════════════════════
   Home — cinematic product story
   ═══════════════════════════════════════════════════════ */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: calc(var(--header) + 40px) 0 70px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__bg::before {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 82vw;
  height: 82vw;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(30, 132, 238, 0.28), rgba(16, 70, 130, 0.08) 38%, transparent 66%);
  filter: blur(42px);
  content: "";
}

.hero__bg::after {
  position: absolute;
  bottom: -24%;
  left: -14%;
  width: 62vw;
  height: 60vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(83, 195, 255, 0.1), transparent 65%);
  filter: blur(32px);
  content: "";
}

.hero__grid {
  position: absolute;
  inset: 0;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.038) 1px, transparent 1px);
  background-size: 90px 90px;
  -webkit-mask-image: radial-gradient(ellipse 70% 66% at 54% 42%, #000 0%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 66% at 54% 42%, #000 0%, transparent 100%);
}

.hero__horizon {
  position: absolute;
  right: -10%;
  bottom: -20%;
  left: 20%;
  height: 36%;
  transform: perspective(420px) rotateX(64deg);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(95, 193, 255, 0.22), transparent 60%),
    repeating-linear-gradient(90deg, rgba(120, 206, 255, 0.1) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, rgba(120, 206, 255, 0.08) 0 1px, transparent 1px 56px);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
  mask-image: linear-gradient(180deg, #000, transparent 85%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(30px, 4vw, 68px);
  width: min(1440px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.hero__copy {
  position: relative;
  z-index: 4;
  padding-top: 3vh;
}

.hero__eyebrow {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s 0.05s var(--ease-soft),
    transform 0.9s 0.05s var(--ease);
}

.is-hero-in .hero__eyebrow {
  opacity: 1;
  transform: none;
}

.hero__title {
  margin-top: clamp(20px, 3vw, 36px);
  color: #f7fbff;
  font-size: clamp(3rem, 5.6vw, 6.3rem);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.hero__title .line:last-child {
  color: #9edfff;
}

.hero__title .line:last-child .split-char {
  background: linear-gradient(102deg, #f7fbff 5%, #b8ebff 44%, #66c8ff 72%, #a99bff 105%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  max-width: 515px;
  margin-top: clamp(26px, 3vw, 38px);
  color: rgba(210, 225, 243, 0.7);
  font-size: clamp(1rem, 1.22vw, 1.15rem);
  line-height: 1.9;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s 0.24s var(--ease-soft),
    transform 1s 0.24s var(--ease);
}

.is-hero-in .hero__sub {
  opacity: 1;
  transform: none;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 38px;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s 0.36s var(--ease-soft),
    transform 1s 0.36s var(--ease);
}

.is-hero-in .hero__actions {
  opacity: 1;
  transform: none;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 46px;
  opacity: 0;
  transition: opacity 0.8s 0.52s var(--ease-soft);
}

.is-hero-in .hero__proof {
  opacity: 1;
}

.hero__proof span {
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.hero__proof span + span {
  position: relative;
  padding-left: 20px;
}

.hero__proof span + span::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 3px;
  height: 3px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
  content: "";
}

.hero__art {
  position: relative;
  min-height: clamp(520px, 58vw, 760px);
  perspective: 1200px;
  opacity: 0;
  transform: scale(0.92) translateY(30px);
  transition:
    opacity 0.9s 0.18s var(--ease-soft),
    transform 1.2s 0.18s var(--ease);
}

.is-hero-in .hero__art {
  opacity: 1;
  transform: none;
}

.art-stage {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(92%, 660px);
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  transform-style: preserve-3d;
}

.art-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 74%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(82, 191, 255, 0.22), rgba(94, 151, 255, 0.08) 40%, transparent 68%);
  filter: blur(28px);
  animation: haloPulse 7s ease-in-out infinite;
}

@keyframes haloPulse {
  0%, 100% { opacity: 0.8; transform: translate(-50%, -50%) scale(0.94); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.06); }
}

.art-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(126, 207, 255, 0.14);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.art-ring::before {
  position: absolute;
  top: -2px;
  left: 50%;
  width: 4px;
  height: 4px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #b9edff;
  box-shadow: 0 0 16px 3px rgba(94, 195, 255, 0.7);
  content: "";
}

.art-ring--1 {
  width: 69%;
  height: 69%;
  animation: ringSpin 24s linear infinite;
}

.art-ring--2 {
  width: 88%;
  height: 88%;
  border-style: dashed;
  border-color: rgba(126, 207, 255, 0.09);
  animation: ringSpin 42s linear infinite reverse;
}

.art-ring--3 {
  width: 104%;
  height: 104%;
  border-color: rgba(255, 255, 255, 0.055);
  animation: ringSpin 60s linear infinite;
}

@keyframes ringSpin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.art-core {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  width: 31%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%) translateZ(70px);
  transform-style: preserve-3d;
}

.art-core__shadow {
  position: absolute;
  top: 90%;
  left: 8%;
  width: 84%;
  height: 18%;
  border-radius: 50%;
  background: rgba(21, 121, 222, 0.32);
  filter: blur(26px);
}

.art-core__shell {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 8%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 30%;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.02) 40%),
    rgba(10, 24, 39, 0.45);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 45px 100px rgba(8, 89, 172, 0.36),
    0 0 80px rgba(81, 192, 255, 0.16);
  backdrop-filter: blur(14px);
  animation: coreFloat 6.5s 0.3s ease-in-out infinite;
}

@keyframes coreFloat {
  0%, 100% { transform: translateY(0) rotateX(0) rotateY(0); }
  50% { transform: translateY(-13px) rotateX(2.5deg) rotateY(-2deg); }
}

.art-core__shell img {
  width: 100%;
  height: 100%;
  border-radius: 23%;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.16) inset,
    0 18px 44px rgba(15, 90, 155, 0.24);
}

.art-core__badge {
  position: absolute;
  z-index: 12;
  right: auto;
  bottom: -22%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  height: 33px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #e1f7ff;
  background: rgba(8, 20, 34, 0.72);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  backdrop-filter: blur(16px);
}

.art-core__badge i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 9px var(--green);
}

.art-chip {
  position: absolute;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  background: rgba(8, 15, 26, 0.72);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.13) inset,
    0 22px 55px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(20px) saturate(1.2);
  will-change: transform;
}

.art-chip__icon {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid rgba(99, 197, 255, 0.2);
  border-radius: 10px;
  color: #a7e5ff;
  background: rgba(59, 166, 255, 0.1);
}

.art-chip__icon .icon {
  width: 16px;
  height: 16px;
}

.art-chip__body {
  display: block;
  min-width: 0;
}

.art-chip__body strong {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.69rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.art-chip__body > span {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.36);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.art-chip--1 {
  top: 13%;
  left: -2%;
  animation: chipFloat 7s 0.2s ease-in-out infinite;
}

.art-chip--2 {
  top: 24%;
  right: 0;
  animation: chipFloat 8s 1.1s ease-in-out infinite reverse;
}

.art-chip--3 {
  bottom: 22%;
  left: 0;
  animation: chipFloat 7.5s 0.7s ease-in-out infinite;
}

.art-chip--4 {
  right: 4%;
  bottom: 11%;
  animation: chipFloat 6.8s 1.7s ease-in-out infinite reverse;
}

@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-11px); }
}

.art-mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
  margin-left: 4px;
}

.art-mini-bars i {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, #9fe8ff, #2d93e8);
}

.art-mini-bars i:nth-child(1) { height: 35%; }
.art-mini-bars i:nth-child(2) { height: 62%; }
.art-mini-bars i:nth-child(3) { height: 48%; }
.art-mini-bars i:nth-child(4) { height: 88%; }
.art-mini-bars i:nth-child(5) { height: 70%; }

.hero__scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.28);
  font-size: 8px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 1.5s 1.4s;
}

.is-hero-in .hero__scroll {
  opacity: 1;
}

.hero__scroll i {
  position: relative;
  display: block;
  width: 1px;
  height: 42px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

.hero__scroll i::after {
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--blue));
  content: "";
  animation: scrollCue 2.2s ease-in-out infinite;
}

@keyframes scrollCue {
  0% { top: -100%; }
  55%, 100% { top: 100%; }
}

/* ── manifesto ─────────────────────────────────────────── */
.manifesto {
  position: relative;
  height: 215vh;
}

.manifesto__sticky {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  min-height: 100svh;
  overflow: hidden;
}

.manifesto__inner {
  position: relative;
}

.manifesto__label {
  margin-bottom: clamp(38px, 5vw, 72px);
}

.manifesto__lines {
  max-width: 1200px;
}

.manifesto__line {
  color: rgba(255, 255, 255, 0.14);
  font-size: clamp(1.95rem, 4.4vw, 4.5rem);
  font-weight: 720;
  line-height: 1.18;
  letter-spacing: -0.045em;
  transition: color 0.3s;
}

.manifesto__line em {
  font-style: normal;
  color: inherit;
}

.manifesto__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-top: clamp(50px, 7vw, 100px);
}

.manifesto__note {
  max-width: 440px;
  color: var(--ink-3);
  font-size: 0.88rem;
  line-height: 1.9;
}

.manifesto__index {
  color: rgba(255, 255, 255, 0.22);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.manifesto__glow {
  position: absolute;
  top: 25%;
  right: 6%;
  width: 36vw;
  height: 36vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 153, 255, 0.17), transparent 66%);
  filter: blur(60px);
  pointer-events: none;
}

/* ── modes ─────────────────────────────────────────────── */
.modes {
  position: relative;
  padding-bottom: clamp(70px, 6vw, 100px);
}

#capabilities {
  padding-top: clamp(76px, 7vw, 112px);
}

.modes__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.mode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 540px;
  overflow: hidden;
  border-radius: var(--r-xl);
  transition: transform 0.65s var(--ease);
}

.mode-card:hover {
  transform: translateY(-6px);
}

.mode-card--interactive {
  grid-column: span 7;
}

.mode-card--work {
  grid-column: span 5;
}

.mode-card--chat {
  grid-column: span 12;
  min-height: 300px;
}

.mode-card__top {
  position: relative;
  z-index: 2;
  padding: clamp(30px, 4vw, 52px) clamp(30px, 4vw, 52px) 0;
}

.mode-card__index {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.28);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.mode-card__index .icon {
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.5);
}

.mode-card h3 {
  margin-top: clamp(26px, 3vw, 42px);
  font-size: clamp(1.9rem, 3.1vw, 2.9rem);
  line-height: 1.12;
}

.mode-card h3 span {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
}

.mode-card p {
  max-width: 470px;
  margin-top: 20px;
  color: var(--ink-2);
  font-size: 0.92rem;
  line-height: 1.85;
}

.mode-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 650;
}

.mode-card__link .icon {
  width: 15px;
  height: 15px;
  transition: transform 0.4s var(--ease);
}

.mode-card:hover .mode-card__link .icon {
  transform: translate(3px, -3px);
}

.mode-card__visual {
  position: relative;
  flex: 1;
  min-height: 210px;
  margin-top: 30px;
}

.mode-card--chat {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  min-height: 330px;
}

.mode-card--chat .mode-card__top {
  padding-bottom: 30px;
}

.mode-card--chat .mode-card__visual {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  margin-top: 0;
  padding: 20px 36px 24px 0;
}

.mode-card__tint {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.7;
  pointer-events: none;
}

.mode-card--interactive .mode-card__tint {
  background:
    radial-gradient(ellipse at 70% 78%, rgba(38, 146, 255, 0.21), transparent 55%),
    radial-gradient(ellipse at 15% 100%, rgba(152, 126, 255, 0.08), transparent 60%);
}

.mode-card--work .mode-card__tint {
  background:
    radial-gradient(ellipse at 60% 80%, rgba(87, 214, 191, 0.12), transparent 55%),
    radial-gradient(ellipse at 12% 20%, rgba(37, 137, 232, 0.12), transparent 60%);
}

.mode-card--chat .mode-card__tint {
  background: radial-gradient(ellipse at 75% 50%, rgba(123, 103, 255, 0.12), transparent 55%);
}

/* mini UI in interactive card */
.mini-panel {
  position: absolute;
  right: 6%;
  bottom: -12%;
  width: 64%;
  min-width: 280px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(8, 16, 28, 0.75);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 34px 80px rgba(0, 0, 0, 0.4);
  transform: perspective(900px) rotateX(8deg) rotateY(-8deg) rotateZ(1deg);
  backdrop-filter: blur(18px);
  transition: transform 0.8s var(--ease);
}

.mode-card:hover .mini-panel {
  transform: perspective(900px) rotateX(3deg) rotateY(-4deg) rotateZ(0deg) translateY(-6px);
}

.mini-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.mini-panel__head h4 {
  font-size: 0.85rem;
}

.mini-panel__head span {
  color: var(--ink-3);
  font-size: 0.58rem;
}

.mini-panel__badge {
  padding: 4px 8px;
  border-radius: 999px;
  color: #a9e7ff;
  background: rgba(54, 164, 255, 0.14);
  font-size: 7px;
  letter-spacing: 0.08em;
}

.mini-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.mini-metric {
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
}

.mini-metric span {
  display: block;
  color: var(--ink-3);
  font-size: 6.5px;
  letter-spacing: 0.04em;
}

.mini-metric b {
  display: block;
  margin-top: 3px;
  font-size: 0.94rem;
  letter-spacing: -0.04em;
}

.mini-metric i {
  display: block;
  margin-top: 3px;
  color: var(--green);
  font-size: 6px;
  font-style: normal;
}

.mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 92px;
  margin-top: 18px;
  padding: 0 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 100% 23px;
}

.mini-chart i {
  flex: 1;
  min-width: 4px;
  border-radius: 3px 3px 1px 1px;
  background: linear-gradient(180deg, rgba(158, 233, 255, 0.95), rgba(33, 139, 238, 0.38));
  transform-origin: bottom;
  animation: miniGrow 1.6s var(--ease) both;
}

.mini-chart i:nth-child(2n) {
  background: linear-gradient(180deg, rgba(138, 160, 255, 0.9), rgba(85, 87, 199, 0.36));
}

.mini-chart i:nth-child(1) { height: 35%; animation-delay: 0.1s; }
.mini-chart i:nth-child(2) { height: 52%; animation-delay: 0.16s; }
.mini-chart i:nth-child(3) { height: 45%; animation-delay: 0.22s; }
.mini-chart i:nth-child(4) { height: 70%; animation-delay: 0.28s; }
.mini-chart i:nth-child(5) { height: 60%; animation-delay: 0.34s; }
.mini-chart i:nth-child(6) { height: 88%; animation-delay: 0.4s; }
.mini-chart i:nth-child(7) { height: 76%; animation-delay: 0.46s; }

@keyframes miniGrow {
  from { transform: scaleY(0.05); opacity: 0.3; }
}

.mini-slider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.mini-slider__track {
  position: relative;
  flex: 1;
  height: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
}

.mini-slider__track::before {
  position: absolute;
  inset: 0 38% 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #2d90e2, #9ce7ff);
  content: "";
}

.mini-slider__thumb {
  position: absolute;
  top: 50%;
  left: 62%;
  width: 10px;
  height: 10px;
  transform: translate(-50%, -50%);
  border: 2px solid #05111d;
  border-radius: 50%;
  background: #c4f1ff;
  box-shadow: 0 0 12px rgba(107, 207, 255, 0.7);
  animation: thumbNudge 3.5s ease-in-out infinite;
}

@keyframes thumbNudge {
  0%, 100% { left: 60%; }
  50% { left: 70%; }
}

.mini-slider span {
  color: var(--ink-3);
  font-size: 6.5px;
}

/* mini docs in work card */
.mode-card--work .mode-card__visual {
  min-height: 250px;
}

.doc-stack {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64%;
  height: 210px;
  transform: translate(-50%, -42%);
}

.doc-card {
  position: absolute;
  width: 72%;
  height: 84%;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(25, 39, 56, 0.92), rgba(10, 18, 30, 0.95));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
  transition: transform 0.8s var(--ease);
}

.doc-card:nth-child(1) {
  top: 0;
  left: 0;
  transform: rotate(-8deg);
  opacity: 0.55;
}

.doc-card:nth-child(2) {
  top: 8%;
  left: 13%;
  transform: rotate(-2deg);
  opacity: 0.8;
}

.doc-card:nth-child(3) {
  top: 17%;
  left: 27%;
  transform: rotate(6deg);
  border-color: rgba(104, 211, 255, 0.22);
}

.mode-card:hover .doc-card:nth-child(1) { transform: rotate(-11deg) translate(-6px, -4px); }
.mode-card:hover .doc-card:nth-child(2) { transform: rotate(-4deg) translate(-2px, -6px); }
.mode-card:hover .doc-card:nth-child(3) { transform: rotate(8deg) translate(4px, -8px); }

.doc-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink-3);
  font-size: 6px;
  letter-spacing: 0.08em;
}

.doc-card__head .icon {
  width: 12px;
  height: 12px;
  color: var(--blue);
}

.doc-card__title {
  width: 78%;
  height: 8px;
  margin-top: 24px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.7);
}

.doc-card__line {
  height: 4px;
  margin-top: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.14);
}

.doc-card__line:nth-of-type(2) { width: 92%; }
.doc-card__line:nth-of-type(3) { width: 74%; }
.doc-card__line:nth-of-type(4) { width: 84%; }

.doc-card__chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 50px;
  margin-top: 14px;
}

.doc-card__chart i {
  flex: 1;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(142, 225, 255, 0.8), rgba(28, 130, 222, 0.25));
}

.doc-card__chart i:nth-child(1) { height: 38%; }
.doc-card__chart i:nth-child(2) { height: 64%; }
.doc-card__chart i:nth-child(3) { height: 48%; }
.doc-card__chart i:nth-child(4) { height: 80%; }
.doc-card__chart i:nth-child(5) { height: 62%; }

.doc-stack__label {
  position: absolute;
  right: -6%;
  bottom: -2%;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid rgba(105, 224, 173, 0.22);
  border-radius: 999px;
  color: #a3f3cf;
  background: rgba(12, 30, 28, 0.8);
  font-family: var(--mono);
  font-size: 6.5px;
  backdrop-filter: blur(12px);
}

/* chat visual */
.chat-visual {
  position: relative;
  width: min(92%, 520px);
  margin: 0 auto;
}

.chat-bubble {
  position: relative;
  width: fit-content;
  max-width: 82%;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px 16px 16px 5px;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.74rem;
  line-height: 1.6;
}

.chat-bubble--right {
  margin-left: auto;
  border-color: rgba(80, 176, 255, 0.2);
  border-radius: 16px 16px 5px 16px;
  color: #dff6ff;
  background: rgba(32, 119, 205, 0.16);
}

.chat-bubble + .chat-bubble {
  margin-top: 9px;
}

.chat-bubble__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 6px;
  letter-spacing: 0.06em;
}

.chat-formula {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  color: #d1ecff;
  font-family: var(--mono);
  font-size: 0.72rem;
}

.chat-formula em {
  color: var(--ink-3);
  font-style: normal;
  font-size: 0.56rem;
}

/* ── bento features ───────────────────────────────────── */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.bento__item {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 240px;
  padding: clamp(24px, 2.7vw, 36px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.048), rgba(255, 255, 255, 0.008) 55%),
    rgba(10, 16, 26, 0.5);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07) inset;
  transition:
    border-color 0.45s,
    background 0.45s,
    transform 0.6s var(--ease);
}

.bento__item:hover {
  border-color: rgba(122, 203, 255, 0.22);
  transform: translateY(-4px);
}

.bento__icon {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  margin-bottom: 24px;
  border: 1px solid rgba(101, 194, 255, 0.15);
  border-radius: 13px;
  color: #a9e7ff;
  background: rgba(49, 153, 243, 0.09);
}

.bento__icon .icon {
  width: 21px;
  height: 21px;
}

.bento__item h3 {
  margin-top: 0;
  font-size: clamp(1.18rem, 1.6vw, 1.45rem);
}

.bento__item p {
  max-width: 420px;
  margin-top: 9px;
  color: var(--ink-3);
  font-size: 0.82rem;
  line-height: 1.8;
}

.bento__item--wide {
  grid-column: span 6;
}

.bento__item--third {
  grid-column: span 4;
}

.bento__item--full {
  grid-column: span 12;
}

.bento__item--interactive {
  grid-column: span 7;
  min-height: 410px;
  background:
    radial-gradient(ellipse at 82% 88%, rgba(38, 146, 255, 0.16), transparent 55%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.048), rgba(255, 255, 255, 0.008) 55%),
    rgba(10, 16, 26, 0.5);
}

.bento__item--office {
  grid-column: span 5;
  min-height: 410px;
}

.bento__item--terminal {
  grid-column: span 5;
}

.bento__item--python {
  grid-column: span 3;
}

.bento__item--protocol {
  grid-column: span 4;
}

.bento__item--skills {
  grid-column: span 6;
  min-height: 280px;
}

.bento__item--privacy {
  grid-column: span 6;
  min-height: 280px;
}

.bento__demo {
  position: relative;
  right: auto;
  bottom: auto;
  width: 100%;
  max-width: 340px;
  margin-top: 24px;
  align-self: flex-end;
  transform: none;
  pointer-events: none;
}

.bento-slider {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  background: rgba(11, 21, 35, 0.8);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.bento-slider__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink-3);
  font-size: 7px;
}

.bento-slider__row b {
  color: var(--ink);
  font-size: 0.8rem;
}

.bento-slider__track {
  position: relative;
  height: 3px;
  margin: 18px 0 14px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
}

.bento-slider__track::before {
  position: absolute;
  inset: 0 30% 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #2b91e4, #97e6ff);
  content: "";
}

.bento-slider__track::after {
  position: absolute;
  top: 50%;
  left: 70%;
  width: 11px;
  height: 11px;
  transform: translate(-50%, -50%);
  border: 2px solid #071420;
  border-radius: 50%;
  background: #d6f6ff;
  box-shadow: 0 0 12px rgba(125, 217, 255, 0.7);
  content: "";
}

.bento-slider__bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 44px;
}

.bento-slider__bars i {
  flex: 1;
  border-radius: 2px;
  background: linear-gradient(180deg, #85dcff, rgba(43, 145, 228, 0.25));
}

.bento-slider__bars i:nth-child(1) { height: 32%; }
.bento-slider__bars i:nth-child(2) { height: 58%; }
.bento-slider__bars i:nth-child(3) { height: 44%; }
.bento-slider__bars i:nth-child(4) { height: 76%; }
.bento-slider__bars i:nth-child(5) { height: 62%; }
.bento-slider__bars i:nth-child(6) { height: 90%; }

.office-stack {
  position: relative;
  right: auto;
  bottom: auto;
  width: 100%;
  max-width: 260px;
  height: 175px;
  margin-top: 24px;
  align-self: flex-end;
}

.office-stack__sheet {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 105px;
  height: 145px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 11px;
  background: linear-gradient(150deg, #1b2b40, #0b1523);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.32);
  transition: transform 0.7s var(--ease);
}

.office-stack__sheet:nth-child(1) {
  z-index: 1;
  right: 80px;
  bottom: 36px;
  transform: rotate(-10deg);
  opacity: 0.55;
}

.office-stack__sheet:nth-child(2) {
  z-index: 2;
  right: 38px;
  bottom: 18px;
  transform: rotate(-2deg);
  opacity: 0.8;
}

.office-stack__sheet:nth-child(3) {
  z-index: 3;
  transform: rotate(7deg);
  border-color: rgba(104, 211, 255, 0.2);
}

.bento__item--office:hover .office-stack__sheet:nth-child(1) { transform: rotate(-13deg) translate(-8px, -8px); }
.bento__item--office:hover .office-stack__sheet:nth-child(2) { transform: rotate(-4deg) translate(-4px, -6px); }
.bento__item--office:hover .office-stack__sheet:nth-child(3) { transform: rotate(10deg) translate(4px, -8px); }

.office-stack__sheet span {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.08em;
}

.office-stack__sheet i {
  display: block;
  height: 4px;
  margin-top: 9px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.17);
}

.office-stack__sheet i:nth-child(2) { width: 70%; }
.office-stack__sheet i:nth-child(3) { width: 88%; }
.office-stack__sheet i:nth-child(4) { width: 54%; }

.office-stack__sheet b {
  display: block;
  margin-top: 14px;
  color: #a9e7ff;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: -0.04em;
}

.terminal-mini {
  position: relative;
  right: auto;
  bottom: auto;
  left: auto;
  margin-top: 24px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(2, 7, 12, 0.68);
  font-family: var(--mono);
  font-size: 7.5px;
  line-height: 1.9;
  color: rgba(189, 228, 255, 0.62);
}

.terminal-mini .c-blue { color: #83d4ff; }
.terminal-mini .c-green { color: #8fe8be; }
.terminal-mini .c-dim { color: rgba(255, 255, 255, 0.28); }

.py-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 22px;
}

.py-chips span {
  padding: 5px 7px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 7px;
}

.protocol-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 20px;
}

.protocol-list span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 7.5px;
}

.protocol-list span i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

.skill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 24px;
}

.skill-cloud span {
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: var(--ink-3);
  font-size: 8px;
  transition:
    color 0.3s,
    border-color 0.3s,
    background 0.3s;
}

.skill-cloud span:hover {
  color: #b7ebff;
  border-color: rgba(84, 187, 255, 0.25);
  background: rgba(84, 187, 255, 0.06);
}

.privacy-rings {
  position: relative;
  right: auto;
  bottom: auto;
  width: 126px;
  height: 126px;
  margin-top: 22px;
  margin-left: auto;
}

.privacy-rings i {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(127, 213, 255, 0.14);
  border-radius: 50%;
  animation: privacyRing 6s ease-in-out infinite;
}

.privacy-rings i:nth-child(2) {
  inset: 22px;
  animation-delay: 0.6s;
}

.privacy-rings i:nth-child(3) {
  inset: 44px;
  display: grid;
  place-items: center;
  border-color: rgba(127, 213, 255, 0.24);
  background: rgba(84, 187, 255, 0.06);
  animation: none;
}

.privacy-rings .icon {
  width: 26px;
  height: 26px;
  color: #a9e7ff;
}

@keyframes privacyRing {
  0%, 100% { transform: scale(1); opacity: 0.55; }
  50% { transform: scale(1.07); opacity: 1; }
}

/* ── platform showcase (light) ────────────────────────── */
.platforms-showcase {
  position: relative;
  overflow: hidden;
}

.platforms-showcase__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: clamp(50px, 6vw, 86px);
}

.platforms-showcase__head h2 {
  max-width: 800px;
}

.platforms-showcase__head .arrow-link {
  flex: none;
  margin-bottom: 12px;
}

.device-lineup {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 2fr 0.9fr;
  align-items: end;
  gap: 0;
  min-height: 580px;
}

.device-item {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.device-item:nth-child(1),
.device-item:nth-child(3) {
  z-index: 3;
}

.device-item__label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 26px;
  color: var(--dark-ink);
}

.device-item__label b {
  font-size: 0.86rem;
  font-weight: 650;
}

.device-item__label span {
  color: var(--dark-ink-3);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
}

.device-phone {
  position: relative;
  width: min(84%, 320px);
  transform: rotate(-4deg);
  transition: transform 0.9s var(--ease);
}

.device-item:nth-child(2) .device-phone {
  width: min(64%, 250px);
  z-index: 3;
  transform: rotate(2deg) translateY(-20px);
}

.device-item:nth-child(3) .device-phone {
  width: min(76%, 300px);
  transform: rotate(5deg);
}

.device-phone:hover {
  transform: rotate(0) translateY(-12px);
}

.device-item:nth-child(2) .device-phone:hover {
  transform: rotate(0) translateY(-34px);
}

.device-phone img {
  width: 100%;
  border-radius: 14% / 6.5%;
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.6) inset,
    0 40px 80px rgba(22, 57, 94, 0.24);
}

.device-phone .phone-mock {
  width: 100%;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.16) inset,
    0 40px 80px rgba(22, 57, 94, 0.24);
}

.laptop-screen .desktop-demo {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 11px;
  box-shadow: none;
}

.device-laptop {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 680px;
  transform: translateY(10px);
  transition: transform 0.9s var(--ease);
}

.device-laptop:hover {
  transform: translateY(-6px);
}

.laptop-screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  background: linear-gradient(150deg, #222b39, #080c13);
  box-shadow: 0 50px 100px rgba(23, 57, 93, 0.28);
}

.laptop-screen::after {
  position: absolute;
  inset: 9px;
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  content: "";
  pointer-events: none;
}

.laptop-base {
  position: relative;
  width: 112%;
  height: 15px;
  margin: -1px 0 0 -6%;
  border-radius: 2px 2px 14px 14px;
  background: linear-gradient(180deg, #d6deeb, #aebacb 60%, #8f9cb0);
  box-shadow: 0 18px 26px rgba(35, 69, 105, 0.2);
}

.laptop-base::after {
  position: absolute;
  top: 0;
  left: 50%;
  width: 70px;
  height: 4px;
  transform: translateX(-50%);
  border-radius: 0 0 6px 6px;
  background: #9ba8ba;
  content: "";
}

.mini-desktop {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
  background: #08101b;
  color: #d8ecff;
  font-family: var(--font);
}

.mini-desktop__top {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 9px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.025);
}

.mini-desktop__top i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.mini-desktop__top span {
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 5px;
}

.mini-desktop__body {
  display: grid;
  grid-template-columns: 21% 1fr;
  height: calc(100% - 26px);
}

.mini-desktop__side {
  padding: 10px 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.018);
}

.mini-desktop__side i {
  display: block;
  height: 3px;
  margin-bottom: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
}

.mini-desktop__side i:nth-child(1) { width: 70%; background: rgba(126, 208, 255, 0.42); }
.mini-desktop__side i:nth-child(2) { width: 48%; }
.mini-desktop__side i:nth-child(3) { width: 60%; }
.mini-desktop__side i:nth-child(4) { width: 40%; }
.mini-desktop__side i:nth-child(5) { width: 55%; }

.mini-desktop__main {
  padding: 12px;
}

.mini-desktop__bubble {
  width: 55%;
  height: 5px;
  margin-bottom: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.14);
}

.mini-desktop__bubble--long { width: 78%; }
.mini-desktop__bubble--short { width: 38%; }

.mini-desktop__card {
  margin-top: 10px;
  padding: 8px;
  border: 1px solid rgba(109, 201, 255, 0.15);
  border-radius: 6px;
  background: rgba(40, 133, 220, 0.07);
}

.mini-desktop__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-bottom: 7px;
}

.mini-desktop__metrics i {
  height: 14px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.06);
}

.mini-desktop__chart {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 34px;
}

.mini-desktop__chart i {
  flex: 1;
  border-radius: 1px;
  background: linear-gradient(180deg, #6eceff, rgba(31, 128, 215, 0.2));
}

.mini-desktop__chart i:nth-child(1) { height: 40%; }
.mini-desktop__chart i:nth-child(2) { height: 75%; }
.mini-desktop__chart i:nth-child(3) { height: 54%; }
.mini-desktop__chart i:nth-child(4) { height: 88%; }
.mini-desktop__chart i:nth-child(5) { height: 66%; }

/* ── latest release teaser ────────────────────────────── */
.latest-release {
  position: relative;
  overflow: hidden;
}

.latest-release__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(40px, 6vw, 90px);
  min-height: 640px;
  padding: clamp(42px, 5.5vw, 76px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: clamp(30px, 4vw, 48px);
  background:
    radial-gradient(ellipse at 84% 18%, rgba(49, 151, 252, 0.22), transparent 55%),
    radial-gradient(ellipse at 20% 88%, rgba(104, 79, 216, 0.12), transparent 48%),
    linear-gradient(145deg, rgba(20, 32, 49, 0.9), rgba(7, 12, 20, 0.96));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 50px 120px rgba(0, 0, 0, 0.4);
}

.latest-release__inner::before {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  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: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 75% 30%, #000, transparent 70%);
  mask-image: radial-gradient(ellipse at 75% 30%, #000, transparent 70%);
  content: "";
}

.latest-release__copy {
  position: relative;
  z-index: 2;
}

.latest-release__version {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 12px;
  border: 1px solid rgba(122, 210, 255, 0.2);
  border-radius: 999px;
  color: #b9edff;
  background: rgba(50, 152, 245, 0.09);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
}

.latest-release__version i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

.latest-release h2 {
  margin-top: 26px;
  font-size: clamp(2.1rem, 3.8vw, 3.8rem);
  line-height: 1.16;
}

.latest-release p {
  max-width: 440px;
  margin-top: 22px;
  color: var(--ink-2);
  font-size: 0.94rem;
  line-height: 1.9;
}

.latest-release__points {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 25px;
}

.latest-release__copy .btn-row {
  margin-top: 35px;
}

.release-window {
  position: relative;
  z-index: 2;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(8, 15, 25, 0.72);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 35px 80px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
  transform: perspective(1100px) rotateX(2deg) rotateY(-4deg);
}

.release-window__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.release-window__top span {
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.06em;
}

.release-window__tabs {
  display: flex;
  gap: 3px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
}

.release-window__tabs span {
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--ink-3);
  font-family: var(--font);
  font-size: 6.5px;
  letter-spacing: 0;
}

.release-window__tabs span.is-active {
  color: #06131e;
  background: #c9f0ff;
}

.release-window__summary {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 15px;
  padding: 18px 0 15px;
}

.release-window__summary span {
  color: var(--ink-3);
  font-size: 7px;
  letter-spacing: 0.04em;
}

.release-window__summary b {
  display: block;
  margin-top: 4px;
  color: #f3fbff;
  font-size: clamp(1.8rem, 3.4vw, 2.9rem);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.05em;
}

.release-window__summary em {
  color: var(--green);
  font-size: 7px;
  font-style: normal;
}

.heatmap-mini {
  display: grid;
  grid-template-columns: repeat(26, 1fr);
  gap: 3px;
  padding: 3px 0;
}

.heatmap-mini i {
  aspect-ratio: 1;
  border-radius: 2px;
  background: rgba(81, 170, 247, 0.1);
  transition:
    background 0.35s,
    transform 0.35s;
}

.heatmap-mini i[data-l="1"] { background: rgba(69, 154, 230, 0.25); }
.heatmap-mini i[data-l="2"] { background: rgba(66, 158, 241, 0.45); }
.heatmap-mini i[data-l="3"] { background: rgba(78, 177, 255, 0.7); }
.heatmap-mini i[data-l="4"] { background: #8fdcff; box-shadow: 0 0 8px rgba(116, 209, 255, 0.28); }

.heatmap-mini i.is-hot {
  outline: 1px solid #ffb75f;
  outline-offset: 1px;
}

.release-window__legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--ink-3);
  font-size: 6.5px;
}

.release-window__legend span:last-child {
  display: flex;
  align-items: center;
  gap: 4px;
}

.release-window__legend i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--amber);
}

.release-window__rows {
  display: grid;
  gap: 4px;
  margin-top: 11px;
}

.release-window__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 9px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 7px;
  color: var(--ink-3);
  font-size: 6.5px;
}

.release-window__row b {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 500;
}

/* ── final CTA ────────────────────────────────────────── */
.final-cta {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 92svh;
  padding: 100px 0;
  overflow: hidden;
  text-align: center;
}

.final-cta__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.final-cta__bg::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(82vw, 980px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(116, 207, 255, 0.28), rgba(38, 129, 226, 0.12) 32%, transparent 66%);
  filter: blur(30px);
  content: "";
}

.final-cta__bg::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(56vw, 660px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(155, 225, 255, 0.1);
  border-radius: 50%;
  box-shadow:
    0 0 0 9vw rgba(133, 210, 255, 0.013),
    0 0 0 18vw rgba(133, 210, 255, 0.008);
  content: "";
}

.final-cta__icon {
  width: 78px;
  height: 78px;
  margin: 0 auto 32px;
  border-radius: 25px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2) inset,
    0 28px 70px rgba(33, 157, 255, 0.35);
  animation: ctaFloat 6s ease-in-out infinite;
}

@keyframes ctaFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

.final-cta h2 {
  max-width: 980px;
  margin-inline: auto;
  font-size: clamp(2.4rem, 4.8vw, 4.8rem);
  line-height: 1.16;
  letter-spacing: -0.04em;
}

.final-cta p {
  max-width: 580px;
  margin: 26px auto 0;
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.9;
}

.final-cta .btn-row {
  justify-content: center;
  margin-top: 40px;
}

.final-cta__meta {
  margin-top: 38px;
  color: var(--ink-4);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ── home responsive ──────────────────────────────────── */
@media (max-width: 1180px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  }
  .mode-card--interactive,
  .mode-card--work {
    grid-column: span 6;
  }
  .mode-card--interactive .mini-panel {
    right: 2%;
    width: 76%;
  }
  .bento__item--interactive {
    grid-column: span 12;
  }
  .bento__item--office {
    grid-column: span 6;
  }
  .bento__item--terminal {
    grid-column: span 6;
  }
  .bento__item--python {
    grid-column: span 4;
  }
  .bento__item--protocol {
    grid-column: span 4;
  }
  .bento__item--skills,
  .bento__item--privacy {
    grid-column: span 6;
  }
}

@media (max-width: 960px) {
  .hero {
    padding-top: calc(var(--header) + 80px);
    padding-bottom: 80px;
  }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .hero__copy {
    max-width: 720px;
    padding-top: 0;
  }
  .hero__title {
    font-size: clamp(3.4rem, 11vw, 6.4rem);
  }
  .hero__art {
    min-height: 540px;
    margin-top: -10px;
  }
  .art-stage {
    width: min(94%, 580px);
  }
  .hero__scroll {
    display: none;
  }
  .manifesto {
    height: auto;
  }
  .manifesto__sticky {
    position: relative;
    min-height: auto;
    padding: 100px 0;
  }
  .manifesto__line {
    color: rgba(255, 255, 255, 0.42);
  }
  .manifesto__foot {
    margin-top: 40px;
  }
  .modes__grid {
    gap: 14px;
  }
  .mode-card--interactive,
  .mode-card--work {
    grid-column: span 12;
  }
  .mode-card--chat {
    grid-template-columns: 1fr;
  }
  .mode-card--chat .mode-card__visual {
    min-height: 300px;
    padding-bottom: 30px;
  }
  .platforms-showcase__head {
    flex-direction: column;
    align-items: flex-start;
  }
  .latest-release__inner {
    grid-template-columns: 1fr;
    gap: 46px;
  }
  .latest-release__copy {
    max-width: 620px;
  }
  .release-window {
    max-width: 680px;
    transform: none;
  }
}

@media (max-width: 700px) {
  .hero__title {
    font-size: clamp(3rem, 13.5vw, 4.8rem);
  }
  .hero__sub {
    font-size: 0.96rem;
  }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__actions .btn {
    width: 100%;
  }
  .hero__proof {
    gap: 8px 14px;
    margin-top: 30px;
  }
  .hero__proof span {
    font-size: 0.65rem;
  }
  .hero__proof span + span {
    padding-left: 14px;
  }
  .hero__art {
    min-height: 440px;
  }
  .art-stage {
    width: 100%;
  }
  .art-core {
    width: 38%;
  }
  .art-chip {
    padding: 9px 11px;
    border-radius: 12px;
    gap: 8px;
  }
  .art-chip__icon {
    width: 25px;
    height: 25px;
    border-radius: 8px;
  }
  .art-chip__icon .icon {
    width: 13px;
    height: 13px;
  }
  .art-chip strong {
    font-size: 0.56rem;
  }
  .art-chip span {
    font-size: 6px;
  }
  .art-chip--1 {
    top: 8%;
    left: 0;
  }
  .art-chip--2 {
    top: 20%;
    right: 0;
  }
  .art-chip--3 {
    bottom: 20%;
    left: 0;
  }
  .art-chip--4 {
    right: 0;
    bottom: 6%;
  }
  .manifesto__line {
    font-size: clamp(2rem, 8.4vw, 3.2rem);
    line-height: 1.18;
  }
  .manifesto__foot {
    flex-direction: column;
    align-items: flex-start;
  }
  .modes .section-head {
    margin-bottom: 36px;
  }
  .mode-card {
    min-height: 470px;
  }
  .mode-card--chat {
    min-height: 0;
  }
  .mode-card__top {
    padding: 28px 24px 0;
  }
  .mode-card h3 {
    font-size: clamp(1.9rem, 8vw, 2.7rem);
  }
  .mini-panel {
    right: 4%;
    bottom: -8%;
    width: 82%;
    min-width: 0;
    padding: 13px;
  }
  .mini-chart {
    height: 66px;
  }
  .mini-metrics {
    gap: 4px;
  }
  .mini-metric {
    padding: 7px;
  }
  .doc-stack {
    width: 76%;
    height: 185px;
  }
  .bento__item {
    grid-column: span 12 !important;
    min-height: 210px;
  }
  .bento__item--interactive,
  .bento__item--office {
    min-height: 340px;
  }
  .bento__demo {
    width: 72%;
  }
  .office-stack {
    width: 44%;
    height: 155px;
  }
  .office-stack__sheet {
    width: 86px;
    height: 120px;
  }
  .office-stack__sheet:nth-child(1) { right: 62px; }
  .office-stack__sheet:nth-child(2) { right: 28px; }
  .privacy-rings {
    right: 16px;
    width: 112px;
    height: 112px;
  }
  .device-lineup {
    grid-template-columns: 1fr;
    gap: 44px;
    min-height: 0;
  }
  .device-item,
  .device-item:nth-child(1),
  .device-item:nth-child(3) {
    grid-column: auto;
  }
  .device-laptop {
    width: min(100%, 520px);
  }
  .device-item:nth-child(2) .device-phone,
  .device-item:nth-child(3) .device-phone {
    width: 74%;
    transform: none;
  }
  .device-item__label {
    margin-top: 18px;
  }
  .latest-release__inner {
    padding: 30px 22px;
    border-radius: 28px;
  }
  .release-window {
    padding: 12px;
  }
  .final-cta h2 {
    font-size: clamp(2.7rem, 11.8vw, 4.4rem);
  }
  .final-cta p {
    font-size: 0.92rem;
  }
  .final-cta .btn-row {
    flex-direction: column;
    align-items: stretch;
    max-width: 320px;
    margin-inline: auto;
  }
  .final-cta .btn {
    width: 100%;
  }
  .footer-word {
    font-size: 24vw;
  }
}


/* readability pass: decorative product surfaces */
.bento__item p { font-size: 0.9rem; line-height: 1.8; }
.terminal-mini { padding: 15px 17px; font-size: 10px; line-height: 1.95; }
.py-chips span { padding: 6px 9px; font-size: 9.5px; }
.protocol-list span { padding: 10px 12px; font-size: 9.5px; }
.skill-cloud span { padding: 6px 10px; font-size: 9.5px; }
.bento-slider__row { font-size: 9px; }
.bento-slider__row b { font-size: 0.9rem; }
.office-stack__sheet span { font-size: 8px; }
.mini-panel__head h4 { font-size: 0.95rem; }
.mini-panel__head span { font-size: 0.68rem; }
.mini-panel__badge { font-size: 8px; }
.mini-metric span { font-size: 7.5px; }
.mini-metric b { font-size: 1.05rem; }
.mini-metric i { font-size: 7px; }
.mini-slider span { font-size: 7.5px; }
.mode-card__index { font-size: 10px; }
.chat-bubble { font-size: 0.84rem; }
.chat-bubble__meta { font-size: 7px; }
.chat-formula { font-size: 0.8rem; }
.chat-formula em { font-size: 6.6px; }
