/* =========================================================
   Look: warm neutral paper, one orange accent, real film frames.
   Fonts: Geist (text) + Geist Mono (timecodes, labels).
   ========================================================= */
:root {
  --paper: #fafaf9;
  --surface: #ffffff;
  --soft: #f3f2f0;
  --ink: #1c1917;
  --ink-2: #44403c;
  --muted: #78716c;
  --line: #e7e5e4;
  --line-2: #d6d3d1;
  --accent: #e4572e;        /* graphics: handles, crop frames, highlights */
  --accent-ink: #c2441f;    /* buttons and links (readable with white text) */
  --accent-soft: #fbebe4;
  --ok: #2f7d4f;
  --err: #b42318;
  --shadow: 0 1px 2px rgba(28, 25, 23, .05), 0 14px 34px -18px rgba(28, 25, 23, .22);
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
svg { display: block; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
h1, h2, h3 { letter-spacing: -.025em; color: var(--ink); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- buttons, inputs ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px;
  padding: 11px 20px; border: 0; border-radius: 12px; background: var(--accent-ink); color: #fff;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .15s, transform .08s;
}
.btn:hover { background: #a63a1a; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: default; }
.btn-lg { min-height: 52px; padding: 14px 24px; font-size: 17px; }
.btn-sm { min-height: 38px; padding: 8px 14px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); }
.btn-ghost:hover { background: var(--soft); }
.btn-ink { background: var(--ink); }
.btn-ink:hover { background: #33302d; }
.btn-ok { background: var(--ok); }
.btn-ok:hover { background: #256640; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--accent-ink); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

input, select {
  width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 10px;
  background: var(--surface); color: var(--ink); font: inherit;
}
input:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(228, 87, 46, .16); }
label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.msg { margin: 0; font-size: 14px; color: var(--muted); }
.msg.err, .err { color: var(--err); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 250, 249, .9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 36px; height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -.03em; }
.menu { display: flex; gap: 28px; margin-right: auto; }
.menu a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.menu a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.mnav { display: none; position: relative; margin-left: auto; }
.mnav summary { list-style: none; cursor: pointer; padding: 10px; color: var(--ink); }
.mnav summary::-webkit-details-marker { display: none; }
.mnav-panel { position: absolute; right: 0; top: 52px; width: 240px; display: grid; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.mnav-panel a { padding: 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; }
.mnav-panel a:hover { background: var(--soft); }
@media (max-width: 860px) { .menu, .nav-cta { display: none; } .mnav { display: block; } }

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 7vw, 80px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(38px, 5.4vw, 66px); line-height: 1.02; letter-spacing: -.045em; font-weight: 700; margin: 0 0 22px; }
.h-img { display: inline-block; width: 1.55em; height: .8em; border-radius: 999px; object-fit: cover; vertical-align: -.05em; margin: 0 .06em; }
.lead { margin: 0 0 30px; font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 46ch; }
.hero-meta { margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.hero-meta .linkish { font-family: var(--font); font-size: 14px; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }

/* link bar (the tool's first step) */
.urlbar {
  display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 16px;
  background: var(--surface); border: 1.5px solid var(--line-2); border-radius: 16px; box-shadow: var(--shadow);
  transition: border-color .15s, box-shadow .15s;
}
.urlbar:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(228, 87, 46, .14), var(--shadow); }
.urlbar .icon { color: var(--muted); flex: 0 0 auto; }
.urlbar input { flex: 1; min-width: 0; border: 0; box-shadow: none; padding: 12px 4px; font-size: 16px; background: transparent; }
.urlbar input:focus { box-shadow: none; }
.urlbar .btn { flex: 0 0 auto; }
.url-msg { margin-top: 12px; min-height: 22px; }
@media (max-width: 540px) {
  .urlbar { flex-wrap: wrap; padding: 8px; }
  .urlbar .icon { display: none; }
  .urlbar input { padding: 10px 8px; }
  .urlbar .btn { width: 100%; }
}

/* product mockup: film frame + crop + timeline */
.mock { display: grid; gap: 12px; }
.frame { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #2a2725; box-shadow: var(--shadow); }
.frame > img { width: 100%; height: 100%; object-fit: cover; }
.frame-crop { position: absolute; top: 0; bottom: 0; border: 2px solid #fff; box-shadow: 0 0 0 2000px rgba(28, 25, 23, .58); }
.frame-crop i { position: absolute; width: 12px; height: 12px; background: #fff; border: 2px solid var(--accent); border-radius: 3px; }
.frame-crop i:nth-child(1) { left: -7px; top: -7px; } .frame-crop i:nth-child(2) { right: -7px; top: -7px; }
.frame-crop i:nth-child(3) { left: -7px; bottom: -7px; } .frame-crop i:nth-child(4) { right: -7px; bottom: -7px; }
.frame-tag { position: absolute; left: 10px; top: 12px; padding: 3px 8px; border-radius: 6px; background: var(--ink); color: #fff; font: 600 12px/1.4 var(--mono); }
.frame-out { position: absolute; right: 12px; bottom: 12px; padding: 4px 9px; border-radius: 6px; background: rgba(255, 255, 255, .92); color: var(--ink); font: 500 12px/1.4 var(--mono); }

.timeline { padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.tl-track { position: relative; height: 48px; border-radius: 8px; overflow: hidden; }
.tl-strip { display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px; height: 100%; }
.tl-strip img { width: 100%; height: 100%; object-fit: cover; }
.tl-range { position: absolute; top: 0; bottom: 0; border: 2px solid var(--accent); border-left-width: 8px; border-right-width: 8px; border-radius: 6px; box-shadow: 0 0 0 2000px rgba(250, 250, 249, .7); }
.tl-head { position: absolute; inset: 0; animation: playhead 5s linear infinite; }
.tl-head::after { content: ""; position: absolute; left: 0; top: -2px; bottom: -2px; width: 2px; background: var(--ink); }
@keyframes playhead { from { transform: translateX(0); } to { transform: translateX(100%); } }
.tl-meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; font: 12.5px/1.4 var(--mono); color: var(--muted); }
.tl-meta b { color: var(--ink); font-weight: 500; }

/* ---------- editor (after a video is loaded) ---------- */
.editor { padding: 0 0 64px; }
.editor-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr); gap: 20px; align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 18px; }
.video-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.video-meta strong { font-size: 16px; line-height: 1.35; font-weight: 600; }
.pill { flex: 0 0 auto; font: 500 13px/1.4 var(--mono); color: var(--muted); }
.player { position: relative; aspect-ratio: 16 / 9; background: #1c1917; border-radius: 12px; overflow: hidden; }
.player > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.player-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.player-tools .msg { font-family: var(--mono); font-size: 12.5px; }
.controls { display: grid; gap: 14px; position: sticky; top: 84px; }
.step-title { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 0; font-size: 15px; font-weight: 600; }
.step-title .num { font: 500 12px var(--mono); color: var(--accent-ink); }
.time-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; }
.field .linkish { justify-self: start; font-size: 13px; }
#start, #end { font-family: var(--mono); font-size: 15px; }
.len-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.len { font: 13px var(--mono); color: var(--muted); }
.len.err { color: var(--err); font-family: var(--font); }
.seg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.seg button { min-height: 40px; padding: 6px 4px; white-space: nowrap; border: 1px solid var(--line-2); border-radius: 9px; background: var(--surface); color: var(--ink-2); font: 500 13.5px var(--mono); cursor: pointer; }
.seg button:hover { border-color: var(--ink-2); }
.seg button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--ink-2); cursor: pointer; }
.check input { width: 18px; min-height: 0; height: 18px; accent-color: var(--accent-ink); }
.fine { margin: -4px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.progress { display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.progress-top { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; font-weight: 600; }
.progress-top #progMsg { font: 500 13px var(--mono); color: var(--muted); }
.progress-top.done #stage { color: var(--ok); }
.bar { height: 8px; background: var(--soft); border-radius: 99px; overflow: hidden; }
.bar div { width: 0; height: 100%; background: var(--accent); transition: width .4s; }
@media (max-width: 960px) { .editor-grid { grid-template-columns: 1fr; } .controls { position: static; } }

#cropLayer { pointer-events: none; overflow: hidden; z-index: 2; }
#cropLayer .dim { position: absolute; background: rgba(28, 25, 23, .62); }
#cropBox { position: absolute; border: 2px solid #fff; cursor: move; pointer-events: auto; touch-action: none; }
#cropBox::before, #cropBox::after { content: ""; position: absolute; pointer-events: none; border: 0 solid rgba(255, 255, 255, .35); }
#cropBox::before { left: 33.33%; right: 33.33%; top: 0; bottom: 0; border-left-width: 1px; border-right-width: 1px; }
#cropBox::after { top: 33.33%; bottom: 33.33%; left: 0; right: 0; border-top-width: 1px; border-bottom-width: 1px; }
#cropBox .h { position: absolute; width: 18px; height: 18px; background: #fff; border: 2px solid var(--accent); border-radius: 4px; }
#cropBox .nw { left: -9px; top: -9px; cursor: nwse-resize; }
#cropBox .ne { right: -9px; top: -9px; cursor: nesw-resize; }
#cropBox .sw { left: -9px; bottom: -9px; cursor: nesw-resize; }
#cropBox .se { right: -9px; bottom: -9px; cursor: nwse-resize; }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.tint { background: var(--soft); }
.section-intro { max-width: 640px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-intro h2, .split-head h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.06; letter-spacing: -.04em; margin: 0 0 14px; }
.section-intro p, .split-head p { margin: 0; font-size: 18px; color: var(--ink-2); }

/* how it works: alternating rows */
.rows { display: grid; gap: clamp(64px, 9vw, 120px); }
.row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.row.flip > .row-visual { order: -1; }
.row-num { font: 500 14px var(--mono); color: var(--accent-ink); }
.row h3 { margin: 10px 0 14px; font-size: clamp(26px, 2.8vw, 34px); line-height: 1.1; letter-spacing: -.035em; }
.row p { margin: 0 0 12px; color: var(--ink-2); max-width: 44ch; font-size: 17px; }
.pad { padding: clamp(20px, 4vw, 44px); background: var(--soft); border-radius: 24px; display: grid; gap: 14px; }
.tint .pad { background: var(--surface); border: 1px solid var(--line); }
@media (max-width: 860px) { .row { grid-template-columns: 1fr; } .row.flip > .row-visual { order: 0; } }

/* small static UI pieces used as illustrations */
.fake-browser { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: flex; align-items: center; gap: 10px; font: 13px var(--mono); color: var(--ink-2); overflow: hidden; white-space: nowrap; }
.fake-browser .dots { display: flex; gap: 5px; flex: 0 0 auto; }
.fake-browser .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.fake-browser .addr { flex: 1; padding: 5px 10px; border-radius: 7px; background: var(--soft); overflow: hidden; text-overflow: ellipsis; }
.fake-urlbar { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 14px; background: var(--surface); border: 1.5px solid var(--accent); border-radius: 14px; box-shadow: 0 0 0 4px rgba(228, 87, 46, .12); font: 14px var(--mono); color: var(--ink); }
.fake-urlbar span { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.fake-urlbar span::after { content: ""; display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -.2em; background: var(--ink); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.fake-urlbar b { flex: 0 0 auto; padding: 9px 14px; border-radius: 9px; background: var(--accent-ink); color: #fff; font: 600 14px var(--font); }
.chips-row { display: flex; flex-wrap: wrap; gap: 6px; }
.chips-row span { padding: 6px 11px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--surface); font: 500 13px var(--mono); color: var(--ink-2); }
.chips-row span.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.fake-download { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; }
.fake-download .mono { color: var(--muted); font-size: 13px; }

/* shapes: the same frame in every format */
.shapes { display: grid; grid-template-columns: minmax(0, .5625fr) minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.7778fr); align-items: end; gap: 28px 24px; }
.shape { color: inherit; text-decoration: none; }
.shape-img { width: 100%; aspect-ratio: var(--ar); border-radius: 14px; overflow: hidden; background: var(--soft); transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
.shape-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
a.shape:hover .shape-img { transform: translateY(-4px); }
.shape figcaption { margin-top: 12px; }
.shape .r { font: 600 13px var(--mono); color: var(--accent-ink); }
.shape .n { display: block; font-weight: 600; margin-top: 2px; }
.shape .d { display: block; font-size: 14px; color: var(--muted); }
a.shape .n { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color .15s; }
a.shape:hover .n { text-decoration-color: var(--accent); }
@media (max-width: 640px) { .shapes { grid-template-columns: 1fr 1fr; gap: 24px 16px; } }

/* two-column blocks: specs, FAQ */
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split-head { position: sticky; top: 100px; }
.split-head p + p { margin-top: 14px; font-size: 16px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split-head { position: static; } }
.specs { margin: 0; }
.specs div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; padding: 18px 0; border-top: 1px solid var(--line-2); }
.specs div:last-child { border-bottom: 1px solid var(--line-2); }
.specs dt { font: 500 13px/1.9 var(--mono); color: var(--muted); }
.specs dd { margin: 0; font-size: 17px; color: var(--ink); }
@media (max-width: 540px) { .specs div { grid-template-columns: 1fr; gap: 4px; } }

.faq details { border-top: 1px solid var(--line-2); }
.faq details:last-child { border-bottom: 1px solid var(--line-2); }
.faq summary { position: relative; padding: 20px 40px 20px 0; list-style: none; cursor: pointer; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 28px; width: 10px; height: 10px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 32px; }
.faq-a { padding: 0 40px 22px 0; color: var(--ink-2); }
.faq-a p { margin: 0 0 10px; }

/* closing band */
.closing { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; padding: clamp(32px, 5vw, 56px); border-radius: 24px; background: var(--ink); color: #f5f5f4; }
.closing h2 { margin: 0 0 8px; color: #fff; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.08; letter-spacing: -.04em; }
.closing p { margin: 0; color: #d6d3d1; font-size: 17px; }
@media (max-width: 760px) { .closing { grid-template-columns: 1fr; } }

/* ads */
.ad { margin: 8px auto 48px; }
.ad-label { display: block; margin-bottom: 4px; font: 11px var(--mono); color: #a8a29e; }
.ad-placeholder { min-height: 96px; display: grid; place-items: center; border: 1px dashed var(--line-2); border-radius: 12px; color: #a8a29e; font: 13px var(--mono); }

/* text pages */
.page-hero { padding: clamp(48px, 7vw, 88px) 0 8px; }
.page-hero h1 { margin: 12px 0 14px; font-size: clamp(36px, 5vw, 58px); line-height: 1.02; letter-spacing: -.045em; }
.page-hero p { margin: 0; max-width: 58ch; font-size: 19px; color: var(--ink-2); }
.crumbs { font: 13px var(--mono); color: var(--muted); }
.crumbs a { color: var(--muted); }
.prose { padding-top: 36px; padding-bottom: clamp(64px, 9vw, 120px); }
.prose > * { max-width: 70ch; }
.prose h2 { margin: 44px 0 10px; font-size: 24px; letter-spacing: -.03em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.contact-line { display: flex; gap: 16px; align-items: center; padding: 20px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); margin: 24px 0; }
.contact-line .icon { color: var(--accent-ink); }

/* footer */
.site-footer { padding: 64px 0 28px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { margin: 14px 0 0; max-width: 34ch; font-size: 15px; color: var(--muted); }
.site-footer h3 { margin: 4px 0 14px; font: 500 12px var(--mono); color: var(--muted); letter-spacing: 0; }
.site-footer a:not(.logo) { display: block; padding: 5px 0; color: var(--ink-2); text-decoration: none; font-size: 15px; }
.site-footer a:not(.logo):hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer-bottom a { display: inline !important; padding: 0 !important; font-size: 13px !important; color: var(--muted) !important; text-decoration: underline !important; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* range under the player: drag the handles to set start and end */
.range { margin-top: 12px; }
.range-track { position: relative; height: 48px; border-radius: 9px; overflow: hidden; cursor: pointer; touch-action: none; user-select: none;
  background: var(--soft) repeat-x left center / auto 100%; }
.range-sel { position: absolute; top: 0; bottom: 0; min-width: 24px; border: 2px solid var(--accent); border-radius: 8px; cursor: grab;
  box-shadow: 0 0 0 4000px rgba(250, 250, 249, .72); }
.range-track.dragging .range-sel { cursor: grabbing; }
.range-h { position: absolute; top: 0; bottom: 0; width: 12px; background: var(--accent); cursor: ew-resize; }
.range-h.in { left: 0; } .range-h.out { right: 0; }
.range-h::before { content: ""; position: absolute; inset: 0 -10px; }   /* bigger touch target */
.range-h::after { content: ""; position: absolute; left: 5px; top: 35%; bottom: 35%; width: 2px; border-radius: 2px; background: #fff; }
.range-h:focus-visible { outline: 2px solid var(--ink); outline-offset: 0; }
.range-head { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; margin-left: -1px; background: var(--ink); pointer-events: none; }
.range-meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; font: 12.5px/1.4 var(--mono); color: var(--muted); }
@media (max-width: 560px) { .range-meta span:nth-child(2) { display: none; } }
