:root {
  --paper: #f4efe5;
  --ink: #171714;
  --orange: #ff5c35;
  --blue: #3d66f5;
  --acid: #d9ff43;
  --line: rgba(23, 23, 20, .18);
  --shadow: 8px 8px 0 var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", Arial, sans-serif;
  overflow-x: hidden;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.noise { position: fixed; inset: 0; pointer-events: none; z-index: 99; opacity: .045; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E"); }

.topbar { height: 78px; padding: 0 4vw; border-bottom: 2px solid var(--ink); display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 20; background: rgba(244,239,229,.9); backdrop-filter: blur(12px); }
.logo { color: var(--ink); text-decoration: none; font: 800 18px/1 "Unbounded"; display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 38px; height: 38px; display: grid; place-items: center; background: var(--ink); color: var(--acid); border-radius: 50%; }
.logo-dot { color: var(--orange); }
.system-status, .sound-toggle { font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.system-status { display: flex; align-items: center; gap: 9px; }
.system-status i { width: 8px; height: 8px; border-radius: 50%; background: #39bd55; box-shadow: 0 0 0 5px rgba(57,189,85,.17); animation: statusPulse 1.6s infinite; }
.sound-toggle { border: 1.5px solid var(--ink); background: transparent; padding: 9px 12px; cursor: pointer; }

.hero { min-height: 730px; display: grid; grid-template-columns: 1.05fr .95fr; border-bottom: 2px solid var(--ink); overflow: hidden; }
.hero-copy { padding: clamp(70px, 9vw, 130px) 4vw 70px; position: relative; z-index: 2; }
.eyebrow { font: 700 11px/1.3 "Unbounded"; letter-spacing: .11em; display: flex; align-items: center; gap: 12px; margin: 0 0 36px; }
.eyebrow span { display: grid; place-items: center; width: 34px; height: 25px; background: var(--ink); color: var(--paper); transform: rotate(-3deg); }
h1, h2 { font-family: "Unbounded", sans-serif; text-transform: uppercase; letter-spacing: -.06em; margin: 0; }
h1 { font-size: clamp(48px, 6.2vw, 94px); line-height: .98; max-width: 900px; }
h1 em { font-style: normal; color: var(--orange); position: relative; white-space: nowrap; }
h1 em::after { content: ""; position: absolute; height: 9px; background: var(--acid); left: 0; right: 0; bottom: 1px; z-index: -1; transform: rotate(-1deg); }
.lead { font-size: clamp(17px, 1.7vw, 23px); line-height: 1.5; max-width: 590px; margin: 35px 0; }
.hero-actions { display: flex; align-items: center; gap: 26px; }
.primary-cta { display: flex; align-items: center; justify-content: space-between; min-width: 260px; padding: 19px 22px; color: white; background: var(--blue); border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); text-decoration: none; font: 700 12px "Unbounded"; transition: .2s; }
.primary-cta:hover { transform: translate(4px, 4px); box-shadow: 1px 1px 0 var(--ink); background: var(--orange); }
.primary-cta span { font-size: 21px; }
.hero-actions p { margin: 0; font-size: 11px; font-weight: 700; text-transform: uppercase; line-height: 1.5; opacity: .62; }

.portrait-wrap { min-height: 730px; position: relative; background: var(--acid); border-left: 2px solid var(--ink); overflow: hidden; isolation: isolate; }
.portrait-wrap::before { content: ""; position: absolute; width: 540px; height: 540px; border: 2px solid var(--ink); border-radius: 50%; top: 90px; left: 50%; transform: translateX(-50%); box-shadow: inset 0 0 0 34px rgba(255,255,255,.24), inset 0 0 0 36px var(--ink); }
.portrait-wrap::after { content: "ЛЁХА"; position: absolute; color: rgba(23,23,20,.08); font: 800 9.4vw/1 "Unbounded"; transform: rotate(-90deg); right: -145px; top: 265px; z-index: -1; }
.lexa-character { --character-scale: 1; position: absolute; width: 390px; height: 590px; left: 50%; bottom: -40px; transform: translateX(-50%) scale(var(--character-scale)); transform-origin: bottom center; animation: characterFloat 4s ease-in-out infinite; }
.head { position: absolute; width: 232px; height: 255px; left: 82px; top: 56px; background: #f0b58d; border: 3px solid var(--ink); border-radius: 46% 49% 44% 48%; transform: rotate(2deg); z-index: 4; }
.hair { position: absolute; width: 236px; height: 116px; left: 75px; top: 23px; z-index: 6; background: var(--ink); border-radius: 62% 38% 34% 30%; transform: rotate(-3deg); clip-path: polygon(0 0, 100% 0, 100% 72%, 82% 58%, 78% 86%, 60% 62%, 51% 91%, 35% 60%, 22% 78%, 9% 53%, 0 68%); }
.ear { position: absolute; width: 50px; height: 71px; background: #f0b58d; border: 3px solid var(--ink); border-radius: 50%; top: 162px; left: 60px; z-index: 5; }
.brow { position: absolute; top: 91px; width: 57px; height: 9px; background: var(--ink); border-radius: 50%; }
.brow-left { left: 35px; transform: rotate(9deg); }
.brow-right { right: 31px; transform: rotate(-12deg); }
.eye { position: absolute; top: 121px; width: 15px; height: 19px; background: var(--ink); border-radius: 50%; animation: blink 5s infinite; }
.eye::after { content: ""; width: 4px; height: 4px; background: white; border-radius: 50%; position: absolute; top: 3px; left: 3px; }
.eye-left { left: 59px; }.eye-right { right: 57px; }
.nose { position: absolute; width: 28px; height: 43px; border-left: 3px solid var(--ink); border-bottom: 3px solid var(--ink); border-radius: 0 0 0 13px; left: 104px; top: 124px; transform: skew(-8deg); }
.smirk { position: absolute; width: 61px; height: 25px; border-bottom: 5px solid var(--ink); border-radius: 50%; top: 187px; left: 93px; transform: rotate(-7deg); }
.smirk::after { content: ""; position: absolute; width: 14px; height: 6px; border-top: 3px solid var(--ink); right: -3px; bottom: -6px; transform: rotate(25deg); }
.neck { position: absolute; width: 78px; height: 98px; background: #e5a47b; border: 3px solid var(--ink); left: 160px; top: 278px; z-index: 2; }
.body { position: absolute; width: 342px; height: 300px; left: 25px; top: 340px; background: var(--blue); border: 3px solid var(--ink); border-radius: 48% 48% 0 0; z-index: 3; display: flex; justify-content: center; padding-top: 93px; color: white; text-align: center; font: 800 20px/1.15 "Unbounded"; }
.body::before { content: ""; width: 82px; height: 30px; background: #f0b58d; border: 3px solid var(--ink); border-top: 0; position: absolute; top: 0; left: 127px; border-radius: 0 0 44px 44px; }
.arm { position: absolute; width: 122px; height: 236px; right: -13px; bottom: -5px; border: 3px solid var(--ink); background: #f0b58d; border-radius: 60px; z-index: 5; transform: rotate(19deg); }
.mini-phone { position: absolute; width: 106px; height: 174px; background: var(--ink); right: -17px; bottom: 99px; border-radius: 16px; border: 3px solid var(--ink); z-index: 8; transform: rotate(-8deg); box-shadow: -8px 8px 0 rgba(255,255,255,.45); display: grid; place-items: center; }
.mini-phone::before { content: ""; position: absolute; inset: 8px; background: linear-gradient(150deg,#78bffa,var(--blue)); border-radius: 10px; }
.mini-phone b { position: relative; z-index: 2; color: white; font: 800 22px "Unbounded"; }
.phone-glow { position: absolute; width: 90px; height: 90px; background: white; border-radius: 50%; filter: blur(32px); opacity: .7; animation: glow 1.4s ease-in-out infinite; }
.thought { position: absolute; top: 105px; right: 7%; background: white; border: 2px solid var(--ink); padding: 17px 19px; border-radius: 50%; font: 700 12px/1.4 "Unbounded"; transform: rotate(5deg); z-index: 10; animation: thoughtBob 3s ease-in-out infinite; }
.thought::after { content:""; position:absolute; width: 14px; height: 14px; border: 2px solid var(--ink); background: white; border-radius: 50%; left: 2px; bottom: -16px; }
.censor-bopper { position: absolute; top: 182px; right: -190px; z-index: 15; width: 250px; height: 58px; display: grid; place-items: center; color: white; background: var(--ink); border: 3px solid white; outline: 3px solid var(--ink); box-shadow: 8px 8px 0 rgba(61,102,245,.7); font: 800 17px/1 "Unbounded"; letter-spacing: .1em; transform-origin: right center; animation: censorBonk 5.4s cubic-bezier(.72,.02,.2,1) infinite; }
.censor-bopper::before, .censor-bopper::after { content: ""; position: absolute; inset: auto; width: 18px; height: 18px; background: var(--ink); }
.censor-bopper::before { left: -24px; top: 5px; box-shadow: -18px 16px 0 var(--ink), 3px 36px 0 var(--ink); }
.censor-bopper::after { right: -16px; top: 17px; box-shadow: 17px -13px 0 var(--ink), 19px 14px 0 var(--ink); }
.censor-bopper i { position: absolute; left: -70px; top: -48px; width: 80px; height: 80px; display: grid; place-items: center; color: var(--ink); background: var(--orange); border: 3px solid var(--ink); clip-path: polygon(50% 0,61% 28%,85% 11%,78% 39%,100% 49%,75% 59%,91% 84%,62% 74%,50% 100%,39% 73%,12% 89%,24% 59%,0 48%,26% 39%,14% 12%,40% 28%); font: 800 12px/1 "Unbounded"; font-style: normal; opacity: 0; transform: scale(.15) rotate(-30deg); animation: censorImpact 5.4s ease-out infinite; }
.floating-sticker { position: absolute; z-index: 11; font: 800 18px/1 "Unbounded"; text-align: center; border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.floating-sticker small { display: block; font-size: 7px; margin-top: 4px; }
.sticker-one { left: 7%; bottom: 15%; padding: 14px; background: var(--orange); color: white; transform: rotate(-9deg); }
.sticker-two { right: 8%; bottom: 9%; padding: 13px; background: white; transform: rotate(7deg); }
.orbit { position: absolute; border: 1px dashed var(--ink); border-radius: 50%; z-index: -1; animation: orbitSpin 18s linear infinite; }
.orbit span { position: absolute; top: -9px; left: 50%; font: 800 9px "Unbounded"; background: var(--acid); padding: 2px 6px; }
.orbit-one { width: 630px; height: 630px; left: 50%; top: 44px; transform: translateX(-50%); }
.orbit-two { width: 410px; height: 410px; left: calc(50% - 205px); top: 147px; animation-direction: reverse; animation-duration: 11s; }

.ticker { overflow: hidden; border-bottom: 2px solid var(--ink); background: var(--ink); color: var(--acid); padding: 13px 0; }
.ticker-track { display: flex; width: max-content; animation: ticker 28s linear infinite; }
.ticker span { padding-right: 45px; font: 700 12px "Unbounded"; letter-spacing: .04em; }

.lab { padding: 105px 4vw 120px; background: #ef6a49; border-bottom: 2px solid var(--ink); }
.lab-intro { display: grid; grid-template-columns: .9fr 1.1fr; column-gap: 6vw; align-items: start; margin-bottom: 58px; }
.lab-intro .eyebrow { grid-column: 1 / -1; }
.lab-intro h2, .method h2, .finale h2 { font-size: clamp(38px, 5vw, 72px); line-height: 1.02; }
.lab-intro > p:not(.eyebrow) { font-size: 18px; line-height: 1.55; max-width: 560px; margin: 3px 0 24px; }
.prompt-chips { grid-column: 2; display: flex; flex-wrap: wrap; gap: 8px; }
.prompt-chips button { border: 1.5px solid var(--ink); border-radius: 30px; background: rgba(255,255,255,.55); padding: 10px 15px; font-size: 12px; font-weight: 700; cursor: pointer; transition: .18s; }
.prompt-chips button:hover { background: var(--acid); transform: translateY(-2px); }
.experiment { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(330px, 1.3fr); max-width: 1080px; margin: 0 auto; align-items: center; gap: 6vw; }
.meter-panel { background: var(--paper); border: 2px solid var(--ink); padding: 27px; box-shadow: var(--shadow); transform: rotate(-2deg); position: relative; z-index: 3; }
.meter-panel::before { content: "LIVE DATA"; position: absolute; right: 18px; top: -13px; padding: 6px 9px; color: white; background: var(--blue); border: 2px solid var(--ink); font: 700 9px "Unbounded"; transform: rotate(3deg); }
.meter-label { display: flex; justify-content: space-between; align-items: end; font: 700 10px "Unbounded"; }
.meter-label b { font-size: 35px; color: var(--orange); }
.meter { height: 32px; border: 2px solid var(--ink); margin: 12px 0 28px; padding: 3px; background: white; }
.meter-fill { height: 100%; width: 12%; background: repeating-linear-gradient(135deg,var(--acid),var(--acid) 8px,#b7dc24 8px,#b7dc24 16px); transition: width .8s cubic-bezier(.2,.9,.2,1.2); }
.diagnostics > div { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--line); font-size: 13px; }
.diagnostics b { font-family: "Unbounded"; }
.lab-note { margin-top: 17px; padding: 13px; background: var(--ink); color: white; font: 600 10px/1.5 "Unbounded"; }
.phone-shell { width: min(100%, 455px); height: 720px; background: var(--ink); border: 3px solid var(--ink); border-radius: 42px; padding: 13px; box-shadow: 16px 18px 0 rgba(23,23,20,.3); position: relative; margin: auto; transform: rotate(1.5deg); transition: transform .3s; }
.phone-shell.processing { animation: phoneThink .55s ease-in-out infinite; }
.phone-shell.expert { animation: expertShake .45s ease both; }
.phone-speaker { width: 95px; height: 25px; border-radius: 0 0 16px 16px; background: var(--ink); position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 4; }
.chat-app { height: 100%; overflow: hidden; border-radius: 29px; background: #dce6e2; display: grid; grid-template-rows: auto 1fr auto; }
.chat-head { height: 78px; padding: 18px 15px 9px; background: #fbfbfb; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #ccd3d0; }
.bot-avatar { width: 43px; height: 43px; flex: 0 0 auto; background: linear-gradient(135deg,#5bb3f3,#4663ee); color: white; border-radius: 50%; display: grid; place-items: center; font: 700 12px "Unbounded"; }
.chat-head strong { display: block; font-size: 14px; }.chat-head small { display: block; font-size: 10px; color: #72817b; margin-top: 2px; }.chat-head small i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #43c369; }
.chat-head button { margin-left: auto; background: none; border: 0; font-weight: 800; cursor: pointer; }
.messages { min-height: 0; padding: 20px 13px; overflow-y: auto; background-image: radial-gradient(rgba(66,85,78,.1) 1px, transparent 1px); background-size: 17px 17px; scrollbar-width: thin; }
.message { width: fit-content; max-width: 83%; padding: 9px 11px 6px; margin-bottom: 9px; border-radius: 12px; position: relative; font-size: 13px; line-height: 1.4; box-shadow: 0 1px 1px rgba(0,0,0,.1); animation: messageIn .3s ease both; }
.message p { margin: 0 0 2px; }.message time { display: block; text-align: right; font-size: 9px; color: #7f8b86; }.message time span { color: #3f9eea; }
.bot-message { background: white; border-bottom-left-radius: 3px; }.user-message { background: #d0f3bf; border-bottom-right-radius: 3px; margin-left: auto; }
.typing { display: flex; gap: 4px; padding: 13px 16px; }
.typing i { width: 6px; height: 6px; background: #82908a; border-radius: 50%; animation: typing 1s infinite; }.typing i:nth-child(2){animation-delay:.15s}.typing i:nth-child(3){animation-delay:.3s}
.chat-form { background: #f7f7f7; display: flex; gap: 8px; padding: 10px 9px 16px; }
.chat-form input { min-width: 0; flex: 1; border: 1px solid #d9d9d9; border-radius: 22px; padding: 10px 14px; outline: none; font-size: 12px; }.chat-form input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(61,102,245,.12); }
.chat-form button { width: 39px; height: 39px; border: 0; border-radius: 50%; background: #418bd3; color: white; cursor: pointer; transform: rotate(-10deg); transition: .2s; }.chat-form button:hover { transform: rotate(-10deg) scale(1.08); }

.method { padding: 115px 4vw 130px; border-bottom: 2px solid var(--ink); }
.method-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 72px; }
.method-heading p { margin: 0; font-size: 14px; line-height: 1.5; transform: rotate(2deg); border-bottom: 5px solid var(--acid); }
.steps { display: grid; grid-template-columns: repeat(3,1fr); border: 2px solid var(--ink); box-shadow: var(--shadow); }
.steps article { min-height: 330px; padding: 25px; background: white; position: relative; transition: .2s; }.steps article + article { border-left: 2px solid var(--ink); }.steps article:hover { background: var(--acid); transform: translateY(-8px); }
.steps article > b { font: 700 11px "Unbounded"; padding: 6px 8px; border: 1.5px solid var(--ink); }
.step-icon { font-size: 61px; margin: 48px 0 28px; line-height: 1; }
.steps h3 { font: 700 22px "Unbounded"; margin: 0 0 15px; }.steps p { font-size: 14px; line-height: 1.55; max-width: 330px; margin: 0; }

.finale { min-height: 600px; padding: 100px 7vw; background: var(--blue); color: white; display: grid; grid-template-columns: 1fr .8fr; align-items: center; gap: 8vw; overflow: hidden; position: relative; }
.finale::before { content: "∞"; position: absolute; font: 800 650px/1 "Unbounded"; color: rgba(255,255,255,.05); left: 41%; top: -50px; }
.finale .eyebrow span { color: var(--ink); background: var(--acid); }.finale-copy > p:last-child { font-size: 20px; }
.chaos-button { width: 330px; height: 330px; justify-self: center; border: 4px solid var(--ink); border-radius: 50%; background: var(--orange); color: var(--ink); box-shadow: 15px 15px 0 var(--ink); cursor: pointer; display: flex; flex-direction: column; justify-content: center; align-items: center; position: relative; z-index: 2; transition: .18s; animation: chaosPulse 2.4s ease-in-out infinite; }
.chaos-button::before { content: ""; position: absolute; inset: 18px; border: 2px dashed var(--ink); border-radius: 50%; animation: orbitSpin 15s linear infinite; }.chaos-button:hover { transform: translate(7px,7px) rotate(-3deg); box-shadow: 8px 8px 0 var(--ink); background: var(--acid); }.chaos-button strong { font: 800 27px "Unbounded"; margin: 11px 0; }.button-top,.button-bottom { font: 700 9px "Unbounded"; letter-spacing: .1em; }

footer { min-height: 90px; padding: 28px 4vw; display: flex; align-items: center; justify-content: space-between; background: var(--ink); color: white; font: 600 10px "Unbounded"; letter-spacing: .06em; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 25px; transform: translate(-50%, 100px); background: var(--acid); color: var(--ink); border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); padding: 13px 17px; font: 700 11px "Unbounded"; transition: .35s; }.toast.show { transform: translate(-50%,0); }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 90; overflow: hidden; }.confetti i { position: absolute; top: -30px; width: 12px; height: 24px; animation: confettiFall 2.4s ease-in forwards; }
body.chaos { animation: pageHue 1.4s linear; }

@keyframes statusPulse { 50% { box-shadow: 0 0 0 9px rgba(57,189,85,0); } }
@keyframes characterFloat {
  0%, 100% { transform: translateX(-50%) scale(var(--character-scale)); }
  50% { transform: translate(-50%,-8px) scale(var(--character-scale)) rotate(.6deg); }
}
@keyframes blink { 0%,45%,49%,100% { transform: scaleY(1); } 47% { transform: scaleY(.08); } }
@keyframes glow { 50% { opacity: .25; transform: scale(.8); } }
@keyframes thoughtBob { 50% { transform: translateY(-8px) rotate(2deg); } }
@keyframes censorBonk {
  0%, 56% { transform: translateX(0) rotate(9deg); }
  66% { transform: translateX(-260px) rotate(-7deg); }
  70% { transform: translateX(-232px) rotate(2deg); }
  74% { transform: translateX(-260px) rotate(-5deg); }
  84%, 100% { transform: translateX(0) rotate(9deg); }
}
@keyframes censorImpact {
  0%, 63%, 76%, 100% { opacity: 0; transform: scale(.15) rotate(-30deg); }
  66%, 74% { opacity: 1; transform: scale(1) rotate(7deg); }
  70% { opacity: .35; transform: scale(.72) rotate(-5deg); }
}
@keyframes orbitSpin { to { transform: rotate(360deg); } }
.orbit-one { animation-name: orbitSpinOne; }.orbit-two { animation-name: orbitSpin; }
@keyframes orbitSpinOne { from { transform: translateX(-50%) rotate(0); } to { transform: translateX(-50%) rotate(360deg); } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes messageIn { from { opacity:0; transform: translateY(8px) scale(.98); } }
@keyframes typing { 50% { transform: translateY(-4px); } }
@keyframes phoneThink { 25%{transform:rotate(0deg)}75%{transform:rotate(3deg)} }
@keyframes expertShake { 0%,100%{transform:rotate(1.5deg)}20%{transform:rotate(-3deg) scale(1.02)}50%{transform:rotate(4deg) scale(1.02)} }
@keyframes chaosPulse { 50% { box-shadow: 18px 18px 0 var(--ink); transform: scale(1.02); } }
@keyframes confettiFall { to { top: 110vh; transform: rotate(720deg) translateX(80px); } }
@keyframes pageHue { 0%,100%{filter:none}25%{filter:hue-rotate(80deg)}50%{filter:hue-rotate(190deg)}75%{filter:hue-rotate(280deg)} }

@media (max-width: 900px) {
  .system-status { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 650px; }
  .portrait-wrap { min-height: 680px; border-left: 0; border-top: 2px solid var(--ink); }
  .lab-intro { grid-template-columns: 1fr; }.lab-intro > p:not(.eyebrow), .prompt-chips { grid-column: 1; }.prompt-chips { margin-top: 12px; }
  .experiment { grid-template-columns: 1fr; }.meter-panel { max-width: 450px; width: 100%; margin: 0 auto 35px; transform: none; }
  .method-heading { display: block; }.method-heading p { margin-top: 25px; width: fit-content; }
  .steps { grid-template-columns: 1fr; }.steps article + article { border-left: 0; border-top: 2px solid var(--ink); }
  .steps article { min-height: 270px; }.step-icon { margin: 35px 0 22px; }
  .finale { grid-template-columns: 1fr; text-align: center; }.finale .eyebrow { justify-content:center; }.chaos-button { width: 280px; height: 280px; }
}

@media (max-width: 560px) {
  .topbar { height: 62px; padding: 0 14px; }
  .sound-toggle { padding: 7px; font-size: 8px; }
  .logo { gap: 7px; font-size: 12px; }
  .logo-mark { width: 30px; height: 30px; }

  .hero { min-height: 0; }
  .hero-copy { min-height: 0; padding: 54px 16px 48px; }
  .eyebrow { align-items: flex-start; gap: 9px; margin-bottom: 26px; font-size: 9px; line-height: 1.55; }
  .eyebrow span { flex: 0 0 31px; width: 31px; height: 23px; }
  h1 { max-width: 100%; font-size: clamp(34px, 11vw, 48px); line-height: 1.03; overflow-wrap: normal; }
  h1 em { white-space: normal; }
  h1 em::after { height: 6px; }
  .lead { margin: 28px 0; font-size: 16px; line-height: 1.55; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 18px; }
  .primary-cta { width: 100%; min-width: 0; padding: 17px 18px; }
  .hero-actions p { align-self: flex-end; text-align: right; }

  .portrait-wrap { min-height: 505px; border-left: 0; border-top: 2px solid var(--ink); }
  .portrait-wrap::before { width: 390px; height: 390px; top: 70px; box-shadow: inset 0 0 0 24px rgba(255,255,255,.24), inset 0 0 0 26px var(--ink); }
  .portrait-wrap::after { display: none; }
  .lexa-character { --character-scale: .7; bottom: -42px; }
  .orbit-one { width: 450px; height: 450px; top: 32px; }
  .orbit-two { width: 310px; height: 310px; left: calc(50% - 155px); top: 105px; }
  .thought { top: 48px; right: 4%; padding: 13px 15px; font-size: 10px; }
  .censor-bopper { top: 176px; right: -145px; width: 190px; height: 46px; font-size: 12px; box-shadow: 5px 5px 0 rgba(61,102,245,.7); animation-name: censorBonkMobile; }
  .censor-bopper::before, .censor-bopper::after { width: 13px; height: 13px; }
  .censor-bopper::before { left: -18px; box-shadow: -13px 12px 0 var(--ink), 2px 27px 0 var(--ink); }
  .censor-bopper i { left: -54px; top: -39px; width: 66px; height: 66px; font-size: 10px; animation-name: censorImpactMobile; }
  .sticker-one { left: 4%; bottom: 15%; padding: 11px; font-size: 14px; }
  .sticker-two { right: 4%; bottom: 7%; padding: 10px; font-size: 14px; }

  .ticker { padding: 11px 0; }
  .ticker span { padding-right: 30px; font-size: 10px; }

  .lab, .method { padding: 65px 14px 76px; }
  .lab-intro { margin-bottom: 42px; }
  .lab-intro h2, .method h2, .finale h2 { max-width: 100%; font-size: clamp(28px, 9vw, 36px); line-height: 1.08; overflow-wrap: break-word; }
  .lab-intro > p:not(.eyebrow) { margin-top: 19px; font-size: 15px; }
  .prompt-chips { flex-wrap: nowrap; margin: 10px -14px 0; padding: 0 14px 7px; overflow-x: auto; scrollbar-width: none; }
  .prompt-chips::-webkit-scrollbar { display: none; }
  .prompt-chips button { flex: 0 0 auto; }
  .experiment { display: flex; flex-direction: column; gap: 30px; }
  .meter-panel { order: 2; width: calc(100% - 8px); margin: 0 8px 0 0; padding: 22px 18px; box-shadow: 5px 5px 0 var(--ink); }
  .meter-label b { font-size: 29px; }
  .phone-shell { order: 1; width: calc(100% - 4px); height: clamp(560px, 78svh, 650px); border-radius: 31px; padding: 9px; box-shadow: 7px 9px 0 rgba(23,23,20,.3); transform: none; }
  .phone-shell.processing { animation-name: phoneThinkMobile; }
  .phone-shell.expert { animation-name: expertShakeMobile; }
  .phone-speaker { top: 8px; width: 82px; height: 22px; }
  .chat-app { border-radius: 22px; }
  .chat-head { height: 70px; padding: 16px 11px 7px; }
  .bot-avatar { width: 38px; height: 38px; }
  .messages { padding: 14px 9px; }
  .message { max-width: 88%; font-size: 12px; }
  .chat-form { padding: 8px 7px 12px; }
  .chat-form input { padding: 9px 11px; font-size: 11px; }
  .chat-form button { width: 37px; height: 37px; flex: 0 0 37px; }

  .method-heading { margin-bottom: 38px; }
  .method-heading p { margin-top: 20px; font-size: 12px; }
  .steps { box-shadow: 5px 5px 0 var(--ink); }
  .steps article { min-height: 0; padding: 22px 19px 26px; }
  .steps article:hover { transform: none; }
  .step-icon { margin: 27px 0 18px; font-size: 49px; }
  .steps h3 { font-size: 18px; }

  .finale { min-height: 0; padding: 70px 16px 78px; gap: 52px; }
  .finale-copy > p:last-child { font-size: 17px; }
  .chaos-button { width: min(235px, 76vw); height: min(235px, 76vw); box-shadow: 9px 9px 0 var(--ink); }
  .chaos-button strong { font-size: 19px; }
  .button-top, .button-bottom { font-size: 7px; }

  footer { min-height: 0; gap: 13px; flex-direction: column; padding: 25px 14px; text-align: center; font-size: 8px; }
}

@media (max-width: 360px) {
  h1 { font-size: 33px; }
  .portrait-wrap { min-height: 465px; }
  .lexa-character { --character-scale: .63; }
  .thought { top: 38px; right: 2%; }
  .lab-intro h2, .method h2, .finale h2 { font-size: 27px; }
  .phone-shell { height: 560px; }
  .chat-head strong { font-size: 12px; }
  .chat-head small { font-size: 9px; }
}

@keyframes phoneThinkMobile {
  25% { transform: translateX(-2px) rotate(-.35deg); }
  75% { transform: translateX(2px) rotate(.35deg); }
}

@keyframes expertShakeMobile {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

@keyframes censorBonkMobile {
  0%, 56% { transform: translateX(0) rotate(8deg); }
  66% { transform: translateX(-190px) rotate(-6deg); }
  70% { transform: translateX(-169px) rotate(2deg); }
  74% { transform: translateX(-190px) rotate(-4deg); }
  84%, 100% { transform: translateX(0) rotate(8deg); }
}

@keyframes censorImpactMobile {
  0%, 63%, 76%, 100% { opacity: 0; transform: scale(.15) rotate(-30deg); }
  66%, 74% { opacity: 1; transform: scale(.82) rotate(7deg); }
  70% { opacity: .35; transform: scale(.58) rotate(-5deg); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
