/* ---------------------------------------------------------------------------
   TinyLink design system — light theme.
   Strictly black, white and grey. Dark bands for the header, hero and footer
   on a white page. No gradients, no glows, no coloured accents — contrast and
   type weight carry the hierarchy.
   --------------------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Strict monochrome. No hues anywhere — hierarchy comes from weight,
     contrast and spacing instead of colour. */
  --black:       #000000;
  --ink:         #0a0a0a;   /* dark bands: header, hero, footer */
  --ink-2:       #141414;
  --on-ink:      #ffffff;
  --on-ink-dim:  rgba(255, 255, 255, .62);
  --on-ink-line: rgba(255, 255, 255, .16);

  --page:        #ffffff;
  --surface:     #ffffff;
  --surface-alt: #fafafa;
  --surface-2:   #f2f2f2;
  --border:      #e4e4e4;
  --border-2:    #cccccc;

  --heading:     #0a0a0a;
  --text:        #4a4a4a;
  --faint:       #8a8a8a;

  --radius:      8px;
  --radius-sm:   6px;
  --radius-lg:   12px;

  /* Flat, tight shadows — no coloured glow. */
  --shadow-sm:   0 1px 2px rgba(0, 0, 0, .05);
  --shadow:      0 1px 2px rgba(0, 0, 0, .05), 0 4px 12px -4px rgba(0, 0, 0, .08);
  --shadow-lg:   0 2px 6px rgba(0, 0, 0, .06), 0 12px 28px -10px rgba(0, 0, 0, .14);
  --ring:        0 0 0 3px rgba(0, 0, 0, .14);

  --max:         1160px;
  --pad:         16px;
  --font:        "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono:        "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
}

/* In a monochrome palette an underline is what marks a link in running text,
   so prose links are underlined by default and UI chrome opts out. */
a { color: var(--heading); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:hover { color: var(--black); text-decoration-thickness: 2px; }
.brand, .btn, .nav a, .footer ul a, .copy, .short-url, .list-title a,
.crumbs a, .faq summary, .trust-item, .tick-list a, .pill, .method {
  text-decoration: none;
}
.nav a:hover, .footer ul a:hover, .crumbs a:hover, .short-url:hover, .list-title a:hover {
  text-decoration: underline; text-decoration-thickness: 1px;
}
.brand:hover, .btn:hover { text-decoration: none; }
code, pre, .mono { font-family: var(--mono); }
.muted { color: var(--text); }
.faint { color: var(--faint); font-size: .82rem; }
.inline { display: inline; }
img { max-width: 100%; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: 24px; width: 100%; }
.main { flex: 1; margin-top: 68px; padding-block: 40px 72px; }
.main-flush { flex: 1; margin-top: 68px; }

/* =========================================================== header ====== */
header.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: var(--ink);
  border-bottom: 1px solid var(--on-ink-line);
}
.topbar-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 24px; height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--on-ink); font-size: 1.22rem; font-weight: 700; letter-spacing: -.02em;
}
.brand:hover { color: var(--on-ink); text-decoration: none; }
.brand strong { font-weight: 700; color: var(--on-ink); }
.brand-mark { width: 28px; height: 28px; flex: none; display: block; color: var(--on-ink); }
.brand-mark svg { width: 28px; height: 28px; display: block; }
/* The glyph is knocked out of the mark, so it takes the band colour. */
.topbar .brand-mark, .footer .brand-mark { --logo-ink: var(--ink); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  color: var(--on-ink-dim); font-weight: 500; font-size: .92rem;
  padding: 8px 12px; border-radius: var(--radius-sm);
}
.nav a:hover { color: var(--on-ink); background: rgba(255, 255, 255, .09); text-decoration: none; }
.nav a.is-cta { color: #fff; }
.linklike {
  background: none; border: 0; cursor: pointer; font: inherit; font-size: .92rem; font-weight: 500;
  color: var(--on-ink-dim); padding: 8px 12px; border-radius: var(--radius-sm);
}
.linklike:hover { color: var(--on-ink); background: rgba(255, 255, 255, .09); }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.4rem; cursor: pointer; padding: 4px 8px; }

/* ============================================================= hero ====== */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink);
  color: var(--on-ink);
  padding: 84px 0 96px;
  text-align: center;
}
.hero-inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; padding-inline: 24px; }

.hero h1 {
  font-size: clamp(2.1rem, 5.6vw, 3.5rem);
  line-height: 1.08; font-weight: 700; letter-spacing: -.03em;
  color: #fff; margin: 0 0 20px;
}
..hero-sub { color: var(--on-ink-dim); font-size: 1.08rem; max-width: 60ch; margin: 0 auto 34px; }
.hero-sub strong { color: var(--on-ink); font-weight: 600; }

/* The bordered input pair, carried over from the original design. */
.input-wrapper {
  display: flex; max-width: 620px; margin: 0 auto;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 12px; overflow: hidden;
  transition: border-color .2s ease;
}
.input-wrapper:focus-within { border-color: var(--on-ink); }
.hero .input-wrapper input {
  flex: 1; min-width: 0; border: 0; outline: 0; border-radius: 0; background: transparent;
  padding: 17px 18px; color: #fff; font: inherit; font-size: .96rem;
}
.hero .input-wrapper input::placeholder { color: rgba(255, 255, 255, .55); }
.hero .input-wrapper input:focus { box-shadow: none; background: rgba(255,255,255,.05); }
.hero .input-wrapper .slug-input { flex: 0 1 175px; border-left: 1px solid rgba(255, 255, 255, .18); }
.input-wrapper button {
  border: 0; cursor: pointer; font: inherit; font-weight: 600; font-size: .95rem;
  padding: 0 26px; color: #fff; white-space: nowrap;
  background: var(--on-ink); color: var(--ink);
  transition: opacity .2s ease;
}
.input-wrapper button:hover { opacity: .85; }

.hero-note { margin-top: 16px; font-size: .84rem; color: rgba(255, 255, 255, .5); }
.hero-note a { color: rgba(255,255,255,.8); text-decoration: underline; }

.hero-result {
  max-width: 620px; margin: 20px auto 0; padding: 16px 18px; text-align: left;
  background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 12px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.hero-result.is-error { background: rgba(255, 255, 255, .06); border-color: var(--on-ink); color: var(--on-ink); font-weight: 500; }
.hero-result .short-url { color: #fff; font-weight: 600; font-size: 1rem; }
.hero-result .long-url { width: 100%; font-size: .8rem; color: rgba(255, 255, 255, .55);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Trust strip under the hero. */
.trust { border-bottom: 1px solid var(--border); background: var(--surface-alt); }
.trust-inner { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; padding: 22px 24px; }
.trust-item { display: flex; align-items: center; gap: 9px; font-size: .88rem; color: var(--text); }
.trust-item svg { width: 17px; height: 17px; flex: none; }
.trust-item svg path { fill: var(--heading); }

/* ========================================================== sections ===== */
.section { padding-block: 84px; }
.section-alt { background: var(--surface-alt); border-block: 1px solid var(--border); }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 52px; }
.section-head h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1.18; letter-spacing: -.025em;
  color: var(--heading); font-weight: 700; margin: 0 0 14px;
}
.section-head p { font-size: 1.03rem; margin: 0; }
.kicker {
  display: block; font-size: .78rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 12px;
}

/* Feature cards with tinted icon badges. */
.features { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); }
.feature {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px 24px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--border-2); }
.icon-badge {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px;
}
.icon-badge svg { width: 21px; height: 21px; }
/* One monochrome treatment; the tint class names are kept so the markup
   does not have to change. */
.icon-badge { background: var(--ink); border: 1px solid var(--ink); }
.icon-badge svg path { fill: var(--on-ink); }
.feature h3 { font-size: 1.06rem; font-weight: 600; color: var(--heading); margin: 0 0 8px; }
.feature p  { font-size: .93rem; margin: 0; }

/* Numbered steps. */
.steps { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step-num {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; font-size: .95rem; color: #fff; margin-bottom: 16px;
  background: var(--ink);
}
.step h3 { font-size: 1.02rem; color: var(--heading); font-weight: 600; margin: 0 0 6px; }
.step p { font-size: .93rem; margin: 0; }

/* Split showcase (copy beside a code block or preview). */
.split-showcase { display: grid; gap: 48px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); align-items: center; }
.split-showcase h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); letter-spacing: -.025em; color: var(--heading); font-weight: 700; margin: 0 0 16px; line-height: 1.2; }
.tick-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.tick-list li { display: flex; gap: 11px; align-items: flex-start; font-size: .94rem; }
.tick-list svg { width: 19px; height: 19px; flex: none; margin-top: 3px; }
.tick-list svg path { fill: var(--heading); }

/* A terminal-styled code panel. */
.code-panel {
  background: var(--ink); border: 1px solid var(--ink-2); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.code-panel-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--on-ink-line); background: var(--black); }
.code-panel-bar i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.code-panel-bar i { background: rgba(255, 255, 255, .28); }
.code-panel-bar span { margin-left: 8px; font-size: .76rem; color: var(--on-ink-dim); font-family: var(--mono); }
.code-panel pre { margin: 0; background: transparent; border: 0; border-radius: 0; padding: 20px; font-size: .82rem; }
/* The generic `pre code` rule paints code near-black, which is invisible on the
   dark panel, so the panel restates it for its own <code>. */
.code-panel pre, .code-panel pre code { color: rgba(255, 255, 255, .82); }
.code-panel .c-key { color: #fff; font-weight: 500; }
.code-panel .c-str { color: rgba(255, 255, 255, .62); }
.code-panel .c-cm  { color: rgba(255, 255, 255, .38); font-style: italic; }
.code-panel .c-fn  { color: #fff; font-weight: 500; }

/* Stats band. */
.stats-band { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); text-align: center; }
.stats-band .n { font-size: 2.3rem; font-weight: 700; letter-spacing: -.03em; color: var(--heading); line-height: 1.1; }
.stats-band .l { font-size: .87rem; color: var(--faint); }

/* FAQ. */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 4px 20px; box-shadow: var(--shadow-sm);
}
.faq details[open] { border-color: var(--border-2); }
.faq summary {
  cursor: pointer; padding: 16px 0; font-weight: 600; color: var(--heading); font-size: .97rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--heading); line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 18px; font-size: .94rem; }

/* Closing call to action. */
.cta-band {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  background: var(--ink);
  padding: 76px 24px;
}
.cta-band h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 700; letter-spacing: -.025em; color: #fff; margin: 0 0 14px; }
.cta-band p { color: rgba(255, 255, 255, .82); max-width: 52ch; margin: 0 auto 30px; }
.cta-band .btn { background: #fff; color: var(--ink); border-color: #fff; box-shadow: none; }
.cta-band .btn:hover { background: rgba(255,255,255,.86); color: var(--ink); border-color: rgba(255,255,255,.86); }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); box-shadow: none; }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }

/* ========================================================= typography ==== */
h1 { font-size: 2rem; font-weight: 700; line-height: 1.22; letter-spacing: -.025em; color: var(--heading); margin: 0 0 10px; }
h2 { font-size: 1.3rem; font-weight: 600; letter-spacing: -.015em; color: var(--heading); margin: 2.2rem 0 .9rem; }
h3 { font-size: 1.02rem; font-weight: 600; color: var(--heading); margin: 0 0 .6rem; }
.lede { font-size: 1.04rem; margin: 0 0 1.9rem; max-width: 66ch; }

/* Long-form article pages (about, terms, privacy). */
.prose { max-width: 760px; }
.prose h2 { margin-top: 2.6rem; font-size: 1.28rem; }
.prose h3 { margin-top: 1.8rem; }
.prose p, .prose li { font-size: .97rem; }
.prose ul, .prose ol { padding-left: 1.25rem; display: grid; gap: .5rem; }
.prose blockquote {
  margin: 1.5rem 0; padding: 14px 20px; border-left: 3px solid var(--heading);
  background: var(--surface-alt); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--heading);
}
.toc { background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 2rem; }
.toc ol { margin: 0; padding-left: 1.1rem; display: grid; gap: .35rem; font-size: .93rem; }
.updated { font-size: .85rem; color: var(--faint); margin-top: -.4rem; }

/* ============================================================== cards ==== */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 22px; }
.card + .card { margin-top: 16px; }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }

/* ============================================================== forms ==== */
label { display: block; font-size: .84rem; font-weight: 500; color: var(--heading); margin-bottom: .35rem; }
input[type=text], input[type=url], input[type=email], input[type=password],
input[type=number], input[type=datetime-local], input[type=search], select, textarea {
  width: 100%; padding: 10px 13px; font: inherit; font-size: .93rem; color: var(--heading);
  background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--radius-sm); outline: 0;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input::placeholder, textarea::placeholder { color: var(--faint); }
input:focus, select:focus, textarea:focus { border-color: var(--heading); box-shadow: var(--ring); }
textarea { min-height: 110px; resize: vertical; }
.field { margin-bottom: 16px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; }
.row > * { flex: 1 1 170px; }
.check { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--text); }
.check input { width: auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  padding: 11px 20px; font: inherit; font-size: .93rem; font-weight: 600; cursor: pointer;
  color: #fff; border: 1px solid transparent; border-radius: var(--radius-sm); white-space: nowrap;
  background: var(--ink); border-color: var(--ink);
  box-shadow: none;
  transition: opacity .18s ease, background-color .18s ease;
}
.btn:hover { background: var(--black); color: #fff; text-decoration: none; opacity: .88; }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 14px 28px; font-size: 1rem; border-radius: var(--radius); }
.btn-sm { padding: 7px 13px; font-size: .85rem; }
.btn-ghost {
  background: var(--surface); color: var(--heading); border-color: var(--border-2);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { background: var(--surface-alt); color: var(--heading); opacity: 1; }
.btn-danger { background: var(--surface); color: var(--heading); border-color: var(--heading); box-shadow: none; }
.btn-danger:hover { background: var(--heading); color: #fff; border-color: var(--heading); opacity: 1; }
.btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================================= alerts ==== */
.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: .92rem; border: 1px solid; }
.alert { border-left-width: 3px; }
.alert-error { color: var(--heading); background: var(--surface-2); border-color: var(--border-2); border-left-color: var(--black); font-weight: 500; }
.alert-good  { color: var(--heading); background: var(--surface-alt); border-color: var(--border); border-left-color: var(--heading); }
.alert-warn  { color: var(--heading); background: var(--surface-alt); border-color: var(--border-2); border-left-color: var(--faint); }

/* ============================================================== stats ==== */
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 18px 20px; }
.stat-value { font-size: 1.85rem; font-weight: 700; line-height: 1.15; color: var(--heading); letter-spacing: -.02em; }
.stat-label { font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--faint); margin-top: .15rem; }

/* ============================================================== lists ==== */
.list { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); overflow: hidden; }
.list-row { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.list-row:last-child { border-bottom: 0; }
.list-row:hover { background: var(--surface-alt); }
.list-main { flex: 1; min-width: 0; }
.list-title { display: flex; align-items: center; gap: .5rem; font-weight: 600; flex-wrap: wrap; color: var(--heading); }
.list-sub { color: var(--faint); font-size: .83rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-actions { display: flex; gap: .4rem; align-items: center; flex: none; }

.short-url { font-family: var(--mono); color: var(--heading); font-size: .89rem; font-weight: 500; }
.pill { font-size: .66rem; font-weight: 600; padding: .14rem .5rem; border-radius: 99px; border: 1px solid var(--border-2); color: var(--faint); text-transform: uppercase; letter-spacing: .05em; }
.pill-off  { color: var(--faint); background: var(--surface-2); }
.pill-lock { color: var(--heading); border-color: var(--border-2); background: var(--surface-2); }
.pill-exp  { color: #fff; border-color: var(--ink); background: var(--ink); }

/* ============================================================== chart ==== */
.chart { display: flex; align-items: flex-end; gap: 3px; height: 140px; padding-top: .5rem; }
.chart-bar { flex: 1; border-radius: 2px 2px 0 0; min-height: 3px; background: var(--heading); }
.chart-bar:hover { background: var(--black); }
.chart-bar[data-hits="0"] { background: var(--surface-2); }

.bars { display: grid; gap: .55rem; }
.bar-row { display: grid; grid-template-columns: 1fr auto; gap: .5rem; align-items: center; font-size: .87rem; }
.bar-track { grid-column: 1 / -1; height: 6px; background: var(--surface-2); border-radius: 99px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--heading); border-radius: 99px; }

/* =============================================================== code ==== */
.copy { cursor: pointer; font: inherit; font-size: .81rem; font-weight: 500; border: 1px solid var(--border-2);
  background: var(--surface); color: var(--heading); border-radius: var(--radius-sm); padding: 6px 12px; }
.copy:hover { background: var(--surface-alt); }
.copy.copied { color: #fff; border-color: var(--ink); background: var(--ink); }
.hero-result .copy { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.3); }
.hero-result .copy:hover { background: #fff; color: var(--ink); }

pre { background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 16px 18px; overflow-x: auto; font-size: .83rem; line-height: 1.65; margin: 0 0 16px; }
pre code { color: var(--heading); }
:not(pre) > code { background: var(--surface-2); padding: .12rem .4rem; border-radius: 4px; font-size: .87em; color: var(--heading); }

.method { font-family: var(--mono); font-size: .71rem; font-weight: 600; padding: .2rem .5rem; border-radius: 5px; text-transform: uppercase; color: #fff; }
.method-get { background: var(--ink); } .method-post { background: var(--ink); }
.method-patch { background: var(--faint); } .method-delete { background: var(--faint); }
.endpoint { display: flex; align-items: center; gap: .6rem; margin: 1.7rem 0 .5rem; flex-wrap: wrap; }
.endpoint .path { font-family: var(--mono); font-size: .93rem; font-weight: 500; color: var(--heading); }

/* ============================================================= footer ==== */
footer.footer { background: var(--ink); color: var(--on-ink-dim); margin-top: auto; }
.footer-top { display: grid; gap: 40px; grid-template-columns: 1.6fr repeat(3, 1fr); padding: 56px 0 40px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { font-size: .88rem; color: rgba(255,255,255,.5); max-width: 34ch; margin: 0; }
.footer h4 { color: #fff; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { color: rgba(255,255,255,.6); font-size: .89rem; }
.footer ul a:hover { color: #fff; text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex;
  justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84rem; color: rgba(255,255,255,.45); }
.footer-bottom code { background: rgba(255,255,255,.1); color: rgba(255,255,255,.75); }

/* =============================================================== misc ==== */
.split { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.stack { display: grid; gap: .75rem; }
.empty { text-align: center; padding: 3.5rem 1rem; color: var(--faint); }
.qr-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px; display: inline-block; line-height: 0; }
details summary { cursor: pointer; color: var(--heading); font-size: .92rem; font-weight: 500; padding: .35rem 0; }
details[open] summary { margin-bottom: .8rem; }
hr { border: 0; border-top: 1px solid var(--border); margin: 1.6rem 0; }
.block-row { background: var(--surface-alt) !important; box-shadow: none !important; }
.crumbs { font-size: .84rem; color: var(--faint); margin-bottom: .6rem; }
.crumbs a { color: var(--faint); } .crumbs a:hover { color: var(--heading); }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  .nav { position: fixed; inset: 68px 0 auto; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--ink); padding: 14px 20px 20px; border-bottom: 1px solid rgba(255,255,255,.1);
    display: none; }
  .nav.open { display: flex; }
  .nav a, .linklike { text-align: left; padding: 12px; width: 100%; }
  .nav-toggle { display: block; }
  .section { padding-block: 60px; }
  .hero { padding: 60px 0 72px; }
  .input-wrapper { flex-wrap: wrap; }
  .hero .input-wrapper .slug-input { flex: 1 1 100%; border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
  .input-wrapper button { flex: 1 1 100%; padding: 15px; }
  .trust-inner { gap: 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .list-row { flex-wrap: wrap; }
}
