/* Home page: The Untangle. The hero is a scroll film built from the page itself (cine.js gives the
   progress, main.js moves the cards). Fonts are self-hosted; tokens here deepen the shared ones for
   this page only. */

@font-face { font-family: 'Geist'; src: url('/assets/fonts/geist.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('/assets/fonts/geist-mono.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('/assets/fonts/instrument-serif-italic.woff2') format('woff2'); font-style: italic; font-weight: 400; font-display: swap; }

.home {
  --ground: #0A0E18; --raised: #111727; --raised2: #161D30;
  --ink: #ECEFF6; --ink-soft: #A9B2C7; --muted: #A9B2C7;
  --line: rgb(236 239 246 / .09); --line2: rgb(236 239 246 / .16);
  --data: #7FE0E4;
  --serif: 'Instrument Serif', Georgia, serif;
  --cine-shade: 10 14 24;
  --cine-ease: var(--ease-out);
  --cine-tshadow: 0 1px 2px rgb(0 0 0 / .4);
  background: var(--ground);
}
.home::before { display: none; }
.home em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--accent-hi); font-size: 1.06em; }
.home .h2 { font-size: clamp(34px, 1rem + 3.6vw, 64px); line-height: 1; letter-spacing: -.045em; max-width: 18ch; margin: 0 0 48px; }
.home .h2 span { color: var(--ink-soft); }
.home .h2 span em { color: var(--accent-hi); }
.home .body { margin: 0 0 20px; font-size: 18px; line-height: 1.6; color: var(--ink-soft); max-width: 46ch; }
.home .body b { color: var(--ink); font-weight: 500; }
.home .fine { margin: 0; font-size: 13px; color: var(--ink-soft); }
.home .fine a { color: var(--accent-hi); }
.home .center { text-align: center; margin-top: 28px; }
.home .sec { border-top-color: var(--line); padding: clamp(80px, 11vw, 150px) 0; }

/* ---------------- Hero film ---------------- */
/* The product is on screen from the first frame: a thread with the Threadpull panel docked beside it.
   Scrolling opens the collapsed replies, ticks each comment off as a row, then lights the export. */
.hfilm .cine-stage { background: var(--ground); }
.h-glow { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(55% 70% at 74% 50%, rgb(36 52 92 / .55), transparent 70%),
              radial-gradient(35% 40% at 86% 40%, rgb(255 106 31 / calc(.05 + var(--cine-f, 0) * .1)), transparent 70%); }

.h-win { position: absolute; z-index: 2; left: 47%; right: -48px; top: 96px; bottom: 56px; max-height: 760px;
  display: flex; flex-direction: column; border-radius: 16px 0 0 16px; overflow: hidden; background: #0C1120;
  box-shadow: 0 0 0 1px var(--line2), 0 50px 120px -40px rgb(0 0 0 / .9);
  transform: translateX(calc(var(--win-x, 0) * -1vw)); }
.hw-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: #0E1424; }
.hw-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgb(236 239 246 / .14); }
.hw-bar span { margin-left: 14px; padding: 5px 12px; border-radius: 999px; background: rgb(236 239 246 / .06); font-size: 11.5px; color: var(--ink-soft); }
.hw-body { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 360px; }

.ht { position: relative; min-height: 0; overflow: hidden; padding: 0 28px; }
.ht::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(transparent, #0C1120); pointer-events: none; }
.ht-scroll { padding: 22px 0 40px; will-change: transform; }
.ht-sub { margin: 0; font-size: 11.5px; color: var(--ink-soft); }
.ht-title { margin: 6px 0 18px; font-size: 21px; line-height: 1.25; font-weight: 600; letter-spacing: -.02em; }
.ht-c { position: relative; margin: 0 0 8px calc(var(--d) * 22px); padding: 9px 12px 10px 14px; border-left: 2px solid rgb(236 239 246 / .12);
  border-radius: 0 10px 10px 0; transition: border-color .25s, background-color .25s; }
.ht-c p { margin: 3px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hc-m { font: 500 11px var(--mono); color: var(--ink-soft); }
.ht-c .hc-m b { color: var(--ink); font-weight: 500; }
.ht-tick { position: absolute; top: 9px; right: 10px; font-size: 10.5px; font-style: normal; color: var(--data); opacity: 0; transition: opacity .25s; }
.ht-c.on { border-left-color: var(--accent); background: rgb(255 106 31 / .06); }
.ht-c.on .ht-tick { opacity: 1; }
.ht-collapsed { margin: 0 0 8px 44px; font-size: 12px; color: var(--accent-hi); opacity: calc(1 - var(--open, 0)); }
.ht-hidden { max-height: calc(var(--open, 0) * 220px); opacity: var(--open, 0); overflow: hidden; }

.h-panel { position: relative; min-height: 0; display: flex; flex-direction: column; background: #0E1322; border-left: 1px solid var(--line2); }
.hp-top { display: flex; align-items: center; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.hp-top > span { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--data); }
.hp-live { width: 7px; height: 7px; border-radius: 50%; background: var(--data); box-shadow: 0 0 0 3px rgb(127 224 228 / .18); }
.hp-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 14px 16px 12px; }
.hp-kpis div { background: var(--raised2); border-radius: 10px; padding: 8px 10px; }
.hp-kpis span { display: block; font: 500 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.hp-kpis b { font-size: 19px; font-weight: 500; color: var(--data); }
.hp-view { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.hp-view::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: linear-gradient(transparent, #0E1322); pointer-events: none; }
.hp-rows { list-style: none; margin: 0; padding: 0 16px; display: flex; flex-direction: column; gap: 6px; will-change: transform; }
.hp-row { padding: 10px 12px; border-radius: 10px; background: var(--raised); box-shadow: 0 0 0 1px var(--line) inset; }
.hp-row p { margin: 3px 0 0; font-size: 13px; line-height: 1.4; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hp-file { margin: 0 16px; padding: 8px 12px; border-radius: 10px; font-size: 11.5px; color: var(--data); background: rgb(127 224 228 / .08);
  opacity: var(--exp, 0); transform: translateY(calc((1 - var(--exp, 0)) * 8px)); }
.hp-actions { display: flex; gap: 8px; padding: 12px 16px 16px; }
.hp-actions span { flex: 1; display: grid; place-items: center; height: 38px; border-radius: 10px; font: 500 12.5px var(--mono); box-shadow: 0 0 0 1px var(--line2) inset; }
.hp-actions span:first-child { box-shadow: 0 0 0 1px rgb(127 224 228 / calc(.16 + var(--exp, 0) * .6)) inset; color: color-mix(in srgb, var(--data) calc(var(--exp, 0) * 100%), var(--ink)); }
.hp-actions .ai { flex: 1.4; background: var(--accent); color: var(--accent-ink); font: 600 13px var(--sans); box-shadow: 0 0 0 calc(var(--exp, 0) * 6px) rgb(255 106 31 / .18); }

.hfilm .cine-band { --band-shade: .6; z-index: 6; left: clamp(20px, 6vw, 96px); right: auto; max-width: min(40ch, 38vw); }
.hfilm .b1 { top: clamp(110px, 22svh, 220px); bottom: auto; max-width: min(560px, 40vw); --band-shade: 0; }
.hfilm .b1::before { display: none; }
.hfilm .eyebrow { margin: 0 0 22px; font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.hfilm h1 { margin: 0; font-size: clamp(44px, 1rem + 3.7vw, 80px); line-height: .98; font-weight: 600; letter-spacing: -.05em; text-wrap: balance; }
.hfilm .sub { margin: 22px 0 28px; font-size: 18px; line-height: 1.55; color: var(--ink-soft); max-width: 42ch; }
.hfilm .fine { margin-top: 16px; }
.hfilm .cap { text-wrap: balance; margin: 0; font-size: clamp(30px, 1rem + 2.2vw, 46px); line-height: 1.05; font-weight: 600; letter-spacing: -.04em; }
.hfilm .cap span { color: var(--data); }
.hfilm .cap-sub { margin: 12px 0 0; font-size: 17px; line-height: 1.55; color: var(--ink-soft); }
.hfilm .b3 .btn { margin-top: 22px; }
.h-hint { position: absolute; z-index: 3; left: clamp(20px, 6vw, 96px); bottom: 28px; margin: 0; font-size: 12px; color: var(--ink-soft);
  opacity: clamp(0, calc(1 - var(--cine-f, 0) * 8), 1); }

/* Static hero: reduced motion, or no JavaScript. Copy on the left, the finished window on the right. */
.hfilm.is-static .cine-stage, html:not(.cine-js) .hfilm .cine-stage {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: 56px; row-gap: 28px;
  align-content: center; padding: 120px clamp(20px, 6vw, 96px) 80px; min-height: 100svh; }
.hfilm.is-static .cine-band, html:not(.cine-js) .hfilm .cine-band { grid-column: 1; position: relative; inset: auto; max-width: 600px; }
.hfilm.is-static .h-win, html:not(.cine-js) .hfilm .h-win { grid-column: 2; grid-row: 1 / span 3; position: relative; inset: auto; height: 640px; border-radius: 16px; transform: none; }
.hfilm.is-static .ht-hidden, html:not(.cine-js) .hfilm .ht-hidden { max-height: none; opacity: 1; }
.hfilm.is-static .ht-collapsed, html:not(.cine-js) .hfilm .ht-collapsed { display: none; }
html:not(.cine-js) .hfilm [data-static-hide] { display: none; }

@media (max-width: 1100px) and (min-width: 769px) {
  .hw-body { grid-template-columns: minmax(0, 1fr); }
  .ht { display: none; }
  .h-win { left: 52%; }
}

/* ---------------- Statement ---------------- */
.statement { padding-block: clamp(96px, 14vw, 180px); }
.statement p { margin: 0; max-width: 22ch; font-size: clamp(32px, 1rem + 3.4vw, 60px); line-height: 1.08; font-weight: 500; letter-spacing: -.04em; }
.statement span { color: var(--ink-soft); }

/* ---------------- Pull the thread ---------------- */
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 32px; margin-bottom: 40px; }
.sec-head .h2 { margin: 0; }
.pull-count { margin: 0; font-size: 13px; color: var(--data); }
.pull-box { position: relative; display: grid; border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 1px var(--line2); touch-action: pan-y; user-select: none; }
.pv { grid-area: 1 / 1; padding: 28px clamp(18px, 3vw, 36px); min-height: 460px; }
.pv.raw { background: #F4F1EA; color: #1A1A1B; }
.pv.rows { background: var(--raised); clip-path: inset(0 0 0 var(--x)); }
.pv-meta { margin: 0 0 6px; font-size: 11.5px; color: #55545A; }
.pv-title { margin: 0 0 18px; font-size: 19px; font-weight: 600; line-height: 1.3; letter-spacing: -.02em; }
.rc { margin: 0 0 12px calc(var(--d) * 22px); padding-left: 12px; border-left: 2px solid #D5D0C6; font-size: 14px; line-height: 1.45; max-width: 62ch; }
.rc b { font-size: 12.5px; margin-right: 8px; }
.rc span { font-size: 11px; color: #66656B; }
.rc p { margin: 3px 0 0; }
.pv-more { margin: 4px 0 0 22px; font-size: 12px; color: #8A3D0E; }
.pv-head, .pr { display: grid; grid-template-columns: 44px 150px minmax(0, 1fr) 44px; gap: 14px; align-items: start; }
.pv-head { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); padding: 4px 0 12px; border-bottom: 1px solid var(--line2); }
.pr { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.45; }
.pr .mono { font-size: 12px; color: var(--ink-soft); padding-top: 2px; overflow: hidden; text-overflow: ellipsis; }
.pr .mono:last-child { color: var(--data); text-align: right; }
.pr p { margin: 0; }
.pull-handle { position: absolute; top: 0; bottom: 0; left: var(--x); width: 48px; margin-left: -24px; border: 0; padding: 0; background: none; cursor: ew-resize; color: var(--accent-ink); display: grid; place-items: center; }
.pull-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1.5px; background: var(--accent); box-shadow: 0 0 24px rgb(255 106 31 / .55); }
.pull-handle svg { position: relative; width: 48px; height: 48px; padding: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 10px 30px rgb(255 106 31 / .5); }
.pull-handle:focus-visible { outline: none; }
.pull-handle:focus-visible svg { outline: 2px solid #fff; outline-offset: 3px; }
.pull-notes { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.pull-notes li { font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); }
.pull-notes b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 4px; }

/* ---------------- How it works ---------------- */
.how-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 72px; align-items: start; }
.how-steps .h2 { margin-bottom: 72px; }
.step { display: flex; gap: 20px; padding-bottom: 96px; opacity: .45; transition: opacity .5s var(--ease-out); }
.step.on { opacity: 1; }
.step > .mono { color: var(--accent-hi); font-size: 13px; padding-top: 8px; }
.step h3 { margin: 0 0 8px; font-size: 28px; line-height: 1.1; font-weight: 600; letter-spacing: -.03em; }
.step p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink-soft); max-width: 40ch; }
.how-device { position: sticky; top: 120px; display: grid; border-radius: 18px; padding: 22px; background: var(--raised); box-shadow: 0 0 0 1px var(--line2), 0 40px 80px -40px rgb(0 0 0 / .9); }
.hd-url { grid-area: 1 / 1; align-self: start; font-size: 11.5px; color: var(--ink-soft); background: var(--ground); border-radius: 8px; padding: 9px 12px; }
.hd-state { grid-area: 1 / 1; margin-top: 56px; display: flex; flex-direction: column; gap: 14px; opacity: 0; transform: translate3d(0, 10px, 0);
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out); }
.how-device[data-state="0"] .s0, .how-device[data-state="1"] .s1, .how-device[data-state="2"] .s2 { opacity: 1; transform: none; }
.hd-label { margin: 0; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-hi); }
.hd-title { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.35; }
.hd-btn { align-self: start; padding: 12px 18px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: 14px; }
.hd-bar { height: 8px; border-radius: 99px; background: var(--raised2); overflow: hidden; }
.hd-bar i { display: block; height: 100%; width: 67%; background: var(--accent); }
.hd-note { margin: 0; font-size: 12px; color: var(--data); }
.hd-exp { display: flex; gap: 8px; }
.hd-exp span { flex: 1; display: grid; place-items: center; height: 42px; border-radius: 10px; font: 500 12.5px var(--mono); box-shadow: 0 0 0 1px var(--line2) inset; }
.hd-exp .ai { flex: 1.5; background: var(--accent); color: var(--accent-ink); font: 600 13px var(--sans); box-shadow: none; }

/* ---------------- Insights ---------------- */
.ins-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
.ins-grid .h2 { margin-bottom: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--raised); color: var(--ink); font: 500 15px var(--sans); box-shadow: 0 0 0 1px var(--line2) inset; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.chip b { font-weight: 500; font-size: 12.5px; color: var(--data); }
.chip:hover { box-shadow: 0 0 0 1px var(--ink-soft) inset; }
.chip[aria-pressed="true"] { background: rgb(255 106 31 / .14); box-shadow: 0 0 0 1px var(--accent) inset; }
.ins-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; min-height: 300px; }
.ins-list li { padding: 14px 16px; border-radius: 12px; background: var(--raised); box-shadow: 0 0 0 1px var(--line) inset; font-size: 15px; line-height: 1.5; }
.ins-list .hc-m { display: block; margin-bottom: 4px; }
.ins-list mark { background: rgb(255 106 31 / .25); color: var(--ink); border-radius: 4px; padding: 0 2px; }
.ins-list .rest { color: var(--ink-soft); font: 500 12.5px var(--mono); background: none; box-shadow: none; padding: 4px 2px; }

/* ---------------- Send to AI ---------------- */
.ai-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.ai-grid .h2 { margin-bottom: 24px; }
.chat { border-radius: 18px; background: #F7F6F2; color: #1F1E1C; padding: 22px; box-shadow: 0 40px 80px -40px rgb(0 0 0 / .9); }
.chat-top { margin: 0 0 12px; font-size: 11.5px; color: #5E5B55; }
.chat-box { position: relative; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px #DDD9D0 inset; padding: 18px 18px 70px; font-size: 15px; line-height: 1.55; }
.chat-box p { margin: 0; }
.chat-dim { color: #5E5B55; margin-top: 6px !important; }
.chat-send { position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #5E5B55; border: 1.5px dashed #A8A398; }
.tags { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 7px 12px; border-radius: 999px; font: 500 12.5px var(--mono); color: var(--ink); box-shadow: 0 0 0 1px var(--line2) inset; }

/* ---------------- Respect ---------------- */
.respect { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: clamp(64px, 8vw, 110px); border-top: 1px solid var(--line); }
.respect p { margin: 0; padding: 0 28px; font-size: clamp(20px, .9rem + .8vw, 26px); line-height: 1.3; font-weight: 500; letter-spacing: -.02em; border-left: 1px solid var(--line2); }
.respect p:first-child { padding-left: 0; border-left: 0; }
.respect span { color: var(--ink-soft); }

/* ---------------- Who ---------------- */
.who-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line2); }
.who-list a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) 32px; gap: 24px; align-items: center; padding: 26px 0; border-top: 1px solid var(--line2); text-decoration: none; transition: padding .35s var(--ease-out); }
.who-list b { font-size: clamp(20px, .9rem + .9vw, 28px); font-weight: 600; letter-spacing: -.03em; }
.who-list span { font-size: 16px; color: var(--ink-soft); }
.who-list i { font-style: normal; font-size: 22px; color: var(--accent-hi); transition: transform .35s var(--ease-out); }
.who-list a:hover { padding-left: 12px; }
.who-list a:hover i { transform: translateX(6px); }
.who-list a:hover b { color: #fff; }

/* ---------------- Free to use ---------------- */
.prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 920px; }
.pc { display: flex; flex-direction: column; gap: 14px; padding: 32px; border-radius: 18px; box-shadow: 0 0 0 1px var(--line2) inset; }
.pc.account { background: var(--raised); box-shadow: 0 0 0 1.5px var(--accent) inset, 0 0 0 8px rgb(255 106 31 / .05); }
.pc-name { margin: 0; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.pc.account .pc-name { color: var(--accent-hi); }
.pc-amt { margin: 0; font-size: 52px; font-weight: 600; letter-spacing: -.045em; line-height: 1; }
.pc ul { list-style: none; margin: 8px 0 12px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pc li { padding-left: 24px; position: relative; font-size: 15.5px; line-height: 1.45; }
.pc li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 9px; height: 5px; border-left: 2px solid var(--data); border-bottom: 2px solid var(--data); transform: rotate(-45deg); }
.pc.account li::before { border-color: var(--accent-hi); }
.pc .btn { margin-top: auto; align-self: start; height: 48px; padding: 0 22px; }

/* ---------------- Ending ---------------- */
.ending { position: relative; text-align: center; padding: 0 0 clamp(96px, 12vw, 160px); border-top: 1px solid var(--line); }
.end-thread { display: block; width: 400px; height: 260px; margin: 0 auto; fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; }
.ending h2 { margin: 8px 0 32px; font-size: clamp(44px, 1rem + 5vw, 88px); line-height: 1; font-weight: 600; letter-spacing: -.05em; }
.ending .fine { margin-top: 18px; }

/* ---------------- Phone ---------------- */
@media (max-width: 900px) {
  .how-grid, .ins-grid, .ai-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .how-device { position: relative; top: 0; order: -1; }
  .step { padding-bottom: 40px; opacity: 1; }
  .pull-notes, .respect { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .respect p { padding: 0; border-left: 0; }
  .prices { grid-template-columns: minmax(0, 1fr); }
  .who-list a { grid-template-columns: minmax(0, 1fr) 24px; gap: 6px 16px; }
  .who-list span { grid-column: 1; grid-row: 2; font-size: 15px; }
  .who-list i { grid-row: 1 / span 2; grid-column: 2; }
}
@media (max-width: 768px) {
  .hfilm .b1 { top: 88px; }
  .hfilm .b2, .hfilm .b3 { top: 92px; bottom: auto; }
  .hfilm h1 { font-size: clamp(46px, 13vw, 60px); }
  .hfilm .sub { font-size: 16.5px; margin: 16px 0 20px; }
  .hfilm .eyebrow { margin-bottom: 14px; }
  .h-hint { display: none; }
  .pv { min-height: 0; }
  .pv-head { display: none; }
  .pr { grid-template-columns: 36px minmax(0, 1fr); }
  .pr .mono:nth-child(2), .pr .mono:last-child { display: none; }
  .rc { margin-left: calc(var(--d) * 12px); }
}
@media (max-width: 768px) and (max-height: 760px) {
  .hfilm .sub { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .step, .hd-state, .who-list a, .who-list i { transition: none; }
}


/* Phone: the window becomes the panel alone, a sheet under the headline. */
@media (max-width: 768px) {
  .h-win { left: 12px; right: 12px; top: auto; bottom: 0; height: min(34svh, 300px); border-radius: 22px 22px 0 0; transform: none; }
  .hfilm:not(.is-static) .b1 .fine { display: none; }
  .hw-bar, .ht, .hp-kpis { display: none; }
  .hw-body { grid-template-columns: minmax(0, 1fr); }
  .h-panel { border-left: 0; }
  .hfilm .cine-band, .hfilm .b1 { left: 20px; right: 20px; max-width: none; }
}
@media (max-width: 900px) {
  .hfilm.is-static .cine-stage, html:not(.cine-js) .hfilm .cine-stage { grid-template-columns: minmax(0, 1fr); }
  .hfilm.is-static .h-win, html:not(.cine-js) .hfilm .h-win { grid-column: 1; grid-row: auto; height: 480px; }
  .hfilm.is-static .b1, html:not(.cine-js) .hfilm .b1 { order: -1; }
  .hfilm.is-static .ht, html:not(.cine-js) .hfilm .ht { display: none; }
  .hfilm.is-static .hw-body, html:not(.cine-js) .hfilm .hw-body { grid-template-columns: minmax(0, 1fr); }
}
