/* Landing page. The hero, "how it works", integrity and closing sit on deep ink in both themes; everything else follows the theme. */

/* ---------- shared section type ---------- */
.band { padding: clamp(56px, 7vw, 100px) 0; }
.band.tint { background: var(--sunken); }
.h2 { font-size: clamp(2rem, 3.9vw, 3.3rem); line-height: 1.03; letter-spacing: -.038em; max-width: 20ch; text-wrap: balance; }
.h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); letter-spacing: -.03em; line-height: 1.12; }
.sec-head { margin-bottom: clamp(30px, 4vw, 52px); }
.sec-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 48px; }
.sec-sub { font-size: clamp(1rem, 1.3vw, 1.125rem); line-height: 1.55; color: var(--fg-2); max-width: 46ch; }
.sec-head .sec-sub { margin-top: 0; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.on-ink .btn-quiet { background: transparent; border-color: rgba(255, 255, 255, .18); color: var(--night-fg); }
.on-ink .btn-quiet:hover { background: rgba(255, 255, 255, .07); color: var(--night-fg); }
.on-ink .btn-primary { background: #5b52f0; }
.on-ink .btn-primary:hover { background: #4f46e5; }
.on-ink :focus-visible { outline-color: var(--night-brand); }
@media (hover: hover) and (pointer: fine) {
  .btn-primary { box-shadow: 0 1px 0 rgba(255, 255, 255, .14) inset; }
}

/* ======================================================= HERO */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(20px, 3vw, 44px) 0 0; min-height: min(calc(100svh - var(--nav-h)), 1000px); display: flex; flex-direction: column; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 70% at 78% 42%, rgba(91, 82, 240, .16), transparent 70%),
    radial-gradient(40% 50% at 8% 100%, rgba(31, 155, 176, .07), transparent 70%),
    linear-gradient(180deg, #06090f 0%, #070a12 60%, #06090f 100%); }
.hero-grid { flex: 1; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero-copy { position: relative; z-index: 2; padding-bottom: clamp(24px, 3vw, 40px); }
.hero-kicker { animation: rise .9s var(--ease-out) .05s backwards; }
.hero-title { font-size: clamp(2.7rem, 5.25vw, 5.1rem); line-height: .98; letter-spacing: -.048em; max-width: 12ch; color: var(--night-fg); }
.kw { display: inline-block; overflow: clip; vertical-align: top; padding: 0 .04em .1em; margin: 0 -.04em -.1em; }
.kw > span { display: inline-block; animation: kw-in 1.15s var(--ease-out) backwards; }
.kw-hl > span { color: #b1b3ff; }
.kw:nth-child(1) > span { animation-delay: .12s; } .kw:nth-child(2) > span { animation-delay: .18s; } .kw:nth-child(3) > span { animation-delay: .24s; }
.kw:nth-child(4) > span { animation-delay: .30s; } .kw:nth-child(5) > span { animation-delay: .36s; } .kw:nth-child(6) > span { animation-delay: .42s; }
.kw:nth-child(7) > span { animation-delay: .48s; } .kw:nth-child(8) > span { animation-delay: .54s; } .kw:nth-child(9) > span { animation-delay: .60s; }
.kw:nth-child(n+10) > span { animation-delay: .66s; }
@keyframes kw-in { from { transform: translate3d(0, 108%, 0) rotate(4deg); } }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 16px, 0); } }
@keyframes fade { from { opacity: 0; } }
/* Transform only: an opacity fade on the subtitle (the phone LCP element) held LCP back by about a second. */
@keyframes rise-y { from { transform: translate3d(0, 16px, 0); } }
.hero-sub { margin-top: clamp(16px, 1.6vw, 22px); font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.55; color: var(--night-fg-2); max-width: 44ch; animation: rise-y 1s var(--ease-out) .1s backwards; }

/* The brief box: first thing in the live Studio demo (the band follows the theme). */
.brief { margin: 0 0 clamp(18px, 2vw, 24px); background: var(--surface); border: 1px solid var(--line-2); border-radius: 16px; padding: 14px 14px 12px; box-shadow: var(--shadow-pop); transition: border-color .2s ease, box-shadow .2s ease; }
.brief:focus-within { border-color: color-mix(in srgb, var(--brand) 70%, transparent); }
.brief-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 2px 4px 8px; }
.brief-label { font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-fg); }
.brief-reset { background: none; border: 0; padding: 4px; color: var(--fg-2); font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-3); }
.brief-reset:hover { color: var(--fg); }
.brief-in { display: block; width: 100%; height: 150px; resize: vertical; background: transparent; border: 0; color: var(--fg); font: 400 15px/1.6 var(--body); padding: 4px 4px 8px; }
.brief-in:focus { outline: none; }
.brief-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding-top: 10px; border-top: 1px solid var(--line-1); }
.brief-go svg { width: 18px; height: 18px; transition: transform .25s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .brief-go:hover svg { transform: translateX(3px); } }
.brief-note { font-size: 13.5px; color: var(--fg-2); flex: 1; min-width: 160px; }
.brief-count { font-size: 12px; color: var(--fg-3); }

/* Hero: four small promises, two actions, one honest note. */
.hero-feats { list-style: none; margin: clamp(20px, 2.4vw, 30px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 640px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; background: rgba(255, 255, 255, .025); animation: rise 1s var(--ease-out) .5s backwards; }
.hero-feats li { display: flex; align-items: center; gap: 10px; padding: 12px 12px; font-size: 13px; line-height: 1.32; color: var(--night-fg-2); }
.hero-feats li + li { border-left: 1px solid rgba(255, 255, 255, .07); }
.hf-ic { flex: none; display: grid; place-items: center; width: 30px; height: 30px; color: #b1b3ff; }
.hf-ic svg, .hs-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(22px, 2.4vw, 30px); animation: rise 1s var(--ease-out) .62s backwards; }
.hero-ctas .btn { min-height: 58px; padding: 16px 30px; font-size: 16.5px; border-radius: 10px; }
.hero-go { min-width: 220px; }
.hero-go svg, .hero-how svg { width: 18px; height: 18px; transition: transform .25s var(--ease-out); }
.hero-how { background: rgba(255, 255, 255, .03) !important; }
@media (hover: hover) and (pointer: fine) { .hero-go:hover svg { transform: translateX(3px); } .hero-how:hover svg { transform: scale(1.12); } }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; margin-top: 16px; font-size: 13.5px; color: var(--night-fg-2); animation: fade 1s ease .8s backwards; }
.hero-try { display: inline-flex; align-items: center; gap: 8px; color: var(--night-fg); text-decoration: none; font-family: var(--mono); font-size: 12.5px; letter-spacing: .02em; }
.hero-try svg { width: 15px; height: 15px; transition: transform .25s var(--ease-out); }
.hero-try:hover svg { transform: translateY(3px); }
.hero-try-dot { width: 7px; height: 7px; border-radius: 50%; background: #55d19b; box-shadow: 0 0 0 0 rgba(85, 209, 155, .5); animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(85, 209, 155, .45); } 70%, 100% { box-shadow: 0 0 0 8px rgba(85, 209, 155, 0); } }

/* The swirl stage */
.hero-stage { position: relative; width: min(100%, 700px); aspect-ratio: 1; justify-self: center; z-index: 1; animation: fade 1.6s ease .1s backwards; container-type: inline-size; }
.hs-scroll, .hs-tilt, .hs-words, .hs-light, .hs-cards { position: absolute; }
.hs-scroll { inset: 0; will-change: transform; }
.hs-light { inset: -22%; pointer-events: none;
  background:
    radial-gradient(closest-side, rgba(176, 166, 255, .42), rgba(176, 166, 255, 0) 38%),
    radial-gradient(closest-side, rgba(104, 96, 245, .5), rgba(91, 82, 240, .16) 52%, rgba(91, 82, 240, 0) 76%);
  animation: breathe 9s ease-in-out infinite alternate; }
@keyframes breathe { from { opacity: .78; transform: scale(.95); } to { opacity: 1; transform: scale(1.04); } }
.hs-tilt { inset: 0; will-change: transform; }
.hs-tilt picture { display: block; width: 100%; height: 100%; }
.hs-swirl { width: 100%; height: 100%; object-fit: contain; animation: spin 96s linear infinite; will-change: transform; user-select: none; -webkit-user-drag: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.hs-words { inset: -3%; pointer-events: none; }
.vw { position: absolute; left: 0; top: 0; font: 500 14px/1 var(--mono); color: rgba(245, 245, 242, .9); white-space: nowrap; opacity: 0; will-change: transform, opacity; }
.vw-hi { color: #b1b3ff; }

/* The rewrite on the stage: a stock paragraph, cut, retyped in your voice, facts ticked. Decorative (aria-hidden). */
.hs-cards { inset: 0; perspective: 1400px; will-change: transform; pointer-events: none; }
.hc, .hchip { position: absolute; margin: 0; color: var(--night-fg);
  background: linear-gradient(165deg, rgba(40, 33, 92, .82), rgba(13, 11, 32, .86));
  border: 1px solid rgba(186, 178, 255, .24);
  box-shadow: 0 34px 70px -24px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .09);
  -webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%); }
.hc { border-radius: 3.2cqi; padding: 3.6cqi 3.8cqi 3.8cqi; transform-style: preserve-3d; }
.hc-a { left: 4%; top: 17%; width: 43%; transform: rotateX(14deg) rotateY(-22deg) rotateZ(6deg); opacity: .9; animation: hc-in 1.2s var(--ease-out) .35s backwards, bob-a 9s ease-in-out 1.6s infinite alternate; }
.hc-b { left: 37%; top: 30%; width: 58%; transform: rotateX(14deg) rotateY(-22deg) rotateZ(6deg) translateZ(30px); animation: hc-in 1.2s var(--ease-out) .55s backwards, bob-b 10s ease-in-out 1.8s infinite alternate; }
@keyframes hc-in { from { opacity: 0; transform: rotateX(24deg) rotateY(-30deg) rotateZ(10deg) translate3d(0, 40px, -60px); } }
@keyframes bob-a { to { transform: rotateX(12deg) rotateY(-19deg) rotateZ(5deg) translate3d(0, -1.4cqi, 0); } }
@keyframes bob-b { to { transform: rotateX(15deg) rotateY(-24deg) rotateZ(6.5deg) translate3d(0, 1.2cqi, 30px); } }
.hc-tag { display: inline-flex; align-items: center; gap: 1.2cqi; margin: 0 0 2.4cqi; padding: .9cqi 1.8cqi; border-radius: 1.6cqi; font: 600 clamp(10px, 1.9cqi, 13.5px)/1.2 var(--body); color: var(--night-fg-2); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.hc-dot { width: 1.3cqi; height: 1.3cqi; min-width: 6px; min-height: 6px; border-radius: 50%; background: #f0c25c; }
.hc-tag-ok { color: #e7e6ff; background: rgba(91, 82, 240, .22); border-color: rgba(177, 179, 255, .3); }
.hc-tag-ok svg { width: 2.8cqi; height: 2.8cqi; min-width: 14px; min-height: 14px; }
.hc-tag-ok circle { fill: #55d19b; } .hc-tag-ok path { fill: none; stroke: #06290f; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hc-text { margin: 0; font: 400 clamp(10.5px, 2.15cqi, 15px)/1.55 var(--body); letter-spacing: -.005em; }
.hc-a .hc-text { color: rgba(245, 245, 242, .62); }
.hc-b .hc-text { min-height: 7.75em; color: #f1f0ff; font-size: clamp(11.5px, 2.5cqi, 17px); font-weight: 500; }
.hc-stock { border-radius: 3px; background: linear-gradient(rgba(240, 194, 92, .26), rgba(240, 194, 92, .26)) no-repeat 0 0 / 0% 100%; transition: background-size .55s var(--ease-out), opacity .45s ease, color .45s ease; text-decoration: line-through transparent; text-decoration-thickness: 1.5px; }
.is-marked .hc-stock { background-size: 100% 100%; color: #ffe3a6; }
.is-cut .hc-stock { opacity: .42; text-decoration-color: rgba(255, 143, 134, .95); background-size: 100% 100%; }
mark.hc-f { color: #fff; background: rgba(91, 82, 240, .42); border-radius: 4px; padding: 0 .12em; box-shadow: inset 0 -1.5px 0 rgba(177, 179, 255, .8); }
.hc-caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 1px; vertical-align: -.15em; background: #b1b3ff; opacity: 0; }
.is-typing .hc-caret { opacity: 1; animation: caret .9s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.hc-ledger { display: flex; flex-wrap: wrap; gap: 1.2cqi; margin: 2.6cqi 0 0; padding-top: 2.2cqi; border-top: 1px solid rgba(255, 255, 255, .09); font: 500 clamp(9.5px, 1.75cqi, 12.5px)/1.2 var(--mono); opacity: 0; transform: translate3d(0, 6px, 0); transition: opacity .5s ease, transform .6s var(--ease-out); }
.is-done .hc-ledger { opacity: 1; transform: none; }
.hc-kept { color: #55d19b; padding: .7cqi 0; margin-right: .6cqi; }
.hc-fact { padding: .7cqi 1.4cqi; border-radius: 1.2cqi; background: rgba(85, 209, 155, .1); border: 1px solid rgba(85, 209, 155, .28); color: #c9f3df; }
.hc-fact::before { content: "✓ "; color: #55d19b; }
.hc-arrow { position: absolute; left: 41%; top: 22%; width: 7%; color: #b1b3ff; opacity: .85; transform: rotate(10deg); animation: fade 1s ease 1.1s backwards; }
.hchip { display: inline-flex; align-items: center; gap: 1.4cqi; padding: 1.7cqi 2.4cqi; border-radius: 2.2cqi; font: 600 clamp(10px, 1.95cqi, 14px)/1.15 var(--body); white-space: nowrap; color: #ecebff; animation: chip-in .9s var(--ease-out) backwards, float 7s ease-in-out infinite alternate; }
.hchip svg { width: 2.9cqi; height: 2.9cqi; min-width: 14px; min-height: 14px; fill: none; stroke: #b1b3ff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hchip-1 { right: -1%; top: 6%; --r: 7deg; animation-delay: .9s, 1.8s; }
.hchip-1 svg { stroke: #55d19b; stroke-width: 2.4; }
.hchip-2 { left: -2%; top: 58%; --r: 9deg; animation-delay: 1.05s, 2.4s; }
.hchip-3 { right: -5%; top: 70%; --r: 8deg; animation-delay: 1.2s, 3s; }
.hchip-4 { right: 16%; bottom: 3%; --r: 7deg; animation-delay: 1.35s, 2s; }
.hchip { transform: rotate(var(--r)); }
@keyframes chip-in { from { opacity: 0; transform: rotate(var(--r)) translate3d(0, 14px, 0) scale(.92); } }
@keyframes float { to { transform: rotate(var(--r)) translate3d(0, -1.2cqi, 0); } }
.hc-pen { position: absolute; right: -11%; top: 63%; width: 42%; filter: drop-shadow(0 0 2.6cqi rgba(139, 120, 255, .55)) drop-shadow(0 18px 20px rgba(0, 0, 0, .55)); transform-origin: 6% 50%; transform: rotate(-38deg); animation: pen-in 1.2s var(--ease-out) .8s backwards; }
@keyframes pen-in { from { opacity: 0; transform: rotate(-30deg) translate3d(12%, -6%, 0); } }
.is-typing .hc-pen { animation: pen-write .34s ease-in-out infinite alternate; }
@keyframes pen-write { from { transform: rotate(-38deg) translate3d(0, 0, 0); } to { transform: rotate(-36.5deg) translate3d(-1.2%, .8%, 0); } }

/* Under the hero: what the product does, in four plain columns. */
.hero-strip { list-style: none; margin: clamp(8px, 1.4vw, 16px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid rgba(255, 255, 255, .09); border-radius: 18px; background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .012)); position: relative; z-index: 2; }
.hero-strip li { display: flex; gap: 16px; align-items: flex-start; padding: clamp(20px, 2.4vw, 30px) clamp(18px, 2.2vw, 28px); }
.hero-strip li + li { border-left: 1px solid rgba(255, 255, 255, .07); }
.hs-ic { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: #b1b3ff; background: radial-gradient(circle at 35% 30%, rgba(104, 96, 245, .34), rgba(91, 82, 240, .1) 70%); border: 1px solid rgba(177, 179, 255, .2); }
.hero-strip h3 { margin: 4px 0 6px; font: 700 16px/1.25 var(--body); letter-spacing: -.01em; color: var(--night-fg); }
.hero-strip p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--night-fg-2); }

.hero-rail { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding: 22px 0 24px; position: relative; z-index: 2; animation: fade 1s ease .9s backwards; }
.rail-label, .rail-lang { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--night-fg-2); opacity: .75; }
.rail-list { display: flex; flex-wrap: wrap; gap: 6px 26px; list-style: none; margin: 0; padding: 0; font-family: var(--display); font-weight: 500; font-size: 16px; letter-spacing: -.01em; color: var(--night-fg); opacity: .86; }
.rail-lang { margin-left: auto; }

/* ======================================================= GHOSTWRITER PROBLEM */
.ghost .h2 { max-width: 22ch; }
.ghost-cols, .g-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(20px, 4vw, 56px); }
.ghost-cols { border-bottom: 1px solid var(--line-3); }
.ghost-col-head { padding-bottom: 20px; align-self: end; }
.ghost-col-head.us, .g-us { background: color-mix(in srgb, var(--brand-tint) 55%, var(--surface)); }
.ghost-col-head.us { padding: 22px 24px 20px; border-radius: 16px 16px 0 0; }
.g-row:last-child .g-us { border-radius: 0 0 16px 16px; }
.ghost-col-head { display: flex; align-items: flex-start; gap: 14px; }
.g-avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--sunken); color: var(--fg-3); font: 700 18px/1 var(--display); border: 1px solid var(--line-2); }
.ghost-col-head.us img { flex: none; width: 40px; height: 40px; }
.g-name { font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; }
.g-sub { color: var(--fg-3); font-size: 14.5px; margin-top: 2px; }
.g-bubble { margin-top: 8px; display: inline-block; background: var(--sunken); color: var(--fg-2); padding: 8px 13px; border-radius: 4px 16px 16px 16px; font-size: 14.5px; }
.g-typing { display: flex; gap: 4px; margin: 8px 0 0 6px; }
.g-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--fg-4); animation: typing 1.4s ease-in-out infinite; }
.g-typing i:nth-child(2) { animation-delay: .18s; } .g-typing i:nth-child(3) { animation-delay: .36s; }
@keyframes typing { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.ghost-rows { list-style: none; margin: 0; padding: 0; }
.g-row { border-bottom: 1px solid var(--line-2); }
.g-row p { padding: 18px 16px 18px 30px; position: relative; font-size: clamp(1rem, 1.35vw, 1.13rem); line-height: 1.45; }
.g-row p::before { position: absolute; left: 0; top: 19px; font: 500 14px/1.45 var(--mono); }
.g-them { color: var(--fg-2); }
.g-them::before { content: "✕"; color: var(--bad); }
.g-us { color: var(--fg); font-weight: 500; padding-left: 54px !important; }
.g-us::before { left: 24px !important; }
.g-us::before { content: "✓"; color: var(--ok); }
.g-cut { text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: transparent; transition: text-decoration-color .5s ease calc(var(--d, 0ms) + 350ms), color .5s ease calc(var(--d, 0ms) + 350ms); }
.g-row.is-in .g-cut, html:not(.reveal-on) .g-cut { text-decoration-color: color-mix(in srgb, var(--bad) 70%, transparent); color: var(--fg-3); }
.ghost-foot { margin-top: 22px; color: var(--fg-3); font-size: 15px; }

/* ======================================================= HOW IT WORKS */
.how { padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(40px, 6vw, 80px); position: relative; overflow: clip; }
.how::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 40% at 72% 55%, rgba(91, 82, 240, .12), transparent 70%); }
.how-head { position: relative; margin-bottom: clamp(24px, 3vw, 40px); }
.how-head .h2 { max-width: 19ch; }
.how-grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.how-step { padding: 10px 0 12px; border-top: 1px solid rgba(255, 255, 255, .08); transition: opacity .35s ease; }
.how-step-btn { display: flex; align-items: baseline; gap: 14px; background: none; border: 0; padding: 0; color: var(--night-fg); cursor: pointer; text-align: left; }
.how-n { font-size: 12.5px; color: var(--night-brand); letter-spacing: .06em; }
.how-t { font-family: var(--display); font-weight: 700; font-size: clamp(1.25rem, 1.9vw, 1.6rem); letter-spacing: -.03em; }
.how-p { margin: 6px 0 0 calc(14px + 2.1ch); color: var(--night-fg-2); font-size: 15px; line-height: 1.5; max-width: 44ch; transition: opacity .35s ease; }
.how-bar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 18px; }
.how-bar span { height: 2px; background: rgba(255, 255, 255, .12); overflow: hidden; border-radius: 2px; }
.how-bar i { display: block; height: 100%; background: var(--night-brand); transform: scaleX(0); transform-origin: 0 50%; }
.how-track:not(.is-live) .how-bar { display: none; }

.win { background: #0e131b; border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .4); overflow: hidden; color: var(--night-fg); }
.win-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.win-title { display: flex; align-items: center; gap: 8px; font-size: 14px; min-width: 0; }
.win-title img { width: 18px; height: 18px; }
.win-title b { font-family: var(--display); font-weight: 700; }
.win-doc { color: var(--night-fg-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-doc::before { content: "/"; margin: 0 8px 0 2px; opacity: .4; }
.win-sample { font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--night-fg-2); opacity: .75; white-space: nowrap; }
.win-tabs { display: grid; grid-template-columns: repeat(5, 1fr); border-bottom: 1px solid rgba(255, 255, 255, .07); }
.win-tab { position: relative; padding: 11px 6px 12px; text-align: center; font-size: 13.5px; font-weight: 500; color: var(--night-fg-2); opacity: .6; transition: opacity .3s ease, color .3s ease; }
.win-tab::after { content: ""; position: absolute; left: 14%; right: 14%; bottom: -1px; height: 2px; background: var(--night-brand); transform: scaleX(0); transition: transform .45s var(--ease-out); }
.win-tab.is-done { opacity: .85; }
.win-tab.is-active { opacity: 1; color: var(--night-fg); }
.win-tab.is-active::after { transform: scaleX(1); }
.win-body { position: relative; }
.scene { padding: 22px 24px 24px; }
.how-track:not(.is-live) .scene + .scene { border-top: 1px solid rgba(255, 255, 255, .07); }
.sc-label { display: block; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--night-fg-2); opacity: .8; margin-bottom: 10px; }
.s0-text { font-size: 16px; line-height: 1.6; color: var(--night-fg); max-width: 56ch; padding: 14px 16px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .07); border-radius: 10px; margin-bottom: 18px; }
.s0-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.s0-chip { display: inline-flex; align-items: baseline; gap: 8px; padding: 7px 11px; border-radius: 8px; border: 1px solid rgba(139, 142, 255, .35); background: rgba(104, 107, 244, .12); font-size: 14px; font-weight: 600; }
.s0-chip b { font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--night-brand); }
.s1-head, .s2-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.s1-total { font-size: 13px; color: var(--night-fg-2); }
.s1-total b { font-family: var(--display); font-size: 28px; color: var(--night-fg); letter-spacing: -.03em; text-align: right; }
.s1-rows { list-style: none; margin: 0 0 16px; padding: 0; }
.s1-row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 3.4ch; align-items: center; gap: 14px; padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: 14.5px; }
.s1-h { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s1-bar { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.s1-bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #5b52f0, #8b8eff); transform-origin: 0 50%; }
.s1-row:nth-child(1) .s1-bar i { width: 44.4%; } .s1-row:nth-child(2) .s1-bar i { width: 66.7%; } .s1-row:nth-child(3) .s1-bar i { width: 100%; }
.s1-row:nth-child(4) .s1-bar i { width: 100%; } .s1-row:nth-child(5) .s1-bar i { width: 77.8%; } .s1-row:nth-child(6) .s1-bar i { width: 55.6%; }
.s1-w { font-family: var(--mono); font-size: 13px; color: var(--night-fg-2); text-align: right; }
.s1-mss { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.s1-ms { padding: 10px 10px 9px; border-radius: 8px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .07); font-size: 13px; line-height: 1.3; }
.s1-ms b { display: block; font-size: 11.5px; color: var(--night-brand); margin-bottom: 3px; font-weight: 500; }
.s2-q { font-size: 12px; color: var(--night-fg-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 1; text-align: center; }
.s2-n { font-size: 13px; color: var(--night-fg-2); white-space: nowrap; }
.s2-n b { font-family: var(--display); font-size: 18px; color: var(--night-fg); }
.s2-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.s2-card { position: relative; padding: 13px 96px 12px 15px; border-radius: 12px; background: #141a24; border: 1px solid rgba(255, 255, 255, .08); }
.s2-t { font-weight: 600; font-size: 14.5px; line-height: 1.35; }
.s2-m { margin-top: 4px; font-size: 13px; color: var(--night-fg-2); }
.s2-doi { margin-top: 6px; font-size: 12px; color: var(--night-brand); }
.s2-add { position: absolute; right: 14px; top: 13px; font-size: 12.5px; font-weight: 600; color: #55d19b; }
.s2-add::before { content: "✓ "; }
.s3-before, .s3-after { font-size: 16px; line-height: 1.62; padding: 14px 16px; border-radius: 10px; }
.s3-before { color: var(--night-fg-2); background: rgba(255, 255, 255, .025); border: 1px dashed rgba(255, 255, 255, .12); }
.s3-cut { position: relative; color: #ff9d95; }
.s3-strike { position: absolute; left: 0; right: 0; top: 54%; height: 2px; background: #ff8f86; border-radius: 1px; }
.s3-after { margin-top: 12px; color: var(--night-fg); background: rgba(104, 107, 244, .1); border: 1px solid rgba(139, 142, 255, .35); }
.s3-ledger { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px; }
.s3-sum { font-size: 13px; color: var(--night-fg-2); margin-right: 4px; }
.s3-fact { font: 500 12px/1 var(--mono); padding: 6px 9px; border-radius: 6px; background: rgba(85, 209, 155, .14); color: #55d19b; }
.s3-fact::before { content: "✓ "; }
.s4-list { list-style: none; margin: 0 0 18px; padding: 0; }
.s4-row { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: 15px; }
.s4-row b { font-size: 12.5px; color: var(--night-fg-2); font-weight: 500; }
.s4-box { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid rgba(139, 142, 255, .6); display: grid; place-items: center; color: #fff; background: rgba(104, 107, 244, .0); position: relative; }
.s4-tick { width: 16px; height: 16px; color: #fff; background: #686bf4; border-radius: 5px; padding: 1px; position: absolute; inset: -1.5px; width: calc(100% + 3px); height: calc(100% + 3px); }
.s4-export { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.s4-export .sc-label { margin: 0 6px 0 0; }
.s4-btn { padding: 8px 13px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .16); font-size: 13.5px; font-weight: 600; }
.s4-btn.is-primary { background: #5b52f0; border-color: #5b52f0; }

/* Live (JS): the track becomes tall and the stage sticks while the timeline scrubs. */
.how-track.is-live { height: min(470vh, 5200px); }
.how-track.is-live .how-sticky { position: sticky; top: var(--nav-h); height: min(calc(100vh - var(--nav-h)), 1000px); display: flex; align-items: center; }
.how-track.is-live .how-sticky > .wrap { width: min(1140px, 100% - 40px); }
.how-track.is-live .win-body { height: 420px; }
.how-track.is-live .scene { position: absolute; inset: 0; }
.how-track.is-live .how-step { opacity: .7; }
.how-track.is-live .how-step.is-active { opacity: 1; }
.how-track.is-live .how-step.is-past { opacity: .7; }
.how-track.is-live .how-step:focus-within, .how-track.is-live .how-step:focus-within .how-p { opacity: 1; }
.how-track.is-reduced .scene { opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility 0s linear .4s; }
.how-track.is-reduced .scene.is-shown { opacity: 1; visibility: visible; transition: opacity .4s ease, visibility 0s; }
@media (hover: hover) and (pointer: fine) { .how-step-btn:hover .how-t { color: #fff; } }
/* Static layout (no scrub: very tall screens, reduced motion): the steps stay beside the scenes instead of floating mid-column. */
@media (min-width: 881px) { .how-track:not(.is-live) .how-grid { align-items: start; } .how-track:not(.is-live) .how-steps { position: sticky; top: calc(var(--nav-h) + 24px); } }

/* ======================================================= STUDIO DEMO */
.plan-app { background: var(--surface); border: 1px solid var(--line-2); border-radius: 20px; box-shadow: var(--shadow-pop); overflow: hidden; }
.plan-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 32px; padding: clamp(20px, 3vw, 30px) clamp(20px, 3vw, 32px); border-bottom: 1px solid var(--line-2); }
.plan-id { min-width: 0; flex: 1 1 420px; }
.plan-eyebrow { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-fg); margin-bottom: 8px; }
.plan-title { font-size: clamp(1.35rem, 2.2vw, 1.85rem); letter-spacing: -.03em; max-width: 34ch; text-wrap: balance; }
.plan-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.p-chip { display: inline-flex; align-items: baseline; gap: 8px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--bg); font-size: 14px; font-weight: 600; color: var(--fg); }
.p-chip b { font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); }
.plan-total { display: grid; justify-items: end; text-align: right; }
.plan-total b { font-family: var(--display); font-size: clamp(2.6rem, 5vw, 3.8rem); line-height: 1; letter-spacing: -.045em; color: var(--brand-fg); text-align: right; }
.plan-total span { font-size: 13px; color: var(--fg-3); margin-top: 4px; }
.plan-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.plan-col { padding: clamp(20px, 3vw, 30px) clamp(20px, 3vw, 32px); display: grid; align-content: start; gap: 12px; }
.plan-col + .plan-col { border-left: 1px solid var(--line-2); background: color-mix(in srgb, var(--sunken) 35%, var(--surface)); }
.plan-h { font-size: 11.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); }
.plan-h:not(:first-child) { margin-top: 14px; }
.outline { list-style: none; margin: 0; padding: 0; counter-reset: o; }
.outline > li:not(.sk) { counter-increment: o; display: grid; grid-template-columns: 2.4ch minmax(0, 1fr) auto; gap: 4px 12px; padding: 13px 0; border-bottom: 1px solid var(--line-1); }
.outline > li:not(.sk)::before { content: counter(o, decimal-leading-zero); font: 500 12px/1.6 var(--mono); color: var(--fg-4); }
.o-h { font-weight: 600; font-size: 15.5px; line-height: 1.35; }
.o-goal { grid-column: 2 / 4; font-size: 14px; color: var(--fg-3); line-height: 1.45; }
.o-w { font: 500 13px/1.6 var(--mono); color: var(--fg-2); text-align: right; white-space: nowrap; }
.o-bar { grid-column: 2 / 4; height: 6px; border-radius: 3px; background: var(--sunken); overflow: hidden; margin-top: 4px; }
.o-bar i { display: block; height: 100%; width: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--brand), #8b8eff); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.1s var(--ease-out) calc(var(--d, 0ms) + 150ms); }
.outline > li.is-in .o-bar i { transform: scaleX(var(--w, 0)); }
.thesis-list { margin: 0; padding: 0 0 0 1.2em; display: grid; gap: 8px; color: var(--fg-2); font-size: 14.5px; }
.thesis-list li::marker { font-family: var(--mono); color: var(--fg-4); font-size: 12px; }
.milestones { list-style: none; margin: 0; padding: 0; position: relative; }
.milestones > li:not(.sk) { display: grid; grid-template-columns: 7ch 1fr; gap: 12px; padding: 8px 0 8px; position: relative; font-size: 14.5px; }
.milestones > li:not(.sk) + li:not(.sk) { border-top: 1px dashed var(--line-2); }
.ms-d { font: 500 12.5px/1.6 var(--mono); color: var(--brand-fg); white-space: nowrap; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.checklist label { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; padding: 7px 0; font-size: 14.5px; line-height: 1.4; cursor: pointer; }
.checklist input { margin: 1px 0 0; width: 18px; height: 18px; accent-color: var(--brand); }
.checklist input:checked + span { color: var(--fg-3); text-decoration: line-through; text-decoration-color: var(--fg-4); }
.ck-more { font-size: 13.5px; color: var(--fg-3); padding: 6px 0 0 30px; }
.ck-crit { display: block; font: 500 11.5px/1.5 var(--mono); color: var(--fg-3); letter-spacing: .02em; margin-top: 2px; text-decoration: none; }
.sk { display: grid; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line-1); }
.sk i { display: block; height: 10px; border-radius: 5px; background: var(--sunken); animation: pulse 1.4s ease-in-out infinite alternate; }
.sk i + i { width: 62%; height: 8px; animation-delay: .2s; }
.sk i + i + i { width: 100%; height: 6px; margin-top: 8px; animation-delay: .3s; }
.sk-o { padding: 14px 0 16px; gap: 9px; }
.milestones .sk { padding: 13px 0; }
.sk-src { padding: 18px 0 20px 0; gap: 10px; border-bottom: 0; border-top: 1px solid var(--line-2); }
.sk-src i + i + i { width: 34%; height: 8px; }
@keyframes pulse { from { opacity: .55; } to { opacity: 1; } }
.plan-app[data-state="idle"] .sk i { animation: none; }
.plan-msg { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 18px clamp(20px, 3vw, 32px); border-top: 1px solid var(--line-2); background: var(--warn-tint); color: var(--fg); font-size: 15px; }
.plan-app[data-state="loading"] .plan-total b { opacity: .4; }

.src { margin-top: clamp(20px, 2.5vw, 28px); background: var(--surface); border: 1px solid var(--line-2); border-radius: 20px; padding: clamp(20px, 3vw, 30px) clamp(20px, 3vw, 32px); }
.src-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.src-sub { margin-top: 6px; color: var(--fg-3); font-size: 15px; }
.src-found { font-size: 13px; color: var(--fg-3); white-space: nowrap; }
.src-found b { font-family: var(--display); font-size: 2rem; color: var(--fg); letter-spacing: -.03em; text-align: right; margin-right: 4px; }
.src-form { display: flex; gap: 10px; margin-top: 18px; }
.src-q { flex: 1; min-width: 0; font-family: var(--mono); font-size: 14px; }
.src-meta { margin-top: 10px; font-size: 14px; color: var(--fg-3); min-height: 1.5em; }
.src-meta.bad { color: var(--bad); }
.src-list { list-style: none; margin: 4px 0 0; padding: 0; counter-reset: s; }
.src-list > li:not(.sk) { counter-increment: s; display: grid; grid-template-columns: 2.4ch minmax(0, 1fr); gap: 4px 14px; padding: 16px 0; border-top: 1px solid var(--line-2); }
.src-list > li:not(.sk)::before { content: counter(s, decimal-leading-zero); font: 500 12px/1.7 var(--mono); color: var(--fg-4); }
.src-t { font-weight: 600; font-size: 16px; line-height: 1.38; color: var(--fg); text-decoration: none; }
a.src-t:hover { color: var(--brand-fg); text-decoration: underline; }
.src-by { grid-column: 2; font-size: 14px; color: var(--fg-3); }
.src-links { grid-column: 2; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 13px; margin-top: 2px; }
.src-links a { font-family: var(--mono); font-size: 12.5px; word-break: break-all; }
.src-oa { color: var(--ok); font-weight: 600; }
.src-note { margin-top: 14px; font-size: 13.5px; color: var(--fg-3); }
.studio-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: clamp(24px, 3vw, 36px); }

/* ======================================================= HUMANIZER */
.hum-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hum-copy .sec-sub { margin-top: 18px; }
.hum-points { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 0; }
.hum-points li { padding: 11px 0 11px 26px; border-top: 1px solid var(--line-2); position: relative; color: var(--fg-2); }
.hum-points li::before { content: "✓"; position: absolute; left: 0; color: var(--brand-fg); font-weight: 700; }
.demo { background: var(--surface); border: 1px solid var(--line-2); border-radius: 20px; padding: clamp(16px, 2vw, 22px); box-shadow: var(--shadow-pop); }
.demo-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.demo-title { font-size: 1.05rem; letter-spacing: -.01em; }
.demo-chip { font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); }
.demo-body { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.demo .textarea, .demo-out { min-height: 230px; font-size: 14.5px; line-height: 1.6; border-radius: 10px; }
.demo .textarea { background: var(--bg); }
.demo-out { padding: 10px 12px; background: color-mix(in srgb, var(--brand-tint) 40%, var(--surface)); border: 1px solid var(--line-2); overflow: auto; white-space: pre-wrap; }
.demo-out:focus-visible { outline: 2px solid var(--brand); }
.demo-actions { display: flex; justify-content: flex-end; }
.demo-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 14px; }
.demo-note { margin-top: 12px; font-size: 13px; color: var(--fg-3); }
.ledger { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ledger .l-sum { font-size: 13px; color: var(--fg-2); margin-right: 4px; }
.ledger .l-fact { font-family: var(--mono); font-size: 12px; padding: 3px 8px; border-radius: 6px; background: var(--ok-tint); color: var(--ok); animation: rise .45s var(--ease-out) backwards; }
.ledger .l-fact:nth-child(3) { animation-delay: .04s; } .ledger .l-fact:nth-child(4) { animation-delay: .08s; } .ledger .l-fact:nth-child(5) { animation-delay: .12s; } .ledger .l-fact:nth-child(n+6) { animation-delay: .16s; }
.ledger .l-fact.lost { background: var(--bad-tint); color: var(--bad); }

/* ======================================================= FEATURES (bento) */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-areas: "src src cite cite" "src src fact voice" "audit review lang priv"; gap: 14px; }
.cell { background: var(--surface); border: 1px solid var(--line-2); border-radius: 18px; padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .2s ease, opacity .8s var(--ease-out) var(--d, 0ms); }
.reveal-on .bento .cell[data-reveal] { transition: transform .9s var(--ease-out) var(--d, 0ms), box-shadow .35s var(--ease-out), border-color .2s ease, opacity .8s var(--ease-out) var(--d, 0ms); }
@media (hover: hover) and (pointer: fine) {
  .cell.is-in:hover, html:not(.reveal-on) .cell:hover { transform: translateY(-3px); box-shadow: var(--shadow-pop); border-color: var(--line-3); transition-delay: 0s; }
}
.cell-h { font-size: 1.2rem; letter-spacing: -.025em; }
.cell-p { color: var(--fg-2); font-size: 15px; line-height: 1.5; }
.c-src { grid-area: src; } .c-cite { grid-area: cite; } .c-fact { grid-area: fact; } .c-voice { grid-area: voice; }
.c-audit { grid-area: audit; } .c-review { grid-area: review; } .c-lang { grid-area: lang; } .c-priv { grid-area: priv; }
.c-src .cell-h { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.mini-src { list-style: none; margin: auto 0 0; padding: 14px 0 0; display: grid; gap: 10px; }
.mini-src li { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line-2); font-size: 14px; }
.mini-src b { font-weight: 600; }
.mini-src span { color: var(--fg-3); font-size: 13px; }
.mini-src .mono { color: var(--brand-fg); font-size: 12px; }
.cite-switch { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; padding: 3px; border-radius: 10px; background: var(--sunken); width: fit-content; }
.cite-switch button { border: 0; background: transparent; font: 500 12.5px/1 var(--mono); color: var(--fg-2); padding: 8px 10px; border-radius: 7px; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.cite-switch button[aria-pressed="true"] { background: var(--surface); color: var(--brand-fg); box-shadow: 0 1px 2px rgba(20, 22, 40, .12); }
.cite-ref { font-size: 14.5px; line-height: 1.6; color: var(--fg); padding: 14px 16px; border-left: 2px solid var(--brand); background: var(--bg); border-radius: 0 10px 10px 0; min-height: 7.4em; transition: opacity .25s ease; overflow-wrap: anywhere; }
.cite-ref.is-swapping { opacity: 0; }
.mini-ledger { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.mini-ledger span { font: 500 12px/1 var(--mono); padding: 6px 8px; border-radius: 6px; background: var(--ok-tint); color: var(--ok); }
.mini-voice { margin-top: auto; font-size: 15px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.mini-voice s { color: var(--bad); text-decoration-thickness: 2px; }
.mini-voice b { color: var(--ok); }
.mini-audit { margin-top: auto; font-size: 13px; display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; color: var(--fg-3); }
.mini-audit b { color: var(--fg); font-weight: 500; }
.mini-audit em { font-style: normal; color: var(--warn); background: var(--warn-tint); padding: 3px 7px; border-radius: 6px; }
.c-review .cell-p b { font-family: var(--display); color: var(--fg); }
/* Free launch: the review cell says it is not open yet (landing.js shows [data-pay="off"] while payments are off). */
.cell-soon { margin-top: 10px; color: var(--brand-fg); font-size: 14.5px; font-weight: 600; line-height: 1.45; }
.mini-lang { margin-top: auto; font-family: var(--display); font-weight: 700; font-size: 2rem; letter-spacing: .02em; color: var(--brand-fg); }

/* ======================================================= INTEGRITY */
.integ { padding: clamp(64px, 8vw, 104px) 0; position: relative; overflow: hidden; }
.integ::before { content: ""; position: absolute; inset: 0; background: radial-gradient(45% 60% at 0% 50%, rgba(91, 82, 240, .14), transparent 70%); pointer-events: none; }
.integ-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.integ-h { font-size: clamp(2.3rem, 4.6vw, 4rem); max-width: 13ch; }
.integ-lead { font-size: clamp(1.05rem, 1.35vw, 1.2rem); color: var(--night-fg-2); line-height: 1.6; max-width: 48ch; }
.integ-list { list-style: none; margin: 22px 0; padding: 0; }
.integ-list li { padding: 11px 0 11px 26px; border-top: 1px solid var(--night-line); color: var(--night-fg); position: relative; }
.integ-list li::before { content: "✕"; position: absolute; left: 0; color: var(--night-brand); font: 500 13px/1.9 var(--mono); }
.integ-link { display: inline-flex; gap: 8px; align-items: center; color: var(--night-fg); font-weight: 600; text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--night-brand); }
.integ-link:hover { color: #fff; }
.integ-link span[aria-hidden] { transition: transform .25s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .integ-link:hover span[aria-hidden] { transform: translateX(4px); } }

/* ======================================================= PRICING */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 12px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 20px; padding: 28px 26px 26px; }
.plan.featured { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow-pop); }
.plan-flag { position: absolute; top: 18px; right: 22px; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-fg); }
.plan h3 { font-size: 1.25rem; }
.plan-price { font-family: var(--display); color: var(--fg-2); }
.plan-price .cur { font-size: 1.6rem; letter-spacing: -.02em; color: var(--fg); vertical-align: .9em; margin-right: 2px; }
.plan-billed { min-height: 1.4em; margin: -6px 0 0; font-size: 13px; color: var(--fg-3); }
.price-single { margin-top: 18px; max-width: 78ch; font-size: 15px; line-height: 1.6; color: var(--fg-2); }
.price-single b { color: var(--fg); }
.plan-price b { font-size: 3rem; letter-spacing: -.045em; color: var(--fg); }
.plan-price small { font-family: var(--body); font-size: 14px; color: var(--fg-3); }
.plan-for { color: var(--fg-3); font-size: 14.5px; }
.plan ul { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 9px; flex: 1; align-content: start; }
.plan li { padding-left: 24px; position: relative; color: var(--fg-2); font-size: 15px; line-height: 1.45; }
.plan li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 10px; height: 6px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg) translateY(-2px); }
.plan .btn { width: 100%; }
/* "Coming soon" in a plan card is a status, not a control: no faded button, full-contrast text, nothing to press. */
.plan [data-pay="off"].btn, .plan [data-pay="off"].btn:hover, .plan [data-pay="off"].btn:active { opacity: 1; background: var(--sunken); color: var(--fg-2); border-color: transparent; box-shadow: none; cursor: default; transform: none; }
.plan-small { font-size: 12.5px; color: var(--fg-3); text-align: center; }
.price-note { margin-top: 20px; font-size: 14px; color: var(--fg-3); max-width: 70ch; }

/* ======================================================= FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-side { position: sticky; top: calc(var(--nav-h) + 32px); }
.faq-side .h2 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); }
.faq-side .sec-sub { margin-top: 16px; }
.faq-list details { border-bottom: 1px solid var(--line-2); }
.faq-list details:first-child { border-top: 1px solid var(--line-3); }
.faq-list summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 6px; top: 50%; margin-top: -14px; width: 28px; height: 28px; display: grid; place-items: center; font: 400 22px/1 var(--mono); color: var(--brand-fg); transition: transform .3s var(--ease-out); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 44px 22px 0; color: var(--fg-2); line-height: 1.6; animation: rise .4s var(--ease-out); }

/* ======================================================= CLOSING */
.closing { position: relative; overflow: hidden; isolation: isolate; padding: clamp(80px, 10vw, 140px) 0 clamp(84px, 10vw, 140px); text-align: center; }
.closing-stage { position: relative; width: clamp(200px, 26vw, 300px); aspect-ratio: 1; margin: 0 auto clamp(18px, 2.5vw, 30px); }
.cs-light { position: absolute; inset: -45%; background: radial-gradient(closest-side, rgba(176, 166, 255, .4), rgba(104, 96, 245, .22) 45%, transparent 75%); animation: breathe 9s ease-in-out infinite alternate; z-index: -1; }
.closing-stage picture { display: block; width: 100%; height: 100%; }
.cs-swirl { width: 100%; height: 100%; animation: spin 80s linear infinite; }
.closing-in { display: grid; justify-items: center; gap: 18px; }
.closing-h { font-size: clamp(2.5rem, 6vw, 5rem); line-height: .98; letter-spacing: -.048em; max-width: 14ch; text-wrap: balance; }
.closing-p { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--night-fg-2); max-width: 46ch; }
.closing .cta-row { justify-content: center; margin-top: 8px; }

/* ======================================================= RESPONSIVE */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "src cite" "src fact" "voice audit" "review lang" "priv priv"; }
}
@media (max-width: 980px) {
  .hum-grid, .faq-grid, .integ-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-side { position: static; }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .plan-grid { grid-template-columns: minmax(0, 1fr); }
  .plan-col + .plan-col { border-left: 0; border-top: 1px solid var(--line-2); }
}
@media (max-width: 880px) {
  .hero { min-height: 0; padding-top: 8px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero-stage { width: min(100%, 480px); margin: 6px auto 0; }
  .hero-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-feats li:nth-child(3) { border-left: 0; }
  .hero-feats li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .07); }
  .hero-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-strip li:nth-child(3) { border-left: 0; }
  .hero-strip li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .07); }
  .hero-copy { padding-bottom: 24px; }
  .hero-title { max-width: 13ch; }
  .rail-lang { margin-left: 0; }
  .how-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .how-track.is-live { height: min(520svh, 5200px); }
  .how-track.is-live .how-sticky { height: min(calc(100svh - var(--nav-h)), 900px); align-items: flex-start; padding-top: 14px; }
  .how-track.is-live .how-grid { display: flex; flex-direction: column-reverse; justify-content: flex-end; height: 100%; }
  .how-track.is-live .win-body { height: min(400px, 52svh); }
  .how-track.is-live .how-step { display: none; border: 0; padding: 0; }
  .how-track.is-live .how-step.is-active { display: block; }
  .how-track.is-live .how-p { margin-left: 0; font-size: 15px; }
  .how-track.is-live .how-bar { margin-top: 12px; }
  .scene { padding: 16px; }
  .s0-text { font-size: 14.5px; padding: 12px; margin-bottom: 12px; }
  .s0-chip { font-size: 13px; padding: 6px 9px; }
  .s1-row { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) 3.4ch; font-size: 13.5px; gap: 10px; padding: 6px 0; }
  .s1-mss { grid-template-columns: repeat(2, 1fr); }
  .s1-ms:nth-child(n+3) { display: none; }
  .s2-card { padding: 11px 12px; }
  .s2-add { display: none; }
  .s2-t { font-size: 13.5px; }
  .s2-m { font-size: 12px; }
  .s2-list .s2-card:nth-child(3) .s2-m { display: none; }
  .s2-q { display: none; }
  .s3-before, .s3-after { font-size: 14px; padding: 10px 12px; line-height: 1.5; }
  .s4-row { font-size: 14px; padding: 8px 0; }
  .win-tab { font-size: 12px; padding: 10px 2px 11px; }
  .win-top { padding: 10px 14px; }
  .win-sample { display: none; }
}
@media (max-width: 640px) {
  .ghost-cols { grid-template-columns: minmax(0, 1fr); row-gap: 18px; }
  .g-row { grid-template-columns: minmax(0, 1fr); padding: 6px 0; }
  .g-row p { padding: 8px 0 6px 28px; }
  .g-row p::before { top: 9px; }
  .g-us { background: transparent; padding-left: 28px !important; padding-bottom: 12px !important; }
  .g-us::before { left: 0 !important; }
  .ghost-col-head.us { display: none; }
  .demo-body { grid-template-columns: minmax(0, 1fr); }
  .demo .textarea, .demo-out { min-height: 160px; }
  .bento { grid-template-columns: minmax(0, 1fr); grid-template-areas: "src" "cite" "fact" "voice" "audit" "review" "lang" "priv"; }
  .src-form { flex-direction: column; }
  .plan-top { align-items: flex-start; }
  .plan-total { justify-items: start; text-align: left; }
  .sec-head-row { display: block; }
  .sec-head-row .sec-sub { margin-top: 14px; }
  .brief-note { order: 3; flex-basis: 100%; }
  .brief-in { height: 118px; font-size: 14.5px; }
  .demo-head { flex-wrap: wrap; }
  .brief-go { flex: 1; }
  .faq-list summary { font-size: 1.05rem; }
}

/* Hover depth on cards people compare (fine pointers only). */
.plan { transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .2s ease; }
@media (hover: hover) and (pointer: fine) {
  .plan.is-in:hover, html:not(.reveal-on) .plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); transition-delay: 0s; }
  .plan.featured.is-in:hover { box-shadow: 0 0 0 1px var(--brand), var(--shadow-pop); }
  .src-list > li:not(.sk) { transition: transform .3s var(--ease-out); }
  .src-list > li:not(.sk):hover { transform: translateX(4px); }
}

/* 390 px: the citation switch fits on one row; plan-scene headings wrap instead of being cut. */
@media (max-width: 560px) {
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-strip { grid-template-columns: minmax(0, 1fr); }
  .hero-strip li + li { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .07); }
  .hchip-3 { right: -2%; }
  .hchip-1 { right: 0; }
  .hero-stage { margin-top: 18px; }
  .hc-a { left: 1%; top: 15%; width: 50%; }
  .hc-b { left: 29%; top: 29%; width: 68%; }
  .hc-a .hc-text { max-height: 14.5em; overflow: hidden; }
  .hc-arrow { left: 46%; top: 19%; }
  .hc-pen { right: -9%; top: 61%; width: 40%; }
}
@media (max-width: 480px) {
  .cite-switch { width: 100%; flex-wrap: nowrap; }
  .cite-switch button { flex: 1 1 0; padding: 8px 4px; }
  .s1-h { white-space: normal; }
}

/* ======================================================= THE 30-SECOND FILM */
/* The link under the "How it works" heading (on ink in both themes). */
.how-film { position: relative; margin: 18px 0 0; }
.how-film-link { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; color: var(--night-fg); font-weight: 500; font-size: 15.5px; text-decoration: none; }
.how-film-link:hover { color: var(--night-fg); }
.how-film-ic { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .24); color: var(--night-brand); transition: transform .25s var(--ease-out), background-color .2s ease, border-color .2s ease, color .2s ease; }
.how-film-ic svg { width: 13px; height: 13px; margin-left: 2px; }
.how-film-t { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-decoration-thickness: 1px; text-underline-offset: 5px; transition: text-decoration-color .2s ease; }
@media (hover: hover) and (pointer: fine) {
  .how-film-link:hover .how-film-ic { background: #5b52f0; border-color: #5b52f0; color: #fff; transform: scale(1.06); }
  .how-film-link:hover .how-film-t { text-decoration-color: currentColor; }
}

/* The dialog fills the viewport, so a press on the dialog itself (around the panel) is a backdrop press. */
html.vm-lock { overflow: hidden; scrollbar-gutter: stable; }
.vm { margin: 0; padding: 0; border: 0; width: 100%; height: 100%; max-width: none; max-height: none; background: transparent; color: var(--night-fg); overflow: auto; overscroll-behavior: contain; }
.vm[open] { display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); }
.vm::backdrop { background: rgba(3, 5, 10, .9); }
.vm :focus-visible { outline: 2px solid var(--night-brand); outline-offset: 2px; }
.vm-box { width: min(1120px, 100%, calc((100vh - 168px) * 16 / 9)); width: min(1120px, 100%, calc((100svh - 168px) * 16 / 9)); min-width: min(100%, 300px); padding: 8px 10px 12px; background: #0b0f17; border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .85); }
.vm-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 0 8px 8px; }
.vm-title { font: 700 16.5px/1.25 var(--display); letter-spacing: -.012em; color: var(--night-fg); }
.vm-x { display: grid; place-items: center; flex: none; width: 44px; height: 44px; margin-right: -4px; border: 0; border-radius: 10px; background: transparent; color: var(--night-fg-2); cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.vm-x:hover { background: rgba(255, 255, 255, .08); color: var(--night-fg); }
.vm-x svg { width: 20px; height: 20px; }
.vm-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--ink); }
.vm-video { display: block; width: 100%; height: 100%; object-fit: contain; background: var(--ink); }
.vm-video:focus-visible { outline-offset: -2px; }
.vm-play { position: absolute; inset: 0; margin: auto; display: grid; place-items: center; width: 84px; height: 84px; padding: 0; border: 0; border-radius: 50%; background: #5b52f0; color: #fff; cursor: pointer; box-shadow: 0 0 0 9px rgba(91, 82, 240, .2), 0 16px 34px -10px rgba(0, 0, 0, .7); transition: transform .2s var(--ease-out), background-color .2s ease; }
.vm-play[hidden] { display: none; }
.vm-play svg { width: 30px; height: 30px; margin-left: 4px; }
.vm-play:hover { background: #4f46e5; transform: scale(1.05); }
.vm-play:active { transform: scale(.96); }
.vm .vm-play:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
.vm-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0 0; }
.vm-sound { display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 8px 14px 8px 12px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 8px; background: transparent; color: var(--night-fg); font-size: 14.5px; font-weight: 500; line-height: 1; cursor: pointer; transition: background-color .15s ease, border-color .15s ease; }
.vm-sound:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .3); }
.vm-sound svg { width: 18px; height: 18px; flex: none; }
.vm-sound[data-muted="true"] .vm-ic-on, .vm-sound[data-muted="false"] .vm-ic-off { display: none; }
.vm-cta.btn { min-height: 42px; padding: 8px 18px; }
@keyframes vm-in { from { opacity: 0; transform: translateY(12px) scale(.97); } }
@keyframes vm-fade { from { opacity: 0; } }
.vm[open] .vm-box { animation: vm-in .36s var(--ease-out); }
.vm[open]::backdrop { animation: vm-fade .25s ease; }
@media (prefers-reduced-motion: reduce) {
  .vm[open] .vm-box { animation-name: vm-fade; }
  .vm-play:hover, .how-film-link:hover .how-film-ic { transform: none; }
}
@media (max-width: 560px) {
  .vm[open] { padding: 12px; }
  .vm-box { padding: 4px 6px 8px; border-radius: 14px; }
  .vm-head { padding-left: 6px; padding-bottom: 4px; }
  .vm-title { font-size: 15px; }
  .vm-frame { border-radius: 8px; }
  /* The posters put their headline at the centre-left on a phone, so the play button moves to the empty corner below it. */
  .vm-play { inset: auto auto 12px 12px; margin: 0; width: 52px; height: 52px; box-shadow: 0 0 0 6px rgba(91, 82, 240, .22), 0 10px 22px -8px rgba(0, 0, 0, .7); }
  .vm-play svg { width: 20px; height: 20px; margin-left: 3px; }
  .vm-foot { padding-top: 8px; }
  .vm-sound, .vm-cta.btn { min-height: 44px; }
}

/* ======================================================= FILMS */
.film-main { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); color: #fff; text-decoration: none; isolation: isolate; border: 1px solid var(--line-2); }
.film-main:hover { color: #fff; }
.film-main-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.film-main::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 52%, rgba(6, 9, 15, .82)); pointer-events: none; }
.film-main-play { position: absolute; z-index: 2; inset: 0; margin: auto; display: grid; place-items: center; width: clamp(56px, 8vw, 84px); aspect-ratio: 1; border-radius: 50%; background: #5b52f0; color: #fff; box-shadow: 0 0 0 9px rgba(91, 82, 240, .22), 0 16px 34px -10px rgba(0, 0, 0, .7); transition: transform .2s var(--ease-out), background-color .2s ease; }
.film-main-play svg { width: 36%; height: 36%; margin-left: 4%; }
.film-main-cap { position: absolute; z-index: 2; left: clamp(14px, 2.4vw, 28px); right: clamp(14px, 2.4vw, 28px); bottom: clamp(12px, 2vw, 24px); display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.film-main-t { font: 700 clamp(1rem, 2vw, 1.5rem)/1.2 var(--display); letter-spacing: -.02em; }
.film-main-m { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; opacity: .82; }
.film-main:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) {
  .film-main:hover .film-main-img { transform: scale(1.025); }
  .film-main:hover .film-main-play { background: #4f46e5; transform: scale(1.06); }
}

/* the 45-second Studio walkthrough, at the top of the Studio section (opens the same dialog) */
.film-card { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; gap: clamp(18px, 3vw, 44px); margin: 0 0 clamp(28px, 4vw, 48px); padding: 12px clamp(20px, 3.4vw, 48px) 12px 12px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-lg); box-shadow: var(--shadow-pop); color: var(--fg); text-decoration: none; transition: border-color .2s ease; }
.film-card:hover { color: var(--fg); border-color: color-mix(in srgb, var(--brand) 45%, var(--line-2)); }
.film-card:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
.film-card-media { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: calc(var(--radius-lg) - 4px); overflow: hidden; background: var(--ink); isolation: isolate; }
.film-card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.film-card-media .film-main-play { width: clamp(52px, 6vw, 72px); }
.film-card-body { display: grid; gap: 12px; align-content: center; min-width: 0; }
.film-card-k { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-fg); }
.film-card-t { font: 700 clamp(1.35rem, 2.3vw, 1.85rem)/1.15 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.film-card-p { font-size: clamp(.98rem, 1.15vw, 1.06rem); line-height: 1.55; color: var(--fg-2); }
.film-card-cta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: 4px; }
.film-card-go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--brand-fg); }
.film-card-go svg { width: 16px; height: 16px; transition: transform .2s var(--ease-out); }
.film-card-m { font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); }
@media (hover: hover) and (pointer: fine) {
  .film-card:hover .film-card-img { transform: scale(1.025); }
  .film-card:hover .film-main-play { background: #4f46e5; transform: scale(1.06); }
  .film-card:hover .film-card-go svg { transform: translateX(3px); }
}
@media (max-width: 820px) {
  .film-card { grid-template-columns: minmax(0, 1fr); padding: 10px; }
  .film-card-body { padding: 4px 8px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .film-card-img, .film-card-go svg { transition: none; }
  .film-card:hover .film-card-img, .film-card:hover .film-main-play, .film-card:hover .film-card-go svg { transform: none; }
}

.film-shorts { list-style: none; margin: clamp(20px, 3vw, 36px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 230px)); gap: clamp(14px, 2vw, 24px); }
.film-short { display: grid; gap: 4px; align-content: start; min-width: 0; }
.film-short-stage { position: relative; aspect-ratio: 9 / 16; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); border: 1px solid var(--line-2); }
.film-short-btn { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; }
.film-short-btn img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.film-short-play { position: absolute; inset: 0; margin: auto; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #5b52f0; color: #fff; box-shadow: 0 0 0 6px rgba(91, 82, 240, .22), 0 10px 22px -8px rgba(0, 0, 0, .7); transition: transform .2s var(--ease-out), background-color .2s ease; }
.film-short-play svg { width: 20px; height: 20px; margin-left: 2px; }
.film-short-btn:focus-visible { outline: 3px solid var(--brand); outline-offset: -3px; }
.film-short-video { display: block; width: 100%; height: 100%; object-fit: contain; background: var(--ink); }
.film-short-t { margin: 8px 0 0; font: 600 15px/1.3 var(--display); letter-spacing: -.01em; color: var(--fg); text-wrap: balance; }
.film-short-m { margin: 0; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); }
@media (hover: hover) and (pointer: fine) {
  .film-short-btn:hover img { transform: scale(1.04); }
  .film-short-btn:hover .film-short-play { background: #4f46e5; transform: scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .film-main-img, .film-short-btn img, .film-main-play, .film-short-play { transition: none; }
  .film-main:hover .film-main-img, .film-short-btn:hover img, .film-main:hover .film-main-play, .film-short-btn:hover .film-short-play { transform: none; }
}
@media (max-width: 560px) {
  .film-shorts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
