:root {
  color-scheme: light;
  --bg: #f3f1ea;
  --bg-tint: #e9e6db;
  --surface: #fdfcf8;
  --ink: #111512;
  --ink-2: #4b524d;
  --ink-3: #6a716c;
  --line: #d9d5c8;
  --line-strong: #b5b1a3;
  --accent: #2e6a12;
  --lime: #c8f135;
  --lime-hover: #d6f85c;
  --on-lime: #10140f;
  --dark: #0f1311;
  --dark-2: #171c19;
  --dark-3: #232a26;
  --on-dark: #f4f5ef;
  --on-dark-2: #aeb6ae;
  --dark-line: #2f3731;
  --mark-bg: #10140f;
  --mark-fg: #c8f135;
  --danger: #ad2f1b;
  --danger-soft: #f9e6e1;
  --ok: #2e6a12;
  --segment-on: #111512;
  --segment-on-ink: #f4f5ef;
  --shadow: 0 2px 4px rgb(10 14 11 / .12), 0 30px 70px -28px rgb(0 0 0 / .65);
  --radius: 24px;
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --body: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #111512;
    --bg-tint: #171c19;
    --surface: #1b211d;
    --ink: #f0f2ec;
    --ink-2: #b4bbb4;
    --ink-3: #939b94;
    --line: #2f3731;
    --line-strong: #4b544d;
    --accent: #c8f135;
    --danger: #ff9f8a;
    --danger-soft: #3a211c;
    --ok: #c8f135;
    --segment-on: #c8f135;
    --segment-on-ink: #10140f;
    --mark-bg: #c8f135;
    --mark-fg: #10140f;
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111512;
  --bg-tint: #171c19;
  --surface: #1b211d;
  --ink: #f0f2ec;
  --ink-2: #b4bbb4;
  --ink-3: #939b94;
  --line: #2f3731;
  --line-strong: #4b544d;
  --accent: #c8f135;
  --danger: #ff9f8a;
  --danger-soft: #3a211c;
  --ok: #c8f135;
  --segment-on: #c8f135;
  --segment-on-ink: #10140f;
  --mark-bg: #c8f135;
  --mark-fg: #10140f;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.04; letter-spacing: -.03em; margin: 0; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--lime); color: var(--on-lime); padding: 8px 14px; border-radius: 10px; z-index: 20; }
.skip:focus { top: 10px; }
.wrap { width: min(100% - 32px, 1240px); margin-inline: auto; }
.article-narrow { width: min(100% - 32px, 780px); }

/* Labels */
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 18px; padding: 5px 12px 5px 10px; border: 1px solid var(--dark-line); border-radius: 99px; color: var(--on-dark-2); font: 500 .78rem/1.3 var(--mono); }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgb(200 241 53 / .16); }
.kicker { margin: 0 0 12px; color: var(--ink-3); font: 500 .8rem/1.3 var(--mono); }
.kicker--on-dark { color: var(--lime); }
.ext { font: 600 .76rem/1 var(--mono); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--dark); color: var(--on-dark); border-bottom: 1px solid var(--dark-line); --mark-bg: #c8f135; --mark-fg: #10140f; }
/* An auto ad placed in the header must not stick to the screen. */
.site-header:has(.google-auto-placed) { position: relative; }
.site-header__inner { min-height: 72px; display: flex; flex-wrap: wrap; align-items: center; gap: 0 22px; }
.site-header__inner > .google-auto-placed { order: 4; flex: 0 0 100%; min-width: 0; padding-bottom: 12px; }
.brand { order: 1; display: inline-flex; align-items: center; gap: 10px; color: var(--on-dark); font: 700 1.28rem/1 var(--display); text-decoration: none; letter-spacing: -.03em; }
.brand__mark { width: 34px; height: 34px; stroke: none; flex: none; transition: transform .25s; }
.brand:hover .brand__mark { transform: rotate(-8deg); }
.brand__dot { color: var(--lime); }
.site-nav { position: relative; z-index: 6; order: 2; display: flex; align-items: center; gap: 2px; margin-left: 12px; padding: 4px; border: 1px solid var(--dark-line); border-radius: 99px; background: var(--dark-2); }
.site-nav__link { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; padding: 6px 15px; border: 0; border-radius: 99px; background: none; color: var(--on-dark-2); font-weight: 500; font-size: .93rem; text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
.site-nav__link:hover, .menu.is-open .menu__toggle { background: var(--dark-3); color: var(--on-dark); }
.menu__toggle svg { width: 15px; height: 15px; transition: transform .2s; }
.menu.is-open .menu__toggle svg { transform: rotate(180deg); }
.menu { position: relative; }
.menu__panel { position: absolute; top: calc(100% + 14px); left: -5px; width: min(720px, calc(100vw - 32px)); padding: 18px; border: 1px solid var(--dark-line); border-radius: 22px; background: var(--dark-2); box-shadow: 0 30px 70px -20px rgb(0 0 0 / .75); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .15s, transform .15s, visibility .15s; }
.menu.is-open .menu__panel { opacity: 1; visibility: visible; transform: none; }
.menu__eyebrow { margin: 2px 8px 12px; color: var(--on-dark-2); font: 500 .78rem/1 var(--mono); }
.menu__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
.menu__item { display: grid; grid-template-columns: 56px 1fr; column-gap: 8px; padding: 11px 10px; border-radius: 13px; color: var(--on-dark); text-decoration: none; transition: background .15s; }
.menu__item:hover { background: var(--dark-3); }
.menu__item .ext { grid-row: span 2; align-self: start; padding-top: 4px; color: var(--lime); }
.menu__item strong { font-size: .97rem; }
.menu__item small { color: var(--on-dark-2); font-size: .82rem; line-height: 1.35; }
.site-actions { order: 3; display: flex; align-items: center; gap: 8px; margin-left: auto; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; background: none; border: 0; border-radius: 50%; color: inherit; cursor: pointer; flex: none; transition: background .15s; }
.site-actions .icon-btn { color: var(--on-dark-2); }
.site-actions .icon-btn:hover { background: var(--dark-3); color: var(--on-dark); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn--small { width: 34px; height: 34px; color: var(--ink-3); }
.icon-btn--small:hover { background: var(--bg-tint); color: var(--ink); }
.nav-toggle { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 9px 18px; border: 1px solid transparent; border-radius: 99px; font-weight: 600; font-size: .94rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn--primary { background: var(--lime); color: var(--on-lime); }
.btn--primary:hover:not(:disabled) { background: var(--lime-hover); transform: translateY(-1px); }
.btn--header { min-height: 40px; padding-inline: 16px; font-size: .9rem; }
.btn--large { min-height: 54px; padding-inline: 26px; font-size: 1.04rem; }
.btn--quiet { background: none; color: var(--ink-2); border-color: var(--line-strong); }
.btn--quiet:hover:not(:disabled) { background: var(--bg-tint); color: var(--ink); }
.btn--small { min-height: 34px; padding: 5px 13px; font-size: .84rem; }
.btn--outline { background: var(--segment-on); color: var(--segment-on-ink); }
.btn--outline:hover { opacity: .85; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 64px 0 72px; background: var(--dark); color: var(--on-dark); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(var(--dark-line) 1px, transparent 1px), linear-gradient(90deg, var(--dark-line) 1px, transparent 1px); background-size: 64px 64px; opacity: .3; mask-image: radial-gradient(ellipse 80% 90% at 20% 30%, #000, transparent 75%); }
.hero::after { content: ""; position: absolute; z-index: -1; width: 780px; height: 780px; right: -180px; top: -320px; border-radius: 50%; background: radial-gradient(circle, rgb(200 241 53 / .24), transparent 65%); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, min(590px, 54%)); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.75rem, 6vw, 5.1rem); font-weight: 700; line-height: .98; letter-spacing: -.045em; }
.hero h1 em, .page-head h1 em { font-style: normal; color: var(--lime); }
.hero__title--tool { font-size: clamp(3.2rem, 8vw, 6.6rem) !important; }
.hero__title--tool span { display: block; color: var(--on-dark-2); }
.hero__lead { max-width: 520px; margin: 22px 0 0; color: var(--on-dark-2); font-size: clamp(1.05rem, 1.7vw, 1.2rem); line-height: 1.55; }
.flow { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 30px; }
.flow svg { width: 40px; height: 12px; flex: none; color: var(--lime); stroke-width: 1.5; }
.chip { padding: 8px 13px; border: 1px solid var(--dark-line); border-radius: 10px; background: var(--dark-2); color: var(--on-dark-2); font: 500 .82rem/1 var(--mono); }
.chip b { font-weight: 600; color: var(--on-dark); }
.chip--done { border-color: var(--lime); background: var(--lime); color: rgb(16 20 15 / .7); }
.chip--done b { color: var(--on-lime); }

/* Converter */
.tool { padding: 14px; background: var(--surface); color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); scroll-margin-top: 90px; min-width: 0; }
.tool__formats { display: grid; gap: 7px; margin: 4px 4px 12px; }
.tool__label { color: var(--ink-3); font: 500 .75rem/1 var(--mono); }
.segments { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; padding: 3px; background: var(--bg-tint); border-radius: 14px; }
.segment { min-height: 40px; padding: 5px 2px; border: 0; background: none; border-radius: 11px; color: var(--ink-2); font-weight: 600; font-size: .87rem; cursor: pointer; transition: background .15s, color .15s; }
.segment:hover { color: var(--ink); background: var(--bg); }
.segment[aria-checked="true"] { background: var(--segment-on); color: var(--segment-on-ink); }
.drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 248px; padding: 26px 18px; text-align: center; background: var(--bg); border: 1.5px dashed var(--line-strong); border-radius: 18px; cursor: pointer; transition: border-color .15s, background .15s; }
.drop:hover, .drop.is-over, .drop:focus-within { border-color: var(--ink); }
.drop.is-over { background: rgb(200 241 53 / .2); }
.drop:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.drop__input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop__stack { position: relative; width: 74px; height: 66px; margin-bottom: 14px; }
.drop__stack i { position: absolute; inset: 6px 12px 2px; border-radius: 12px; transition: transform .25s; }
.drop__stack i:nth-child(1) { background: var(--line); transform: rotate(-12deg) translateX(-9px); }
.drop__stack i:nth-child(2) { background: var(--line-strong); transform: rotate(9deg) translateX(9px); }
.drop__stack i:nth-child(3) { display: grid; place-items: center; background: var(--lime); color: var(--on-lime); }
.drop__stack svg { width: 24px; height: 24px; stroke-width: 2.2; }
.drop:hover .drop__stack i:nth-child(1), .drop.is-over .drop__stack i:nth-child(1) { transform: rotate(-20deg) translateX(-16px); }
.drop:hover .drop__stack i:nth-child(2), .drop.is-over .drop__stack i:nth-child(2) { transform: rotate(16deg) translateX(16px); }
.drop:hover .drop__stack i:nth-child(3), .drop.is-over .drop__stack i:nth-child(3) { transform: translateY(-4px); }
.drop__title { font: 700 clamp(1.4rem, 2.6vw, 1.7rem)/1.15 var(--display); letter-spacing: -.03em; }
.drop__hint { color: var(--ink-2); font-size: .95rem; }
.drop__link { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2.5px; text-underline-offset: 3px; }
.tool__options { display: flex; flex-wrap: wrap; align-items: end; gap: 10px 20px; margin: 12px 4px 4px; }
.option { display: flex; flex: 1 1 200px; flex-direction: column; gap: 3px; min-width: 0; }
.option--size { flex: 0 1 150px; }
.option label { display: flex; justify-content: space-between; color: var(--ink-3); font: 500 .75rem/1.4 var(--mono); }
.option output { color: var(--ink); }
.option input[type="range"] { width: 100%; height: 36px; margin: 0; accent-color: var(--segment-on); }
.option select { min-height: 36px; padding: 5px 9px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); font-size: .9rem; }
.option__note { flex-basis: 100%; margin: 0; color: var(--ink-2); font-size: .85rem; }
.results { margin: 14px 4px 4px; padding-top: 14px; border-top: 1px solid var(--line); }
.results__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.results__summary { flex: 1 1 150px; font-size: .93rem; font-variant-numeric: tabular-nums; }
.results__actions { display: flex; flex-wrap: wrap; gap: 6px; }
.results__actions .btn { min-height: 40px; padding-inline: 14px; font-size: .88rem; }
.progress { max-width: 220px; height: 4px; margin-top: 6px; border-radius: 4px; background: var(--bg-tint); overflow: hidden; }
.progress span { display: block; height: 100%; width: var(--progress, 0%); background: var(--segment-on); transition: width .2s; }
.files { display: grid; gap: 6px; max-height: 368px; margin: 0; padding: 0; overflow-y: auto; list-style: none; }
.file { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 11px; align-items: center; padding: 7px; background: var(--bg); border-radius: 14px; }
.file__thumb { width: 52px; height: 52px; border-radius: 10px; background: var(--bg-tint); overflow: hidden; }
.file__thumb img { width: 100%; height: 100%; object-fit: cover; }
.file__thumb img:not([src]) { visibility: hidden; }
.file[data-state="queued"] .file__thumb { animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .4; } }
.file__body { min-width: 0; }
.file__name { margin: 0; overflow: hidden; font-size: .91rem; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.file__meta { margin: 1px 0 0; color: var(--ink-2); font: 500 .71rem/1.4 var(--mono); }
.file__badge { font-weight: 600; }
.file[data-state="done"] .file__badge { color: var(--ok); }
.file[data-state="error"] .file__badge, .file__error { color: var(--danger); }
.file[data-state="error"] { background: var(--danger-soft); }
.file__error { margin: 3px 0 0; font-size: .82rem; }
.file__actions { display: flex; align-items: center; gap: 2px; }

/* Marquee */
.marquee { overflow: hidden; background: var(--lime); color: var(--on-lime); }
.marquee__track { display: flex; align-items: center; gap: 26px; width: max-content; padding: 13px 0; font: 700 1.04rem/1 var(--display); letter-spacing: -.01em; white-space: nowrap; animation: slide 42s linear infinite; }
.marquee i { width: 8px; height: 8px; flex: none; background: var(--on-lime); transform: rotate(45deg); }
@keyframes slide { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 96px 0; }
.section--flush-top { padding-top: 0; }
.section--tinted { background: var(--bg-tint); }
.section--doc { padding: 60px 0 96px; }
.section--blog { padding: 44px 0 96px; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.section__title { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 700; }
.more { display: inline-flex; align-items: center; gap: 6px; flex: none; padding-bottom: 6px; color: var(--ink); font-weight: 600; text-decoration: none; }
.more svg { width: 18px; height: 18px; transition: transform .2s; }
.more:hover svg { transform: translateX(4px); }
.prose-lead { margin: 0; color: var(--ink-2); font-size: clamp(1.1rem, 1.8vw, 1.32rem); line-height: 1.55; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.bento__card { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 34px; min-height: 212px; padding: 22px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; color: var(--ink); text-decoration: none; transition: transform .2s, border-color .2s; }
.bento__card:hover { transform: translateY(-3px); border-color: var(--ink); }
.bento__ext { font: 700 clamp(2.3rem, 3.8vw, 3.2rem)/1 var(--display); letter-spacing: -.05em; }
.bento__body { display: grid; gap: 4px; }
.bento__body strong { font-size: 1.02rem; }
.bento__body span { color: var(--ink-2); font-size: .91rem; line-height: 1.4; }
.bento__arrow { position: absolute; top: 20px; right: 20px; width: 24px; height: 24px; color: var(--ink-3); transition: transform .2s, color .2s; }
.bento__card:hover .bento__arrow { transform: translate(3px, -3px); color: var(--ink); }
.bento:not(.bento--plain) .bento__card:first-child { grid-column: span 2; background: var(--lime); border-color: var(--lime); color: var(--on-lime); }
.bento:not(.bento--plain) .bento__card:first-child .bento__ext { font-size: clamp(3.6rem, 7vw, 6.2rem); }
.bento:not(.bento--plain) .bento__card:first-child .bento__body span, .bento:not(.bento--plain) .bento__card:first-child .bento__arrow { color: rgb(16 20 15 / .72); }
.bento:not(.bento--plain) .bento__card:nth-child(4) { grid-column: span 1; }
.bento--plain { grid-template-columns: repeat(3, 1fr); }
.bento--plain .bento__card { min-height: 180px; }

/* Privacy */
.private { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; padding: clamp(28px, 5vw, 64px); background: var(--dark); color: var(--on-dark); border-radius: 32px; }
.private h2 { margin-bottom: 20px; font-size: clamp(2.1rem, 4.4vw, 3.5rem); font-weight: 700; }
.private__copy p:not(.kicker) { max-width: 560px; color: var(--on-dark-2); }
.ledger { align-self: center; margin: 0; }
.ledger div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px; padding: 18px 0; border-bottom: 1px solid var(--dark-line); }
.ledger div:first-child { border-top: 1px solid var(--dark-line); }
.ledger dt { color: var(--on-dark-2); }
.ledger dd { margin: 0; color: var(--lime); font: 600 .86rem/1.7 var(--mono); }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.steps li { counter-increment: step; display: grid; gap: 6px; padding: 24px 28px 8px 0; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.steps li::before { content: "0" counter(step); margin-bottom: 26px; color: var(--ink-3); font: 500 .85rem/1 var(--mono); }
.steps strong { font: 700 clamp(1.3rem, 2.2vw, 1.65rem)/1.1 var(--display); letter-spacing: -.02em; }
.steps span { color: var(--ink-2); }

/* FAQ */
.faq-layout, .explain { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { display: flex; justify-content: space-between; gap: 18px; padding: 20px 0; font: 600 clamp(1.05rem, 1.7vw, 1.2rem)/1.3 var(--display); letter-spacing: -.01em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 500 1.3rem/1 var(--mono); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: -6px 0 22px; max-width: 640px; color: var(--ink-2); }

/* Posts */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 24px; }
.post-card { display: flex; flex-direction: column; min-width: 0; }
.post-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-tint); border-radius: 18px; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.post-card:hover .post-card__media img { transform: scale(1.035); }
.post-card__body { padding-top: 15px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0 0 8px; color: var(--ink-3); font: 500 .75rem/1.4 var(--mono); }
.post-meta--on-dark { margin: 22px 0 0; color: var(--on-dark-2); }
.post-meta__tag { padding: 3px 9px; background: var(--lime); color: var(--on-lime); border-radius: 99px; font-weight: 600; }
.post-card h2 a, .post-card h3 a { color: var(--ink); text-decoration: none; background: linear-gradient(var(--lime), var(--lime)) 0 100% / 0 2px no-repeat; transition: background-size .25s; }
.post-card:hover h2 a, .post-card:hover h3 a { background-size: 100% 2px; }
.post-card h3 { margin-bottom: 8px; font-size: 1.28rem; font-weight: 700; line-height: 1.16; letter-spacing: -.02em; }
.post-card__excerpt { margin: 0; color: var(--ink-2); font-size: .94rem; line-height: 1.5; }
.post-card--featured { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; margin-bottom: 56px; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.post-card--featured .post-card__body { padding: 0; }
.post-card--featured h2 { margin-bottom: 14px; font-size: clamp(2rem, 4vw, 3.3rem); font-weight: 700; }
.post-card--featured .post-card__excerpt { font-size: 1.08rem; }

/* Page and article headers */
.page-head { padding: 64px 0; }
.page-head--dark { position: relative; overflow: hidden; background: var(--dark); color: var(--on-dark); }
.page-head h1 { font-size: clamp(2.6rem, 6.6vw, 5.4rem); font-weight: 700; letter-spacing: -.045em; }
.page-head p:not(.eyebrow) { max-width: 640px; margin: 16px 0 0; color: var(--on-dark-2); font-size: 1.12rem; }
.page-head--center { padding: 110px 0 130px; text-align: center; }
.page-head--center p:not(.eyebrow) { margin-inline: auto; }
.page-head .page-head__action { margin-top: 26px; }
.not-found { margin: 0 0 12px !important; color: var(--lime) !important; font: 600 1.1rem/1 var(--mono) !important; }
.article-head { background: var(--dark); color: var(--on-dark); padding: 44px 0 56px; }
.article-head__inner { max-width: 1240px; }
.article-head h1 { max-width: 980px; font-size: clamp(2.3rem, 5.2vw, 4.4rem); font-weight: 700; letter-spacing: -.04em; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; color: var(--on-dark-2); font: 500 .78rem/1.4 var(--mono); }
.crumbs a { color: var(--lime); text-decoration: none; }
.reading-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 15; height: 3px; pointer-events: none; }
.reading-progress span { display: block; height: 100%; background: var(--lime); transform: scaleX(0); transform-origin: 0 50%; }
.article-layout { display: grid; grid-template-columns: 270px minmax(0, 760px); justify-content: space-between; gap: 56px; padding-block: 48px 96px; align-items: start; }
.article-side { position: sticky; top: 96px; display: grid; gap: 18px; max-height: calc(100vh - 116px); overflow-y: auto; scrollbar-width: thin; }
.toc p { margin: 0 0 10px; color: var(--ink-3); font: 500 .75rem/1 var(--mono); }
.toc ol { display: grid; margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--line); }
.toc a { display: block; margin-left: -1px; padding: 6px 0 6px 13px; border-left: 2px solid transparent; color: var(--ink-2); font-size: .87rem; line-height: 1.35; text-decoration: none; }
.toc a:hover { color: var(--ink); }
.toc a.is-active { border-left-color: var(--ink); color: var(--ink); font-weight: 600; }
.side-cta { position: relative; display: grid; gap: 3px; padding: 16px 44px 16px 16px; background: var(--lime); color: var(--on-lime); border-radius: 16px; text-decoration: none; }
.side-cta span { color: rgb(16 20 15 / .74); font-size: .83rem; line-height: 1.35; }
.side-cta svg { position: absolute; top: 16px; right: 14px; width: 20px; height: 20px; transition: transform .2s; }
.side-cta:hover svg { transform: translateX(3px); }
.article__image { width: 100%; margin-bottom: 36px; border-radius: 20px; }
.prose { font-size: 1.09rem; line-height: 1.75; }
.prose h1, .prose h2 { margin: 2em 0 .55em; font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; scroll-margin-top: 96px; }
.prose h3, .prose h4 { scroll-margin-top: 96px; }
.prose h3 { margin: 1.7em 0 .5em; font-size: 1.36rem; font-weight: 700; letter-spacing: -.02em; }
.prose h4 { margin: 1.5em 0 .4em; font: 700 1.12rem/1.3 var(--display); }
.prose > :first-child { margin-top: 0; }
.prose a { color: var(--ink); text-decoration-color: var(--lime); text-decoration-thickness: 2px; }
.prose img { height: auto !important; border-radius: 12px; }
.prose li { margin-block: .35em; }
.prose blockquote { margin: 1.5em 0; padding-left: 18px; border-left: 3px solid var(--lime); color: var(--ink-2); }
.prose table { display: block; overflow-x: auto; border-collapse: collapse; }
.prose td, .prose th { padding: 9px 13px; border: 1px solid var(--line); }
.prose pre { overflow-x: auto; }

/* Footer */
.site-footer { position: relative; overflow: hidden; padding-top: 72px; background: var(--dark); color: var(--on-dark); }
.site-footer__pledge { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 26px; padding-bottom: 54px; border-bottom: 1px solid var(--dark-line); }
.site-footer__pledge p { max-width: 820px; margin: 0; font: 700 clamp(2rem, 4.8vw, 3.9rem)/1.02 var(--display); letter-spacing: -.04em; }
.site-footer__pledge span { color: var(--lime); }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; padding-block: 44px; }
.site-footer h2 { margin-bottom: 14px; color: var(--on-dark-2); font: 500 .75rem/1 var(--mono); letter-spacing: 0; }
.site-footer ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.site-footer__formats { display: flex !important; flex-wrap: wrap; gap: 6px !important; max-width: 340px; }
.site-footer__formats a { display: block; padding: 6px 12px; border: 1px solid var(--dark-line); border-radius: 99px; font-size: .86rem; transition: background .15s, color .15s, border-color .15s; }
.site-footer__formats a:hover { background: var(--lime); border-color: var(--lime); color: var(--on-lime) !important; text-decoration: none !important; }
.site-footer a:not(.btn) { color: var(--on-dark); text-decoration: none; }
.site-footer ul:not(.site-footer__formats) a:hover { color: var(--lime); }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 22px; padding-top: 18px; border-top: 1px solid var(--dark-line); color: var(--on-dark-2); font: 500 .75rem/1.5 var(--mono); }
.site-footer__word { margin: 18px 0 -2.5vw; color: var(--dark-3); font: 800 21.5vw/.82 var(--display); letter-spacing: -.055em; text-align: center; white-space: nowrap; user-select: none; }

@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; gap: 34px; }
  .hero__copy { max-width: 760px; }
}

@media (max-width: 1040px) {
  .hero__grid { gap: 34px; }
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-top: 28px; }
  .article-side { position: static; max-height: none; overflow: visible; }
  .toc { padding: 14px 16px; background: var(--bg-tint); border-radius: 16px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento--plain { grid-template-columns: repeat(2, 1fr); }
  .private, .faq-layout, .explain { grid-template-columns: 1fr; gap: 28px; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: repeat(3, 1fr); }
  .site-footer__grid > :first-child { grid-column: 1 / -1; }
  .site-footer__formats { max-width: none; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-grid; }
  .btn--header { display: none; }
  .site-nav { order: 5; display: none; position: absolute; inset: 100% 0 auto; z-index: 3; flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100vh - 72px); margin: 0; padding: 8px 16px 18px; overflow-y: auto; background: var(--dark); border: 0; border-bottom: 1px solid var(--dark-line); border-radius: 0; }
  .site-nav.is-open { display: flex; }
  .site-nav__link { width: 100%; justify-content: space-between; min-height: 48px; padding-inline: 8px; border-radius: 10px; font-size: 1.04rem; }
  .menu__panel { position: static; display: none; width: 100%; padding: 2px 0 8px; opacity: 1; visibility: visible; transform: none; border: 0; background: none; box-shadow: none; }
  .menu.is-open .menu__panel { display: block; }
  .menu__eyebrow { display: none; }
  .menu__grid { grid-template-columns: 1fr; }
  .menu__item small { display: none; }
  .menu__item { align-items: center; }
  .menu__item .ext { grid-row: auto; padding-top: 0; }
  .post-card--featured { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; padding-bottom: 40px; }
}

@media (max-width: 620px) {
  html { scroll-padding-top: 80px; }
  .site-header__inner { min-height: 62px; }
  .hero { padding: 30px 0 44px; }
  .hero__grid { gap: 22px; }
  .eyebrow { margin-bottom: 12px; }
  .hero__lead { margin-top: 13px; }
  .flow { display: none; }
  .tool { padding: 10px; border-radius: 20px; }
  .segments { grid-template-columns: repeat(4, 1fr); }
  .drop { min-height: 212px; }
  .option { flex-basis: 100%; }
  .option--size { flex: 1 1 100%; }
  .results__actions, .results__actions .btn--primary { flex: 1 1 100%; }
  .results__actions .btn--quiet { flex: 1; }
  .file { grid-template-columns: 46px minmax(0, 1fr) auto; gap: 9px; }
  .file__thumb { width: 46px; height: 46px; }
  .file__actions { grid-column: 2 / -1; justify-content: flex-end; }
  .section { padding: 64px 0; }
  .section--flush-top { padding-top: 0; }
  .section--blog { padding-top: 28px; }
  .section__head { flex-wrap: wrap; margin-bottom: 26px; }
  .bento__card { min-height: 164px; gap: 22px; padding: 16px; border-radius: 18px; }
  .bento__body span { font-size: .84rem; }
  .bento__arrow { top: 15px; right: 15px; }
  .private { gap: 22px; padding: 26px 20px; border-radius: 24px; }
  .steps { grid-template-columns: 1fr; }
  .steps li { padding: 20px 0; }
  .steps li + li { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .steps li::before { margin-bottom: 8px; }
  .post-grid { grid-template-columns: 1fr; }
  .page-head { padding: 40px 0 44px; }
  .article-head { padding: 26px 0 36px; }
  .site-footer { padding-top: 52px; }
  .site-footer__grid { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .site-footer__pledge .btn { width: 100%; }
}

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