/* VidTool v3 — cream, ink, coral, lime. Radii 8/12/16/20, 4px spacing grid, no rotations, no monospace. */
:root {
  --bg: #fffbf5;
  --card: #ffffff;
  --soft: #f7f2ea;
  --line: #ebe4d8;
  --line-strong: #8e877b;
  --ink: #16161d;
  --text: #16161d;
  --muted: #5c5b68;
  --primary: #ff5a36;
  --primary-dark: #b8360f;
  --lime: #c8f23b;
  --lime-soft: #f4fadf;
  --ok: #3d5c00;
  --accent: #0b6e66;
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --shadow: 0 1px 2px rgba(22,22,29,.05), 0 8px 24px rgba(22,22,29,.06);
  --font: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
[tabindex="-1"]:focus { outline: none; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.6; font-variant-numeric: tabular-nums; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--text); }
img, video { max-width: 100%; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; letter-spacing: -0.015em; }
h1 { font-size: 40px; font-weight: 800; margin: 0 0 12px; }
h2 { font-size: 28px; font-weight: 700; margin: 56px 0 16px; }
h3 { font-size: 19px; font-weight: 700; margin: 24px 0 8px; }
p { margin: 0 0 16px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 12px; border-radius: var(--r-sm); }
.skip:focus { left: 8px; z-index: 60; }
.vt-sr { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }

/* header */
.site-head { position: sticky; top: 0; z-index: 40; background: var(--card); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.brand:hover { color: var(--ink); }
.brand svg { width: 30px; height: 30px; flex: none; }
.site-nav { display: flex; align-items: center; gap: 2px; }
.site-nav a { display: inline-flex; align-items: center; height: 36px; padding: 0 12px; border-radius: 10px; color: var(--muted); font-size: 15px; font-weight: 600; text-decoration: none; }
.site-nav a:hover { color: var(--ink); background: var(--soft); }
.site-nav a[aria-current="page"] { color: var(--ink); background: var(--soft); }

/* footer */
.site-foot { margin-top: 80px; border-top: 1px solid var(--line); background: var(--card); font-size: 14px; color: var(--muted); }
.site-foot .wrap { padding-top: 40px; padding-bottom: 40px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.site-foot h2 { font-family: var(--font); font-size: 14px; font-weight: 700; letter-spacing: 0; margin: 0 0 10px; color: var(--text); }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin: 6px 0; }
.site-foot a { color: var(--muted); text-decoration: none; }
.site-foot a:hover { color: var(--ink); text-decoration: underline; }
.site-foot p { margin: 0 0 8px; max-width: 46ch; }

/* pills: hero chips and page badges share one style */
.hero-chips, .badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.hero-chips li, .badges li { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--text); font-size: 14px; font-weight: 600; line-height: 1; }
.hero-chips li::before, .badges li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 1px var(--ink); flex: none; }

/* hero and page tops */
.hero-tool { padding: 32px 0 0; }
.hero-badge { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin: 0 0 24px; }
.hero-badge h1 { margin: 0; font-size: 42px; }
.hero-badge p { max-width: 70ch; margin: 0; color: var(--muted); font-size: 18px; }
.hero-badge .hero-sub { font-family: var(--display); font-size: 26px; font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; color: var(--ink); }
.suite { max-width: 880px; margin: 16px 0 0; padding: 10px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); font-size: 15px; line-height: 1.6; color: var(--text); }
.suite-tag { display: inline-block; margin-right: 6px; padding: 0 10px; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: 13px; font-weight: 700; line-height: 24px; white-space: nowrap; }
.hero-badge .hero-chips { margin-top: 6px; }
.hl { background: linear-gradient(transparent 60%, var(--lime) 60%, var(--lime) 92%, transparent 92%); padding: 0 .1em; margin: 0 -.1em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.page-top { padding: 32px 0 20px; }
.page-top h1 { margin: 0 0 10px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--muted); }
.lede { font-size: 18px; color: var(--muted); max-width: 68ch; margin: 0 0 16px; }

/* buttons, fields, chips */
.vt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border: 1.5px solid var(--line-strong); border-radius: var(--r); background: var(--card); color: var(--ink); font: 600 15px/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .12s ease-out, box-shadow .12s ease-out, border-color .12s, background-color .12s; }
.vt-btn:hover { border-color: var(--ink); color: var(--ink); }
.vt-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vt-btn--primary { background: var(--primary); border-color: var(--ink); box-shadow: 0 2px 0 var(--ink); }
.vt-btn--primary:hover { background: var(--primary); transform: translateY(-1px); box-shadow: 0 3px 0 var(--ink); }
.vt-btn--primary:active { transform: translateY(2px); box-shadow: none; }
.vt-btn--dark { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.vt-btn--dark:hover { color: #fff; background: #2b2b36; }
.vt-btn--small { height: 36px; padding: 0 12px; border-radius: 10px; font-size: 14px; }
.vt-btn--icon { width: 36px; padding: 0; }
.vt-btn--block { width: 100%; }
.vt-btn:disabled, .vt-btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.vt-link { padding: 0; border: 0; background: none; color: var(--accent); font: 600 14px var(--font); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.vt-link:hover { color: var(--ink); }
.vt-link:disabled { opacity: .45; cursor: not-allowed; }
.vt-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.vt-field--inline { flex-direction: row; align-items: center; gap: 12px; font-size: 14px; }
.vt-input { width: 100%; height: 42px; padding: 0 12px; border: 1.5px solid var(--line-strong); border-radius: 10px; background: var(--card); color: var(--ink); font: 500 15px var(--font); font-variant-numeric: tabular-nums; }
.vt-field--inline .vt-input { width: auto; min-width: 120px; }
.vt-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(11,110,102,.18); }
.vt-input[aria-invalid="true"] { border-color: var(--primary-dark); box-shadow: 0 0 0 3px rgba(184,54,15,.15); }
select.vt-input { padding-right: 32px; }
.vt-unit { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 600; }
.vt-unit .vt-input { width: 96px; min-width: 0; }
.vt-label { margin: 0 0 -6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.vt-hint { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.vt-check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.45; color: var(--text); cursor: pointer; }
.vt-check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }
.vt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.vt-chips button { height: 36px; min-width: 52px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); font: 600 14px var(--font); font-variant-numeric: tabular-nums; cursor: pointer; }
.vt-chips button:hover { border-color: var(--line-strong); }
.vt-chips button[aria-pressed="true"] { background: var(--lime); border-color: var(--ink); }
.vt-chips button:disabled { opacity: .45; cursor: not-allowed; }
.vt-msg { margin: 12px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.vt-msg:empty { display: none; }
.vt-msg--error { color: var(--primary-dark); font-weight: 600; }
.vt-msg .vt-link { margin-left: 6px; }


/* the tool card */
.tool-card { background: var(--card); border: 1.5px solid var(--ink); border-radius: var(--r-xl); box-shadow: 0 4px 0 var(--ink); overflow: hidden; }
.wb { position: relative; display: grid; grid-template-columns: 184px minmax(0, 1fr) 340px; min-height: 560px; }
.wb-rail { grid-row: 1 / span 2; display: flex; flex-direction: column; gap: 4px; padding: 16px 12px; background: var(--soft); border-right: 1px solid var(--line); }
.wb-rail button { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 12px; border: 0; border-radius: var(--r); background: transparent; color: var(--text); font: 600 15px var(--font); text-align: left; cursor: pointer; }
.wb-rail button:hover { background: rgba(22,22,29,.06); }
.wb-rail button[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.wb-rail svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wb.is-busy .wb-rail button:not([aria-selected="true"]) { opacity: .5; cursor: progress; }

/* start state */
.wb-start { grid-column: 2 / span 2; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 20px; }
.wb-drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 420px; padding: 40px 24px; border: 2px dashed var(--line-strong); border-radius: var(--r-lg); background: var(--soft); text-align: center; cursor: pointer; transition: border-color .15s, background-color .15s; }
.wb-drop:hover { border-color: var(--ink); background: #fbf7f1; }
.wb-drop:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.wb-drop.is-off { opacity: .55; cursor: not-allowed; }
.wb-drop-icon { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 4px; border: 1.5px solid var(--line); border-radius: 50%; background: var(--card); color: var(--primary-dark); }
.wb-drop-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wb-drop-title { font-family: var(--display); font-size: 26px; font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; }
.wb-drop-desc { max-width: 44ch; font-size: 16px; color: var(--muted); }
.wb-choose { margin-top: 8px; pointer-events: none; }
.wb-drop-note { font-size: 14px; color: var(--muted); }
.wb-sample { padding: 8px 4px; border: 0; background: none; color: var(--accent); font: 600 15px var(--font); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.wb-sample:hover { color: var(--ink); }
.wb-sample:disabled { color: var(--muted); text-decoration: none; cursor: progress; }
.wb-start .vt-msg { margin: 0; text-align: center; }

/* work state: middle column */
.wb-main { min-width: 0; padding: 16px 20px 20px; }
.wb-filebar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 6px 6px 6px 12px; border-radius: var(--r); background: var(--soft); }
.wb-file { display: flex; align-items: center; gap: 10px; min-width: 0; }
.wb-file > svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wb-file-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.wb-file-text strong { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wb-file-text span { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wb-file-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.wb-chain { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.wb-stage { position: relative; margin-top: 12px; border-radius: var(--r); background: #16161d; overflow: hidden; line-height: 0; }
.wb-stage video { display: block; width: 100%; height: auto; max-height: 56vh; object-fit: contain; background: #16161d; }
.wb-cropbox { position: absolute; border: 2px solid #fff; box-shadow: 0 0 0 9999px rgba(10,10,14,.55); cursor: move; touch-action: none; }
.wb-cropbox span { position: absolute; width: 16px; height: 16px; border: 2px solid var(--primary); border-radius: 50%; background: #fff; }
.wb-cropbox [data-h="nw"] { left: -9px; top: -9px; cursor: nwse-resize; }
.wb-cropbox [data-h="ne"] { right: -9px; top: -9px; cursor: nesw-resize; }
.wb-cropbox [data-h="sw"] { left: -9px; bottom: -9px; cursor: nesw-resize; }
.wb-cropbox [data-h="se"] { right: -9px; bottom: -9px; cursor: nwse-resize; }
.wb-timeline { margin-top: 14px; }
.wb-track { position: relative; height: 44px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--soft); cursor: pointer; touch-action: none; }
.wb-range { position: absolute; top: 0; bottom: 0; background: var(--lime); opacity: .55; }
.wb-handle { position: absolute; top: 4px; bottom: 4px; width: 12px; margin-left: -6px; z-index: 1; padding: 0; border: 0; border-radius: 6px; background: var(--ink); cursor: ew-resize; }
.wb-handle::after { content: ""; position: absolute; left: 5px; top: 10px; bottom: 10px; width: 2px; border-radius: 1px; background: var(--lime); }
.wb-playhead { position: absolute; top: -5px; bottom: -5px; width: 2px; margin-left: -1px; border-radius: 1px; background: var(--primary-dark); pointer-events: none; }
.wb-ticks { position: relative; height: 18px; margin-top: 6px; font-size: 12px; color: var(--muted); }
.wb-ticks span { position: absolute; top: 0; white-space: nowrap; }
.wb-ticks span:first-child { left: 8px !important; }
.wb-scrub { display: none; align-items: center; gap: 12px; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--muted); }
.wb-scrub input { flex: 1; accent-color: var(--ink); }
.wb:has([data-tab="crop"][aria-selected="true"]) .wb-main:not([hidden]) .wb-scrub { display: flex; }
.wb-keys { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
@media (pointer: coarse), (max-width: 760px) { .wb-keys { display: none; } }

/* work state: right panel */
.wb-panel { min-width: 0; padding: 20px; border-left: 1px solid var(--line); }
.wb-panel-title { margin: 0 0 16px; font-size: 22px; }
.wb-pane { display: flex; flex-direction: column; gap: 14px; }
.wb-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.wb-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.wb-row--step { flex-wrap: nowrap; }
.wb-row--step .vt-btn--primary { flex: 1; }
.wb-sep { height: 1px; background: var(--line); margin: 2px 0; }
.vt-progress { margin-top: 16px; }
.vt-progress-bar { height: 8px; border-radius: 999px; background: var(--soft); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.vt-progress-bar i { display: block; width: 0; height: 100%; border-radius: 999px; background: var(--accent); transition: width .2s; }
.vt-progress-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; font-size: 13px; color: var(--muted); }
.wb-result { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; padding: 16px; border: 1.5px solid #b6d65a; border-radius: var(--r-lg); background: var(--lime-soft); }
.wb-result-head { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 15px; font-weight: 700; color: var(--ok); }
.wb-result-head svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.wb-result-note { margin: 0; font-size: 14px; color: var(--text); }
.wb-result-audio { width: 100%; height: 40px; }
.wb-result-gif { display: block; max-width: 100%; border-radius: var(--r-sm); }
.wb-result .vt-btn { height: 40px; }
.wb-shots { display: flex; flex-direction: column; gap: 8px; }
.wb-shots-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.wb-shots-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.wb-shots-grid figure { position: relative; margin: 0; }
.wb-shots-grid img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--line); border-radius: var(--r-sm); background: #16161d; }
.wb-shots-grid figcaption { margin-top: 2px; font-size: 12px; }
.wb-shot-x { position: absolute; top: 4px; right: 4px; display: grid; place-items: center; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; background: rgba(22,22,29,.75); color: #fff; cursor: pointer; }
.wb-shot-x svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; }
.wb-dropall { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; background: rgba(255,251,245,.88); }
.wb-dropall span { padding: 28px 40px; border: 2px dashed var(--ink); border-radius: var(--r-xl); background: var(--card); font-family: var(--display); font-size: 26px; font-weight: 700; }

@media (max-width: 1000px) {
  .wb { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .wb-rail { grid-row: auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 10px; border-right: 0; border-bottom: 1px solid var(--line); }
  .wb-rail button { flex-direction: column; justify-content: center; gap: 4px; height: 60px; padding: 0 4px; font-size: 13px; text-align: center; }
  .wb-start { grid-column: auto; padding: 16px; }
  .wb-drop { min-height: 300px; padding: 28px 16px; }
  .wb-main { padding: 14px; }
  .wb-panel { padding: 16px 14px 20px; border-left: 0; border-top: 1px solid var(--line); }
  .wb-stage video { max-height: 48vh; }
}
@media (max-width: 520px) {
  .wb-filebar { flex-wrap: wrap; }
  .wb-file-actions { width: 100%; justify-content: space-between; }
  .wb-drop-title { font-size: 22px; }
}


/* guide sections below the tool */
.guide { padding-top: 8px; }
.intro { max-width: 760px; margin-top: 64px; }
.intro h2 { margin-top: 6px; }
.intro .badges { margin-top: 20px; }
.eyebrow { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--primary-dark); }
/* screenshots: smaller pictures on a tinted tray with a soft shadow, so they never read as the real tool */
.shot { display: grid; justify-items: center; max-width: 960px; margin: 40px auto 0; padding: 32px 40px 20px; border-radius: var(--r-xl); background: var(--soft); }
.shot::before { content: ""; grid-area: 1 / 1; width: 100%; max-width: 880px; border-radius: var(--r-lg); background: var(--card); box-shadow: 0 24px 48px -24px rgba(22,22,29,.4), 0 8px 20px -12px rgba(22,22,29,.25); }
.shot img { grid-area: 1 / 1; position: relative; display: block; width: 100%; max-width: 880px; height: auto; clip-path: inset(4px round var(--r)); cursor: default; }
.shot figcaption { grid-area: 2 / 1; margin-top: 16px; font-size: 14px; line-height: 1.5; color: var(--muted); text-align: center; }
.shot figcaption::before { content: "Screenshot · "; font-weight: 700; color: var(--ink); }
.step-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.step-grid li { padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.step-grid b { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--primary-dark); }
.step-grid h3 { margin: 8px 0 6px; }
.step-grid p { margin: 0; font-size: 15px; color: var(--muted); }
.phone-row { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; align-items: center; margin-top: 64px; }
.phone-row h2 { margin-top: 0; }
.shot--phone { max-width: none; margin: 0; padding: 0; background: none; }
.shot--phone::before { content: none; }
.shot--phone img { border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); clip-path: none; }
.feat { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px 40px; align-items: center; margin-top: 72px; }
.feat--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.feat--flip .feat-txt { order: 2; }
.feat h2 { margin-top: 0; }
.feat-txt p:last-child { margin-bottom: 0; }
.feat-card { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 20px; margin: 0; padding: 56px 24px 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow); }
.feat-card::before { content: "Real test"; position: absolute; top: 20px; left: 24px; display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: 12px; font-weight: 700; }
.feat-card dt { font-size: 14px; color: var(--muted); }
.feat-card dd { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink); }
.feat-shot { grid-column: 1 / -1; order: 3; width: 100%; margin: 0 auto; }
.example { margin-top: 56px; }
.example h2 { margin-top: 6px; }
.example > p { max-width: 70ch; }

/* article, faq, cta, more tools */
.article { max-width: 780px; margin-top: 16px; }
.article p, .article li { max-width: 70ch; }
.article li { margin-bottom: 6px; }
.article table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 16px 0 24px; font-size: 15px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.article th, .article td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article tr:last-child td { border-bottom: 0; }
.article th { background: var(--soft); font-weight: 600; }
.article code { font-size: 15px; background: var(--soft); padding: 2px 6px; border-radius: 6px; }
.faq { display: flex; flex-direction: column; gap: 8px; }
.faq details { padding: 0 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.faq summary { display: flex; align-items: center; min-height: 52px; padding: 12px 0; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; padding-left: 16px; font-size: 22px; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; }
.more-tools { margin-top: 56px; }
.more-tools h2 { margin: 0 0 8px; }
.more-sub { margin: 0 0 20px; color: var(--muted); }
.tool-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.tool-grid a { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; height: 100%; padding: 16px 20px 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); color: var(--text); text-decoration: none; transition: border-color .12s, box-shadow .12s; }
.tool-grid a:hover { border-color: var(--ink); color: var(--text); box-shadow: 0 2px 0 var(--ink); }
.tool-grid svg { box-sizing: content-box; width: 20px; height: 20px; margin-bottom: 8px; padding: 8px; border-radius: var(--r); background: var(--soft); fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tool-grid strong { font-size: 16px; line-height: 1.3; }
.tool-grid span { font-size: 14px; line-height: 1.5; color: var(--muted); }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 72px; padding: 28px 32px; border-radius: var(--r-xl); background: var(--ink); color: var(--bg); }
.cta p { margin: 0; font-family: var(--display); font-size: 24px; font-weight: 700; letter-spacing: -0.015em; }
.press-shots { margin-top: 56px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-top: 16px; }
.gallery figure { margin: 0; padding: 16px 16px 12px; border-radius: var(--r-lg); background: var(--soft); }
.gallery a { display: block; cursor: zoom-in; }
.gallery img { display: block; width: 100%; height: auto; border-radius: var(--r-sm); background: var(--card); box-shadow: 0 16px 32px -16px rgba(22,22,29,.4), 0 4px 12px -6px rgba(22,22,29,.2); }
.gallery figcaption { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.gallery--brand { grid-template-columns: 160px minmax(0, 420px); align-items: start; }

/* feedback */
.fb-tab { position: fixed; right: 0; top: 50%; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 16px 10px; border: 1.5px solid var(--ink); border-right: 0; border-radius: var(--r) 0 0 var(--r); background: var(--ink); color: var(--bg); font: 600 14px var(--font); writing-mode: vertical-rl; transform: translateY(-50%); cursor: pointer; }
.fb-tab:hover { background: #2b2b36; }
.to-top { position: fixed; right: 0; top: calc(50% + 60px); z-index: 45; display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 38px; height: 44px; padding: 0; border: 1.5px solid var(--ink); border-right: 0; border-radius: var(--r) 0 0 var(--r); background: var(--card); color: var(--ink); font: 600 14px var(--font); cursor: pointer; }
.to-top:hover { background: var(--soft); }
.to-top svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.to-top span { display: none; }
.fb-panel { position: fixed; right: 56px; top: 50%; z-index: 55; width: min(380px, calc(100vw - 32px)); padding: 20px; border: 1.5px solid var(--ink); border-radius: var(--r-lg); background: var(--card); box-shadow: 0 4px 0 var(--ink), 0 24px 48px rgba(22,22,29,.16); transform: translateY(-50%); }
.fb-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.fb-head h2 { margin: 0; font-size: 20px; }
.fb-close { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--ink); cursor: pointer; }
.fb-close:hover { background: var(--soft); }
.fb-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.fb-form { display: flex; flex-direction: column; gap: 12px; }
.fb-form textarea { width: 100%; min-height: 120px; padding: 10px 12px; border: 1.5px solid var(--line-strong); border-radius: 10px; font: 15px/1.5 var(--font); color: var(--ink); resize: vertical; }
.fb-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(11,110,102,.18); }
.fb-note { margin: 0; font-size: 13px; color: var(--muted); }
.fb-done { margin: 0; font-size: 15px; font-weight: 600; color: var(--ok); }

@media (max-width: 1000px) {
  .step-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat, .feat--flip { grid-template-columns: minmax(0, 1fr); }
  .feat--flip .feat-txt { order: 0; }
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-foot .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  h1, .hero-badge h1 { font-size: 30px; }
  h2 { font-size: 23px; margin-top: 44px; }
  .site-head .wrap { flex-direction: column; align-items: stretch; gap: 0; padding-top: 10px; }
  .site-nav { overflow-x: auto; margin: 0 -16px; padding: 4px 10px 8px; scrollbar-width: none; }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { flex: none; height: 34px; font-size: 14px; }
  .hero-tool, .page-top { padding-top: 20px; }
  .tool-card { border-radius: var(--r-lg); box-shadow: 0 3px 0 var(--ink); }
  html { scroll-padding-top: 116px; }
  .step-grid, .phone-row { grid-template-columns: minmax(0, 1fr); }
  .hero-badge .hero-sub { font-size: 21px; }
  .shot { padding: 16px 12px 12px; border-radius: var(--r-lg); }
  .shot::before { border-radius: var(--r); }
  .shot img { clip-path: inset(3px round var(--r-sm)); }
  .shot--phone img { clip-path: none; }
  .shot figcaption { margin-top: 12px; }
  .to-top { top: auto; bottom: 68px; right: 16px; width: auto; height: 40px; padding: 0 14px; border-right: 1.5px solid var(--ink); border-radius: 999px; }
  .to-top span { display: inline; }
  .shot--phone { max-width: 260px; }
  .cta { flex-direction: column; align-items: flex-start; padding: 24px; }
  .site-foot .wrap { grid-template-columns: 1fr; }
  .gallery--brand { grid-template-columns: 1fr; }
  .fb-tab { top: auto; bottom: 16px; right: 16px; padding: 10px 16px; border-right: 1.5px solid var(--ink); border-radius: 999px; writing-mode: horizontal-tb; transform: none; }
  .fb-panel { right: 16px; top: auto; bottom: 72px; transform: none; }
}
@media (max-width: 520px) {
  .tool-grid { grid-template-columns: minmax(0, 1fr); }
}
