/* ==========================================================================
   Robo page
   ========================================================================== */

.page-robo .eyebrow .dot { background: var(--violet); }
.page-robo .accent-text { color: var(--violet-2); }
.btn--ghost-light { border: 1px solid rgba(255,255,255,.45); color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* ---------- HERO ---------- */
.r-hero { position: relative; min-height: 100svh; padding-top: calc(var(--nav-h) + 30px); overflow: hidden; display: flex; align-items: center; }
.stars { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.r-hero__nebula { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(40% 50% at 72% 45%, rgba(155,107,255,.28), transparent 70%),
    radial-gradient(30% 40% at 90% 90%, rgba(255,95,162,.12), transparent 70%),
    radial-gradient(40% 50% at 10% 100%, rgba(98,60,220,.18), transparent 70%);
}
.r-hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; width: 100%; }
.r-hero__copy { display: flex; flex-direction: column; gap: 28px; padding-bottom: 40px; }
.r-hero__copy .pill { align-self: flex-start; }
.r-hero__title { font-size: clamp(3.1rem, 7vw, 7.4rem); }
.r-hero__title .serif { font-size: 1.12em; color: var(--violet-2); text-shadow: 0 0 60px rgba(155,107,255,.55); padding-right: .05em; }
.r-hero__dlnote { margin-top: -14px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--muted); }
.r-hero__facts { display: flex; flex-wrap: wrap; gap: 0; margin-top: 6px; border-top: 1px solid var(--line); }
.r-hero__facts li { display: grid; gap: 2px; padding: 18px 28px 0 0; margin-right: 28px; }
.r-hero__facts li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.r-hero__facts b { font-size: 1.7rem; letter-spacing: -0.04em; font-weight: 600; }
.r-hero__facts span { font-size: 13.5px; color: var(--muted); }

.r-hero__stage { position: relative; height: min(76svh, 700px); min-height: 460px; }
.halo { position: absolute; left: 50%; top: 50%; width: min(100%, 620px); aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; }
.halo__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(155,107,255,.2); }
.halo__ring.h2 { inset: 12%; border-style: dashed; border-color: rgba(205,184,255,.18); animation: spin 60s linear infinite; }
.halo__ring.h3 { inset: 24%; border-color: rgba(155,107,255,.3); }
.halo__ring.h1::after { content: ""; position: absolute; top: 50%; left: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--violet-2); box-shadow: 0 0 20px 4px rgba(155,107,255,.8); }
.halo__ring.h1 { animation: spin 22s linear infinite; }
.halo__core { position: absolute; inset: 22%; border-radius: 50%; background: radial-gradient(circle, rgba(155,107,255,.55), rgba(155,107,255,0) 68%); filter: blur(20px); }
@keyframes spin { to { transform: rotate(360deg); } }

.bot { position: absolute; left: 50%; top: 50%; width: clamp(220px, 29vw, 420px); aspect-ratio: 1; margin: calc(clamp(220px, 29vw, 420px) / -2) 0 0 calc(clamp(220px, 29vw, 420px) / -2); z-index: 3; cursor: pointer; border-radius: 50%; }
.bot__tilt { position: absolute; inset: 0; display: block; transform-style: preserve-3d; }
.bot__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 50px rgba(0,0,0,.6)); }
.bot__img--happy, .bot__img--voice { opacity: 0; }
.no-anim .bot__img--side, .no-js .bot__img--side { opacity: 0; }
.no-anim .bot__img--happy, .no-js .bot__img--happy { opacity: 1; }
.no-js .bot-say { opacity: 1; }
.bot__shadow { position: absolute; left: 22%; right: 22%; bottom: -12%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgba(155,107,255,.45), transparent); filter: blur(6px); }

.bot-say {
  position: absolute; left: 58%; top: 6%; z-index: 4; max-width: 240px; padding: 12px 16px; border-radius: 18px 18px 18px 4px;
  background: rgba(24, 18, 40, .78); border: 1px solid rgba(155,107,255,.4); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-size: 15px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.8), 0 0 40px -14px rgba(155,107,255,.6); opacity: 0;
}
.no-anim .bot-say { opacity: 1; }
.float-chip {
  position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; white-space: nowrap;
  background: rgba(20, 16, 34, .72); border: 1px solid rgba(155,107,255,.3); font-size: 13.5px; color: var(--text-2);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 14px 40px -16px rgba(0,0,0,.8);
}
.float-chip svg { width: 15px; height: 15px; color: var(--violet-2); }
.fc-a { left: 2%; top: 22%; }
.fc-b { right: 0; bottom: 22%; color: #8ff0b0; border-color: rgba(74,222,128,.3); }
.fc-b svg { color: #8ff0b0; }
.fc-c { left: 8%; bottom: 10%; font-family: var(--serif); font-style: italic; font-size: 17px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }

@media (max-width: 1000px) {
  .r-hero { min-height: auto; }
  .r-hero__grid { grid-template-columns: 1fr; }
  .r-hero__stage { order: -1; height: clamp(380px, 90vw, 560px); min-height: 0; }
  .bot { width: clamp(200px, 52vw, 340px); margin: calc(clamp(200px, 52vw, 340px) / -2) 0 0 calc(clamp(200px, 52vw, 340px) / -2); }
  .bot-say { left: auto; right: 0; top: 0; }
}
@media (max-width: 600px) {
  .r-hero__title { font-size: clamp(2.8rem, 13vw, 3.8rem); }
  .fc-a { left: 0; top: 30%; } .fc-c { left: 0; bottom: 4%; } .fc-b { right: 0; bottom: 18%; }
  .float-chip { font-size: 12px; padding: 7px 11px; }
  .bot-say { max-width: 200px; font-size: 13.5px; }
  .r-hero__facts li { padding-right: 16px; margin-right: 16px; }
  .r-hero__facts li + li { padding-left: 16px; }
  .r-hero__facts b { font-size: 1.35rem; }
}

/* ---------- STATEMENT ---------- */
.r-statement__text { margin-top: 34px; font-size: clamp(1.85rem, 4.1vw, 3.9rem); line-height: 1.12; letter-spacing: -0.038em; font-weight: 550; max-width: 21em; }
.r-statement__text em { font-family: var(--serif); font-weight: 400; color: var(--violet-2); }
.scrub-word { opacity: .13; }
.no-anim .scrub-word { opacity: 1; }

/* ---------- POWERS ---------- */
.powers__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.power { display: flex; flex-direction: column; }
.power__vis { height: 340px; display: grid; place-items: center; padding: 28px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 50% 60%, rgba(155,107,255,.14), transparent 65%); overflow: hidden; }
.power__body { padding: clamp(26px, 3vw, 38px); display: grid; gap: 10px; }
.power__body p { color: var(--muted); }
.power__k { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--violet-2); }

.term { width: min(100%, 460px); border-radius: 16px; background: #0b0912; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 30px 60px -24px rgba(0,0,0,.9); overflow: hidden; }
.term__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.03); }
.term__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.18); }
.term__bar span { margin-left: 8px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.term__log { padding: 14px 16px 18px; display: grid; gap: 9px; font-family: var(--mono); font-size: 12.5px; color: var(--text-2); }
.term__log li { display: flex; align-items: center; gap: 10px; }
.term__log .ok { color: #8ff0b0; }
.term__log .run { color: var(--violet-2); }
.spin { width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(205,184,255,.3); border-top-color: var(--violet-2); animation: spin .8s linear infinite; }

.desk { position: relative; width: min(100%, 460px); height: 260px; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,.1);
  background: radial-gradient(circle at 20% 20%, rgba(155,107,255,.35), transparent 50%), radial-gradient(circle at 90% 100%, rgba(255,95,162,.2), transparent 50%), #100c1c; box-shadow: 0 30px 60px -24px rgba(0,0,0,.9); }
.desk__icons { position: absolute; left: 14px; top: 14px; display: grid; gap: 12px; }
.ic { width: 30px; height: 30px; border-radius: 9px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.14); }
.ic--a { background: linear-gradient(140deg, #9b6bff, #5b3bd0); }
.desk__win { position: absolute; left: 64px; top: 24px; right: 22px; bottom: 22px; border-radius: 12px; background: rgba(20,17,30,.95); border: 1px solid rgba(255,255,255,.12); overflow: hidden; transform-origin: 10% 10%; }
.desk__winbar { display: flex; align-items: center; gap: 5px; padding: 8px 10px; border-bottom: 1px solid var(--line); font-size: 11px; color: var(--muted); }
.desk__winbar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.2); }
.desk__winbar span { margin-left: 6px; }
.desk__form { padding: 12px 14px; display: grid; gap: 10px; }
.desk__form label { display: grid; gap: 4px; font-size: 11px; color: var(--muted); }
.field { display: block; height: 28px; padding: 0 10px; border-radius: 8px; background: rgba(255,255,255,.05); border: 1px solid var(--line-2); font-size: 12.5px; line-height: 26px; color: #fff; }
.desk__submit { justify-self: start; padding: 6px 14px; border-radius: 8px; background: var(--violet); font-size: 12px; font-weight: 600; transition: transform .2s; }
.desk__submit.is-press { transform: scale(.92); }
.desk__cursor { position: absolute; left: 0; top: 0; width: 20px; height: 20px; z-index: 3; filter: drop-shadow(0 4px 8px rgba(0,0,0,.6)); }
.desk__done { position: absolute; right: 18px; bottom: 16px; padding: 7px 12px; border-radius: 999px; background: rgba(74,222,128,.14); border: 1px solid rgba(74,222,128,.35); color: #8ff0b0; font-size: 12px; opacity: 0; }
.no-anim .desk__done { opacity: 1; }

@media (max-width: 900px) { .powers__grid { grid-template-columns: 1fr; } .power__vis { height: 300px; padding: 18px; } }

/* ---------- MORNING SCENE ---------- */
.morning { position: relative; }
.morning::before { content: ""; position: absolute; inset: 20% 0 0; background: radial-gradient(50% 50% at 50% 50%, rgba(155,107,255,.12), transparent 70%); pointer-events: none; }
.scene {
  position: relative; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 0;
  border-radius: 36px; border: 1px solid rgba(155,107,255,.25); overflow: hidden;
  background: linear-gradient(160deg, #130f22, #0b0913 60%);
  box-shadow: 0 60px 120px -60px rgba(0,0,0,.95), 0 0 120px -50px rgba(155,107,255,.5);
}
.scene__left { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 48px 32px; border-right: 1px solid var(--line); background: radial-gradient(70% 60% at 50% 40%, rgba(155,107,255,.14), transparent 70%); }
.sleeper { position: relative; width: clamp(180px, 22vw, 280px); aspect-ratio: 1; }
.sleeper__glow { position: absolute; inset: -20%; border-radius: 50%; background: radial-gradient(circle, rgba(155,107,255,.6), transparent 62%); filter: blur(12px); opacity: 0; transition: opacity 1s var(--ease); }
.sleeper__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: filter 1s var(--ease), opacity .3s; }
.sleeper__img--voice { opacity: 0; }
.sleeper[data-state="sleep"] .sleeper__img--happy { filter: brightness(.38) saturate(.3) blur(.3px); animation: breathe 4s ease-in-out infinite; }
.sleeper[data-state="awake"] .sleeper__glow, .sleeper[data-state="talk"] .sleeper__glow { opacity: .9; }
.sleeper[data-state="talk"] .sleeper__img--voice { opacity: 1; }
.sleeper[data-state="talk"] .sleeper__img--happy { opacity: 0; }
@keyframes breathe { 0%, 100% { transform: scale(1) translateY(0); } 50% { transform: scale(1.025) translateY(3px); } }
.zzz { position: absolute; right: 6%; top: 0; font-family: var(--serif); font-style: italic; color: var(--violet-2); pointer-events: none; transition: opacity .4s; }
.zzz i { position: absolute; font-style: normal; opacity: 0; animation: zz 3s ease-in-out infinite; }
.zzz i:nth-child(1) { font-size: 20px; } .zzz i:nth-child(2) { font-size: 28px; animation-delay: 1s; } .zzz i:nth-child(3) { font-size: 36px; animation-delay: 2s; }
@keyframes zz { 0% { opacity: 0; transform: translate(0, 10px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(30px, -60px); } }
.sleeper:not([data-state="sleep"]) .zzz { opacity: 0; }
.clap-burst { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; }
.clap-burst i { position: absolute; left: -2px; top: -60px; width: 4px; height: 22px; border-radius: 3px; background: var(--violet-2); transform-origin: 2px 60px; opacity: 0; }
.clap-burst i:nth-child(1) { transform: rotate(0deg); } .clap-burst i:nth-child(2) { transform: rotate(60deg); } .clap-burst i:nth-child(3) { transform: rotate(120deg); }
.clap-burst i:nth-child(4) { transform: rotate(180deg); } .clap-burst i:nth-child(5) { transform: rotate(240deg); } .clap-burst i:nth-child(6) { transform: rotate(300deg); }
.scene__status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--muted); }
.st-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted-2); transition: background-color .4s, box-shadow .4s; }
.scene.is-awake .st-dot { background: var(--green); box-shadow: 0 0 10px var(--green); }
.clap-btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px 14px 16px; border-radius: 999px;
  background: var(--violet); color: #fff; font-weight: 600; font-size: 15.5px;
  box-shadow: 0 14px 40px -12px rgba(155,107,255,.8), inset 0 1px 0 rgba(255,255,255,.25); transition: transform .2s var(--ease), opacity .4s;
}
.clap-btn:active { transform: scale(.95); }
.clap-btn__icon { font-size: 22px; line-height: 1; display: inline-block; }
.clap-btn__count { display: inline-flex; gap: 4px; margin-left: 4px; }
.clap-btn__count i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.3); transition: background-color .2s; }
.clap-btn__count i.on { background: #fff; }
.clap-btn::after { content: ""; position: absolute; inset: -6px; border-radius: inherit; border: 2px solid rgba(155,107,255,.6); animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.95); opacity: 1; } 100% { transform: scale(1.18); opacity: 0; } }
.clap-btn[disabled] { opacity: .35; pointer-events: none; }
.clap-btn[disabled]::after { display: none; }
.replay-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: var(--text-2); }
.replay-btn svg { width: 16px; height: 16px; }
.replay-btn:hover { background: rgba(255,255,255,.06); }

.scene__right { display: flex; flex-direction: column; min-height: 580px; }
.transcript { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; padding: 28px 32px 12px; max-height: 470px; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%); mask-image: linear-gradient(to bottom, transparent, #000 14%); }
.transcript__empty { align-self: center; margin: auto; text-align: center; display: grid; gap: 8px; color: var(--muted); max-width: 26em; }
.transcript__empty .mono { font-family: var(--mono); font-size: 34px; color: var(--text); letter-spacing: -0.02em; }
.tl { display: flex; gap: 12px; align-items: flex-start; max-width: 92%; }
.tl__av { width: 34px; height: 34px; flex: none; border-radius: 50%; background: rgba(155,107,255,.18); border: 1px solid rgba(155,107,255,.35); display: grid; place-items: center; overflow: hidden; }
.tl__av img { width: 28px; height: 28px; object-fit: contain; }
.tl__bubble { padding: 12px 16px; border-radius: 6px 18px 18px 18px; background: rgba(255,255,255,.05); border: 1px solid var(--line-2); font-size: 15px; line-height: 1.55; }
.tl__who { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--violet-2); margin-bottom: 4px; }
.tl--you { align-self: flex-end; flex-direction: row-reverse; }
.tl--you .tl__av { background: rgba(255,255,255,.08); border-color: var(--line-2); color: var(--text-2); }
.tl--you .tl__av svg { width: 16px; height: 16px; }
.tl--you .tl__bubble { border-radius: 18px 6px 18px 18px; background: linear-gradient(180deg, rgba(155,107,255,.28), rgba(155,107,255,.16)); border-color: rgba(155,107,255,.45); }
.tl--you .tl__who { color: var(--text-2); }
.tl--sys { align-self: center; max-width: none; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; color: var(--muted); padding: 6px 12px; border-radius: 999px; border: 1px dashed var(--line-2); }
.tl--sys.ok { color: #8ff0b0; border-color: rgba(74,222,128,.35); }
.wave-inline { display: inline-flex; align-items: center; gap: 3px; height: 16px; vertical-align: middle; margin-left: 6px; }
.wave-inline i { width: 3px; height: 30%; border-radius: 2px; background: var(--violet-2); animation: wv 0.9s ease-in-out infinite; }
.wave-inline i:nth-child(2) { animation-delay: -.2s; } .wave-inline i:nth-child(3) { animation-delay: -.4s; } .wave-inline i:nth-child(4) { animation-delay: -.6s; }
@keyframes wv { 0%, 100% { height: 25%; } 50% { height: 100%; } }

.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px 32px 32px; }
.act { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; align-items: center; padding: 14px; border-radius: 18px; background: rgba(255,255,255,.035); border: 1px solid var(--line); opacity: .35; filter: grayscale(1); transition: opacity .6s var(--ease), filter .6s, border-color .6s, transform .6s var(--ease); }
.act.is-done { opacity: 1; filter: none; border-color: rgba(74,222,128,.35); transform: translateY(-4px); }
.act__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(155,107,255,.14); border: 1px solid rgba(155,107,255,.3); color: var(--violet-2); }
.act__icon svg { width: 20px; height: 20px; }
.act__icon--cal { display: flex; flex-direction: column; gap: 0; background: #fff; color: #111; border: 0; line-height: 1; }
.cal-day { font-size: 18px; letter-spacing: -0.03em; }
.cal-mon { font-size: 9px; text-transform: uppercase; font-weight: 700; color: #e5484d; letter-spacing: .06em; margin-top: 2px; }
.act__body { min-width: 0; }
.act__body small { display: block; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.act__body b { display: block; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.act__state { grid-column: 1 / -1; justify-self: start; font-family: var(--mono); font-size: 11px; color: #8ff0b0; padding: 4px 9px; border-radius: 999px; background: rgba(74,222,128,.1); opacity: 0; transition: opacity .4s .3s; }
.act.is-done .act__state { opacity: 1; }

@media (max-width: 900px) {
  .scene { grid-template-columns: 1fr; border-radius: 26px; }
  .scene__left { border-right: 0; border-bottom: 1px solid var(--line); padding: 32px 20px; }
  .scene__right { min-height: 560px; }
  .transcript { padding: 22px 16px 12px; max-height: 560px; }
  .actions { grid-template-columns: 1fr; padding: 12px 16px 20px; }
  .tl__bubble { font-size: 14px; }
  .tl { max-width: 100%; }
}

/* ---------- DAY ---------- */
.day { position: relative; padding-block: var(--section); overflow: hidden; }
.day__pin { display: flex; flex-direction: column; justify-content: center; gap: 48px; }
.day__head { display: grid; gap: 20px; }
.day__head .h2 { max-width: 15em; }
.day__track { display: flex; gap: 16px; padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2)); will-change: transform; }
.hour {
  position: relative; flex: none; width: clamp(280px, 26vw, 380px); min-height: 340px; padding: 30px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px;
}
.hour::before { content: ""; position: absolute; left: 30px; right: 30px; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(155,107,255,.6), transparent); }
.hour__time { font-size: clamp(2.6rem, 4vw, 3.6rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; color: var(--violet-2); margin-bottom: auto; }
.hour h3 { font-size: 1.35rem; letter-spacing: -0.03em; margin-top: 40px; }
.hour p { color: var(--muted); font-size: 15.5px; }
.hour__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.hour__chips .chip { padding: 5px 10px; font-size: 12px; }
.hour--night { background: linear-gradient(160deg, #1b1338, #0e0b18); border-color: rgba(155,107,255,.35); }
.hour--night .hour__time { color: #fff; }
.day__progress { margin-top: 0; }
.day__bar { display: block; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.day__bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--violet), var(--violet-2)); transform-origin: left; transform: scaleX(0); }
@media (max-width: 900px) {
  .day__track { flex-direction: column; padding-inline: var(--gutter); }
  .hour { width: 100%; min-height: 0; }
  .hour h3 { margin-top: 18px; }
  .day__progress { display: none; }
}

/* ---------- PERSONA ---------- */
.persona__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.persona__copy { display: grid; gap: 26px; }
.persona__tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.persona__tabs button { padding: 11px 20px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 15px; font-weight: 550; color: var(--text-2); transition: background-color .3s, color .3s, border-color .3s; }
.persona__tabs button:hover { border-color: rgba(155,107,255,.6); color: #fff; }
.persona__tabs button[aria-selected="true"] { background: var(--violet); border-color: var(--violet); color: #fff; }
.persona__wake { display: grid; border-top: 1px solid var(--line); }
.persona__wake li { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.wk { color: var(--muted); }
.persona__wake b { font-weight: 600; }
.pv { position: relative; padding: 26px; border-radius: 30px; background: linear-gradient(170deg, #191430, #0e0b18); border: 1px solid rgba(155,107,255,.3); box-shadow: 0 50px 100px -40px rgba(0,0,0,.9), 0 0 90px -30px rgba(155,107,255,.55); display: grid; gap: 16px; }
.pv__head { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.pv__head img { width: 52px; height: 52px; object-fit: contain; }
.pv__head b { display: block; font-size: 17px; }
.pv__mode { color: var(--violet-2); font-size: 13px; }
.pv__wave { margin-left: auto; display: inline-flex; align-items: center; gap: 3px; height: 26px; }
.pv__wave i { width: 4px; height: 30%; border-radius: 3px; background: var(--violet-2); animation: wv 1s ease-in-out infinite; }
.pv__wave i:nth-child(2n) { animation-delay: -.3s; } .pv__wave i:nth-child(3n) { animation-delay: -.55s; }
.pv__you { justify-self: end; max-width: 85%; padding: 12px 16px; border-radius: 18px 6px 18px 18px; background: rgba(255,255,255,.06); border: 1px solid var(--line-2); font-size: 15px; }
.pv__bot { max-width: 92%; padding: 14px 18px; border-radius: 6px 18px 18px 18px; background: linear-gradient(180deg, rgba(155,107,255,.25), rgba(155,107,255,.12)); border: 1px solid rgba(155,107,255,.45); font-size: 16px; line-height: 1.55; min-height: 5.2em; }
.pv__traits { display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 900px) { .persona__grid { grid-template-columns: 1fr; } }

/* ---------- APP WINDOW ---------- */
.win { max-width: 1100px; margin-inline: auto; border-radius: 22px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); background: #0a0910; box-shadow: 0 80px 160px -60px rgba(0,0,0,.95), 0 0 140px -50px rgba(155,107,255,.55); }
.win__bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; border-bottom: 1px solid var(--line); background: #0d0c14; }
.win__brand { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 650; letter-spacing: .06em; }
.win__brand img { width: 18px; height: 18px; }
.win__ctrl { display: inline-flex; gap: 18px; }
.win__ctrl i { width: 11px; height: 11px; border: 1.5px solid var(--muted-2); border-radius: 2px; }
.win__ctrl i:first-child { height: 0; border-width: 1.5px 0 0; align-self: center; }
.win__ctrl i:last-child { border: 0; position: relative; }
.win__ctrl i:last-child::before, .win__ctrl i:last-child::after { content: ""; position: absolute; left: 50%; top: -1px; width: 1.5px; height: 14px; background: var(--muted-2); }
.win__ctrl i:last-child::before { transform: rotate(45deg); } .win__ctrl i:last-child::after { transform: rotate(-45deg); }
.win__body { display: grid; grid-template-columns: 230px 1fr; height: 600px; }
.win__side { display: flex; flex-direction: column; gap: 2px; padding: 14px 10px; border-right: 1px solid var(--line); background: #0c0b12; overflow: hidden; }
.ws, .wc { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; font-size: 13.5px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ws svg { width: 16px; height: 16px; flex: none; color: var(--muted); }
.ws--new { color: #fff; font-weight: 550; margin-bottom: 8px; }
.ws--on { background: rgba(255,255,255,.07); color: #fff; }
.wl { padding: 14px 10px 4px; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.wc { display: block; font-size: 13px; color: var(--muted); }
.wc--live { color: #fff; }
.wc--live i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); margin-right: 8px; vertical-align: middle; box-shadow: 0 0 8px var(--violet); }
.win__main { position: relative; display: flex; flex-direction: column; padding: 20px 28px 22px; background: radial-gradient(60% 50% at 50% 35%, rgba(155,107,255,.1), transparent 70%); overflow: hidden; }
.win__hello { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; }
.win__bot { width: 150px; height: 150px; object-fit: contain; filter: drop-shadow(0 20px 30px rgba(0,0,0,.6)); animation: bobsm 4s ease-in-out infinite; }
@keyframes bobsm { 0%, 100% { transform: translateY(-5px); } 50% { transform: translateY(5px); } }
.win__hello h3 { font-size: 2rem; letter-spacing: -0.04em; margin-top: 10px; }
.win__hello p { font-size: 14px; color: var(--muted); }
.win__hello p b { color: #fff; font-weight: 600; }
.ok-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-right: 6px; vertical-align: middle; }
.win__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.win__chips span { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; color: var(--text-2); }
.win__convo { position: absolute; left: 28px; right: 28px; top: 24px; bottom: 96px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; pointer-events: none; }
.wm { max-width: 78%; padding: 12px 16px; border-radius: 18px; font-size: 14.5px; line-height: 1.5; opacity: 0; }
.wm--me { align-self: flex-end; background: rgba(255,255,255,.07); border: 1px solid var(--line-2); border-radius: 18px 18px 5px 18px; }
.wm--bot { align-self: flex-start; background: linear-gradient(180deg, rgba(155,107,255,.22), rgba(155,107,255,.1)); border: 1px solid rgba(155,107,255,.4); border-radius: 18px 18px 18px 5px; display: grid; gap: 10px; }
.wm__tag { justify-self: start; font-family: var(--mono); font-size: 11.5px; color: #8ff0b0; padding: 5px 10px; border-radius: 999px; background: rgba(74,222,128,.1); border: 1px solid rgba(74,222,128,.3); }
.win__composer { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 18px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); }
.win__input { flex: 1; min-height: 22px; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win__ph { color: var(--muted-2); }
.win__typed:not(:empty) + .win__ph { display: none; }
.win__tools { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); }
.win__tools svg { width: 18px; height: 18px; }
.win__task { font-size: 12.5px; padding: 5px 10px; border-radius: 8px; border: 1px solid var(--line); }
.win__send { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--violet); color: #fff; }
.win__send svg { width: 16px; height: 16px; }
@media (max-width: 900px) {
  .win__body { grid-template-columns: 1fr; height: 540px; }
  .win__side { display: none; }
  .win__main { padding: 16px; }
  .win__convo { left: 16px; right: 16px; bottom: 86px; }
  .win__task { display: none; }
  .wm { max-width: 92%; font-size: 13.5px; }
}

/* ---------- COMMANDS ---------- */
.commands { padding: 40px 0 60px; display: grid; gap: 12px; border-block: 1px solid var(--line); background: var(--bg-2); }
.commands__label { text-align: center; font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.cmd { padding: 14px 24px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.025); font-family: var(--serif); font-style: italic; font-size: clamp(18px, 1.8vw, 24px); color: var(--text-2); white-space: nowrap; }
.commands .marquee:nth-of-type(2) .cmd:nth-child(odd) { border-color: rgba(155,107,255,.35); color: var(--violet-2); }

/* ---------- CAPS ---------- */
.caps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cap { padding: 32px; display: grid; gap: 12px; align-content: start; min-height: 250px; }
.cap h3 { font-size: 1.3rem; letter-spacing: -0.03em; margin-top: 18px; }
.cap p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 1000px) { .caps__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .caps__grid { grid-template-columns: 1fr; } .cap { min-height: 0; } }

/* ---------- CTA ---------- */
.r-cta { padding-bottom: var(--section); }
.r-cta__box { position: relative; overflow: hidden; isolation: isolate; border-radius: 40px; padding: clamp(48px, 8vw, 120px) clamp(20px, 6vw, 96px); display: grid; grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 26px; }
.r-cta__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 120% at 100% 0%, #b48bff 0%, #8b5cf6 30%, #5b31c9 60%, #231255 100%); }
.r-cta__bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.35) 1px, transparent 1.5px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(ellipse at 80% 30%, #000, transparent 65%); mask-image: radial-gradient(ellipse at 80% 30%, #000, transparent 65%); opacity: .5; }
.r-cta .eyebrow { color: rgba(255,255,255,.85); }
.r-cta__title { font-size: clamp(2.6rem, 6.6vw, 6.4rem); font-weight: 600; letter-spacing: -0.05em; line-height: .98; max-width: 9em; }
.r-cta__lead { color: rgba(255,255,255,.9); max-width: 30em; font-size: 1.12rem; }
.r-cta__bot { position: absolute; right: 4%; top: 50%; width: clamp(200px, 30vw, 440px); transform: translateY(-50%); filter: drop-shadow(0 40px 60px rgba(30,10,80,.6)); z-index: -1; }
.r-cta .btn--primary { color: #12082a; }
@media (max-width: 800px) { .r-cta__bot { right: -14%; top: 10%; transform: none; width: 220px; opacity: .45; } .r-cta__box { border-radius: 28px; } }
