:root {
  color-scheme: dark;
  --plum: #270d20;
  --wine: #7b2857;
  --rose: #d95b96;
  --blush: #f3adc9;
  --white: #fff0f6;
  --muted: #e0bbce;
  --line: #f3adc95e;
  --glow: radial-gradient(ellipse at 0% 93%, #f3adc9 0%, #d95b96 18%, #7b2857 40%, transparent 70%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--plum); color: var(--white); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; }
.wrap { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.bar { position: sticky; top: 0; z-index: 2; background: #270d20e8; border-bottom: 1px solid #f3adc932; backdrop-filter: blur(20px); }
.navigation, .navigation nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 38px); }
.navigation { min-height: 72px; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; width: clamp(184px, 22vw, 224px); height: auto; }
.navigation nav { font-size: 15px; color: var(--muted); }
nav a:hover, footer a:hover, .details:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.intro { overflow: hidden; border-bottom: 1px solid var(--line); background: var(--glow), var(--plum); }
.intro-layout { display: grid; place-items: center; min-height: min(700px, max(560px, calc(100svh - 100px))); }
.intro-copy { max-width: 1000px; padding: clamp(68px, 10vw, 128px) 0; text-align: center; }
.intro h1 { font-size: clamp(47px, 7vw, 96px); font-weight: 500; line-height: 1.02; letter-spacing: -.065em; text-wrap: balance; }
.intro-description { margin: 25px auto 0; max-width: 39ch; line-height: 1.45; font-size: clamp(17px, 2vw, 22px); }
.jump, .command button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--white); background: #270d2070; transition: background-color .18s, border-color .18s; }
.jump { margin-top: 29px; padding: 13px 20px; font-size: 15px; }
.jump:hover, .command button:hover { background: var(--wine); border-color: var(--blush); }
section[id], .instructions h3 { scroll-margin-top: 100px; }
#catalog { padding-top: clamp(44px, 7vw, 84px); }
.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 22px; }
.section-title h2, .instructions h2 { font-size: clamp(34px, 5vw, 62px); font-weight: 500; letter-spacing: -.06em; }
.section-title > span { font-size: 14px; color: var(--muted); }
.feature { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); border: 1px solid var(--line); border-radius: 30px; background: #341026; overflow: hidden; }
.feature + .feature { margin-top: 20px; }
.product { min-width: 0; padding: clamp(24px, 5vw, 56px); }
.availability { display: flex; align-items: center; gap: 8px; color: var(--blush); font-size: 13px; margin-bottom: 19px; }
.availability span, .visual-label > span { width: 7px; height: 7px; border-radius: 50%; background: var(--blush); }
.product h3 { font-size: clamp(38px, 6vw, 68px); line-height: .99; font-weight: 500; letter-spacing: -.065em; }
.product > p:not(.status) { margin-top: 16px; color: var(--muted); max-width: 43ch; line-height: 1.55; }
.meta { margin-top: 23px; font-size: 13px; }
.meta span { color: var(--blush); margin-inline: 4px; }
.command { margin-top: 12px; display: flex; align-items: center; gap: 9px; padding: 5px 6px 5px 12px; border: 1px solid var(--line); border-radius: 25px; background: var(--plum); }
.command code { flex: 1; min-width: 0; white-space: nowrap; overflow-x: auto; padding: 7px 0; font-size: 13px; scrollbar-width: thin; }
.command button { flex-shrink: 0; padding: 10px 13px; font-size: 13px; cursor: pointer; }
.status { min-height: 19px; margin-top: 5px; color: var(--blush); font-size: 12px; }
.details { font-size: 14px; color: var(--muted); }
.details span { margin-left: 5px; }
.visual { position: relative; min-height: 295px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(ellipse at 28% 80%, #a53d71, #612145 51%, #351027 85%); }
.tutu-visual { background: radial-gradient(ellipse at 70% 30%, #a34473, #622247 48%, #351027 87%); }
.team, .instructions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(22px, 4vw, 54px); }
.team { align-items: center; margin-top: clamp(56px, 8vw, 102px); padding: clamp(26px, 6vw, 70px); border: 1px solid var(--line); border-radius: 30px; background: radial-gradient(ellipse at 4% 0%, #7b2857, transparent 63%), #341026; }
.team h2 { font-size: 16px; font-weight: 400; }
.team-identity p { font-size: clamp(56px, 9vw, 112px); line-height: 1.05; font-weight: 500; letter-spacing: -.07em; }
.team-identity span { color: var(--blush); }
.team-copy p:first-child { font-size: clamp(23px, 3vw, 34px); line-height: 1.16; font-weight: 500; }
.team-copy p + p { margin-top: 15px; color: var(--muted); line-height: 1.55; }
.team-copy a { display: inline-block; margin-top: 21px; }
.instructions { margin-top: clamp(55px, 8vw, 95px); border-top: 1px solid var(--line); padding: 30px 0 60px; }
.instructions h3 { font-size: 21px; font-weight: 500; margin-bottom: 8px; }
.instructions p { color: var(--muted); line-height: 1.6; }
.instructions p + p { margin-top: 12px; }
.instructions p + h3 { margin-top: 25px; }
footer { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding: 24px 0 33px; color: var(--muted); font-size: 14px; }
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .feature, .team, .instructions { grid-template-columns: minmax(0, 1fr); }
  .intro-layout { min-height: min(590px, calc(100svh - 100px)); }
  .intro h1 { font-size: clamp(37px, 9vw, 72px); }
  .visual { min-height: 240px; }
}
@media (max-width: 480px) {
  .navigation { flex-wrap: wrap; padding-block: 13px; gap: 10px; }
  .navigation nav { gap: 15px; font-size: 14px; }
  section[id], .instructions h3 { scroll-margin-top: 112px; }
}
@media (max-width: 360px) {
  .command { flex-wrap: wrap; padding: 8px; border-radius: 15px; }
  .command code { flex-basis: 100%; }
  .command button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .jump, .command button { transition: none; }
}

.visual { isolation: isolate; min-height: 382px; }
.kill-visual { background: radial-gradient(ellipse at 75% 25%, #354e57, #17262e 53%, #110e19 92%); }
.tutu-visual { background: radial-gradient(ellipse at 65% 19%, #6c365a, #2a1b38 56%, #160f23 91%); }
.chelka-visual { background: radial-gradient(ellipse at 75% 18%, #536f92, #292c49 70%, #191626); }
.app-preview {
  width: min(90%, 480px);
  border: 1px solid #ffffff35;
  border-radius: 17px;
  color: #f4f3f8;
  background: #13151bf2;
  box-shadow: 0 28px 70px #0009, inset 0 1px #ffffff0e;
}
.kill-preview { transform: perspective(880px) rotateY(-14deg) rotateZ(-7deg) translate(7%, 4%); }
.preview-header { display: flex; align-items: center; gap: 9px; padding: 12px 17px; border-bottom: 1px solid #ffffff20; font-size: 14px; font-weight: 600; }
.preview-header img { display: block; border-radius: 5px; }
.preview-body { padding: 19px; }
.preview-status { color: #9fe3cf; font-size: 13px; }
.preview-body strong { display: block; margin: 7px 0 18px; font: 600 clamp(23px, 2.4vw, 35px) ui-monospace, monospace; }
.preview-row { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid #ffffff1b; font-size: 13px; }
.preview-row span + span { color: #9fe3cf; }
.voice-preview { padding: 18px 20px 23px; transform: perspective(860px) rotateY(-13deg) rotateZ(6deg); }
.voice-preview .preview-header { border: 0; padding: 0; }
.voice-dot { width: 8px; height: 8px; border-radius: 50%; background: #f36caa; box-shadow: 0 0 14px #f36caa; }
.voice-wave { display: flex; align-items: center; gap: 5px; height: 69px; margin: 5px 0; }
.voice-wave i { width: 4px; height: 24px; border-radius: 10px; background: #a98aff; }
.voice-wave i:nth-child(3n) { height: 44px; background: #ed83c4; }
.voice-wave i:nth-child(4n) { height: 13px; background: #83b6ff; }
.voice-wave i:nth-child(5) { height: 57px; }
.voice-preview strong { display: block; font-size: clamp(17px, 2vw, 27px); font-weight: 500; }
.voice-preview p { margin-top: 14px; color: #c7bdce; font-size: 13px; }
.voice-preview kbd { color: #fff; }
.chelka-preview { width: min(96%, 560px); overflow: hidden; transform: perspective(900px) rotateY(-12deg) rotateZ(-5deg) translateX(2%); }
.chelka-preview img { display: block; width: 100%; height: auto; }
.preview-caption { position: absolute; right: 18px; bottom: 14px; color: #e9dfed; font-size: 11px; }
@media (max-width: 760px) {
  .visual { min-height: 300px; }
  .kill-preview, .voice-preview, .chelka-preview { transform: none; }
  .app-preview { width: min(91%, 470px); }
}

/* Aurora spectrum */
:root {
  --plum: #100e1c;
  --wine: #30234b;
  --white: #f8f7ff;
  --muted: #b9b3cb;
  --blush: #cdb6ff;
  --line: #a892d72d;
  --spectrum: linear-gradient(100deg, #74adff, #b591ff 48%, #ff9f79);
}
body {
  width: min(1320px, calc(100% - clamp(32px, 10vw, 160px)));
  margin: clamp(20px, 6vw, 100px) auto 0;
  border: 1px solid #b0a1ed17;
  border-radius: 28px 28px 0 0;
  background: #060509;
}
html {
  background: radial-gradient(ellipse at 0 20%, #202956, transparent 40%),
              radial-gradient(ellipse at 100% 21%, #432822, transparent 35%), #0b0916;
}
.wrap { width: min(1100px, calc(100% - 64px)); }
.bar { top: 10px; margin-top: 14px; background: transparent; border: 0; backdrop-filter: none; pointer-events: none; }
.navigation {
  width: min(720px, calc(100% - 40px));
  min-height: 49px;
  padding: 3px 4px 3px 11px;
  gap: 12px;
  border-radius: 15px;
  color: #151128;
  background: #faf9ff;
  box-shadow: 0 10px 30px #05030e4d;
  pointer-events: auto;
}
.brand img { width: clamp(110px, 19vw, 153px); filter: grayscale(1) invert(1); }
.navigation nav { color: #27203d; gap: clamp(12px, 2.6vw, 30px); font-size: 13px; }
.navigation nav a:hover { color: #4229d7; }
.navigation .nav-action { padding: 10px 16px; border-radius: 11px; color: white; background: #2149f6; }
.navigation .nav-action:hover { color: white; background: #3524d4; text-decoration: none; }
.navigation a:focus-visible { outline-color: #2149f6; outline-offset: 1px; }
.intro {
  isolation: isolate;
  position: relative;
  border: 0;
  background: radial-gradient(ellipse at 50% 38%, #18122c 0%, transparent 69%);
}
.intro::before, .intro::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.intro::before {
  background: radial-gradient(ellipse at 17% 61%, #1d48ffb0, transparent 31%),
              radial-gradient(ellipse at 50% 71%, #a23debb0, transparent 38%),
              radial-gradient(ellipse at 83% 60%, #f78b26a0, transparent 32%);
  mask-image: radial-gradient(ellipse at 50% 58%, black 16%, transparent 67%);
}
.intro::after {
  background: repeating-conic-gradient(from 90deg at 50% 51%, #07051000 0deg, #0c0619b0 11deg, #f1d7ff38 12deg, #07051000 13deg);
  mask-image: radial-gradient(ellipse at 50% 61%, #000 3%, transparent 62%);
  clip-path: inset(51% 0 0);
}
.intro-layout { min-height: clamp(460px, 51vw, 650px); }
.intro-copy { max-width: 760px; padding: 72px 0 102px; }
.intro h1 { font-size: clamp(43px, 6.5vw, 86px); line-height: 1.02; letter-spacing: -.062em; }
.intro-description { color: #e9e3f7; }
.jump, .command button {
  border-radius: 9px;
  border-color: #a188ff72;
  background: linear-gradient(105deg, #224cfb, #6e2ac2);
}
.jump:hover, .command button:hover { background: linear-gradient(105deg, #385fff, #873bdf); }
#catalog { position: relative; isolation: isolate; padding-top: 40px; }
.section-title { display: block; text-align: center; margin-bottom: clamp(32px, 5vw, 65px); }
.section-title h2 { font-size: clamp(38px, 5.3vw, 65px); line-height: 1.06; }
.feature {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  border-radius: 20px;
  background: linear-gradient(155deg, #1d1730, #110e1d 65%);
}
.feature + .feature { margin-top: 0; }
.feature .visual { grid-row: 1; min-height: 205px; border-bottom: 1px solid var(--line); }
.product { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(17px, 2.4vw, 30px); }
.product h3 { font-size: clamp(33px, 4vw, 47px); }
.product > p:not(.status) { margin-top: 12px; margin-bottom: 18px; }
.meta { margin-top: auto; }
.command { width: 100%; border-radius: 11px; }
.feature .app-preview { width: 90%; }
.preview-body { padding: 8px 13px; }
.preview-body strong { margin: 4px 0 10px; font-size: 22px; }
.preview-row { padding: 5px 0; font-size: 10px; }
.preview-header { padding: 7px 13px; font-size: 12px; }
.preview-caption { right: 10px; bottom: 7px; font-size: 9px; }
.voice-preview { padding: 13px; }
.voice-wave { height: 47px; }
.voice-wave i:nth-child(5) { height: 44px; }
.voice-preview strong { font-size: 16px; }
.team { border-radius: 20px; background: radial-gradient(ellipse at 0 0, #3a286a, transparent 75%), #141021; }
.instructions { border-color: var(--line); }
@media (max-width: 840px) {
    .feature { grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); grid-template-rows: auto; }
  .feature .visual { grid-row: auto; border-bottom: 0; }
}
@media (max-width: 600px) {
  body { width: calc(100% - 18px); border-radius: 19px 19px 0 0; }
  .wrap { width: calc(100% - 30px); }
  .navigation { width: calc(100% - 18px); padding: 3px 4px 3px 7px; flex-wrap: nowrap; gap: 5px; }
  .navigation nav { gap: 8px; font-size: 11px; }
  .navigation .nav-action { padding: 8px 7px; }
  .brand img { width: clamp(91px, 28vw, 130px); }
  .intro-layout { min-height: 450px; }
  .intro-copy { padding: 66px 0 80px; }
  .intro h1 { font-size: clamp(41px, 10.4vw, 60px); }
  .feature { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .feature .visual { grid-row: 1; min-height: 212px; border-bottom: 1px solid var(--line); }
}

/* Full-width sections and stacked product cards. */
body {
  width: auto;
  margin: 0;
  border: 0;
  border-radius: 0;
}
.wrap { width: min(1160px, calc(100% - 80px)); }
.bar { margin-top: 0; padding-top: 12px; }
.navigation { width: min(720px, calc(100% - 40px)); }
.intro { border-bottom: 1px solid var(--line); }
.intro-layout { min-height: min(700px, max(560px, calc(100svh - 100px))); }
.intro-copy { max-width: 1000px; }
.intro-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
  z-index: -1;
  opacity: 0;
  pointer-events: none;
}
.intro-video.is-ready { opacity: 1; }
.intro:has(.intro-video.is-ready)::before {
  z-index: 0;
  mask-image: none;
  background: linear-gradient(90deg, #080513da, #110922a0 55%, #08051380),
              linear-gradient(0deg, #060509 0%, transparent 44%, #0605099c 100%);
}
.intro:has(.intro-video.is-ready)::after { display: none; }
.intro-layout { position: relative; z-index: 1; }
.video-toggle {
  position: absolute;
  z-index: 1;
  right: clamp(20px, 4vw, 60px);
  bottom: 14px;
  padding: 8px 13px;
  border: 1px solid #cdb6ff75;
  border-radius: 999px;
  background: #100e1cdd;
  color: var(--white);
  font-size: 13px;
  cursor: pointer;
}
.section-title { display: flex; text-align: left; margin-bottom: 22px; }
.feature { grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); grid-template-rows: auto; }
.feature + .feature { margin-top: 20px; }
.feature .visual { grid-row: auto; min-height: 382px; border-bottom: 0; }
.product { display: block; padding: clamp(24px, 5vw, 56px); }
.product h3 { font-size: clamp(38px, 6vw, 68px); }
.product > p:not(.status) { margin: 16px 0 0; }
.meta { margin-top: 23px; }
.preview-body { padding: 19px; }
.preview-body strong { margin: 7px 0 18px; font-size: clamp(23px, 2.4vw, 35px); }
.preview-row { padding: 10px 0; font-size: 13px; }
.preview-header { padding: 12px 17px; font-size: 14px; }
.voice-preview { padding: 18px 20px 23px; }
.voice-wave { height: 69px; }
.voice-wave i:nth-child(5) { height: 57px; }
.voice-preview strong { font-size: clamp(17px, 2vw, 27px); }
.preview-caption { right: 18px; bottom: 14px; font-size: 11px; }
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .navigation { width: calc(100% - 24px); }
  .feature { grid-template-columns: minmax(0, 1fr); }
  .feature .visual { min-height: 270px; }
  .intro-layout { min-height: min(610px, calc(100svh - 70px)); }
}

/* Graphite surfaces and product motion. */
:root {
  --plum: #11131a;
  --white: #f7f8ff;
  --muted: #b9becd;
  --blush: #a9bdff;
  --line: #a1b4ff2a;
}
html, body { background: #101116; }
.navigation {
  background: #171922e8;
  color: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 12px 34px #0006;
  backdrop-filter: blur(20px);
}
.brand img { filter: none; }
.navigation nav { color: #d6dced; }
.navigation nav a:hover { color: #a9bdff; }
.navigation .nav-action, .jump, .command button {
  background: linear-gradient(125deg, #304cdf, #24339b);
  border-color: #849bff56;
}
.navigation .nav-action:hover, .jump:hover, .command button:hover {
  background: linear-gradient(125deg, #3e5cf2, #303db6);
}
.intro { background: radial-gradient(ellipse at 50% 95%, #242b72, transparent 60%), #101116; }
.intro::before {
  background: radial-gradient(ellipse at 50% 85%, #4e59e5a0, transparent 57%);
  mask-image: none;
}
.intro::after { display: none; }
.intro:has(.intro-video.is-ready)::before {
  background: radial-gradient(ellipse at 50% 116%, #3345e3a8, transparent 55%),
              linear-gradient(0deg, #101116 0%, #12172b9a 39%, #0c1023ac 80%, #101116df 100%);
}
.video-toggle { background: #111523e8; }
#catalog { padding-top: clamp(46px, 7vw, 90px); }
.section-title { margin-bottom: 26px; }
.section-title h2, .instructions h2 { letter-spacing: -.045em; }
.feature {
  background: linear-gradient(145deg, #22263a, #181a22 63%);
  border-radius: 20px;
  box-shadow: inset 0 1px #dce5ff12, 0 15px 35px #0002;
}
.feature .visual {
  perspective: 900px;
  isolation: isolate;
  background: radial-gradient(ellipse at 56% 110%, #3c4dc1 0%, #252f71 29%, transparent 71%), #111522;
}
.feature .tutu-visual {
  background: radial-gradient(ellipse at 48% 110%, #4640b7 0%, #262862 32%, transparent 73%), #141425;
}
.feature .chelka-visual {
  background: radial-gradient(ellipse at 63% 115%, #4965c8 0%, #2a3875 33%, transparent 71%), #121724;
}
.visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 155%;
  height: 55%;
  top: 43%;
  left: -26%;
  border-radius: 50%;
  transform: rotate(-21deg);
  background: repeating-radial-gradient(ellipse at 50% 92%, transparent 0 10px, #aebeff25 11px, transparent 13px 17px);
  mask-image: linear-gradient(100deg, transparent, #000 45%, transparent 85%);
  pointer-events: none;
}
.app-preview { position: relative; overflow: hidden; border-color: #cbd7ff55; }
.kill-preview { --pose: rotateY(-13deg) rotateX(8deg) rotateZ(-6deg); transform: var(--pose); }
.voice-preview { --pose: rotateY(11deg) rotateX(7deg) rotateZ(5deg); transform: var(--pose); }
.chelka-preview { --pose: rotateY(-10deg) rotateX(7deg) rotateZ(-4deg); transform: var(--pose); }
.app-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, #d8e4ff20 48%, transparent 64%);
  transform: translateX(-110%);
  pointer-events: none;
}
.notch-preview {
  position: absolute;
  top: 12%;
  left: 50%;
  width: 24%;
  height: 15px;
  border: 1px solid #8092ee62;
  border-radius: 50px;
  background: #060710;
  opacity: .75;
  transform: translateX(-50%);
}
.team { background: radial-gradient(ellipse at 1% 0, #2b376d, transparent 72%), #161922; }
.motion-active .kill-preview { animation: cover-drift 8s ease-in-out infinite; }
.motion-active .app-preview::after { animation: cover-light 8s ease-in-out infinite; }
.motion-active .voice-preview { animation: cover-drift 8s 500ms ease-in-out infinite; }
.motion-active .voice-wave i { transform-origin: center; animation: voice-level 1.65s ease-in-out infinite alternate; }
.motion-active .voice-wave i:nth-child(2n) { animation-delay: -550ms; }
.motion-active .voice-wave i:nth-child(3n) { animation-delay: -950ms; }
.motion-active .voice-wave i:nth-child(5n) { animation-delay: -1300ms; }
.motion-active .chelka-preview { animation: notch-open 8s cubic-bezier(.2,.7,.23,1) infinite; }
.motion-active .notch-preview { animation: notch-pulse 8s ease-in-out infinite; }
@keyframes cover-drift {
  0%, 100% { transform: translateY(5px) var(--pose); }
  48% { transform: translateY(-9px) rotateY(0deg) rotateX(2deg) rotateZ(0deg); }
}
@keyframes cover-light {
  0%, 20% { transform: translateX(-110%); }
  62%, 100% { transform: translateX(110%); }
}
@keyframes voice-level {
  0%, 100% { transform: scaleY(.5); }
  40% { transform: scaleY(1); }
  65% { transform: scaleY(.68); }
}
@keyframes notch-open {
  0%, 100% { transform: translateY(-15px) scale(.85) var(--pose); }
  28%, 68% { transform: translateY(5px) scale(1) rotateZ(0deg); }
}
@keyframes notch-pulse {
  0%, 100% { opacity: .75; transform: translateX(-50%) scaleX(1); }
  28%, 68% { opacity: .4; transform: translateX(-50%) scaleX(1.25); }
}
@media (max-width: 760px) {
  .kill-preview, .voice-preview, .chelka-preview { --pose: rotateZ(0deg); }
  .notch-preview { top: 10%; height: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .motion-active .app-preview, .motion-active .app-preview::after,
  .motion-active .voice-wave i, .motion-active .notch-preview { animation: none; }
}

/* Planetary first screen. The video is framed to isolate the moving glass. */
.intro {
  background: radial-gradient(ellipse at 53% 55%, #20283c 0%, #151925 41%, #101116 75%);
}
.intro::before, .intro:has(.intro-video.is-ready)::before { display: none; }
.intro-layout {
  width: min(1400px, calc(100% - 80px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  align-items: start;
  gap: 28px;
  min-height: clamp(565px, 58vw, 810px);
  padding-block: clamp(64px, 8vw, 120px) 56px;
}
.intro-copy { z-index: 1; text-align: left; padding: 0; max-width: 430px; }
.hero-kicker { color: var(--blush); font-size: 13px; margin-bottom: 18px; }
.intro h1 { font-size: clamp(36px, 4.1vw, 65px); letter-spacing: -.058em; text-wrap: initial; }
.intro-description { margin: 20px 0 0; max-width: 28ch; color: #c9cede; font-size: clamp(16px, 1.65vw, 21px); }
.planet-stage {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 51%;
  width: min(55vw, 700px);
  aspect-ratio: 1.04;
  overflow: hidden;
  transform: translate(-50%, -50%);
  mask-image: radial-gradient(ellipse at 49% 50%, #000 48%, #000d 57%, transparent 69%), linear-gradient(90deg, #000 63%, transparent 92%);
  mask-composite: intersect;
  mix-blend-mode: screen;
  pointer-events: none;
}
.planet-stage .intro-video {
  inset: auto;
  top: -14%;
  left: -57%;
  width: 207%;
  height: auto;
  max-width: none;
  z-index: auto;
  opacity: 1;
  filter: brightness(.59) contrast(3.2) saturate(1.65);
}
.hero-glass {
  position: relative;
  z-index: 1;
  align-self: end;
  justify-self: end;
  width: min(100%, 340px);
  margin-bottom: 20px;
  padding: clamp(16px, 2vw, 25px);
  border: 1px solid #cbd9ff42;
  border-radius: 25px;
  background: linear-gradient(145deg, #8093ba27, #282f497d 65%, #171e32aa);
  box-shadow: inset 0 1px #eaf0ff26, 0 22px 60px #06091240;
  backdrop-filter: blur(16px) saturate(1.32);
}
.hero-glass-title { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 13px; }
.hero-glass-title h2 { font-size: 19px; font-weight: 500; }
.hero-glass-title span { color: #bcc8e5; font-size: 12px; }
.hero-tile {
  display: grid;
  gap: 4px;
  padding: 11px 12px;
  border: 1px solid #d0dcff29;
  border-radius: 10px;
  background: #b3c9fb0c;
}
.hero-tile + .hero-tile { margin-top: 7px; }
.hero-tile:hover { background: #a8bfff28; }
.hero-tile strong { font-size: 15px; font-weight: 600; }
.hero-tile span { color: #d0d9ee; font-size: 13px; }
.feature[id] { scroll-margin-top: 88px; }
@media (max-width: 740px) {
  .intro-layout {
    width: calc(100% - 40px);
    min-height: auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 44px 0 62px;
  }
  .intro-copy { max-width: 360px; }
  .intro h1 { font-size: clamp(36px, 8.7vw, 53px); }
  .planet-stage { position: relative; grid-row: 2; top: auto; left: auto; justify-self: center; width: min(100%, 420px); margin: -8px 0 -60px; transform: none; }
  .hero-glass { justify-self: center; margin-bottom: 0; }
}

/* Word reveal, camera tracking and pullback share a nine-second timeline. */
.chelka-motion-caption {
  padding: 12px 16px 14px;
  font-size: clamp(14px, 2vw, 20px);
  font-weight: 500;
  border-top: 1px solid var(--line);
}
.motion-word { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .motion-active .app-preview {
    animation: cover-sequence 9s both;
  }
  .motion-active .app-preview::after {
    animation: scene-reflection 9s both;
  }
  .motion-active .notch-preview { animation: notch-pulse 9s both; }
  .motion-active .voice-wave i { animation-iteration-count: 2; }
  .motion-active .motion-word {
    color: transparent;
    background: linear-gradient(100deg, #f4f5ff 35%, #a6a2ff 44%, #fff 50%, #9bcdff 56%, #f4f5ff 66%);
    background-size: 260% 100%;
    background-clip: text;
    animation: word-shimmer .82s var(--word-delay) both;
  }
  .motion-active .preview-status .motion-word {
    background-image: linear-gradient(100deg, #a4eed8 35%, #b0bdff 44%, #fff 50%, #a4eed8 65%);
  }
}
@keyframes word-shimmer {
  0% { opacity: 0; transform: translateY(5px); background-position: 100% 50%; }
  27% { opacity: 1; transform: translateY(0); }
  100% { opacity: 1; transform: translateY(0); background-position: 0 50%; }
}
@keyframes cover-sequence {
  0% { transform: translate(6%, 10px) scale(.91) var(--pose); }
  10% { transform: translate(8%, 2px) scale(1.07) rotateY(-6deg); }
  36% { transform: translate(-5%, -4px) scale(1.1) rotateY(4deg); }
  51% { transform: translate(-6%, -6px) scale(1.08) rotateY(5deg); }
  75% { transform: translate(1%, 7px) scale(.92) var(--pose); }
  100% { transform: var(--pose); }
}
@keyframes scene-reflection {
  0%, 43% { transform: translateX(-110%); }
  72%, 100% { transform: translateX(110%); }
}

/* Procedural glass, rendered directly over the hero. */
.planet-stage {
  mask-image: none;
  mix-blend-mode: normal;
  overflow: visible;
}
.planet-stage::before {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px solid #a8baff88;
  border-radius: 46% 54% 63% 37% / 55% 38% 62% 45%;
  background: radial-gradient(ellipse at 25% 20%, #fff0d6, #37151b 26%, transparent 54%),
              conic-gradient(from 95deg, #081d7e, #c4300c, #ffb824, #101328, #081d7e);
  box-shadow: 0 0 52px #7194ff42, inset 0 0 30px #a9bfff64;
  transform: rotate(-26deg);
}
.planet-stage.glass-ready::before { display: none; }
.glass-canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }


.planet-stage { transform: translate(-50%, -50%) scale(1.8); }
.intro-copy { text-shadow: 0 2px 14px #090a16, 0 0 34px #080913; }
.voice-result { border-top: 1px solid #ffffff20; padding-top: 11px; }
.voice-result span { color: #a6baff; margin-right: 4px; }
.chelka-preview {
  border-radius: 10px 10px 27px 27px;
  background: #08090c;
  box-shadow: 0 25px 70px #0009, inset 0 1px #ffffff2b;
  padding: 10px;
  transform-origin: 50% 0;
  container-type: inline-size;
}
.notch-preview {
  z-index: 2;
  top: calc(50% - 125px);
  width: 85px;
  height: 21px;
  border: 1px solid #c1ceff3d;
  border-radius: 0 0 11px 11px;
  background: #08090c;
}
.notch-preview span {
  position: absolute;
  top: 7px;
  left: calc(50% - 2px);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #40485e;
}
.widget-music, .widget-clipboard, .widget-metrics {
  border-radius: 10px;
  background: #1b1d22;
  border: 1px solid #ffffff13;
}
.widget-music { display: flex; align-items: center; gap: 9px; padding: 8px; }
.widget-music-icon { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 6px; background: #3e405c; }
.widget-music strong, .widget-entry strong { display: block; font-size: 12px; font-weight: 600; }
.widget-music small, .widget-entry small { color: #acafbf; font-size: 10px; }
.widget-controls { margin-left: auto; white-space: nowrap; padding-right: 4px; font-size: 13px; }
.widget-clipboard { margin-top: 6px; padding: 8px; }
.widget-heading, .widget-metrics { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px; font-size: 11px; }
.widget-heading span, .widget-metrics span { color: #bbbfcf; }
.widget-entries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin-top: 6px; }
.widget-entry { min-width: 0; padding: 5px; border-radius: 6px; background: #2b2e36; }
.widget-entry > span { color: #a9b9fe; }
.widget-entry strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 10px; margin: 2px 0; }
.widget-metrics { margin-top: 6px; padding: 8px; }
.widget-metrics strong { color: #f7f8ff; }
@container (max-width: 265px) {
  .widget-entry:nth-child(3) { display: none; }
  .widget-entries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: no-preference) {
  .motion-active .kill-preview { animation: vpn-camera 6.8s both; }
  .motion-active .voice-preview { animation: voice-camera 6.8s both; }
  .motion-active .chelka-preview { animation: widget-camera 6.8s both; }
  .motion-active .notch-preview { animation: none; }
  .motion-active .app-preview::after { animation: none; }
  .motion-active .voice-wave i { animation-duration: 1.15s; animation-iteration-count: 3; }
  .motion-active .vpn-address,
  .motion-active .monitor-heading,
  .motion-active .checkpoint,
  .motion-active .vpn-summary,
  .motion-active .voice-key,
  .motion-active .voice-result,
  .motion-active .widget-music,
  .motion-active .widget-clipboard,
  .motion-active .widget-entry,
  .motion-active .widget-metrics { animation: panel-content .55s var(--appear) both; }
  .vpn-address { --appear: 2.25s; }
  .monitor-heading { --appear: 3.35s; }
  .checkpoint { --appear: 3.65s; }
  .checkpoint + .checkpoint { --appear: 4s; }
  .vpn-summary { --appear: 5.2s; }
  .voice-key { --appear: 3.85s; }
  .voice-result { --appear: 5.25s; }
  .widget-clipboard { --appear: .9s; }
  .widget-entry:nth-child(1) { --appear: 1.25s; }
  .widget-entry:nth-child(2) { --appear: 1.6s; }
  .widget-entry:nth-child(3) { --appear: 1.95s; }
  .widget-music { --appear: 3s; }
  .widget-metrics { --appear: 4.8s; }
}

@keyframes vpn-camera {
  0% { transform: translateY(8px) scale(.93) var(--pose); }
  15%, 42% { transform: translate(3%, -4px) scale(1.06) rotateY(-7deg); }
  58%, 72% { transform: translateY(5px) scale(.95) rotateY(-2deg); }
  88%, 100% { transform: var(--pose); }
}
@keyframes voice-camera {
  0% { transform: translateY(12px) scale(.92) var(--pose); }
  15%, 51% { transform: translateY(-3px) scale(1.07) rotateY(5deg); }
  65%, 72% { transform: translateY(7px) scale(.94) rotateY(6deg); }
  86%, 100% { transform: var(--pose); }
}
@keyframes widget-camera {
  0% { opacity: 0; clip-path: inset(0 40% 90% round 11px); transform: translateY(-15px) scale(.89); }
  14%, 35% { opacity: 1; clip-path: inset(0 round 20px); transform: translateY(0) scale(1.02); }
  49%, 61% { clip-path: inset(0 round 20px); transform: translateY(8px) rotateX(-5deg) scale(.97); }
  76%, 100% { clip-path: inset(0 round 20px); transform: var(--pose); }
}
@keyframes panel-content {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 740px) {
  .planet-stage { transform: scale(1.65); }
}

/* Continue the hero background behind the menu. */
.bar { background: transparent; }
.navigation { backdrop-filter: none; }
.intro { margin-top: -72px; padding-top: 72px; }
@media (min-width: 741px) {
  .planet-stage {
    left: 73%;
    width: min(53vw, 800px);
    transform: translate(-50%, -50%) scale(1.18);
  }
}
