/* /cutout/ shared base for the free cutout guide (14 Nov 2026). Tokens = useharris.com v3. Buttons are pills,
   icon buttons circles. Written for easy reading: big headings, short lines, lots of space. Each variation adds its
   own look in an inline <style>; this file holds only what all three share. */
@font-face { font-family: "Hanken"; src: url("/assets/fonts/hanken-grotesk-500-static.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Hanken"; src: url("/assets/fonts/hanken-grotesk-700-static.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/assets/fonts/ibm-plex-mono-400-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/assets/fonts/ibm-plex-mono-600-latin.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Syne"; src: url("/assets/fonts/syne-700-static.woff2") format("woff2"); font-weight: 700; font-display: swap; }
:root {
  --paper: #F6F6F3; --ink: #16151F; --slate: #4B4A57; --violet: #4C1FD1; --violet-down: #3B16A8; --green: #0B7A55; --red: #A3261B;
  --rule: #DCDBD3; --card: #FFFFFF; --tint: #ECE8FA; --code-bg: #16151F; --code-ink: #F6F6F3;
  --body: "Hanken", system-ui, -apple-system, "Segoe UI", sans-serif; --mono: "Plex Mono", ui-monospace, Consolas, monospace;
  --display: "Hanken", system-ui, sans-serif;
  --pad: 16px; --max: 1120px;
  --bg: var(--paper); --fg: var(--ink); --muted: var(--slate); --line: var(--rule); --panel: var(--card);
}
@media (min-width: 720px) { :root { --pad: 40px; } }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 500 19px/1.6 var(--body); overflow-x: hidden; }
img, svg, video { max-width: 100%; display: block; }
a { color: var(--violet); text-underline-offset: 4px; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 10px; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mono { font-family: var(--mono); font-weight: 400; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 50; background: var(--violet); color: #fff; padding: 10px 18px; border-radius: 999px; }
.skip:focus { top: 12px; }
p, .sub-list li, .plain li, .lines li { max-width: 34em; }
h1, h2, h3 { text-wrap: balance; }

/* header + footer */
.top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 12px; }
.mark { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: inherit; font: 700 18px/1 var(--body); }
.mark i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--violet); color: #fff; font: 700 17px/1 var(--body); font-style: normal; }
.top nav { display: flex; gap: 8px; align-items: center; }
.foot { padding: 48px 0 64px; font-size: 15px; color: var(--muted); border-top: 1.5px solid var(--line); margin-top: 32px; }
.foot ul { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { color: inherit; }

/* pills */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 14px 28px; border: 0; border-radius: 999px;
  background: var(--violet); color: #fff; font: 700 17px/1.2 var(--body); text-decoration: none; cursor: pointer; transition: background .2s, transform .15s; }
.pill:hover { background: var(--violet-down); }
.pill:active { transform: scale(.98); }
.pill.ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1.5px currentColor; }
.pill.sm { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.pill svg { width: 20px; height: 20px; flex: none; }

/* one command, with a copy button */
.cmd { display: flex; align-items: stretch; gap: 0; background: var(--code-bg); color: var(--code-ink); border-radius: 22px; margin: 14px 0; overflow: hidden; max-width: 46em; }
.cmd code { flex: 1 1 auto; min-width: 0; padding: 18px 8px 18px 20px; font: 400 15px/1.55 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.cmd code::before { content: "> "; color: #9C8CF0; }
.copy { flex: none; align-self: center; margin: 8px; min-width: 92px; min-height: 48px; padding: 0 16px; border-radius: 999px; border: 0; cursor: pointer;
  background: #2C2A3A; color: #fff; font: 700 15px/1 var(--body); display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.copy:hover { background: var(--violet); }
.copy.done { background: var(--green); }
.copy svg { width: 18px; height: 18px; }
.out { font: 400 15px/1.5 var(--mono); background: var(--panel); color: var(--muted); border-radius: 16px; padding: 12px 18px; box-shadow: inset 0 0 0 1.5px var(--line); max-width: 46em; overflow-wrap: anywhere; }
code.in { font: 600 .88em/1 var(--mono); background: var(--tint); color: var(--violet-down); padding: .15em .45em; border-radius: 8px; overflow-wrap: anywhere; }

/* callouts */
.note { border-radius: 20px; padding: 16px 20px; background: var(--tint); color: var(--ink); max-width: 46em; margin: 16px 0; font-size: 17px; }
.note.warn { background: #FBEDE9; }
.note b:first-child { display: block; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-family: var(--mono); margin-bottom: 2px; }

/* lists that read one idea per line */
.lines { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 10px; }
.lines li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.lines li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--violet); margin: .5em 0 0 6px; }

/* option table */
.opts { width: 100%; max-width: 46em; border-collapse: separate; border-spacing: 0 8px; font-size: 17px; }
.opts td { padding: 12px 16px; background: var(--panel); vertical-align: top; }
.opts td:first-child { border-radius: 16px 0 0 16px; white-space: nowrap; }
.opts td:last-child { border-radius: 0 16px 16px 0; }
.opts code { font: 600 15px/1.4 var(--mono); color: var(--violet); }
@media (max-width: 480px) { .opts td { display: block; border-radius: 16px !important; } .opts td:first-child { border-radius: 16px 16px 0 0 !important; padding-bottom: 0; } .opts td:last-child { border-radius: 0 0 16px 16px !important; } }

/* downloads */
.dl { display: grid; gap: 12px; margin: 18px 0; }
@media (min-width: 640px) { .dl { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 46em; } }
.dl a { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; padding: 16px 20px; border-radius: 22px; text-decoration: none; color: var(--fg);
  background: var(--panel); box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .2s, transform .15s; }
.dl a:hover { box-shadow: inset 0 0 0 2px var(--violet); }
.dl a i { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--violet); color: #fff; }
.dl a i svg { width: 22px; height: 22px; }
.dl b { display: block; font: 600 16px/1.3 var(--mono); overflow-wrap: anywhere; }
.dl span { font-size: 15px; color: var(--muted); }

/* video + images */
.media { position: relative; border-radius: 24px; overflow: hidden; background: #000; }
.media video, .media img { width: 100%; height: auto; }
.tagl { position: absolute; left: 12px; top: 12px; z-index: 2; font: 600 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; background: rgba(22,21,31,.82); color: #fff; }
.tagl.new { background: var(--violet); }
figure { margin: 0; }
figcaption { font-size: 15px; color: var(--muted); margin-top: 10px; max-width: 40em; }

/* drag-to-compare (same framing, old vs new) */
.compare { position: relative; overflow: hidden; border-radius: 24px; background: #000; touch-action: pan-y; user-select: none; --x: 50%; }
.compare img { width: 100%; height: auto; pointer-events: none; }
.compare .after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--x)); }
.compare .after img { height: 100%; object-fit: cover; }
.compare .bar { position: absolute; top: 0; bottom: 0; left: var(--x); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; }
.compare .knob { position: absolute; top: 50%; left: var(--x); width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: #fff; color: var(--violet);
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.35); pointer-events: none; }
.compare .knob svg { width: 26px; height: 26px; }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare input:focus-visible ~ .knob { outline: 3px solid var(--violet); outline-offset: 4px; }

/* the soft call to action */
.cta-card { border-radius: 32px; padding: clamp(28px, 5vw, 56px); background: var(--ink); color: var(--paper); }
.cta-card h2 { margin: 0 0 12px; }
.cta-card p { color: #BDBCC9; margin: 0 0 24px; }
.cta-card .pill { background: var(--paper); color: var(--ink); }
.cta-card .pill:hover { background: #fff; }
