/* WhisperFlow landing — the page. */

/* -- nav ------------------------------------------------------------------------------ */
.nav { position: sticky; top: 0; z-index: 20; transition: background .3s, border-color .3s, backdrop-filter .3s;
       border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(5, 7, 11, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
             border-bottom-color: rgba(27, 36, 50, .8); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font: 600 18px/1 var(--display);
         letter-spacing: -.01em; }
.brand-mark { display: inline-flex; align-items: center; gap: 2.5px; height: 18px; }
.brand-mark i { width: 3px; border-radius: 2px; background: var(--acid); box-shadow: 0 0 8px rgba(180, 255, 57, .6); }
.brand-mark i:nth-child(1) { height: 7px; } .brand-mark i:nth-child(2) { height: 13px; }
.brand-mark i:nth-child(3) { height: 18px; } .brand-mark i:nth-child(4) { height: 11px; } .brand-mark i:nth-child(5) { height: 6px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--dim); text-decoration: none; font-weight: 600; font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.btn-sm { --h: 44px; padding: 0 20px; font-size: 15px; }
.btn-xl { --h: 64px; padding: 0 36px; font-size: 18px; }
.only-narrow { display: none; }

/* -- hero -------------------------------------------------------------------------------- */
.hero { padding: 48px 0 40px; position: relative; }
.hero::before {                                  /* a pool of acid light behind the stage */
  content: ""; position: absolute; right: -10%; top: -6%; width: 70%; height: 90%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(180, 255, 57, .10), rgba(180, 255, 57, .03) 55%, transparent 72%);
}
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center;
           min-height: calc(100vh - 170px); }
.hero .wrap.hero-in { width: min(1280px, calc(100% - 32px)); }   /* the poster gets more room than the chapters */
.hero-title { font-size: clamp(34px, 4.2vw, 60px); line-height: 1.02; margin: 20px 0 24px; font-weight: 600; }
.hero-last { display: block; color: #fff; text-shadow: 0 0 40px rgba(180, 255, 57, .18); }
.hero-lead { max-width: 30em; margin: 0 0 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.micro { display: flex; align-items: center; gap: 10px; margin: 22px 0 0; color: var(--dim); font-size: 14px; font-weight: 600; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 4px rgba(180, 255, 57, .14);
            animation: live 2.4s ease-in-out infinite; }
@keyframes live { 50% { box-shadow: 0 0 0 7px rgba(180, 255, 57, .04); } }

/* the stage: a work window, the capsule below it, the keys, what was said */
.stage { position: relative; margin: 0; }
.stage-glow { position: absolute; inset: 12% 8% 0; background: radial-gradient(closest-side, rgba(180, 255, 57, .16), transparent 70%);
              filter: blur(10px); z-index: -1; pointer-events: none; }
.stage-tilt { position: relative; height: 520px; transform-style: preserve-3d; transition: transform .6s var(--ease); }
.win {
  position: absolute; inset: 0 0 118px 0; border-radius: 18px; overflow: hidden;
  background: linear-gradient(180deg, rgba(15, 21, 32, .96), rgba(8, 11, 18, .97));
  border: 1px solid var(--line-hi);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .02) inset, 0 1px 0 rgba(255, 255, 255, .06) inset;
}
.win-bar { display: flex; align-items: center; gap: 14px; height: 46px; padding: 0 16px; border-bottom: 1px solid var(--line);
           background: rgba(10, 14, 21, .9); font-size: 14px; }
.win-dots { display: inline-flex; gap: 7px; }
.win-dots i { width: 11px; height: 11px; border-radius: 50%; background: #1f2937; }
.win-title { font-weight: 700; }
.win-app { margin-left: auto; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.win-body { position: absolute; inset: 46px 0 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; gap: 16px; }
.chat { display: flex; flex-direction: column; gap: 10px; transition: opacity .4s; }
.bubble { margin: 0; max-width: 72%; padding: 11px 15px; border-radius: 16px 16px 16px 5px; background: #111827;
          border: 1px solid var(--line); color: #cfd8e6; font-size: 15px; line-height: 1.45; }
.bubble.short { max-width: 50%; }
.bubble.out { align-self: flex-end; border-radius: 16px 16px 5px 16px; background: rgba(180, 255, 57, .10);
              border-color: rgba(180, 255, 57, .25); color: var(--text); }
.composer { display: flex; align-items: flex-end; gap: 12px; }
.field {
  position: relative; flex: 1; min-height: 84px; padding: 16px 18px; border-radius: 14px; background: #070a10;
  border: 1px solid var(--line-hi); font-size: 19px; line-height: 1.45; transition: border-color .4s, box-shadow .4s;
}
.field.hot { border-color: rgba(180, 255, 57, .6); box-shadow: 0 0 0 4px rgba(180, 255, 57, .08), 0 0 40px -6px rgba(180, 255, 57, .35); }
.field .placeholder { position: absolute; left: 18px; top: 16px; color: var(--muted); pointer-events: none; display: none; }
.field.empty .placeholder { display: block; }
.field.empty .caret { position: absolute; left: 18px; top: 18px; }
.field-text { white-space: pre-wrap; }
.field-text.pop { animation: paste .7s var(--ease); }
@keyframes paste { 0% { opacity: 0; filter: blur(6px); transform: translateY(6px); } 60% { opacity: 1; filter: blur(0); } 100% { transform: none; } }
.en { color: var(--text); text-decoration: underline; text-decoration-color: rgba(180, 255, 57, .75);
      text-decoration-thickness: 2px; text-underline-offset: 5px; }
.en.shine { animation: shine 1.2s var(--ease); }
@keyframes shine { 0% { text-decoration-color: rgba(180, 255, 57, .75); text-shadow: none; }
                   35% { text-decoration-color: #fff; text-shadow: 0 0 18px rgba(180, 255, 57, .9); color: var(--acid-hi); }
                   100% { text-decoration-color: rgba(180, 255, 57, .75); text-shadow: none; } }
.caret { display: inline-block; width: 2px; height: 1.15em; margin-left: 2px; vertical-align: -0.18em; background: var(--acid);
         border-radius: 1px; animation: blink 1.05s steps(1) infinite; }
.caret.flash { animation: caret-flash .9s var(--ease); box-shadow: 0 0 16px 3px rgba(180, 255, 57, .9); }
@keyframes blink { 50% { opacity: 0; } }
@keyframes caret-flash { 0% { transform: scaleY(1.6); box-shadow: 0 0 22px 6px rgba(180, 255, 57, 1); } 100% { transform: none; box-shadow: none; } }
.send { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--field-2);
        border: 1px solid var(--line-hi); color: var(--muted); font-size: 15px; flex: none; }

.said { position: absolute; left: 50%; bottom: 236px; transform: translate(-50%, 10px); width: max-content; max-width: 88%;
        padding: 12px 18px 13px; border-radius: 14px; background: rgba(10, 14, 21, .92); border: 1px solid var(--line-hi);
        box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .9); opacity: 0; transition: opacity .35s, transform .45s var(--ease);
        text-align: center; pointer-events: none; }
.said.on { opacity: 1; transform: translate(-50%, 0); }
.said-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.said-text { display: block; margin-top: 3px; font-size: 16px; font-weight: 600; color: var(--text); }
.said-text::before, .said-text::after { color: var(--muted); }
.said-text::before { content: "«"; } .said-text::after { content: "»"; }

.keys { position: absolute; left: 0; bottom: 30px; display: flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 700; }
.keys::after { content: "⟶"; margin-left: 14px; font-size: 22px; color: var(--line-hi); transition: color .2s, text-shadow .2s; }
.keys.down::after { color: var(--acid); text-shadow: 0 0 12px rgba(180, 255, 57, .8); }
.keys kbd { transition: transform .12s, box-shadow .12s, border-color .2s, color .2s; }
.keys kbd.wide, .step-art kbd.wide { min-width: 5.2em; }
.keys.down kbd { transform: translateY(2px); box-shadow: 0 1px 0 #05070b, 0 0 18px -2px rgba(180, 255, 57, .55);
                 border-color: rgba(180, 255, 57, .7); color: var(--acid); }
.capsule-slot { position: absolute; right: 0; bottom: 22px; }

.beam { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.beam path { fill: none; stroke: url(#beamGrad); stroke-width: 2.4; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(180, 255, 57, .9));
             opacity: 0; }
.beam path.go { animation: beam .75s var(--ease) forwards; }
@keyframes beam { 0% { opacity: 1; stroke-dashoffset: var(--len); } 70% { opacity: 1; stroke-dashoffset: 0; } 100% { opacity: 0; stroke-dashoffset: 0; } }
.stamp { position: absolute; right: 14px; top: -14px; z-index: 2; padding: 6px 12px 6px 26px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
         color: var(--acid); background: #0b1208; border: 1px solid rgba(180, 255, 57, .45);
         opacity: 0; transform: translateY(-6px); transition: opacity .4s, transform .5s var(--ease); pointer-events: none; }
.stamp::before { content: ""; position: absolute; left: 11px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%;
                 background: var(--acid); box-shadow: 0 0 8px var(--acid); }
.stamp.on { opacity: 1; transform: none; }
.stage-note { position: absolute; left: 2px; top: calc(100% - 118px + 12px); margin: 0; color: var(--dim);
              font-size: 13px; font-weight: 600; line-height: 1.3; }
.stage-foot { margin-top: 18px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.scenes { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chip { height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-hi); background: rgba(10, 14, 21, .7);
        color: var(--dim); font-weight: 700; font-size: 14px; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.chip:hover { color: var(--text); border-color: var(--dim); }
.chip.on { color: var(--on-acid); background: var(--acid); border-color: var(--acid); }
.chip.ghost { background: transparent; }
.chip:focus-visible, .tab:focus-visible, .rbtn:focus-visible, summary:focus-visible { outline: 2px solid var(--acid); outline-offset: 3px; }
.note { margin: 0; color: var(--dim); font-size: 14px; font-weight: 600; line-height: 1.5; }

/* the pace strip */
.pace { margin-top: 64px; padding: 34px 0 0; border-top: 1px solid rgba(27, 36, 50, .7); display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 16px 56px; align-items: center; }
.pace-title { margin: 0; font: 600 clamp(24px, 2.6vw, 36px)/1.15 var(--display); letter-spacing: -.02em; }
.pace-bars { display: grid; gap: 14px; }
.pace-row { display: grid; grid-template-columns: 110px minmax(0, 1fr) 130px; gap: 16px; align-items: center; font-weight: 700; font-size: 15px; }
.pace-name { color: var(--dim); }
.pace-num { color: var(--text); font-variant-numeric: tabular-nums; }
.pace-bar { height: 12px; border-radius: 999px; background: var(--field-2); overflow: hidden; }
.pace-bar i { display: block; height: 100%; border-radius: inherit; transform-origin: left; transition: transform 1.4s var(--ease) .2s; }
.pace-bar.voice i { width: 100%; background: linear-gradient(90deg, var(--acid-deep), var(--acid)); box-shadow: 0 0 16px rgba(180, 255, 57, .5); }
.pace-bar.typing i { width: 26.7%; background: #3a4a61; }
.js .pace:not(.in) .pace-bar i { transform: scaleX(0); }
.pace .fine { grid-column: 1 / -1; }
.fine { color: var(--dim); font-size: 14px; line-height: 1.5; font-weight: 600; margin: 14px 0 0; }

/* -- chapters -------------------------------------------------------------------------------- */
.chapter { padding: 140px 0 0; position: relative; }
.chapter-title { font-size: clamp(30px, 3.9vw, 54px); margin: 18px 0 26px; max-width: 16em; }
.narrow { max-width: 38em; }

/* mixed speech: one big phrase */
.big-phrase { margin: 56px 0 48px; font: 600 clamp(34px, 5vw, 76px)/1.08 var(--display); letter-spacing: -.035em; }
.big-phrase .ru { color: var(--text); }
.big-phrase .en { color: var(--acid); text-decoration-thickness: .07em; text-underline-offset: .14em;
                  text-decoration-color: rgba(180, 255, 57, .45); text-shadow: 0 0 60px rgba(180, 255, 57, .25); }
.mixed-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pair-col { padding: 18px 20px; border-radius: 16px; background: rgba(10, 14, 21, .8); border: 1px solid var(--line); }
.pair-col p { margin: 6px 0 0; font-weight: 600; font-size: 17px; }
.pair-label { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.pair .result { border-color: rgba(180, 255, 57, .25); }
.pair mark { background: none; color: var(--text); text-decoration: underline; text-decoration-color: rgba(180, 255, 57, .8);
             text-decoration-thickness: 2px; text-underline-offset: 4px; transition: color .3s, text-shadow .3s; }

.pair .result p { transition: filter .6s var(--ease), opacity .6s; }
.pair.shown mark { color: var(--acid-hi); text-shadow: 0 0 16px rgba(180, 255, 57, .6); }
.pair .btn { grid-column: 1 / -1; justify-self: start; }
.pair mark.lit { color: var(--acid-hi); text-shadow: 0 0 16px rgba(180, 255, 57, .7); }

/* three steps */
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
         counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 8%; right: 8%; top: 150px; height: 1px; z-index: -1;
                 background: linear-gradient(90deg, transparent, rgba(180, 255, 57, .45), transparent); }
.step { padding: 28px; border-radius: 22px; background: linear-gradient(180deg, rgba(15, 21, 32, .85), rgba(8, 11, 18, .9));
        border: 1px solid var(--line); }
.step-num { font: 600 13px/1 var(--display); color: var(--acid); letter-spacing: .1em; }
.step-art { height: 130px; display: flex; align-items: center; justify-content: center; gap: 8px; margin: 18px 0 20px;
            border-radius: 14px; background: rgba(5, 7, 11, .6); border: 1px dashed rgba(42, 54, 71, .8); }
.step h3 { font-size: 21px; margin-bottom: 10px; line-height: 1.2; }
.step p { margin: 0; color: var(--dim); font-size: 16px; }
.step b { color: var(--text); }
.capsule-static { transform: scale(.8); }
.mini-field { padding: 12px 16px; border-radius: 12px; background: #070a10; border: 1px solid rgba(180, 255, 57, .5);
              box-shadow: 0 0 30px -8px rgba(180, 255, 57, .45); font-weight: 600; font-size: 16px; }

/* apps */
.apps-stage { margin-top: 48px; }
.tabs { display: inline-flex; padding: 5px; gap: 4px; border-radius: 999px; background: rgba(10, 14, 21, .8); border: 1px solid var(--line); }
.tab { height: 44px; padding: 0 22px; border-radius: 999px; border: 0; background: none; color: var(--dim); font-weight: 700; font-size: 15px; cursor: pointer; }
.tab.on { background: var(--field-2); color: var(--text); box-shadow: 0 0 0 1px var(--line-hi) inset; }
.apps-screen { position: relative; margin-top: 20px; height: 440px; border-radius: 22px; overflow: hidden;
               background: linear-gradient(180deg, #0b1018, #070a10); border: 1px solid var(--line-hi); }
.env { position: absolute; inset: 0 0 96px; opacity: 0; transform: scale(.985); transition: opacity .5s, transform .6s var(--ease); pointer-events: none; }
.env.on { opacity: 1; transform: none; }
.env-field { margin-top: auto; padding: 16px 18px; border-radius: 14px; background: #070a10; border: 1px solid rgba(180, 255, 57, .45);
             box-shadow: 0 0 36px -10px rgba(180, 255, 57, .45); font-size: 18px; line-height: 1.45; }
.env-chat { display: grid; grid-template-columns: 76px 1fr; }
.env-side { border-right: 1px solid var(--line); padding: 18px 14px; display: grid; gap: 14px; align-content: start; }
.env-side i { width: 46px; height: 46px; border-radius: 50%; background: var(--field-2); border: 1px solid var(--line); }
.env-side i:first-child { background: rgba(180, 255, 57, .18); border-color: rgba(180, 255, 57, .35); }
.env-main { display: flex; flex-direction: column; gap: 10px; padding: 24px; }
.env-doc { display: grid; place-items: start center; padding: 26px 20px 0; }
.doc-page { width: min(620px, 100%); height: 100%; padding: 30px 34px; border-radius: 10px 10px 0 0; background: #0e131c;
            border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.doc-h { margin: 0 0 6px; font: 600 24px/1.2 var(--display); }
.doc-l { margin: 0; height: 10px; border-radius: 5px; background: var(--field-2); width: 92%; }
.doc-l.s { width: 64%; }
.doc-field { margin-top: 10px; border-style: dashed; }
.env-code { display: flex; flex-direction: column; padding: 26px; gap: 18px; font-family: var(--mono); }
.code-lines p { margin: 0 0 8px; color: #93a0b4; font-size: 15px; white-space: pre; }
.code-lines b { color: #c792ea; font-weight: 600; } .code-lines em { color: var(--acid); font-style: normal; }
.code-field { font-family: var(--body); display: flex; gap: 10px; align-items: baseline; }
.prompt-mark { color: var(--acid); font-weight: 800; }
.apps-capsule { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); }
.apps-names { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; }
.apps-names span { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--dim); font-weight: 700; font-size: 14px; }

/* scenarios bento */
.bento { margin-top: 48px; display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.card { padding: 28px; border-radius: 22px; background: linear-gradient(180deg, rgba(15, 21, 32, .85), rgba(8, 11, 18, .92));
        border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.card-big { grid-row: span 2; border-color: rgba(180, 255, 57, .25);
            background: radial-gradient(120% 80% at 0% 0%, rgba(180, 255, 57, .08), transparent 60%), linear-gradient(180deg, rgba(15, 21, 32, .9), rgba(8, 11, 18, .95)); }
.card-tag { font: 600 clamp(20px, 2vw, 26px)/1.2 var(--display); letter-spacing: -.01em; }
.card-big .card-tag { font-size: clamp(24px, 2.6vw, 34px); }
.card-text { margin: 0; color: var(--dim); }
.card-sample { margin: auto 0 0; padding: 14px 16px; border-radius: 12px; background: rgba(5, 7, 11, .7); border: 1px solid var(--line);
               font-weight: 600; font-size: 15px; }
.editor { margin-top: 14px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-hi); background: #070a10; }
.editor-bar { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line);
              font: 600 12px/1 var(--mono); color: var(--muted); }
.editor-line { margin: 0; padding: 22px 20px 26px; font-size: 19px; line-height: 1.55; font-weight: 600; }

/* review card: the app's popup */
.review-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--dim); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 14px; height: 8px; border-left: 2px solid var(--acid);
                    border-bottom: 2px solid var(--acid); transform: rotate(-45deg); }
.rcard { border-radius: 14px; background: #090c12; border: 1px solid rgba(180, 255, 57, .3); padding: 13px 16px;
         box-shadow: 0 0 36px rgba(180, 255, 57, .16), 0 30px 60px -24px rgba(0, 0, 0, .9); }
.rcard-head { display: flex; align-items: center; gap: 7px; font-size: 11px; }
.rdot { width: 7px; height: 7px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 10px var(--acid); flex: none; }
.rtitle { color: var(--acid); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.rcount { margin-left: auto; color: var(--muted); font-variant-numeric: tabular-nums; }
.rtext { display: block; width: 100%; min-height: 96px; margin: 10px 0; padding: 0; border: 0; resize: none; background: none; color: var(--text);
         font: 500 17px/1.5 var(--body); outline: none; }
.rtext:focus-visible { box-shadow: 0 0 0 2px rgba(180, 255, 57, .35); border-radius: 6px; }
.rrule { height: 1px; background: var(--line); margin-bottom: 12px; }
.rfoot { display: flex; align-items: center; gap: 8px; }
.rmeta { display: flex; gap: 8px; align-items: baseline; margin-right: auto; font-size: 11px; line-height: 1.45; color: var(--dim); }
.rmeta b { color: var(--text); font-weight: 600; }
.rmeta .rdot { margin-top: 3px; align-self: flex-start; }
.rbtn { height: 36px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line-hi); background: var(--field-2); color: var(--text);
        font-weight: 600; font-size: 12px; cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.rbtn:hover { border-color: var(--acid); color: var(--acid); }
.rbtn.primary { background: var(--acid); border-color: var(--acid); color: var(--on-acid); font-weight: 800; }
.rbtn.primary:hover { background: var(--acid-hi); color: var(--on-acid); }
.rtarget { margin-top: 18px; padding: 14px 18px; border-radius: 14px; background: rgba(7, 10, 16, .8); border: 1px dashed var(--line-hi);
           min-height: 78px; transition: border-color .4s, box-shadow .4s; }
.rtarget.hot { border-color: rgba(180, 255, 57, .6); border-style: solid; box-shadow: 0 0 40px -10px rgba(180, 255, 57, .5); }
.rtarget-label { display: block; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.rtarget-text { display: block; margin-top: 4px; font-weight: 600; color: var(--muted); }
.rtarget.filled .rtarget-text { color: var(--text); }

/* long thoughts */
.split { margin-top: 48px; padding: 30px; border-radius: 24px; background: rgba(8, 11, 18, .75); border: 1px solid var(--line); }
.split-wave { height: 96px; display: flex; align-items: center; gap: 3px; }
.split-wave i { flex: 1 1 0; min-width: 0; border-radius: 3px; background: var(--line-hi); transition: background .4s, box-shadow .4s; }
.split-wave i.gap { background: transparent; }
.split-wave.seg1 i[data-seg="1"], .split-wave.seg2 i[data-seg="2"], .split-wave.seg3 i[data-seg="3"] { background: var(--acid); }
.split-out { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.split-out p { margin: 0; padding: 18px; border-radius: 16px; background: rgba(5, 7, 11, .6); border: 1px solid var(--line); color: var(--text);
               font-weight: 600; transition: opacity .6s, transform .6s var(--ease), border-color .5s; }
.js .split:not(.done) .split-out p { opacity: .15; transform: translateY(8px); }
.split.s1 .split-out p:nth-child(1), .split.s2 .split-out p:nth-child(-n+2), .split.done .split-out p { opacity: 1; transform: none;
                                                                                                    border-color: rgba(180, 255, 57, .3); }
.seg-n { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 10px; border-radius: 50%;
         background: rgba(180, 255, 57, .12); color: var(--acid); font: 700 12px/1 var(--display); vertical-align: 2px; }

/* access */
.access-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.access-note { color: var(--dim); margin: 0 0 30px; }
.flow { display: flex; align-items: center; justify-content: center; gap: 0; padding: 40px 20px; }
.node { display: flex; flex-direction: column; align-items: center; gap: 12px; font-weight: 700; font-size: 14px; color: var(--dim); flex: none; }
.node-ico { width: 78px; height: 78px; border-radius: 24px; display: grid; place-items: center; font-size: 30px; background: var(--field-2);
            border: 1px solid var(--line-hi); color: var(--text); }
.node-ico.tg { color: #6fc3ff; }
.acidnode { color: var(--text); }
.acidnode .node-ico { border-color: rgba(180, 255, 57, .5); box-shadow: 0 0 40px -6px rgba(180, 255, 57, .5); }
.acidnode .brand-mark { transform: scale(1.5); }
.flow-line { position: relative; flex: 1; min-width: 40px; height: 2px; margin: 0 10px 30px; background: var(--line-hi); overflow: hidden; border-radius: 2px; }
.flow-line i { position: absolute; inset: 0; width: 40%; background: linear-gradient(90deg, transparent, var(--acid), transparent);
               animation: flow 2.6s linear infinite; }
@keyframes flow { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin: 56px 0 0; padding: 20px; border-radius: 18px;
         border: 1px solid var(--line); background: rgba(8, 11, 18, .6); color: var(--dim); font-weight: 600; font-size: 15px; }
.trust span { display: inline-flex; align-items: center; gap: 9px; }
.trust span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--acid); }

/* pricing */
.plans { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan { position: relative; padding: 32px 28px; border-radius: 24px; background: linear-gradient(180deg, rgba(15, 21, 32, .88), rgba(8, 11, 18, .94));
        border: 1px solid var(--line); display: flex; flex-direction: column; }
.plan h3 { font-size: 26px; }
.plan-for { margin: 6px 0 22px; color: var(--dim); font-weight: 600; }
.price { margin: 0 0 22px; font: 600 50px/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.price small { font: 700 16px/1 var(--body); color: var(--dim); letter-spacing: 0; margin-left: 4px; }
.plan ul { list-style: none; padding: 20px 0 0; margin: auto 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.plan li { color: var(--dim); } .plan li b { color: var(--text); }
.plan-pro { border-color: rgba(180, 255, 57, .55);
            background: radial-gradient(100% 60% at 50% 0%, rgba(180, 255, 57, .10), transparent 70%), linear-gradient(180deg, rgba(15, 21, 32, .92), rgba(8, 11, 18, .96));
            box-shadow: 0 0 60px -20px rgba(180, 255, 57, .45); }
.plan-pro .price { color: var(--acid); text-shadow: 0 0 30px rgba(180, 255, 57, .35); }
.plan-badge { position: absolute; top: -13px; left: 28px; padding: 6px 12px; border-radius: 999px; background: var(--acid); color: var(--on-acid);
              font-size: 12px; font-weight: 800; }
.plans-note { margin: 22px 0 0; padding: 16px 20px; border-radius: 16px; border: 1px solid rgba(255, 181, 71, .25); background: rgba(255, 181, 71, .05);
              color: #e9d7b8; font-weight: 600; }
.plans-cta { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.plans-cta .fine { margin: 0; }

/* faq */
.faq-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 18px; padding: 22px 40px 22px 0; position: relative;
              font: 600 clamp(17px, 1.6vw, 20px)/1.35 var(--display); letter-spacing: -.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 4px; font: 400 26px/1 var(--body); color: var(--acid); transition: transform .3s var(--ease); }
.qa details[open] summary::after { transform: rotate(45deg); }
.qn { font: 600 12px/1 var(--display); color: var(--muted); letter-spacing: .08em; }
.qa p { margin: 0; padding: 0 0 24px 38px; color: var(--dim); max-width: 38em; }
.qa a { color: var(--acid); }

/* final */
.final { padding: 180px 0 120px; position: relative; text-align: center; }
.final::before { content: ""; position: absolute; left: 50%; bottom: 60px; width: 900px; height: 520px; transform: translateX(-50%); z-index: -1;
                 background: radial-gradient(closest-side, rgba(180, 255, 57, .14), transparent 70%); pointer-events: none; }
.final-in { display: flex; flex-direction: column; align-items: center; }
.final-title { font-size: clamp(38px, 6vw, 88px); max-width: 12em; }
.final .lead { margin: 26px 0 38px; max-width: 30em; }
.final-capsule { margin-bottom: 38px; }
.final .fine { margin-top: 16px; }

.foot { border-top: 1px solid var(--line); padding: 30px 0 40px; color: var(--muted); font-size: 14px; font-weight: 600; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.foot .brand { color: var(--text); font-size: 15px; }
.foot-mid { margin-right: auto; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--acid); }

/* meteor (starfield.js) */
.meteor { position: fixed; z-index: 0; width: 160px; height: 1.5px; opacity: 0; pointer-events: none;
          background: linear-gradient(90deg, rgba(200, 255, 106, .9), rgba(200, 255, 106, 0)); border-radius: 2px;
          transform: rotate(-24deg); transform-origin: left center; }
.meteor.go { animation: meteor 1.3s ease-out forwards; }
@keyframes meteor { 0% { opacity: 0; translate: 0 0; } 10% { opacity: 1; } 100% { opacity: 0; translate: -420px 190px; } }

/* -- smaller screens ---------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero-in { grid-template-columns: 1fr; min-height: 0; gap: 40px; }
  .hero-copy { max-width: 640px; }
  .mixed-row, .review-in, .access-in, .faq-in { grid-template-columns: 1fr; gap: 36px; }
  .pace { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav-in { height: 62px; justify-content: space-between; }
  .only-wide { display: none; } .only-narrow { display: inline; }
  .hero { padding: 16px 0 20px; }
  .hero-in { gap: 24px; }
  .hero-title { font-size: clamp(30px, 8.2vw, 40px); margin: 12px 0 14px; }   /* 32 px at 390: "Мысль быстрее" stays one line */
  .hero-lead { margin-bottom: 20px; font-size: 16px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .hero-cta .btn:not(.btn-acid) { display: none; }
  .micro { margin-top: 12px; }
  .stage-tilt { height: 308px; }
  .win { inset: 0 0 72px 0; border-radius: 14px; }
  .stage-note { top: calc(100% - 72px + 6px); font-size: 12.5px; }
  .win-bar { height: 40px; }
  .win-body { inset: 40px 0 0; padding: 12px; }
  .chat .bubble { font-size: 13px; padding: 8px 12px; }
  .chat .bubble.short { display: none; }
  .field { min-height: 76px; font-size: 16px; padding: 12px 14px; }
  .send { display: none; }
  .said { bottom: 166px; padding: 9px 14px; }
  .said-text { font-size: 14px; }
  .keys { display: none; }
  .capsule-slot { bottom: 0; right: auto; left: 50%; transform: translateX(-50%); }
  .capsule-slot .capsule:not([data-mode="work"]):not([data-mode="done"]) { --w: 236px; }
  .capsule-slot .capsule { height: 42px; }
  .stamp { right: 10px; font-size: 11.5px; }
  .pace { margin-top: 40px; }
  .pace-row { grid-template-columns: 84px minmax(0, 1fr); }
  .pace-num { grid-column: 2; font-size: 13px; color: var(--dim); margin-top: -8px; }
  .chapter { padding-top: 68px; }
  .big-phrase { margin: 36px 0 32px; font-size: clamp(26px, 7.4vw, 34px); }
  .pair { grid-template-columns: 1fr; gap: 16px; }
  .steps { grid-template-columns: 1fr; gap: 12px; margin-top: 32px; }
  .steps::before { display: none; }
  .step { padding: 20px; }
  .step-art { height: 80px; margin: 12px 0; }
  .step h3 { font-size: 19px; margin-bottom: 6px; }
  .split-wave { gap: 1px; height: 72px; }
  .rbtn { height: 44px; }
  .apps-screen { height: 400px; }
  .env-chat { grid-template-columns: 1fr; } .env-side { display: none; }
  .env-main, .env-code { padding: 16px; }
  .doc-page { padding: 20px; }
  .env-field { font-size: 16px; }
  .code-lines p { font-size: 12px; }
  .bento { grid-template-columns: 1fr; }
  .card-big { grid-row: auto; }
  .editor-line { font-size: 16px; }
  .rfoot { flex-wrap: wrap; }
  .rmeta { width: 100%; margin-bottom: 4px; }
  .split-out { grid-template-columns: 1fr; }
  .split { padding: 20px; }
  .flow { padding: 10px 0; }
  .node-ico { width: 62px; height: 62px; font-size: 24px; border-radius: 18px; }
  .plans { grid-template-columns: 1fr; }
  .final { padding: 110px 0 90px; }
  .foot-in { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .live-dot, .caret, .flow-line i { animation: none; }
  .stage-tilt, .env, .pace-bar i, .pair .result p, .split-out p { transition: none; }
}

/* the chat inside the hero window */
.chat-head { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; margin-bottom: auto; border-bottom: 1px solid var(--line); }
.chat-ava { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 700 13px/1 var(--display); color: var(--on-acid);
            background: linear-gradient(135deg, var(--acid), var(--acid-deep)); flex: none; }
.chat-name { display: flex; flex-direction: column; font-weight: 700; font-size: 15px; line-height: 1.25; }
.chat-name small { color: var(--muted); font-weight: 600; font-size: 12px; }
.chat-day { align-self: center; margin: 4px 0; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.chat { flex: 1; }
.bubble .who { display: block; font-size: 12px; font-weight: 700; color: var(--acid-deep); margin-bottom: 2px; }
@media (max-width: 760px) { .chat-head, .chat-day, .chat .bubble.out { display: none; } }

/* while the capsule listens, the chat steps back */
.stage-tilt.speaking .chat { opacity: .2; }
.chat.gone, .stage-tilt.speaking .chat.gone { opacity: 0; }
.nowrap { white-space: nowrap; }
/* the Claude Code card: a bit of terminal history above the prompt */
.term { padding: 18px 20px 4px; font: 500 14px/1.7 var(--mono); color: #93a0b4; border-bottom: 1px dashed var(--line); }
.term p { margin: 0; white-space: pre-wrap; }
.term em { font-style: normal; color: var(--text); }
.t-ok { color: #7ddc8b; } .t-acid { color: var(--acid); } .t-dim { color: var(--muted); }
@media (max-width: 760px) { .term { font-size: 12px; padding: 14px 14px 4px; } }

/* -- round 2 (Astra's review) ------------------------------------------------------ */
.demo-label { margin: 0 0 10px; color: var(--dim); font-size: 14px; font-weight: 700; }
.history { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(8, 11, 18, .8); border: 1px solid var(--line); }
.history-head { display: flex; align-items: center; justify-content: space-between; margin: 0 0 8px; }
.history-title { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.history-search { font-size: 12px; font-weight: 700; color: var(--dim); padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-hi); }
.history-row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; margin: 0; padding: 9px 0; border-top: 1px solid var(--line);
               font-size: 15px; font-weight: 600; }
.history-kind { color: var(--dim); font-size: 13px; }
.history-text { color: var(--text); }
.history .en { text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
@media (max-width: 760px) { .history-row { grid-template-columns: 1fr; gap: 2px; } }

/* the Claude Code card: the prompt reads as the task's continuation */
.card-big { gap: 20px; }
.card-big .editor { flex: 1; display: flex; flex-direction: column; }

/* motion only where it is seen */
.flow-line i { animation-play-state: paused; }
.flow.playing .flow-line i { animation-play-state: running; }
.capsule[data-mode="pose"] .cap-dot { animation: none; }
.states { margin-top: 2px; }