/* The landing page: a headline whose questions come and go, one study played
 * out in a window under it, the sign-up form beside them, and then the
 * platform in phrases. The whole story of each phrase is on the Learn more
 * page (learn.html).
 *
 * Built on app.css and auth.css. Inside the window the app's own components
 * are used as they are -- chat turns, the decision prompt, the plan card,
 * chips, the composer -- set a little smaller, so the demo cannot drift from
 * the product it shows. Only the window, its scenes, the cursor and the
 * trajectory overlay are defined here, with the sections around them.
 */
:root {
  /* The mark's amber, under "Just ask.": a line, never text. */
  --lp-amber: #D89440;
  /* Field borders a person can find (3:1 and more on the card). */
  --lp-field: #857D70;
  /* The band of what a run returns keeps the video's own ground in either theme. */
  --lp-ink: #0C1719; --lp-inkrule: #24393F; --lp-inktext: #E2EDEB; --lp-inkmuted: #A9BDBB; --lp-inklink: #8CC8EE;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --lp-field: #56808C; --lp-ink: #081013; --lp-inkrule: #1C3036; }
}
:root[data-theme="dark"] { --lp-field: #56808C; --lp-ink: #081013; --lp-inkrule: #1C3036; }

/* ── the hero: the question, the demo under it, the form beside both ─── */
.lp-hero { position: relative; isolation: isolate; max-width: 1280px; width: 100%; margin: 0 auto;
           padding: 56px 40px 24px; display: grid; grid-template-columns: minmax(0, 1fr) 360px;
           grid-template-areas: "head form" "demo form"; column-gap: 40px; row-gap: 34px; align-items: start; }
/* A soft light behind the demo. */
.lp-hero::before { content: ""; position: absolute; z-index: -1; left: 0; right: 30%; top: 38%; bottom: -4%;
                   pointer-events: none;
                   background: radial-gradient(closest-side, color-mix(in srgb, var(--accentsoft) 90%, transparent), transparent); }
.lp-head { grid-area: head; container-type: inline-size; display: flex; flex-direction: column;
           align-items: flex-start; gap: 18px; min-width: 0; }
.lp-hero > .demo { grid-area: demo; }
.lp-hero > .form-card { grid-area: form; }
.lp-eyebrow { color: var(--accenttext); font-size: 12.5px; letter-spacing: .12em; }

/* The question and "Just ask." with the pause button on the second line. */
.lp-ask-row { display: grid; grid-template-columns: max-content max-content minmax(0, 1fr);
              grid-template-rows: auto auto; column-gap: 14px; max-width: 100%; }
.lp-title { grid-column: 1 / -1; grid-row: 1 / span 2; display: grid; grid-template-columns: subgrid;
            grid-template-rows: subgrid; font-size: clamp(26px, 8.6cqi, 64px); line-height: 1.06;
            letter-spacing: -.025em; }
.lp-ask { grid-column: 1 / -1; grid-row: 1; display: grid; color: var(--text); }
.lp-ask-q { grid-area: 1 / 1; white-space: nowrap; }
.lp-ask-q:not(.is-on):not(.is-out) { visibility: hidden; }
.js .lp-ask-q { transition: opacity .3s ease-out, transform .3s ease-out; }
.js .lp-ask-q:not(.is-on) { opacity: 0; transform: translateY(.22em); }
.js .lp-ask-q.is-out { opacity: 0; transform: translateY(-.22em); transition: opacity .2s ease-in, transform .2s ease-in; }
.lp-just { grid-column: 1; grid-row: 2; color: var(--accenttext); text-decoration-line: underline;
           text-decoration-thickness: 3px; text-decoration-color: var(--lp-amber); text-underline-offset: .14em; }
/* Its room is kept from the first frame; the script shows it. */
.lp-ask-pause { grid-column: 2; grid-row: 2; align-self: center; visibility: hidden; width: 32px; height: 32px;
                padding: 0; border: 1px solid var(--rule2); border-radius: 999px; background: var(--panel);
                color: var(--text3); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.lp-ask-pause.is-ready { visibility: visible; }
.lp-ask-pause:hover { color: var(--text); border-color: var(--text3); }
.lp-ask-pause:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.lp-sub { margin: 0; font-size: clamp(17px, .5vw + 14.5px, 20px); line-height: 1.45; color: var(--text3); max-width: 40ch; }
.lp-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.lp-cta-narrow { display: none; }
.site a.lp-see { font-size: 16.5px; font-weight: 600; text-decoration: none; }
.site a.lp-see::after, .site a.lp-more::after { content: " →"; }
.site a.lp-see:hover, .site a.lp-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.lp-ghost { background: transparent; }
.lp-ghost:hover { background: var(--panel); }
.lp-promise { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.lp-promise li { position: relative; padding-left: 22px; font-size: 15px; font-weight: 600; color: var(--text2); }
.lp-promise li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 11px; height: 6px;
                         border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }

.tw-caret { display: inline-block; width: 3px; height: .86em; margin-left: .06em; vertical-align: -.06em;
            background: var(--accent); border-radius: 2px; animation: lp-blink 1.05s steps(1) infinite; }
@keyframes lp-blink { 50% { opacity: 0; } }

/* The window comes in when the script starts it -- and by itself after a
   moment if the script never runs. */
.js .dw:not(.is-in) { opacity: 0; transform: translateY(14px); visibility: hidden; }
.js:not(.lp-live) .dw:not(.is-in) { animation: lp-reveal .4s ease 2.6s forwards; }
@keyframes lp-reveal { to { opacity: 1; transform: none; visibility: visible; } }
.dw { transition: opacity .5s ease, transform .5s ease, visibility 0s; }

/* The sign-up card: fields a person can find, and a ring on the one in use. */
.lp-pending { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border-radius: 10px;
              background: var(--accentsoft); color: var(--accentink); font-size: 14px; }
.lp-pending q { font-style: italic; overflow-wrap: anywhere; }
.form-card.is-lit { box-shadow: 0 0 0 3px var(--accentline), 0 10px 30px rgba(30,36,34,.08); transition: box-shadow .3s; }
.lp-hero .form-card .field input { border-color: var(--lp-field); }
.lp-hero .form-card .field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accentline); }
/* Links inside a line of text are underlined, not told apart by colour alone. */
.site .lp-hero .hint a, .site .demo-note a, .site .lp-fine a, .site .lp-out-cap a { text-decoration: underline; text-underline-offset: 2px; }

/* ── the sections: a title, a link to the whole story, phrases ───────── */
.lp-sec { max-width: 1280px; width: 100%; margin: 0 auto; padding: 84px 40px 0;
          display: flex; flex-direction: column; gap: 30px; }
.lp-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; }
.lp-h2 { font-family: "Newsreader", Georgia, serif; font-weight: 500; font-size: clamp(28px, 1.6vw + 18px, 42px);
         line-height: 1.1; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
.site a.lp-more { font-weight: 600; text-decoration: none; white-space: nowrap; }
.lp-fine { margin: 0; font-size: 13.5px; color: var(--muted); }

/* What it does: six phrases, each opening its part of the Learn more page. */
.lp-caps { list-style: none; margin: 0; padding: 0; display: grid;
           grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 32px; }
.site a.lp-cap { display: flex; align-items: center; gap: 16px; color: var(--text); text-decoration: none;
                 font-size: 18px; font-weight: 600; line-height: 1.3; }
.site a.lp-cap:hover span { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accentline); }
.site a.lp-cap:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 12px; }
.cap-i { width: 48px; height: 48px; padding: 12px; border-radius: 14px; flex: none;
         background: var(--accentsoft); color: var(--accenttext);
         fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* See what you get: a dark band, a row of pills, and what the chosen one looks like. */
.lp-outs { margin-top: 92px; background: var(--lp-ink); color: var(--lp-inktext);
           border-top: 1px solid var(--lp-inkrule); border-bottom: 1px solid var(--lp-inkrule); }
.lp-outs-in { max-width: 1280px; margin: 0 auto; padding: 72px 40px 76px; display: flex; flex-direction: column; gap: 24px; }
.lp-outs .lp-h2 { color: #F3F8F7; }
.site .lp-outs a:not(.btn) { color: var(--lp-inklink); }
.lp-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-tab { min-height: 40px; padding: 6px 16px; border-radius: 999px; border: 1px solid var(--lp-inkrule);
          background: rgba(255,255,255,.04); color: var(--lp-inktext); font: inherit; font-size: 15px; font-weight: 600;
          cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.lp-tab:hover { border-color: var(--lp-inklink); }
.lp-tab[aria-selected="true"] { background: #F3F8F7; border-color: #F3F8F7; color: #0C1719; }
.lp-tab:focus-visible { outline: 2px solid var(--lp-inklink); outline-offset: 2px; }
.lp-out { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.lp-out:focus-visible { outline: 2px solid var(--lp-inklink); outline-offset: 6px; border-radius: 16px; }
/* Each panel fills the same frame, so choosing one never moves the page. */
.lp-out-frame { aspect-ratio: 16 / 9; width: 100%; border-radius: 16px; overflow: hidden; background: #FFFFFF;
                display: flex; align-items: center; justify-content: center;
                box-shadow: inset 0 0 0 1px var(--lp-inkrule), 0 30px 80px rgba(0,0,0,.45); }
.lp-out-frame img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lp-out-dark { background: #0C1719; }
.lp-out-dark video { display: block; width: 100%; height: 100%; object-fit: contain; }
.lp-out-pad { padding: 28px 36px; color: #1E2422; }
.lp-out-cap { margin: 0; font-size: 14.5px; color: var(--lp-inkmuted); }
.lp-files { list-style: none; margin: 0; padding: 0; width: min(720px, 100%); display: flex; flex-direction: column;
            font-size: 14px; }
.lp-files li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 2px; border-bottom: 1px solid #E6DFD3; }
.lp-files li:last-child { border-bottom: 0; }
.lp-files span:last-child { color: #5C6663; }
.lp-stats { list-style: none; margin: 0; padding: 0; width: 100%; display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 40px; }
.lp-stats li { display: flex; flex-direction: column; gap: 4px; padding-left: 18px; border-left: 3px solid #C9DCEA; }
.lp-stat-n { font-size: clamp(36px, 2vw + 22px, 54px); line-height: 1.05; letter-spacing: -.02em; color: #1A5E87; }
.lp-stat-l { font-size: 17px; font-weight: 700; color: #1E2422; }
.lp-stat-r { font-size: 12.5px; color: #5C6663; }

/* Your data, and pricing. */
.lp-points { list-style: none; margin: 0; padding: 0; display: grid;
             grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 28px; }
.lp-points li { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 600; color: var(--text); }
.lp-points svg { width: 40px; height: 40px; padding: 9px; flex: none; border-radius: 12px;
                 background: var(--accentsoft); color: var(--accenttext);
                 fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lp-band { margin-top: 84px; padding-top: 64px; padding-bottom: 64px; background: var(--raised);
           box-shadow: 0 0 0 100vmax var(--raised); clip-path: inset(0 -100vmax); }
.lp-price-sub { margin: -12px 0 0; font-size: 18px; color: var(--text3); }
.price-best { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 14px 34px rgba(30,36,34,.08); }
.lp-typical { list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid var(--rule); display: grid;
              grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 28px; }
.lp-typical li { display: flex; flex-direction: column; gap: 2px; font-size: 15px; color: var(--text3); }
.lp-fig { font-size: 26px; line-height: 1.15; color: var(--text); }

/* The last word: one question, one button. */
.lp-end { max-width: 1280px; width: calc(100% - 80px); margin: 84px auto 64px; padding: 56px 40px;
          display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center;
          border-radius: 24px; background: var(--lp-ink); color: #F3F8F7; border: 1px solid var(--lp-inkrule); }
.lp-end .lp-h2 { color: #F3F8F7; font-size: clamp(32px, 3.6vw, 48px); }
.lp-end .lp-ctas { justify-content: center; }
.site .lp-end .lp-ghost { color: #F3F8F7; border-color: rgba(243,248,247,.35); }
.site .lp-end .lp-ghost:hover { background: rgba(243,248,247,.08); color: #FFFFFF; }

/* ── the window ──────────────────────────────────────────────────────── */
.demo { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.dw { --stage-h: clamp(440px, calc(100vh - 380px), 580px);
      position: relative; display: flex; flex-direction: column; overflow: hidden;
      border: 1px solid var(--rule); border-radius: 16px; background: var(--ground);
      box-shadow: 0 1px 2px rgba(30,36,34,.05), 0 22px 56px rgba(30,36,34,.13); }
@supports (height: 100svh) { .dw { --stage-h: clamp(440px, calc(100svh - 380px), 580px); } }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .dw { box-shadow: 0 1px 2px rgba(0,0,0,.4), 0 26px 64px rgba(0,0,0,.5); }
}
:root[data-theme="dark"] .dw { box-shadow: 0 1px 2px rgba(0,0,0,.4), 0 26px 64px rgba(0,0,0,.5); }

.dw-bar { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 8px 0 14px;
          background: var(--raised); border-bottom: 1px solid var(--rule); }
.dw-dots { display: inline-flex; gap: 6px; flex: none; }
/* Said on the window itself: what plays in it is a demonstration. */
.dw-demo { flex: none; padding: 1px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700;
           letter-spacing: .06em; text-transform: uppercase; color: var(--accentink); background: var(--accentsoft);
           border: 1px solid var(--accentline); }
.dw-dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--rule2); }
.dw-dots i:nth-child(1) { background: #E56B60; } .dw-dots i:nth-child(2) { background: #E0A44A; }
.dw-dots i:nth-child(3) { background: #6BC496; }
.dw-url { flex: 1 1 auto; min-width: 0; height: 28px; display: flex; align-items: center; justify-content: center;
          padding: 0 12px; border-radius: 8px; background: var(--ground); border: 1px solid var(--rulesoft);
          font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; }
.dw-url span { color: var(--text3); }
.dw-ctl { display: inline-flex; gap: 2px; flex: none; margin-left: auto; }
.dw-btn { width: 36px; height: 36px; border: 0; border-radius: 9px; background: transparent; color: var(--muted);
          display: inline-flex; align-items: center; justify-content: center; }
.dw-btn:hover { background: var(--rulesoft); color: var(--text); }
.dw-btn:focus-visible, .dw-try:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.dw-try { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 11px; margin-right: 4px;
          border: 1px solid var(--rule2); border-radius: 9px; background: var(--panel); color: var(--text);
          font-size: 13px; font-weight: 600; white-space: nowrap; }
.dw-try:hover { border-color: var(--accent); color: var(--accenttext); }
.dw-try.is-lit { border-color: var(--accent); color: var(--accenttext); animation: lp-beckon 2.4s ease-in-out 3; }
@keyframes lp-beckon { 50% { box-shadow: 0 0 0 5px var(--accentsoft); } }

.dw-steps { display: flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 14px;
            border-bottom: 1px solid var(--rulesoft); background: var(--ground); overflow: hidden; }
.dw-steps:empty { display: none; }
.dw-steps .stepper { flex-wrap: nowrap; gap: 4px; }
.dw-steps .step { padding: 3px 10px 3px 3px; font-size: 12.5px; white-space: nowrap; transition: background .3s, color .3s; }
.dw-steps .step-dot { width: 20px; height: 20px; font-size: 11px; transition: background .3s, border-color .3s, color .3s; }
.dw-steps .step-sep { width: 10px; flex: none; }

.dw-stage { position: relative; height: var(--stage-h); overflow: hidden; }
.demo-static { display: flex; flex-direction: column; gap: 14px; padding: 22px; height: 100%; overflow: auto; }
.demo-static .turn-user { font-size: 14.5px; }
.demo-static img { width: 100%; height: auto; border-radius: 12px; background: #0D171A; }
.js .demo-static { display: none; }
.demo-note { margin: 0; font-size: 12.5px; color: var(--muted); max-width: 90ch; transition: opacity .6s ease .2s; }
.js .dw:not(.is-in) + .demo-note { opacity: 0; }
.js:not(.lp-live) .dw:not(.is-in) + .demo-note { animation: lp-reveal .4s ease 2.6s forwards; }

/* ── scenes ──────────────────────────────────────────────────────────── */
/* Out quickly, in a beat later: two scenes' text never shows at once. */
.sc { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateY(10px);
      transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; }
.sc.is-on { opacity: 1; visibility: visible; transform: none;
            transition: opacity .4s ease .16s, transform .4s ease .16s, visibility 0s; }
.pop { animation: lp-pop .42s cubic-bezier(.2,.8,.3,1) both; }
@keyframes lp-pop { from { opacity: 0; transform: translateY(8px); } }
.dw.is-paused *, .dw.is-paused *::before, .dw.is-paused *::after { animation-play-state: paused !important; }

/* The app's components, a size down. */
.dm { font-size: 14px; }
.dm .label { font-size: 11px; }
.dm .chip { min-height: 32px; padding: 4px 12px; font-size: 13px; gap: 6px; }
.dm .btn { min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; gap: 6px; }
.dm .btn-lg { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.dm .tag { font-size: 11.5px; line-height: 19px; }
.dm .hint { font-size: 12px; }
.dm [data-hit] { transition: transform .12s ease, filter .12s ease, background .2s, border-color .2s, box-shadow .2s; }
.dm .is-pressed { transform: scale(.96); filter: brightness(.93); }
.dm .is-hover.chip, .dm .is-hover.opt { border-color: var(--accent); }
.dm .is-hover.btn-primary { background: var(--accenthover); border-color: var(--accenthover); }

/* 1 · describe */
.sc-describe { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 24px 34px; }
.sd-title { font-family: "Newsreader", Georgia, serif; font-weight: 500; font-size: 31px; line-height: 1.12;
            letter-spacing: -.015em; margin: 0; }
.sd-sub { margin: 0 0 4px; color: var(--muted); font-size: 15px; max-width: 54ch; }
.sd-box { flex-direction: column; align-items: stretch; gap: 8px; padding: 14px 14px 12px 18px; }
.sd-text { min-height: 78px; font-size: 17.5px; line-height: 1.45; color: var(--text); overflow-wrap: anywhere; }
.sd-text:empty::before { content: attr(data-placeholder); color: var(--placeholder); }
.sd-text .tw-caret { height: 1.05em; vertical-align: -.2em; margin-left: 1px; }
.sd-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.sd-row .row { gap: 6px; flex-wrap: wrap; }
/* Above the app's .composer textarea, which this sits inside. */
.sd-box .sd-own { width: 100%; min-height: 78px; border: 0; outline: 0; resize: none; background: transparent; padding: 0;
          font: inherit; font-size: 17.5px; line-height: 1.45; color: var(--text); }
.sd-box .sd-own::placeholder { color: var(--placeholder); }
.sd-back { align-self: flex-start; }

/* 2 · the conversation */
.sc-chat { display: flex; flex-direction: column; }
.sc-scroll { flex: 1 1 auto; min-height: 0; overflow: hidden; padding: 20px 24px 18px; }
.dm .thread { gap: 16px; }
.dm .turn-user { font-size: 14px; max-width: 82%; padding: 10px 14px; border-radius: 16px 16px 5px 16px; }
.dm .turn-ai { grid-template-columns: 30px minmax(0, 1fr); gap: 12px; }
.dm .turn-body { font-size: 14px; gap: 10px; }
.dm .avatar { width: 30px; height: 30px; border-radius: 9px; }
.dm .tool { padding: 9px 12px; }
.dm .tool-head { font-size: 13.5px; }
.dm .ask { padding: 12px 14px; gap: 8px; }
.dm .opt { padding: 9px 12px; font-size: 14px; gap: 10px; }
.dm .opt-sub { font-size: 12.5px; }
.dm .kbd { width: 24px; height: 24px; font-size: 12px; border-radius: 7px; }
.dm .confirm { padding: 14px 16px; gap: 10px; }
.dm .cf-row { grid-template-columns: 78px minmax(0, 1fr); padding: 6px 0; font-size: 14px; }
.dm .cf-k { font-size: 11px; }
.dm .confirm-q { padding: 12px 14px; gap: 7px; }
.dm .cq-steps { font-size: 13.5px; }
.dm .pred-chain { padding: 8px 10px; gap: 6px; }
.dm .pred-model { padding: 7px 0; gap: 4px 12px; }
.dm .pred-model-id { min-width: 0; }
.dm .pred-model-nums { flex-basis: 150px; font-size: 13px; }
.dm .pred-model .btn { min-height: 32px; font-size: 13px; }
.dm .pred-model .icon-btn { width: 32px; height: 32px; }
.dm table.t th { padding: 7px 10px; font-size: 11px; }
.dm table.t td { padding: 7px 10px; font-size: 13.5px; }
.dm table.t .btn { min-height: 32px; font-size: 13px; padding: 0 10px; }
/* A sequence pasted: one run of letters, small, broken anywhere. */
.lp-paste { font-size: 12.5px; line-height: 1.5; color: var(--text3); word-break: break-all; }
.lp-seq { font-size: 12px; line-height: 1.45; color: var(--text3); word-break: break-all; }
.lp-two { flex-direction: row; }
.lp-two > .opt { flex: 1 1 0; }
.lp-card { padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; box-shadow: none; }
.lp-lines { display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; }
.lp-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap;
           border-top: 1px solid var(--rulefaint); padding-top: 10px; font-size: 13.5px; }
.lp-pose { height: 150px; border-radius: 0; background: #0C1719; }
.lp-pose img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sc-dock { flex: none; display: flex; flex-direction: column; gap: 8px; padding: 10px 18px 12px;
           border-top: 1px solid var(--rulesoft); background: var(--ground); }
.sc-dock .composer { padding: 5px 5px 5px 14px; border-radius: 14px; box-shadow: none; align-items: center; }
.sc-dock .icon-btn { width: 36px; height: 36px; border-radius: 9px; }
.sc-msg { flex: 1; min-width: 0; min-height: 36px; display: flex; align-items: center; font-size: 14px;
          color: var(--text); white-space: nowrap; overflow: hidden; }
.sc-msg:empty::before { content: "Ask anything, or change the plan — e.g. “make it 200 ns”"; color: var(--placeholder); }

/* 3 · the run */
.sc-run { display: flex; flex-direction: column; gap: 14px; padding: 20px 24px; overflow: hidden; }
.sr-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.sr-title { font-family: "Newsreader", Georgia, serif; font-weight: 500; font-size: 25px; line-height: 1.15; margin: 0; }
.sr-sub { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; }
.sr-reps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sr-rep { padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; box-shadow: none; }
.sr-rep .bar-fill { transition: width .25s linear; }
.sr-rep .row { justify-content: space-between; gap: 6px; font-size: 13.5px; }
.sr-foot { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-cols { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 10px; min-height: 0; }
.sr-card { padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; box-shadow: none; }
.sr-cols .timeline { font-size: 13.5px; gap: 6px; }
.sr-cols .timeline .row { gap: 8px; flex-wrap: nowrap; }
.sr-cols .timeline .muted { font-size: 12.5px; }
.sr-item { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.sr-cred { font-family: "Newsreader", Georgia, serif; font-size: 26px; line-height: 1.1; }

/* 4 · the results */
.sc-results { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px 16px; }
.sx-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 0 2px; }
.sx-title { font-family: "Newsreader", Georgia, serif; font-weight: 500; font-size: 23px; line-height: 1.15; margin: 0; }
.sx-sub { font-size: 13px; color: var(--muted); }
/* The video's own ground, in either theme, so letterboxing never shows:
   #0D171A as a browser shows it after 4:2:0 and limited range (Chrome,
   measured; ffmpeg reads one level darker). */
.sx-view { position: relative; flex: 1 1 auto; min-height: 0; border-radius: 12px; overflow: hidden; background: #0C1719;
           box-shadow: inset 0 0 0 1px #1C3036; }
.sx-view video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
.sx-tag { position: absolute; left: 0; top: 0; z-index: 2; padding: 2px 9px; border-radius: 999px; pointer-events: none;
          font-size: 11.5px; font-weight: 700; letter-spacing: .08em; color: #F3F8F7; white-space: nowrap;
          background: rgba(9, 18, 21, .62); border: 1px solid var(--k); opacity: 0; transition: opacity .4s; }
.sx-tag.is-on { opacity: 1; }
/* On the picture: what the footage is. */
.sx-demo { position: absolute; left: 10px; top: 10px; z-index: 3; max-width: calc(100% - 20px); padding: 3px 10px;
           border-radius: 8px; font-size: 11.5px; color: #F3F8F7; background: rgba(9, 18, 21, .72);
           border: 1px solid rgba(243, 248, 247, .25); pointer-events: none; }
.sx-chart { width: 220px; padding: 7px 10px 6px; border-radius: 10px; border: 1px solid var(--rule); background: var(--panel);
            display: flex; flex-direction: column; gap: 3px; font-size: 12px; color: var(--muted); }
.sx-chart-k { display: flex; justify-content: space-between; gap: 8px; }
.sx-chart b { color: var(--text); font-weight: 500; font-size: 13px; }
.sx-chart svg { display: block; width: 100%; height: 32px; overflow: visible; }
.sx-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; align-items: center; gap: 10px;
          padding: 18px 14px 10px; background: linear-gradient(to top, rgba(6,13,16,.8), rgba(6,13,16,0));
          color: #E2EDEB; font-size: 12px; }
.sx-bar .sx-play { width: 26px; height: 26px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
                   background: rgba(255,255,255,.12); flex: none; }
.sx-track { flex: 1; height: 4px; border-radius: 999px; background: rgba(255,255,255,.18); overflow: hidden; }
.sx-track span { display: block; height: 100%; width: 0; background: #58ACDF; border-radius: 999px; }

/* The pointer. */
.dw-cursor { position: absolute; left: 0; top: 0; z-index: 30; width: 22px; height: 22px; pointer-events: none;
             opacity: 0; transform: translate(var(--cx, 60%), var(--cy, 80%));
             transition: transform .7s cubic-bezier(.35,.75,.25,1), opacity .3s ease;
             filter: drop-shadow(0 2px 3px rgba(0,0,0,.35)); }
.dw-cursor.is-on { opacity: 1; }
.dw-cursor svg { display: block; transform-origin: 3px 2px; transition: transform .12s ease; }
.dw-cursor.is-press svg { transform: scale(.82); }
.dw-ripple { position: absolute; z-index: 29; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%;
             border: 2px solid var(--accent); pointer-events: none; animation: lp-ripple .55s ease-out forwards; }
@keyframes lp-ripple { from { transform: scale(.3); opacity: .9; } to { transform: scale(1.25); opacity: 0; } }

/* ── narrower ────────────────────────────────────────────────────────── */
/* Below 1,101px the form leaves the side: the question, the demo, then the
   form, with a button in the hero that goes to it. */
@media (max-width: 1100px) {
  .lp-hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "demo" "form"; }
  .lp-hero::before { right: 0; }
  .lp-hero > .form-card { width: min(560px, 100%); }
  .lp-cta-narrow { display: inline-flex; }
  .lp-caps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-points, .lp-typical { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-out-frame { aspect-ratio: 4 / 3; }
}
@media (max-width: 900px) {
  .lp-hero { padding: 32px 16px 20px; row-gap: 26px; }
  .lp-sec { padding: 60px 16px 0; gap: 22px; }
  .lp-outs { margin-top: 64px; }
  .lp-outs-in { padding: 52px 16px 56px; gap: 20px; }
  .lp-band { margin-top: 60px; padding-top: 48px; padding-bottom: 48px; }
  .lp-end { width: calc(100% - 32px); margin: 64px auto 40px; padding: 40px 20px; }
  .site-top .top-more { display: none; }
}
@media (max-width: 640px) {
  .dw { --stage-h: 540px; border-radius: 14px; }
  .dw-url { display: none; }
  .dw-steps { padding: 0 10px; }
  .dw-steps .step:not(.step-now) { font-size: 0; gap: 0; padding: 3px; }
  .dw-steps .step-sep { width: 6px; }
  .sc-describe { padding: 18px 16px; justify-content: flex-start; }
  .sd-title { font-size: 25px; }
  .sd-sub { font-size: 14px; }
  .sd-text, .sd-box .sd-own { font-size: 16px; min-height: 120px; }
  .sc-scroll { padding: 16px 14px 14px; }
  .sc-dock { padding: 8px 12px 10px; }
  .dm .cf-row { grid-template-columns: 1fr; gap: 1px; }
  .sc-run { padding: 16px 14px; gap: 10px; }
  .sr-title { font-size: 21px; }
  .sr-reps { grid-template-columns: 1fr; gap: 6px; }
  .sr-rep { padding: 8px 12px; gap: 5px; }
  .sr-rep .sr-foot { display: none; }
  .sr-cols { grid-template-columns: 1fr; }
  .sr-cols .sr-card:last-child { display: none; }
  .sc-results { padding: 12px 10px 12px; }
  .sx-head { gap: 6px; }
  .sx-title { font-size: 20px; }
  .sx-chart { width: 100%; padding: 5px 9px; }
  .sx-chart svg { height: 22px; }
  .lp-two { flex-direction: column; }
  .lp-hide-sm { display: none; }
  .lp-pose { height: 120px; }
  .lp-ctas .btn-lg { flex: 1 1 auto; }
  .lp-caps { gap: 16px; }
  .site a.lp-cap { font-size: 16px; gap: 12px; }
  .site a.lp-cap .cap-i { width: 40px; height: 40px; padding: 9px; }
  .lp-points { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .lp-points li { font-size: 16px; }
  .lp-tab { min-height: 36px; padding: 4px 13px; font-size: 14px; }
  /* A phone's frame follows its picture, at full width. */
  .lp-out-frame { aspect-ratio: auto; }
  .lp-out-frame img { width: 100%; }
  .lp-out-dark video { height: auto; aspect-ratio: 16 / 9; }
  .lp-out-pad { padding: 18px 16px; }
  .lp-stats { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .lp-files { font-size: 12.5px; }
  .lp-sec .price-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .lp-sec .price { padding: 14px; }
  .lp-sec .price-usd { font-size: 26px; }
  .lp-fig { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .sc, .sc.is-on, .dw, .dw-cursor, .sr-rep .bar-fill, .lp-tab { transition: none; }
  .pop, .tw-caret, .dw-try.is-lit, .dw-ripple { animation: none; }
  /* Played on request only, and as a fade with no movement. */
  .js .lp-ask-q { transition: opacity .15s linear; transform: none !important; }
}
