/* Clone Viral Videos: "The Step Sequencer" (brand/tokens.css + brand/homepage-mock.html, 28 Oct 2026).
   Marketing world. Load order: /brand/tokens.css, then this file. Fonts are self-hosted (CSP font-src 'self'); OFL licences in /fonts. */
@font-face { font-family: "Big Shoulders"; src: url(/fonts/big-shoulders-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url(/fonts/schibsted-grotesk-latin-wght-normal.woff2) format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url(/fonts/schibsted-grotesk-latin-wght-italic.woff2) format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Doto"; src: url(/fonts/doto-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@media (prefers-reduced-motion: reduce) { :root { --dur-press: 0ms; --dur-ui: 0ms; --dur-reveal: 0ms; } }


/* ===================== Base ===================== */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--line-strong) var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--fs-body)/var(--lh-body) var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; caret-color: var(--primary); }
::selection { background: var(--primary); color: var(--on-primary); }
img, svg { max-width: 100%; }
a { color: var(--link); text-decoration-thickness: 1.5px; text-underline-offset: 0.22em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2 { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; letter-spacing: var(--track-display); margin: 0; text-wrap: balance; }
h1 { font-size: var(--fs-display); line-height: var(--lh-display); }
h2 { font-size: var(--fs-h2); line-height: var(--lh-heading); font-weight: 850; }
h3 { font: 700 var(--fs-h3)/1.2 var(--font-body); margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.lede { font-size: var(--fs-lede); line-height: 1.5; color: var(--ink-2); max-width: 46ch; }
.silk { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-label); letter-spacing: var(--track-label); text-transform: uppercase; line-height: 1.1; }
.readout { font-family: var(--font-readout); font-weight: 800; color: var(--led); font-variant-numeric: tabular-nums; line-height: 1; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sec-head { display: grid; gap: var(--space-4); margin-bottom: var(--space-8); }
.sec-head::before { content: ""; height: 10px; margin-bottom: var(--space-3); border-top: 2px solid currentColor; background: repeating-linear-gradient(to right, currentColor 0 1px, transparent 1px 25%) top left / 100% 10px no-repeat, repeating-linear-gradient(to right, currentColor 0 1px, transparent 1px 6.25%) top left / 100% 5px no-repeat; opacity: .55; }
.placeholder-note { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-small); color: var(--ink-3); }
.placeholder-note::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--line-strong); }

/* ===================== Buttons: keys, not pills ===================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border: 0; border-radius: var(--r-button); font-family: var(--font-display); font-weight: 800; font-size: 1.0625rem; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform var(--dur-press) var(--ease-key), box-shadow var(--dur-press) var(--ease-key), background-color var(--dur-ui) var(--ease-out), color var(--dur-ui) var(--ease-out); }
.btn-primary { background: var(--primary); color: var(--on-primary); box-shadow: var(--shadow-key); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-secondary { background: var(--surface-raised); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong), 0 1px 2px rgba(20,21,23,.08); }
.btn-secondary:hover { box-shadow: inset 0 0 0 1.5px var(--ink), 0 1px 2px rgba(20,21,23,.08); }
.btn:active { transform: translateY(1px); box-shadow: var(--shadow-key-pressed); }
.btn-secondary:active { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; transform: none; }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 0.9375rem; }
.btn .led { width: 8px; height: 8px; border-radius: 50%; background: var(--led); box-shadow: 0 0 0 2px rgba(255,255,255,.22); flex: none; }
.btn-block { width: 100%; }

/* ===================== Header ===================== */
.top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 76px; }
.brand { display: block; color: var(--ink); line-height: 0; border-radius: 6px; }
.logo { display: block; height: 34px; width: auto; }
.logo .tile { stroke: var(--machine-line); stroke-width: 1.5; }
.nav { display: flex; align-items: center; gap: var(--space-5); }
.nav a { color: var(--ink-2); font-weight: 500; font-size: 0.9375rem; text-decoration: none; padding: 6px 0; }
.nav a:hover { color: var(--ink); text-decoration: underline; }
.top-actions { display: flex; align-items: center; gap: var(--space-2); }
.theme-toggle { width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: var(--r-button); background: transparent; color: var(--ink-2); cursor: pointer; }
.theme-toggle:hover { background: var(--surface); color: var(--ink); }
.theme-toggle svg { width: 20px; height: 20px; }
.only-mobile { display: none; }
.show-sm { display: none; }

/* ===================== Hero ===================== */
.hero { padding-block: var(--space-6) var(--section-y); }
.hero-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-7); align-items: end; }
.hero h1 .l2 { display: block; color: var(--primary); }
.hero-copy .lede { margin-bottom: var(--space-5); }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.fine { margin-top: var(--space-4); font-size: var(--fs-small); color: var(--ink-3); max-width: 46ch; }

/* ===================== The machine (step sequencer) ===================== */
.machine { position: relative; margin-top: var(--space-7); background: var(--machine); color: var(--machine-ink); border-radius: var(--r-machine); padding: var(--space-6) var(--space-6) var(--space-5); box-shadow: var(--shadow-machine); }
.machine, .band-dark { --focus: var(--machine-focus); }
.m-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--space-5); align-items: stretch; margin-bottom: var(--space-5); padding-bottom: var(--space-5); border-bottom: 2px solid var(--machine-line); }
.m-patch { display: grid; align-content: center; gap: 4px; }
.m-patch .silk { color: var(--machine-ink-3); }
.m-patch strong { font: 800 1.375rem/1 var(--font-display); text-transform: uppercase; letter-spacing: 0.02em; }
.m-patch small { font-size: 0.8125rem; color: var(--machine-ink-2); }
.lcd { background: var(--machine-2); border-radius: 10px; padding: 10px 16px; border: 1px solid var(--machine-line); display: grid; gap: 6px; align-content: center; min-width: 0; }
.lcd-row { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; align-items: baseline; }
.lcd-row .silk { color: var(--machine-ink-3); }
.lcd-row.you .silk { color: var(--led); }
.swap { display: grid; min-width: 0; }
.swap > span { grid-area: 1 / 1; font-weight: 500; font-size: 0.9375rem; line-height: 1.3; color: var(--machine-ink-2); opacity: 0; }
.lcd-row.you .swap > span { color: var(--machine-ink); font-weight: 600; }
.m-readouts { display: flex; gap: var(--space-5); align-items: center; }
.ro { display: grid; gap: 6px; }
.ro .silk { color: var(--machine-ink-3); }
.ro .readout { font-size: 1.625rem; }
.run-key { display: grid; justify-items: center; align-content: center; gap: 6px; width: 58px; height: 54px; border: 0; border-radius: var(--r-key); background: #2A2B2F; color: var(--machine-ink); font: 800 0.6875rem/1 var(--font-display); letter-spacing: var(--track-label); text-transform: uppercase; cursor: pointer; box-shadow: var(--shadow-key); transition: transform var(--dur-press) var(--ease-key), box-shadow var(--dur-press) var(--ease-key); }
.run-key i { width: 8px; height: 8px; border-radius: 50%; background: var(--led); box-shadow: 0 0 0 2px rgba(255,90,60,.22); }
.run-key:hover { background: #323338; }
.run-key:active { transform: translateY(1px); box-shadow: var(--shadow-key-pressed); }
.run-key[aria-pressed="true"] i { background: var(--led-off); box-shadow: none; }
.machine.is-paused .playhead, .machine.is-paused .leds i::after, .machine.is-paused .swap > span, .machine.is-paused .track .key::after { animation-play-state: paused; }

.seq { display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: var(--space-4); }
.seq-labels { display: grid; grid-template-rows: 10px 44px 64px 18px; row-gap: 10px; align-items: center; color: var(--machine-ink-3); }
.seq-labels .short { display: none; }
.tracks { position: relative; overflow-x: clip; display: grid; grid-template-rows: 10px 44px 64px 18px; row-gap: 10px; min-width: 0; }
.steps-grid { display: grid; grid-template-columns: 1.77fr 2.63fr 0.8fr 1.7fr 1.1fr; column-gap: 6px; min-width: 0; }
.leds i { display: block; position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--led-off); margin-left: 8px; }
.leds i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--led); box-shadow: var(--led-glow); opacity: 0; }
.key { position: relative; overflow: hidden; min-width: 0; border-radius: var(--r-key); padding: 7px 10px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: var(--shadow-key); }
.key::after { content: ""; position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.ref .key { background: var(--key-ref); color: var(--key-ref-ink); box-shadow: inset 0 0 0 1px var(--key-ref-edge); flex-direction: row; align-items: center; justify-content: flex-start; gap: 8px; }
.clone .key { color: var(--on-role); }
.key[data-role="talk"] { background: var(--role-talk); }
.key[data-role="product"] { background: var(--role-product); }
.key[data-role="cutaway"] { background: var(--role-cutaway); }
.key[data-role="card"] { background: var(--role-card); }
.k-n { font-family: var(--font-readout); font-weight: 800; font-size: 1.0625rem; line-height: 1; }
.k-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; white-space: nowrap; }
.k-dur { font-size: 0.8125rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.ref .k-role { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ruler { background: repeating-linear-gradient(to right, var(--machine-line) 0 1px, transparent 1px calc(100% / 16)) top left / 100% 5px no-repeat; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--machine-line); padding-top: 4px; color: var(--machine-ink-3); font-size: 0.75rem; font-variant-numeric: tabular-nums; }
.playhead { position: absolute; top: -4px; bottom: 28px; left: 0; right: 0; pointer-events: none; }
.playhead::before { content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; border-radius: 1px; background: var(--led); }
.legend { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); align-items: center; margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px solid var(--machine-line); font-size: 0.8125rem; color: var(--machine-ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 14px; height: 14px; border-radius: 3px; }
.legend .note { margin-left: auto; color: var(--machine-ink-3); }

/* The one authored motion: the chase light. One pass = 8.0 s = the demo reel. Cuts at 1.77, 4.40, 5.20, 6.90 s. */
@keyframes sweep { from { transform: translateX(0); } to { transform: translateX(100%); } }
@keyframes on1 { 0%, 22.1% { opacity: 1; } 22.15%, 100% { opacity: 0; } }
@keyframes on2 { 0%, 22.1% { opacity: 0; } 22.15%, 54.97% { opacity: 1; } 55%, 100% { opacity: 0; } }
@keyframes on3 { 0%, 54.97% { opacity: 0; } 55%, 64.97% { opacity: 1; } 65%, 100% { opacity: 0; } }
@keyframes on4 { 0%, 64.97% { opacity: 0; } 65%, 86.22% { opacity: 1; } 86.25%, 100% { opacity: 0; } }
@keyframes on5 { 0%, 86.22% { opacity: 0; } 86.25%, 100% { opacity: 1; } }
.playhead { animation: sweep var(--loop) linear infinite; }
.leds i:nth-child(1)::after, .swap > span:nth-child(1) { animation: on1 var(--loop) linear infinite; }
.leds i:nth-child(2)::after, .swap > span:nth-child(2) { animation: on2 var(--loop) linear infinite; }
.leds i:nth-child(3)::after, .swap > span:nth-child(3) { animation: on3 var(--loop) linear infinite; }
.leds i:nth-child(4)::after, .swap > span:nth-child(4) { animation: on4 var(--loop) linear infinite; }
.leds i:nth-child(5)::after, .swap > span:nth-child(5) { animation: on5 var(--loop) linear infinite; }
.track .key:nth-child(1)::after { animation: on1 var(--loop) linear infinite; }
.track .key:nth-child(2)::after { animation: on2 var(--loop) linear infinite; }
.track .key:nth-child(3)::after { animation: on3 var(--loop) linear infinite; }
.track .key:nth-child(4)::after { animation: on4 var(--loop) linear infinite; }
.track .key:nth-child(5)::after { animation: on5 var(--loop) linear infinite; }
.key > * { position: relative; z-index: 1; }
.ref .key::after { background: rgba(255,255,255,.10); }
.clone .key::after { background: rgba(255,255,255,.28); }
/* paused / reduced motion: shot 1 lit, everything readable */
@media (prefers-reduced-motion: reduce) {
  .playhead, .leds i::after, .swap > span, .track .key::after { animation: none !important; }
  .swap > span:first-child, .leds i:first-child::after, .track .key:first-child::after { opacity: 1; }
  .playhead, .run-key { display: none; }
  html { scroll-behavior: auto; }
}

/* ===================== How it works ===================== */
.steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: var(--space-6); display: grid; align-content: start; gap: var(--space-5); min-width: 0; }
.step.wide { grid-column: 1 / -1; }
.step-head { display: flex; align-items: center; gap: var(--space-4); }
.step-key { position: relative; flex: none; width: 44px; height: 44px; border-radius: var(--r-key); background: var(--machine); color: var(--led); display: grid; place-items: center; font: 800 1.375rem/1 var(--font-readout); box-shadow: var(--shadow-key); }
.step-head p { color: var(--ink-2); margin-top: 4px; font-size: 0.9375rem; }

/* brand kit sheet */
.kit { margin: 0; display: grid; }
.kit > div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: var(--space-4); padding-block: 12px; border-top: 1px solid var(--line); align-items: center; }
.kit > div:last-child { border-bottom: 1px solid var(--line); }
.kit dt { color: var(--ink-3); }
.kit dd { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; min-width: 0; }
.kit .logo-chip { width: 40px; height: 40px; border-radius: 50%; background: #F3EBDD; color: #2B1E16; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(43,30,22,.25); }
.swatch { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8125rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.swatch i { width: 22px; height: 22px; border-radius: 5px; box-shadow: inset 0 0 0 1px rgba(20,21,23,.18); }
.chip { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 6px; background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line); font-size: 0.8125rem; font-weight: 500; color: var(--ink); }

/* upload dropzone: a sample slot */
.drop { position: relative; display: grid; justify-items: center; gap: 10px; text-align: center; padding: var(--space-6) var(--space-5); border-radius: var(--r-panel); background: var(--surface-raised); border: 1.5px dashed var(--line-strong); cursor: pointer; transition: border-color var(--dur-ui) var(--ease-out), background-color var(--dur-ui) var(--ease-out); }
.drop:hover, .drop.is-over { border-style: solid; border-color: var(--primary); background: color-mix(in srgb, var(--primary) 6%, var(--surface-raised)); }
.drop:focus-within { outline: 2px solid var(--focus); outline-offset: 3px; }
.drop input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop-icon { width: 44px; height: 64px; color: var(--ink); }
.drop strong { font: 700 1.125rem/1.25 var(--font-body); }
.drop small { color: var(--ink-3); font-size: var(--fs-small); }
.drop .btn { pointer-events: none; margin-top: 4px; }
.check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 0.9375rem; cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; margin: 1px 0 0; width: 22px; height: 22px; border-radius: 5px; background: var(--surface-raised); box-shadow: inset 0 0 0 1.5px var(--line-strong); display: grid; place-items: center; cursor: pointer; }
.check input::after { content: ""; width: 11px; height: 6px; border-left: 2.5px solid var(--on-primary); border-bottom: 2.5px solid var(--on-primary); transform: translateY(-1px) rotate(-45deg); opacity: 0; }
.check input:checked { background: var(--primary); box-shadow: none; }
.check input:checked::after { opacity: 1; }
.check input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.trust { font-size: var(--fs-small); color: var(--ink-3); }

/* storyboard: reference vs clone */
.board { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-4); align-items: start; }
.shot { display: grid; grid-template-rows: 46px auto auto auto; justify-items: stretch; row-gap: var(--space-3); min-width: 0; }
.shot-key { border-radius: var(--r-key); padding: 6px 9px; display: flex; flex-direction: column; justify-content: center; color: var(--on-role); }
.shot-key .silk { font-size: 0.6875rem; }
.shot-key .tc { font-size: 0.75rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.frame { position: relative; margin: 0; aspect-ratio: 9 / 16; width: 100%; border-radius: 8px; overflow: hidden; }
.frame svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.frame.ref { background: var(--frame-ref); color: var(--machine-ink-3); }
.frame.clone { background: var(--frame-clone); color: var(--role-card); }
.frame::before { content: attr(data-label); position: absolute; bottom: 6px; left: 6px; font: 800 0.625rem/1 var(--font-display); letter-spacing: 0.1em; text-transform: uppercase; color: #ECECE8; background: rgba(14,15,16,.78); padding: 3px 5px; border-radius: 3px; z-index: 1; }
.cap { position: absolute; left: 50%; top: 71%; transform: translateX(-50%); width: max-content; max-width: 86%; padding: 2px 5px; border-radius: 3px; background: rgba(14,15,16,.62); text-align: center; font: 700 clamp(0.625rem, 0.5rem + 0.3vw, 0.75rem)/1.2 var(--font-body); color: #fff; text-shadow: 0 0 2px #000, 0 1px 2px #000; }
.ai-tag { position: absolute; top: 6px; left: 6px; font: 800 0.625rem/1 var(--font-display); letter-spacing: 0.1em; text-transform: uppercase; background: rgba(14,15,16,.78); color: #ECECE8; padding: 3px 5px; border-radius: 3px; }
.kept { font-size: 0.8125rem; line-height: 1.4; color: var(--ink-2); }
.kept b { display: block; color: var(--ink-3); font: 800 0.6875rem/1.2 var(--font-display); letter-spacing: var(--track-label); text-transform: uppercase; margin-bottom: 2px; }
.board-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); color: var(--ink-3); font-size: var(--fs-small); }

/* ===================== Word-anchored timeline (dark band) ===================== */
.band-dark { background: var(--machine); color: var(--machine-ink); }
.band-dark .lede { color: var(--machine-ink-2); }
.band-dark h2 .accent { color: var(--led); }
.tl { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: var(--space-4); }
.tl-labels { display: grid; grid-template-rows: 26px 24px 56px 82px 48px; row-gap: 10px; color: var(--machine-ink-3); align-items: center; }
.tl-body { position: relative; display: grid; grid-template-rows: 24px 56px 82px 48px; row-gap: 10px; padding-top: 36px; min-width: 0; }
.tl-track { position: relative; min-width: 0; }
.tl-ruler { border-bottom: 1px solid var(--machine-line); }
.tick { position: absolute; left: calc(var(--t) / 8 * 100%); bottom: 4px; font-size: 0.75rem; color: var(--machine-ink-3); font-variant-numeric: tabular-nums; padding-left: 4px; border-left: 1px solid var(--machine-line); line-height: 1; }
.tick.end { transform: translateX(-100%); padding-left: 0; padding-right: 4px; border-left: 0; border-right: 1px solid var(--machine-line); }
.bar { position: absolute; top: 0; bottom: 0; left: calc(var(--t) / 8 * 100%); width: calc(var(--d) / 8 * 100% - 3px); border-radius: var(--r-key); padding: 6px 8px; color: var(--on-role); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; }
.bar .k-n { font-size: 0.9375rem; }
.bar .silk { font-size: 0.6875rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w { position: absolute; left: calc(var(--t) / 8 * 100%); top: 0; padding: 4px 0 4px 6px; border-left: 1px solid var(--machine-ink-3); font-size: 0.8125rem; font-weight: 500; line-height: 1; white-space: nowrap; color: var(--machine-ink); }
.w.m1 { top: 27px; }
.w.m2 { top: 54px; }
.w.anchor { background: var(--led); color: #141517; font-weight: 700; border-left: 0; padding: 4px 6px; border-radius: 0 3px 3px 0; }
.capchunk { position: absolute; top: 0; bottom: 0; left: calc(var(--t) / 8 * 100%); width: calc(var(--d) / 8 * 100% - 3px); background: var(--machine-2); box-shadow: inset 0 0 0 1px var(--machine-line); border-radius: 4px; padding: 6px 8px; font-size: 0.75rem; font-weight: 600; line-height: 1.25; color: var(--machine-ink); overflow: hidden; }
.cut { position: absolute; top: 0; bottom: 0; left: calc(var(--t) / 8 * 100%); width: 2px; margin-left: -1px; background: var(--led); pointer-events: none; }
.cut::after { content: attr(data-tc); position: absolute; top: 4px; left: 7px; font: 800 0.9375rem/1 var(--font-readout); color: var(--led); white-space: nowrap; }
.tl-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); margin: var(--space-8) 0 0; padding: 0; list-style: none; }
.tl-notes li { border-top: 1px solid var(--machine-line); padding-top: var(--space-4); color: var(--machine-ink-2); font-size: 0.9375rem; }
.tl-notes .silk { display: block; color: var(--machine-ink); margin-bottom: 6px; font-size: 0.8125rem; }
.tl-source { margin-top: var(--space-5); font-size: var(--fs-small); color: var(--machine-ink-3); }

/* ===================== Pattern vs kit ===================== */
.pk { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-7); }
.pk h3 { display: flex; align-items: center; gap: 12px; margin-bottom: var(--space-4); }
.pk h3 .pip { width: 14px; height: 14px; border-radius: 3px; flex: none; }
.ruled { list-style: none; margin: 0; padding: 0; }
.ruled li { padding-block: 14px; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-4); align-items: baseline; }
.ruled li:last-child { border-bottom: 1px solid var(--line); }
.ruled li span { color: var(--ink-3); font-size: var(--fs-small); text-align: right; }
.never { margin-top: var(--space-7); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-5); align-items: center; padding: var(--space-5) var(--space-6); border-radius: var(--r-panel); background: var(--surface); border: 1px solid var(--line); }
.never ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.never li { font-weight: 600; text-decoration: line-through; text-decoration-color: var(--role-talk); text-decoration-thickness: 2px; }
.never p { grid-column: 1 / -1; color: var(--ink-2); font-size: 0.9375rem; }

/* ===================== Pricing ===================== */
.price-wrap { overflow-x: auto; border-radius: var(--r-panel); background: var(--surface-raised); box-shadow: var(--shadow-rest), inset 0 0 0 1px var(--line); }
.price { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price th, .price td { padding: 14px 20px; text-align: left; border-top: 1px solid var(--line); vertical-align: middle; }
.price thead th { border-top: 0; vertical-align: bottom; padding-top: 28px; }
.price tbody th { font-weight: 500; color: var(--ink-2); width: 28%; }
.price .plan { display: grid; gap: 6px; }
.price .plan .silk { color: var(--ink-3); display: flex; align-items: center; gap: 8px; }
.price .plan .silk i { width: 9px; height: 9px; border-radius: 50%; background: var(--led); box-shadow: 0 0 0 2px rgba(255,90,60,.2); }
.price .amount { font-family: var(--font-readout); font-weight: 800; font-size: var(--fs-readout-lg); line-height: 1; color: var(--ink); }
.price .amount small { font: 500 0.875rem var(--font-body); color: var(--ink-3); }
.price .featured { background: color-mix(in srgb, var(--primary) 7%, transparent); }
.price tfoot td { border-top: 1px solid var(--line); padding-bottom: 24px; }
.tick-ico { width: 18px; height: 18px; color: var(--ok); vertical-align: -3px; }
.price-cards { display: none; }
/* Up to 640 px the 3-column table would hide Scale off the right edge: stacked plan cards instead, same rows. */
@media (max-width: 640px) {
  .price-wrap { display: none; }
  .price-cards { display: grid; gap: var(--space-4); }
  .price-card { position: relative; padding: 22px 18px 18px; border-radius: var(--r-panel); background: var(--surface-raised); box-shadow: var(--shadow-rest), inset 0 0 0 1px var(--line); }
  .price-card.featured { background: color-mix(in srgb, var(--primary) 7%, var(--surface-raised)); box-shadow: var(--shadow-rest), inset 0 0 0 2px var(--primary); }
  .price-card__tag { position: absolute; top: 12px; right: 14px; color: var(--primary); }
  .price-card .plan { display: grid; gap: 6px; }
  .price-card .plan .silk { color: var(--ink-3); display: flex; align-items: center; gap: 8px; }
  .price-card .plan .silk i { width: 9px; height: 9px; border-radius: 50%; background: var(--led); box-shadow: 0 0 0 2px rgba(255,90,60,.2); }
  .price-card .amount { font-family: var(--font-readout); font-weight: 800; font-size: var(--fs-readout-lg); line-height: 1; color: var(--ink); }
  .price-card .amount small { font: 500 0.875rem var(--font-body); color: var(--ink-3); }
  .price-card dl { margin: 14px 0 16px; display: grid; }
  .price-card dl div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
  .price-card dt { color: var(--ink-2); font-weight: 500; }
  .price-card dd { margin: 0; text-align: right; font-weight: 600; }
}
.price-foot { margin-top: var(--space-4); display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); justify-content: space-between; }

/* ===================== FAQ ===================== */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--space-8); align-items: start; }
.faq-side { position: sticky; top: 24px; display: grid; gap: var(--space-4); }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 32px; gap: var(--space-4); align-items: center; padding: 20px 0; font: 600 1.125rem/1.35 var(--font-body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--primary); }
.faq .chev { width: 32px; height: 32px; border-radius: var(--r-key); display: grid; place-items: center; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); transition: transform var(--dur-ui) var(--ease-out), background-color var(--dur-ui); }
.faq details[open] .chev { transform: rotate(180deg); background: var(--machine); color: var(--led); box-shadow: none; }
.faq .chev svg { width: 14px; height: 14px; }
.faq details p { padding: 0 48px 22px 0; color: var(--ink-2); max-width: var(--prose); }

/* ===================== Closer + footer ===================== */
.closer { text-align: left; }
.closer .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-6); align-items: end; }
.closer-strip { display: grid; grid-template-columns: 1.77fr 2.63fr 0.8fr 1.7fr 1.1fr; gap: 6px; margin-top: var(--space-7); grid-column: 1 / -1; }
.closer-strip i { height: 14px; border-radius: 4px; }
.foot { padding-block: var(--space-8) var(--space-7); border-top: 1px solid var(--line); }
.foot .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-6); align-items: start; }
.foot nav { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); }
.foot nav a { color: var(--ink-2); text-decoration: none; font-size: 0.9375rem; }
.foot nav a:hover { color: var(--ink); text-decoration: underline; }
.foot small { display: block; margin-top: var(--space-4); color: var(--ink-3); font-size: var(--fs-small); }

/* ===================== Responsive ===================== */
@media (max-width: 1100px) {
  .w { font-size: 0.75rem; }
}
@media (max-width: 920px) {
  /* timeline turns vertical: time runs down the phone */
  .tl { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-3); max-width: 560px; }
  .tl-labels, .tl-body { grid-template-columns: 36px 76px minmax(0, 1fr); grid-template-rows: auto; column-gap: 10px; padding-top: 0; }
  .tl-labels .cuts-l, .tl-labels .caps-l { display: none; }
  .tl-body { grid-template-rows: 780px; margin-right: 46px; }
  .tl-caps { display: none; }
  .tl-ruler { border-bottom: 0; border-right: 1px solid var(--machine-line); }
  .tick { left: 0; right: 4px; bottom: auto; top: calc(var(--t) / 8 * 100%); border-left: 0; border-top: 1px solid var(--machine-line); padding: 3px 0 0; }
  .tick.end { transform: translateY(-100%); border-top: 0; border-bottom: 1px solid var(--machine-line); border-right: 0; padding: 0 0 3px; }
  .bar { left: 0; right: 0; width: auto; top: calc(var(--t) / 8 * 100%); bottom: auto; height: calc(var(--d) / 8 * 100% - 3px); }
  .w, .w.m1, .w.m2 { left: 0; top: calc(var(--t) / 8 * 100%); padding: 3px 0 3px 6px; border-left: 0; border-top: 1px solid var(--machine-ink-3); }
  .w.p1 { left: 52%; }
  .w.anchor { border-radius: 0 0 3px 3px; border-top: 0; }
  .cut { left: 0; right: -46px; top: calc(var(--t) / 8 * 100%); bottom: auto; width: auto; height: 2px; margin: -1px 0 0; }
  .cut::after { top: auto; bottom: 4px; left: auto; right: 0; font-size: 0.8125rem; }
}
@media (max-width: 1100px) {
  .ref .k-role, .clone .k-role { display: none; }
  .clone .k-meta { justify-content: flex-end; }
  .m-top { grid-template-columns: minmax(0, 1fr) auto; }
  .m-patch { grid-column: 1 / -1; grid-auto-flow: column; justify-content: start; align-items: baseline; gap: 12px; }
}
@media (max-width: 920px) {
  .nav { display: none; }
  .hero-head { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .pk, .faq { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
  .faq-side { position: static; }
  .tl-notes { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
}
@media (max-width: 720px) {
  body { font-size: 1rem; }
  .logo { height: 28px; }
  .only-mobile { display: inline-flex; }
  .only-desktop { display: none; }
  .cta-row .btn { flex: 1 1 100%; }
  .machine { padding: var(--space-4); border-radius: var(--r-panel); margin-top: var(--space-6); }
  .hide-sm { display: none; }
  .show-sm { display: block; }
  .machine { display: flex; flex-direction: column; }
  .seq { order: -1; margin-bottom: var(--space-4); }
  .m-top { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; padding-top: var(--space-4); border-top: 2px solid var(--machine-line); order: 0; }
  .legend { order: 1; }
  .m-top { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); }
  .m-patch { grid-auto-flow: row; gap: 2px; }
  .m-readouts { justify-content: space-between; }
  .ro .readout { font-size: 1.375rem; }
  .lcd-row { grid-template-columns: 30px minmax(0, 1fr); }
  .swap > span { font-size: 0.875rem; }
  .seq { grid-template-columns: 30px minmax(0, 1fr); column-gap: 8px; }
  .seq-labels .long { display: none; }
  .seq-labels .short { display: block; }
  .seq-labels, .tracks { grid-template-rows: 8px 34px 46px 16px; row-gap: 8px; }
  .steps-grid { column-gap: 4px; }
  .leds i { width: 7px; height: 7px; margin-left: 4px; }
  .key { padding: 5px 6px; }
  .k-dur { display: none; }
  .k-n { font-size: 0.9375rem; }
  .ruler { font-size: 0.6875rem; }
  .playhead { bottom: 24px; }
  .legend { gap: 8px 14px; font-size: 0.75rem; }
  .legend .note { margin-left: 0; flex-basis: 100%; }
  .step { padding: var(--space-5) var(--space-4); }
  .kit > div { grid-template-columns: 72px minmax(0, 1fr); gap: var(--space-3); }

  /* storyboard: one row per shot, reference beside clone */
  .board { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
  .shot { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; gap: var(--space-2) var(--space-3); padding-top: var(--space-4); border-top: 1px solid var(--line); }
  .shot-key, .kept { grid-column: 1 / -1; }
  .shot-key { flex-direction: row; justify-content: space-between; align-items: center; min-height: 36px; }

  .ruled li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .ruled li span { text-align: left; }
  .never { grid-template-columns: minmax(0, 1fr); padding: var(--space-5) var(--space-4); }
  .price th, .price td { padding: 12px 10px; }
  .price tbody th { width: auto; font-size: 0.875rem; }
  .price td { font-size: 0.875rem; }
  .price .amount { font-size: 1.625rem; }
  .price .btn { padding: 0 10px; font-size: 0.875rem; min-height: 40px; }
  .faq details p { padding-right: 0; }
  .closer .wrap { grid-template-columns: minmax(0, 1fr); }
  .closer .btn { width: 100%; }
  .foot .wrap { grid-template-columns: minmax(0, 1fr); }
}

/* ===================== Clone Viral Videos additions (production) ===================== */
/* The live sequencer follows the real sample: columns and loop come from the page (8.70 s, cuts 1.82 / 4.79 / 5.62 / 7.68). */
.machine[style*="--cols"] { --loop: 8.7s; }
.machine[style*="--cols"] .steps-grid { grid-template-columns: var(--cols); }
@keyframes s1 { 0%, 20.9% { opacity: 1; } 20.95%, 100% { opacity: 0; } }
@keyframes s2 { 0%, 20.9% { opacity: 0; } 20.95%, 55.05% { opacity: 1; } 55.1%, 100% { opacity: 0; } }
@keyframes s3 { 0%, 55.05% { opacity: 0; } 55.1%, 64.55% { opacity: 1; } 64.6%, 100% { opacity: 0; } }
@keyframes s4 { 0%, 64.55% { opacity: 0; } 64.6%, 88.25% { opacity: 1; } 88.3%, 100% { opacity: 0; } }
@keyframes s5 { 0%, 88.25% { opacity: 0; } 88.3%, 100% { opacity: 1; } }
.machine[style*="--cols"] .leds i:nth-child(1)::after, .machine[style*="--cols"] .swap > span:nth-child(1), .machine[style*="--cols"] .track .key:nth-child(1)::after { animation-name: s1; }
.machine[style*="--cols"] .leds i:nth-child(2)::after, .machine[style*="--cols"] .swap > span:nth-child(2), .machine[style*="--cols"] .track .key:nth-child(2)::after { animation-name: s2; }
.machine[style*="--cols"] .leds i:nth-child(3)::after, .machine[style*="--cols"] .swap > span:nth-child(3), .machine[style*="--cols"] .track .key:nth-child(3)::after { animation-name: s3; }
.machine[style*="--cols"] .leds i:nth-child(4)::after, .machine[style*="--cols"] .swap > span:nth-child(4), .machine[style*="--cols"] .track .key:nth-child(4)::after { animation-name: s4; }
.machine[style*="--cols"] .leds i:nth-child(5)::after, .machine[style*="--cols"] .swap > span:nth-child(5), .machine[style*="--cols"] .track .key:nth-child(5)::after { animation-name: s5; }
.closer-strip { grid-template-columns: 1.82fr 2.97fr 0.83fr 2.06fr 1.02fr; }

/* Real sample */
.sample { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: var(--space-8); align-items: center; }
.sample-phone { margin: 0; display: grid; gap: var(--space-3); }
.sample-phone video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 22px; background: var(--machine); padding: 8px; box-shadow: var(--shadow-machine); }
.sample-phone figcaption { font-size: var(--fs-small); color: var(--ink-3); line-height: 1.45; }
.sample-phone figcaption .silk { color: var(--ink); margin-right: 6px; }
.sample-copy { display: grid; gap: var(--space-5); }
.accent-primary { color: var(--primary); }
.frame.real { background: var(--machine-2); }
.frame.real img { display: block; width: 100%; height: 100%; object-fit: cover; }
a.drop { color: var(--ink); text-decoration: none; }

/* Inner pages */
.md-hero { padding-block: var(--space-6) var(--space-8); }
.md-hero h1 { font-size: clamp(2.6rem, 1.6rem + 4.4vw, 4.75rem); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: var(--space-5); font-size: var(--fs-small); color: var(--ink-3); }
.crumbs a { color: var(--ink-2); }
.md-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: var(--space-8); align-items: start; }
.md-prose { max-width: var(--prose); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); }
.md-prose > * + * { margin-top: var(--space-4); }
.md-prose h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); margin-top: var(--space-8); scroll-margin-top: 24px; }
.md-prose h2:first-child { margin-top: 0; }
.md-prose h3 { margin-top: var(--space-6); font-size: 1.25rem; }
.md-prose p, .md-prose li { color: var(--ink-2); }
.md-prose strong { color: var(--ink); }
.md-prose ul, .md-prose ol { padding-left: 1.25em; display: grid; gap: 8px; }
.md-prose ul li::marker { color: var(--role-talk); }
.md-prose ol li::marker { font-family: var(--font-readout); font-weight: 800; color: var(--primary); }
.md-prose blockquote { margin: 0; padding: var(--space-4) var(--space-5); border-left: 4px solid var(--primary); background: var(--surface); border-radius: 0 var(--r-field) var(--r-field) 0; }
.md-prose code { font-size: 0.9em; background: var(--surface); padding: 1px 6px; border-radius: 4px; }
.md-prose hr { border: 0; border-top: 1px solid var(--line); margin-block: var(--space-7); }
.md-cta { margin-top: var(--space-5) !important; }
.md-table { overflow-x: auto; border-radius: var(--r-panel); background: var(--surface-raised); box-shadow: var(--shadow-rest), inset 0 0 0 1px var(--line); }
.md-table table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.md-table th, .md-table td { padding: 12px 16px; text-align: left; border-top: 1px solid var(--line); vertical-align: top; }
.md-table thead th { border-top: 0; font: 800 var(--fs-label)/1.2 var(--font-display); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--ink-3); }
.md-table tbody th { font-weight: 600; color: var(--ink); }
.md-table td { color: var(--ink-2); }
.md-related { position: sticky; top: 24px; display: grid; gap: 2px; padding: var(--space-5); border-radius: var(--r-panel); background: var(--machine); color: var(--machine-ink); }
.md-related .silk { color: var(--machine-ink-3); margin-bottom: var(--space-2); }
.md-related a { color: var(--machine-ink); text-decoration: none; padding: 10px 0; border-top: 1px solid var(--machine-line); font-weight: 600; }
.md-related a:hover { color: #fff; text-decoration: underline; }
.md-notice { margin-bottom: var(--space-4); padding: 12px 16px; border-radius: var(--r-field); background: var(--surface); border-left: 4px solid var(--primary); }

/* Pricing additions */
.price .num-strong { font-family: var(--font-readout); font-weight: 800; font-size: 1.375rem; color: var(--ink); }
.no-ico { color: var(--ink-3); }
.price form { margin: 0; }
.price .yearly { margin-top: 8px; text-align: center; }
.linkish { background: none; border: 0; padding: 4px; color: var(--link); font: 500 var(--fs-small) var(--font-body); text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.yearly-note { margin-top: 8px; text-align: center; font-size: var(--fs-small); color: var(--ink-3); }
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); margin-top: var(--space-5); }
.offer { display: grid; gap: var(--space-3); align-content: start; justify-items: start; padding: var(--space-5); border-radius: var(--r-panel); background: var(--surface); border: 1px solid var(--line); }
.offer .silk { color: var(--ink-3); }
.offer p { color: var(--ink-2); }
.offer b { color: var(--ink); }
.offer form { margin: 0; }

/* Bridge for shared widgets that still use the engine's class names (help widget). */
.btn--ink, .btn--spike { background: var(--primary); color: var(--on-primary); box-shadow: var(--key-bevel), var(--key-drop); }
.btn--paper, .btn--ghost { background: var(--surface-raised); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn--sm { min-height: 40px; padding: 0 14px; font-size: 0.9375rem; }
.input { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: var(--r-field); border: 1.5px solid var(--line-strong); background: var(--surface-raised); color: var(--ink); font: 400 1rem/1.4 var(--font-body); }

@media (max-width: 920px) {
  .sample { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
  .sample-phone { max-width: 360px; }
  .md-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
  .md-related { position: static; }
}
@media (max-width: 720px) {
  .offers { grid-template-columns: minmax(0, 1fr); }
  .md-hero { padding-block: var(--space-4) var(--space-6); }
  .md-table th, .md-table td { padding: 10px; }
}

/* Auth, docs, guides */
.auth { display: grid; place-items: center; padding-block: var(--space-8) var(--section-y); }
.auth-card { width: min(480px, 100%); display: grid; gap: var(--space-4); padding: var(--space-7) var(--space-6); border-radius: var(--r-machine); background: var(--surface-raised); box-shadow: var(--shadow-machine), inset 0 0 0 1px var(--line); }
.auth-card .silk { color: var(--ink-3); }
.auth-card h1 { font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.25rem); }
.auth-card .lede { max-width: none; }
.auth-form { display: grid; gap: var(--space-3); }
.auth-form label { font-weight: 600; font-size: 0.9375rem; }
.doc-hero { padding-bottom: var(--space-4); }
.md-prose.doc h1 { font-size: clamp(2.6rem, 1.6rem + 4.4vw, 4.5rem); margin-bottom: var(--space-5); }
.guide-h { font-size: var(--fs-h2); margin: var(--space-7) 0 var(--space-5); }
.guide-h:first-child { margin-top: 0; }
.guide-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
.guide-item { display: grid; gap: var(--space-2); align-content: start; padding: var(--space-5); border-radius: var(--r-panel); background: var(--surface); border: 1px solid var(--line); }
.guide-item .silk { color: var(--ink-3); }
.guide-item h3 a { color: var(--ink); text-decoration: none; }
.guide-item h3 a:hover { color: var(--primary); text-decoration: underline; }
.guide-item p { color: var(--ink-2); font-size: 0.9375rem; }
@media (max-width: 920px) { .guide-list { grid-template-columns: minmax(0, 1fr); } }

/* Homepage "paste a reel link" box (form version of .drop) */
.drop--link { cursor: default; }
.drop--link label { cursor: text; }
.drop-row { display: flex; gap: 8px; width: 100%; max-width: 460px; }
.drop-input { flex: 1; min-width: 0; font: inherit; font-size: 1rem; padding: 10px 12px; min-height: 44px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); }
.drop-input:focus { outline: 2px solid var(--focus); outline-offset: 1px; }
.drop-input[aria-invalid="true"] { border-color: var(--error); }
.drop-msg { min-height: 1.2em; color: var(--error); font-size: var(--fs-small); }
@media (max-width: 520px) { .drop-row { flex-direction: column; } .drop-row .btn { width: 100%; } }
.drop-note { font-size: var(--fs-small); color: var(--ink-2, var(--ink)); max-width: 460px; }
