@font-face { font-family: "Inter"; src: url("/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Rubik"; src: url("/fonts/rubik-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Rubik"; src: url("/fonts/rubik-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --blue: #0a57fe;
  --navy: #0830a8;
  --sky: #78c8f8;
  --orange: #fe9802;
  --ink: #010223;
  --soft: #e0e8f8;
  --paper: #f8f8f6;

  --bg: var(--paper);
  --surface: #fff;
  --text: var(--ink);
  --muted: #4b5274;
  --line: #d6dcea;
  --line-strong: #b9c2da;
  --panel: var(--soft);
  --field: #fff;
  --focus: var(--blue);
  --accent-ink: var(--blue);

  --r-sm: 6px;
  --r: 8px;
  --r-lg: 12px;
  --max: 1120px;
  --pad: 24px;
  --shadow: 0 1px 0 rgba(8, 48, 168, .06), 0 1px 2px rgba(1, 2, 35, .06);
  --shadow-lift: 0 2px 0 rgba(8, 48, 168, .08), 0 8px 24px -12px rgba(1, 2, 35, .22);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #060a22;
    --surface: #0d1437;
    --text: #eef1fa;
    --muted: #a8b1cf;
    --line: #222c5a;
    --line-strong: #34407a;
    --panel: #111c4d;
    --field: #0a1030;
    --accent-ink: #7fb0ff;
    --shadow: 0 1px 0 rgba(0, 0, 0, .3);
    --shadow-lift: 0 10px 28px -14px rgba(0, 0, 0, .7);
  }
}

/* Tones: each envelope keeps its colour wherever it shows up. */
.tone-blue { --tone: var(--blue); --tone-soft: #e3ebff; --tone-ink: #0a47cf; }
.tone-navy { --tone: var(--navy); --tone-soft: #e1e6f6; --tone-ink: #0830a8; }
.tone-sky { --tone: var(--sky); --tone-soft: #e2f3fd; --tone-ink: #0b6aa8; }
.tone-orange { --tone: var(--orange); --tone-soft: #fff0da; --tone-ink: #a85a00; }
.tone-ink { --tone: var(--ink); --tone-soft: #e6e7ee; --tone-ink: #1a1d40; }
@media (prefers-color-scheme: dark) {
  .tone-blue { --tone-soft: #13245e; --tone-ink: #8db6ff; }
  .tone-navy { --tone-soft: #17205a; --tone-ink: #a9b8f2; }
  .tone-sky { --tone-soft: #0f2a4a; --tone-ink: #8fd3fb; }
  .tone-orange { --tone-soft: #33220a; --tone-ink: #ffbe5c; }
  .tone-ink { --tone-soft: #1b1f3d; --tone-ink: #d4d8ec; }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.55 "Inter", system-ui, sans-serif;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: "Rubik", "Inter", sans-serif; font-weight: 800; letter-spacing: -.01em; line-height: 1.12; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.4rem + 2.2vw, 2.85rem); }
h2 { font-size: clamp(1.4rem, 1.15rem + .9vw, 1.75rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0; text-wrap: pretty; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: 12px; transform: translateY(-200%); background: var(--blue); color: #fff; padding: 8px 12px; border-radius: var(--r); z-index: 50; }
.skip:focus { transform: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.section { padding-top: 72px; }
.section:last-of-type { padding-bottom: 88px; }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 46ch; }
.muted { color: var(--muted); }

/* Icons */
.ic { flex: none; }
.ic .mv { transition: transform .2s var(--ease); transform-box: fill-box; transform-origin: center; }
a:hover .mv-flap, button:hover .mv-flap { transform: translateY(1px); }
a:hover .mv-press, button:hover .mv-press { transform: translateY(1px); }
a:hover .mv-flicker, button:hover .mv-flicker { transform: scaleY(1.1) rotate(-4deg); transform-origin: bottom; }
a:hover .mv-sand, button:hover .mv-sand { transform: translateY(-1.5px); }
a:hover .mv-hand, button:hover .mv-hand { transform: rotate(90deg); transform-origin: bottom; }
a:hover .mv-blink, button:hover .mv-blink { transform: scaleY(.2); }
a:hover .mv-bow, button:hover .mv-bow { transform: translateY(-1.5px); }
a:hover .mv-turn, button:hover .mv-turn { transform: translateX(1.5px); }
a:hover .mv-lift, button:hover .mv-lift { transform: translateY(-1.5px); }
a:hover .mv-tick, button:hover .mv-tick { transform: scale(1.18); }
a:hover .mv-lid, button:hover .mv-lid { transform: translateY(-1.5px) rotate(-6deg); transform-origin: left bottom; }

.tile {
  display: inline-grid; place-items: center; width: 36px; height: 36px; flex: none;
  border-radius: var(--r); background: var(--tone-soft, var(--soft)); color: var(--tone-ink, var(--blue));
}

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 94%, transparent); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; height: 66px; max-width: 1340px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand-mark { width: 34px; height: 34px; }
.wordmark { font: 800 1.4rem/1 "Rubik", sans-serif; letter-spacing: -.01em; display: inline-flex; }
.wm-l { display: inline-block; }
.wm-one { color: var(--blue); margin-right: .02em; }
@media (prefers-color-scheme: dark) { .wm-one { color: #3b7bff; } }
.header-row { position: relative; }
.site-nav { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.nav-list {
  display: flex; align-items: center; gap: 2px; margin: 0; padding: 4px; list-style: none;
  background: color-mix(in srgb, var(--text) 4.5%, transparent); border-radius: 12px;
}
.nav-trigger {
  display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 10px 0 12px; border: 0; border-radius: 9px; background: none;
  color: color-mix(in srgb, var(--text) 72%, transparent); font-weight: 550; font-size: .9rem; white-space: nowrap;
  transition: color .15s, background .15s, box-shadow .15s;
}
.nav-trigger > .ic:first-child { width: 18px; height: 18px; color: color-mix(in srgb, var(--text) 42%, transparent); transition: color .15s; }
.nav-trigger .ic-chev { width: 15px; height: 15px; margin-left: -2px; color: color-mix(in srgb, var(--text) 45%, transparent); transition: transform .2s var(--ease); }
.nav-trigger:hover, .nav-trigger[aria-expanded="true"] { color: var(--text); }
.nav-trigger:hover > .ic:first-child, .nav-trigger[aria-expanded="true"] > .ic:first-child, .nav-trigger[data-current] > .ic:first-child { color: var(--tone-ink); }
.nav-trigger[aria-expanded="true"] .ic-chev { transform: rotate(180deg); }
.nav-trigger[data-current], .nav-trigger[aria-expanded="true"] {
  color: var(--text); font-weight: 600; background: var(--surface);
  box-shadow: 0 1px 2px rgb(1 2 35 / .08), 0 0 0 1px rgb(1 2 35 / .06);
}
@media (prefers-color-scheme: dark) { .nav-trigger[data-current], .nav-trigger[aria-expanded="true"] { background: #1a2350; box-shadow: 0 0 0 1px rgb(255 255 255 / .08); } }
.nav-more { display: none; }

/* Flyout panel: lines up under its trigger, kept inside the header row by --fly-x. */
.flyout {
  position: absolute; top: calc(100% + 6px); left: var(--fly-x, 0); z-index: 40; display: none;
  grid-template-columns: 210px minmax(0, 1fr); width: max-content; max-width: calc(100vw - 32px);
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 18px;
  box-shadow: 0 24px 48px -20px rgb(1 2 35 / .35), 0 2px 0 rgb(8 48 168 / .06);
}
.nav-group.open .flyout::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 22px; }
.nav-group.open .flyout { display: grid; animation: fly-open .18s var(--ease); }
@keyframes fly-open { from { opacity: 0; transform: translateY(-6px); } }
.fly-aside { display: flex; flex-direction: column; gap: 6px; padding: 22px 20px; background: var(--tone-soft); border-radius: 17px 0 0 17px; }
.fly-aside img { width: 120px; height: 120px; object-fit: contain; margin: 0 0 8px -6px; }
.fly-aside strong { font: 700 1.15rem/1.2 "Rubik"; }
.fly-aside span { font-size: .87rem; line-height: 1.45; color: color-mix(in srgb, var(--text) 75%, transparent); }
.fly-main { display: flex; flex-direction: column; padding: 10px; min-width: 0; }
.fly-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; width: 300px; }
.fly-items.fly-cols { grid-template-columns: repeat(2, 272px); width: auto; }
.fly-item { display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 8px; border-radius: 12px; color: var(--text); text-decoration: none; transition: background .12s; }
.fly-item:hover, .fly-item:focus-visible { background: var(--tone-soft); text-decoration: none; }
.fly-item[aria-current="page"] { background: color-mix(in srgb, var(--tone-soft) 70%, var(--surface)); }
.fly-fig { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 12px; background: var(--tone-soft); transition: transform .2s var(--ease); }
.fly-fig img { width: 46px; height: 46px; object-fit: contain; }
.fly-item:hover .fly-fig { transform: rotate(-4deg) scale(1.05); }
.fly-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.fly-text strong { font-weight: 650; font-size: .93rem; }
.fly-text span { font-size: .82rem; line-height: 1.35; color: var(--muted); }
.fly-item[aria-current="page"] .fly-text strong::after { content: " · here"; font-weight: 500; color: var(--muted); }
.fly-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 8px 0 0; padding: 12px 10px 4px; border-top: 1px solid var(--line); font-size: .84rem; }
.fly-foot span { font-weight: 650; color: var(--muted); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.fly-foot a { color: var(--text); }

.nav-toggle { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--surface); color: var(--text); place-items: center; }
.nav-toggle .ic { grid-area: 1 / 1; }
.nav-toggle .ic + .ic, .nav-toggle[aria-expanded="true"] .ic:first-of-type { display: none; }
.nav-toggle[aria-expanded="true"] .ic + .ic { display: block; }

/* Phones and tablets: one panel, every group open as a section. */
@media (max-width: 1000px) {
  .nav-toggle { display: grid; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 18px;
    padding: 14px var(--pad) 24px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lift);
    max-height: calc(100dvh - 66px); overflow: auto;
  }
  .site-nav.open { display: flex; animation: fly-in .16s var(--ease); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 18px; padding: 0; background: none; border-radius: 0; }
  .nav-trigger { display: none; }
  .flyout { position: static; display: block; width: auto; max-width: none; border: 0; border-radius: 0; box-shadow: none; background: none; overflow: visible; animation: none; }
  .nav-group.open .flyout { display: block; animation: none; }
  .fly-aside { flex-direction: row; align-items: baseline; gap: 10px; padding: 0 2px 8px; background: none; border-radius: 0; }
  .fly-aside img, .fly-aside span { display: none; }
  .fly-aside strong { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-family: "Inter"; font-weight: 700; color: var(--tone-ink); }
  .fly-main { padding: 0; }
  .fly-items, .fly-items.fly-cols { width: auto; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px; }
  .fly-item { background: var(--surface); border: 1px solid var(--line); padding: 6px 10px 6px 6px; }
  .fly-fig { width: 44px; height: 44px; border-radius: 10px; }
  .fly-fig img { width: 38px; height: 38px; }
  .fly-item[aria-current="page"] { border-color: var(--blue); }
  .fly-foot { display: none; }
  .nav-more { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 2px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .9rem; }
  .nav-more a { color: var(--muted); }
}
@keyframes fly-in { from { opacity: 0; transform: translateY(-4px); } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px;
  border: 1px solid transparent; border-radius: var(--r); font-weight: 600; font-size: .95rem; white-space: nowrap;
  text-decoration: none; transition: background .15s, border-color .15s, transform .1s, color .15s;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 2px 0 var(--navy); }
.btn-primary:hover:not(:disabled) { background: #0047e6; text-decoration: none; }
.btn-primary:active { box-shadow: 0 1px 0 var(--navy); }
.btn-ghost { background: var(--surface); border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--blue); color: var(--accent-ink); text-decoration: none; }
.btn-quiet { background: var(--panel); color: var(--text); }
.btn-quiet:hover { color: var(--accent-ink); text-decoration: none; }
.btn-block { width: 100%; }
.btn.is-done { background: #0b7a3e; box-shadow: 0 2px 0 #075a2d; color: #fff; }
.btn-quiet.is-done, .btn-ghost.is-done { background: #e3f5ea; color: #0b6a36; border-color: #b4e2c5; box-shadow: none; }
@media (prefers-color-scheme: dark) { .btn-quiet.is-done, .btn-ghost.is-done { background: #0f3320; color: #8ee0ae; border-color: #1d5a37; } }

/* Hero: centred head on a full-bleed tone band; the tool card overlaps its lower edge. */
.hero { position: relative; isolation: isolate; }
.page-head { position: relative; display: block; padding: 64px 0 8px; text-align: center; }
.page-head::before {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: -150px; left: calc(50% - 50vw); width: 100vw;
  background: var(--tone-soft, var(--soft)); border-bottom: 1px solid color-mix(in srgb, var(--tone, var(--blue)) 14%, transparent);
}
.page-head > div { max-width: 860px; margin: 0 auto; }
.page-head h1 { font-size: clamp(2.4rem, 1.2rem + 4vw, 4.1rem); line-height: 1.04; letter-spacing: -.02em; }
.page-head .lead { margin: 18px auto 0; max-width: 34em; font-size: 1.2rem; }
.page-head .kicker { margin-bottom: 18px; }
.hero:not(:has(.tool)) .page-head { padding-bottom: 72px; }
.hero:not(:has(.tool)) .page-head::before { bottom: 0; }
.hero:not(:has(.tool)) .page-art { position: absolute; right: 0; bottom: -2px; width: 150px; height: auto; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--tone-ink); margin-bottom: 12px; }
.kicker .tile { display: none; }
.kicker .tile { width: 28px; height: 28px; }
.kicker .tile .ic { width: 16px; height: 16px; }

/* Send tool */
.tool { position: relative; margin-top: 64px; }
.tool-fig { position: absolute; right: 28px; bottom: calc(100% - 12px); width: 140px; height: auto; z-index: 2; pointer-events: none; }
.tool-card {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr);
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-lg); box-shadow: var(--shadow-lift);
}
.letter { display: flex; flex-direction: column; padding: 20px 22px 14px; min-width: 0; }
.letter textarea {
  flex: 1; width: 100%; min-height: 200px; resize: vertical; border: 0; background:
    repeating-linear-gradient(to bottom, transparent 0 31px, var(--line) 31px 32px) 0 0 / 100% 32px local;
  padding: 2px 2px; font: 450 1rem/32px "Inter", sans-serif; color: var(--text);
}
.letter textarea:focus { outline: none; }
.letter textarea::placeholder { color: color-mix(in srgb, var(--muted) 80%, transparent); }
.letter:focus-within { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--blue) 35%, transparent); border-radius: var(--r-lg) 0 0 var(--r-lg); }
.letter-foot { display: flex; align-items: center; gap: 16px; padding-top: 10px; font-size: .85rem; color: var(--muted); flex-wrap: wrap; }
.enc-note { display: inline-flex; align-items: center; gap: 6px; }
.enc-note .ic { width: 16px; height: 16px; color: var(--blue); }
.count { margin-left: auto; font-variant-numeric: tabular-nums; }
.count.over { color: #c2410c; font-weight: 600; }
.rules { display: flex; flex-direction: column; gap: 16px; padding: 20px 22px; border-left: 1px solid var(--line); background: color-mix(in srgb, var(--panel) 45%, var(--surface)); border-radius: 0 var(--r-lg) var(--r-lg) 0; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-weight: 600; font-size: .875rem; }
.opt { font-weight: 450; color: var(--muted); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; padding: 3px; background: var(--field); border: 1px solid var(--line-strong); border-radius: var(--r); }
.seg-wrap { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); }
.seg button { height: 34px; padding: 0 6px; border: 0; border-radius: 5px; background: none; font-size: .85rem; font-weight: 550; color: var(--muted); transition: background .12s, color .12s; white-space: nowrap; }
.seg button:hover { color: var(--text); background: var(--panel); }
.seg button[aria-checked="true"] { background: var(--blue); color: #fff; box-shadow: 0 1px 0 var(--navy); }
.input-wrap { position: relative; display: flex; }
.input-wrap input {
  width: 100%; height: 42px; padding: 0 44px 0 12px; border: 1px solid var(--line-strong); border-radius: var(--r);
  background: var(--field); transition: border-color .15s, box-shadow .15s;
}
.input-wrap input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 20%, transparent); }
.input-btn { position: absolute; right: 4px; top: 4px; width: 34px; height: 34px; border: 0; border-radius: var(--r-sm); background: none; color: var(--muted); display: grid; place-items: center; }
.input-btn:hover, .input-btn[aria-pressed="true"] { color: var(--blue); background: var(--panel); }
.input-wrap-btn { gap: 8px; }
.input-wrap-btn input { padding-right: 12px; font-size: .9rem; text-overflow: ellipsis; }
.date-field { position: relative; display: flex; align-items: center; margin-top: 4px; }
.date-field .ic { display: none; }
.date-field input { width: 100%; height: 40px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--field); }
.date-field input:focus { outline: none; border-color: var(--blue); }
.date-field input::-webkit-calendar-picker-indicator { opacity: .55; cursor: pointer; }
.date-field input.is-custom { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }

.postmark { display: flex; align-items: center; gap: 14px; padding: 4px 0; }
.pm-stamp { width: 54px; height: 64px; flex: none; transform: rotate(-5deg); transition: transform .3s var(--ease); filter: drop-shadow(0 1px 1px rgb(1 2 35 / .18)); }
.pm-paper { fill: #fff; }
.pm-field { fill: #e3ebff; }
.pm-val { font: 800 9px "Rubik"; fill: var(--navy); }
.postmark.bump .pm-stamp { transform: rotate(-1deg) scale(1.06); }
@media (prefers-color-scheme: dark) { .pm-field { fill: #dce6ff; } }
.pm-lines { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.pm-lines strong { font-family: "Rubik"; font-weight: 700; font-size: 1.05rem; }
.pm-lines span { color: var(--muted); font-size: .875rem; }
.tool-status { min-height: 1.2em; font-size: .875rem; color: var(--muted); margin-top: -6px; }
.tool-status.error { color: #c2410c; }

.templates { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 12px; border-bottom: 1px dashed var(--line); margin-bottom: 4px; }
.chip { height: 32px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--surface); font-size: .85rem; font-weight: 550; color: var(--text); transition: border-color .12s, background .12s; }
.chip:hover { border-color: var(--blue); color: var(--accent-ink); }
.chip[aria-pressed="true"] { background: var(--soft); border-color: var(--blue); color: var(--navy); }
@media (prefers-color-scheme: dark) { .chip[aria-pressed="true"] { background: #13245e; color: #b9cdff; } }
.chip-icon { width: 32px; padding: 0; display: grid; place-items: center; }
.chip-icon .ic { width: 18px; height: 18px; }
.toggle { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 0; font-size: .85rem; font-weight: 550; color: var(--text); }
.toggle-box { width: 20px; height: 20px; border-radius: 5px; border: 1.5px solid var(--line-strong); display: grid; place-items: center; color: transparent; background: var(--field); transition: background .12s; }
.toggle-box .ic { width: 14px; height: 14px; stroke-width: 2.6; }
.toggle[aria-pressed="true"] .toggle-box { background: var(--blue); border-color: var(--blue); color: #fff; }

.timeline { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 18px 22px 20px; list-style: none; border-top: 1px solid var(--line); }
.tl-step { position: relative; display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.tl-dot { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--tone-soft, var(--soft)); color: var(--tone-ink, var(--blue)); }
.tl-dot .ic { width: 18px; height: 18px; }
.tl-step:last-child .tl-dot { background: var(--blue); color: #fff; }
.tl-text { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.tl-text strong { font-weight: 650; font-size: .95rem; }
.tl-text span { color: var(--muted); font-size: .85rem; }
@media (max-width: 700px) { .timeline { grid-template-columns: 1fr; } }

/* Result */
.tool-result { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.sealed { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 32px 24px; text-align: center; background: color-mix(in srgb, var(--panel) 60%, var(--surface)); border-radius: var(--r-lg) 0 0 var(--r-lg); }
.sealed-copy p { color: var(--muted); margin-top: 6px; }
.env {
  position: relative; width: 210px; height: 136px; border-radius: 8px; background: #fff;
  border: 8px solid transparent;
  background-image: linear-gradient(#fff, #fff), repeating-linear-gradient(135deg, var(--blue) 0 12px, #fff 12px 20px, var(--orange) 20px 32px, #fff 32px 40px);
  background-origin: border-box; background-clip: padding-box, border-box;
  box-shadow: 0 2px 0 rgba(8, 48, 168, .25), 0 14px 30px -18px rgba(1, 2, 35, .5);
}
.env-flap { position: absolute; inset: 0; clip-path: polygon(0 0, 100% 0, 50% 58%); background: linear-gradient(#eef2fb, #e1e8f8); border-bottom: 1px solid #c9d3ea; transform-origin: top; }
.env-seal { position: absolute; left: 50%; top: 58%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font: 800 22px "Rubik"; box-shadow: inset 0 -3px 0 var(--navy), 0 0 0 4px rgba(10, 87, 254, .18); }
.tool-result.is-new .env { animation: env-drop .5s var(--ease) both; }
.tool-result.is-new .env-flap { animation: flap-close .45s .15s var(--ease) both; }
.tool-result.is-new .env-seal { animation: seal-press .35s .5s var(--ease) both; }
@keyframes env-drop { from { opacity: 0; transform: translateY(-12px) rotate(-3deg); } }
@keyframes flap-close { from { transform: scaleY(-1); } }
@keyframes seal-press { from { transform: scale(1.6); opacity: 0; } }
.result-fields { display: flex; flex-direction: column; gap: 18px; padding: 24px; align-items: flex-start; }
.result-fields .field { width: 100%; }
.result-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.hint { font-size: .85rem; color: var(--muted); }
.manage-field { padding-top: 18px; border-top: 1px dashed var(--line); }

@media (max-width: 900px) {
  .tool-card, .tool-result { grid-template-columns: 1fr; }
  .rules { border-left: 0; border-top: 1px solid var(--line); border-radius: 0 0 var(--r-lg) var(--r-lg); }
  .letter:focus-within { border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .sealed { border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .tool-fig { width: 116px; right: 12px; }
}
@media (max-width: 520px) {
  .seg-wrap { grid-template-columns: repeat(3, 1fr); }
  .seg button { font-size: .8rem; }
  .letter { padding: 16px; }
  .rules { padding: 16px; }
}

/* Section headings */
.sec-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 24px; }
.sec-head .tile { margin-top: 2px; }
.sec-head p { color: var(--muted); margin-top: 6px; max-width: 62ch; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.step-scene { height: 170px; display: grid; place-items: end center; padding-top: 14px; background: var(--tone-soft); }
.step-scene img { height: 150px; width: auto; object-fit: contain; }
.step-body { padding: 16px 18px 18px; }
.step-body h3 { margin-bottom: 6px; }
.step-pill { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px 0 5px; margin-bottom: 10px; border-radius: 999px; background: var(--tone-soft); color: var(--tone-ink); font: 700 .74rem/1 "Inter"; letter-spacing: .08em; text-transform: uppercase; }
.art-pill { width: 22px; height: 22px; }
.step:hover .art-pill img { transform: rotate(-7deg) scale(1.06); }
.step-body p { color: var(--muted); font-size: .95rem; }

.url-anatomy { margin-top: 16px; padding: 18px 20px; border-radius: var(--r-lg); background: var(--ink); color: #e9edfb; display: grid; gap: 14px; }
@media (prefers-color-scheme: dark) { .url-anatomy { background: #030617; border: 1px solid var(--line); } }
.url-line { font: 500 clamp(.78rem, .6rem + .6vw, 1rem)/1.5 ui-monospace, "SF Mono", Menlo, monospace; word-break: break-all; }
.url-line .u-host { color: #fff; }
.url-line .u-path { color: #9fb3e6; }
.url-line .u-id { color: var(--sky); }
.url-line .u-key { color: var(--orange); }
.url-legend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; font-size: .9rem; color: #b8c2e3; }
.url-legend strong { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; margin-bottom: 2px; }
.url-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

/* Tool cards grid */
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tool-card-link { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s var(--ease), box-shadow .15s; }
.tool-card-link:hover { border-color: var(--tone); box-shadow: var(--shadow-lift); transform: translateY(-2px); text-decoration: none; }
.tc-scene { height: 150px; display: grid; place-items: end center; padding-top: 12px; background: var(--tone-soft); }
.tc-scene img { height: 132px; width: auto; object-fit: contain; transition: transform .2s var(--ease); }
.tool-card-link:hover .tc-scene img { transform: translateY(-3px); }
.tc-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
.tc-title { display: flex; align-items: center; gap: 10px; font-family: "Rubik"; font-weight: 700; font-size: 1.05rem; }
.tc-title .tile { width: 30px; height: 30px; }
.tc-title .tile .ic { width: 17px; height: 17px; }
.tool-card-link:hover .tc-title { color: var(--tone-ink); }
.tc-line { color: var(--muted); font-size: .92rem; }
@media (max-width: 900px) { .steps, .tool-grid { grid-template-columns: repeat(2, 1fr); } .url-legend { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .steps, .tool-grid { grid-template-columns: 1fr; } .step-scene { height: 150px; } .step-scene img { height: 130px; } }

/* Scene panel: text beside a figure on a ground line */
.scene { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; align-items: end; padding: 32px 36px 0; border-radius: var(--r-lg); background: var(--tone-soft); overflow: hidden; }
.scene-text { padding-bottom: 32px; display: flex; flex-direction: column; gap: 14px; }
.scene-text h2 { margin-bottom: 2px; }
.scene-text p { color: color-mix(in srgb, var(--text) 82%, transparent); }
.scene-art { position: relative; align-self: end; display: flex; justify-content: center; }
.scene-art .fig { height: 250px; width: auto; object-fit: contain; position: relative; z-index: 1; }
.scene-art .decor { position: absolute; z-index: 0; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li .ic { color: var(--tone-ink, var(--blue)); width: 20px; height: 20px; margin-top: 2px; }
@media (max-width: 860px) { .scene { grid-template-columns: 1fr; padding: 24px 22px 0; } .scene-art { display: none; } .scene-text { padding-bottom: 24px; } }

/* Prose */
.prose { max-width: 70ch; display: grid; gap: 16px; }
.prose h2 { margin-top: 16px; }
.prose h3 { margin-top: 8px; }
.prose ul, .prose ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 24px; } }

/* Comparison table */
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; font-size: .95rem; }
.compare-table th, .compare-table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: 0; }
.compare-table thead th { background: color-mix(in srgb, var(--panel) 55%, var(--surface)); font-weight: 600; vertical-align: middle; }
.compare-table tbody th { font-weight: 600; width: 22%; color: var(--muted); }
.ct-brand { display: inline-flex; align-items: center; gap: 10px; }
.ct-brand img { width: 28px; height: 28px; border-radius: 7px; }
.ct-brand .brand-mark { border-radius: 0; }
.ct-us { background: color-mix(in srgb, var(--soft) 45%, transparent); }
@media (prefers-color-scheme: dark) { .ct-us { background: rgba(10, 87, 254, .08); } }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; }
.dot-yes { background: #16a34a; }
.dot-no { background: #dc6a1f; }
.dot-mid { background: var(--sky); }
.table-scroll { overflow-x: auto; border-radius: var(--r-lg); }
@media (max-width: 700px) {
  .compare-table { min-width: 620px; }
  .compare-table tbody th { position: sticky; left: 0; background: var(--surface); z-index: 1; }
}

/* FAQ */
.section:has(> .faq) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px 56px; align-items: start; }
.section:has(> .faq) > .sec-head { position: sticky; top: 96px; }
@media (max-width: 860px) { .section:has(> .faq) { grid-template-columns: 1fr; } .section:has(> .faq) > .sec-head { position: static; } }
.faq { display: grid; gap: 8px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 18px; font-weight: 600; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--blue); transition: transform .15s; }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details:hover { border-color: var(--line-strong); }
.faq-a { padding: 0 18px 16px; color: var(--muted); }

/* Logo strip */
.rival-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.rival { display: flex; gap: 14px; align-items: center; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--text); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.rival:hover { border-color: var(--blue); box-shadow: var(--shadow-lift); text-decoration: none; }
.rival img { width: 44px; height: 44px; border-radius: 10px; }
.rival strong { display: block; font-family: "Rubik"; font-weight: 700; }
.rival span span { color: var(--muted); font-size: .92rem; }
.rival:hover strong { color: var(--accent-ink); }
@media (max-width: 700px) { .rival-row { grid-template-columns: 1fr; } }

/* Ideas list */
.ideas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.idea-group { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 18px; }
.idea-group h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.idea-group h3 .tile { width: 30px; height: 30px; }
.idea-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.idea { width: 100%; text-align: left; border: 0; background: none; padding: 8px 10px; border-radius: var(--r); font-size: .95rem; line-height: 1.45; display: flex; gap: 10px; justify-content: space-between; align-items: flex-start; color: var(--text); }
.idea:hover { background: var(--tone-soft, var(--panel)); }
.idea .idea-use { flex: none; display: inline-flex; align-items: center; gap: 4px; font-size: .8rem; font-weight: 700; color: var(--tone-ink, var(--blue)); opacity: 0; transform: translateX(-4px); transition: opacity .15s, transform .15s var(--ease); padding-top: 3px; white-space: nowrap; }
.idea .idea-use::after { content: "→"; }
.idea:hover .idea-use, .idea:focus-visible .idea-use { opacity: 1; transform: none; }
@media (max-width: 760px) { .ideas { grid-template-columns: 1fr; } .idea .idea-use { opacity: 1; transform: none; } }

/* Code / ciphertext blocks */
.codebox { font: 500 .85rem/1.6 ui-monospace, "SF Mono", Menlo, monospace; background: var(--ink); color: #dfe6ff; border-radius: var(--r-lg); padding: 16px 18px; white-space: pre-wrap; word-break: break-all; min-height: 4.8em; }
@media (prefers-color-scheme: dark) { .codebox { background: #030617; border: 1px solid var(--line); } }
.codebox .hl-head { color: var(--sky); }
.codebox .hl-diff { background: rgba(254, 152, 2, .28); color: #fff; border-radius: 2px; }

/* Workbench (encrypt text, live demos) */
.bench { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-lg); box-shadow: var(--shadow-lift); }
.bench > div { padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.bench > div + div { border-left: 1px solid var(--line); background: color-mix(in srgb, var(--panel) 40%, var(--surface)); border-radius: 0 var(--r-lg) var(--r-lg) 0; }
.bench textarea { width: 100%; min-height: 170px; resize: vertical; border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--field); padding: 12px; font: 450 .95rem/1.55 "Inter", sans-serif; }
.bench textarea.mono { font: 500 .85rem/1.6 ui-monospace, "SF Mono", Menlo, monospace; }
.bench textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 20%, transparent); }
.bench-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bench-head h3 { font-size: 1rem; }
.bench .seg { width: auto; }
.bench-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
@media (max-width: 860px) { .bench { grid-template-columns: 1fr; } .bench > div + div { border-left: 0; border-top: 1px solid var(--line); border-radius: 0 0 var(--r-lg) var(--r-lg); } }

/* Recipient and status pages */
.solo { max-width: 680px; margin: 0 auto; padding: 56px var(--pad) 88px; }
.solo-card { position: relative; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-lg); box-shadow: var(--shadow-lift); padding: 28px; }
.solo-fig { display: block; height: 170px; width: auto; margin: 0 auto -14px; position: relative; z-index: 1; }
.solo h1 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.1rem); text-align: center; }
.solo .lead { text-align: center; margin: 10px auto 0; }
.solo-rules { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 20px; margin: 22px 0; color: var(--muted); font-size: .92rem; }
.solo-rules span { display: inline-flex; align-items: center; gap: 6px; }
.solo-rules .ic { width: 18px; height: 18px; color: var(--blue); }
.solo-actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; max-width: 380px; margin: 0 auto; }
.solo-status { text-align: center; min-height: 1.4em; color: var(--muted); font-size: .92rem; margin-top: 14px; }
.solo-status.error { color: #c2410c; }
.opened { margin-top: 8px; display: grid; gap: 12px; }
.paper {
  position: relative; background: #fffdf8; color: #14163a; border: 1px solid #e6e1d3; border-radius: var(--r);
  padding: 22px 24px; min-height: 140px; white-space: pre-wrap; word-break: break-word;
  font: 450 1.02rem/32px "Inter", sans-serif;
  background: repeating-linear-gradient(to bottom, transparent 0 31px, #ece6d6 31px 32px) 0 0 / 100% 32px content-box, #fffdf8;
}
.paper.is-burning { animation: burn 1.1s ease-in forwards; }
@keyframes burn {
  0% { filter: none; }
  40% { filter: sepia(1) saturate(3) hue-rotate(-20deg); }
  100% { filter: sepia(1) brightness(.2); opacity: 0; transform: translateY(8px) scale(.98); }
}
.opened-from { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .92rem; }
.countdown { display: flex; align-items: center; justify-content: center; gap: 12px; font-weight: 600; }
.cd-ring { width: 46px; height: 46px; transform: rotate(-90deg); }
.cd-ring circle { fill: none; stroke-width: 4; }
.cd-ring .cd-bg { stroke: var(--panel); }
.cd-ring .cd-fg { stroke: var(--orange); stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.cd-num { font: 800 1.4rem "Rubik"; font-variant-numeric: tabular-nums; min-width: 2ch; text-align: center; }
.ash { display: grid; place-items: center; gap: 10px; padding: 18px 0 4px; text-align: center; color: var(--muted); }
.ash img { height: 150px; width: auto; }
.sealed-clock { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 420px; margin: 18px auto 0; }
.sealed-clock div { background: var(--panel); border-radius: var(--r); padding: 10px 6px; text-align: center; }
.sealed-clock strong { display: block; font: 800 1.5rem "Rubik"; font-variant-numeric: tabular-nums; }
.sealed-clock span { font-size: .8rem; color: var(--muted); }
.state-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 0; }
.state-list li { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.state-list li:last-child { border-bottom: 0; }
.state-dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--panel); color: var(--muted); }
.state-dot .ic { width: 15px; height: 15px; stroke-width: 2.4; }
.state-list li.done .state-dot { background: var(--blue); color: #fff; }
.state-list li.warn .state-dot { background: #fff0da; color: #a85a00; }
.state-list time { color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; }
.checkin-box { margin-top: 18px; padding: 18px; border-radius: var(--r-lg); background: var(--soft); display: grid; gap: 10px; text-align: center; }
@media (prefers-color-scheme: dark) { .checkin-box { background: #111c4d; } }
.checkin-box strong { font-family: "Rubik"; font-size: 1.1rem; }
.btn-danger-quiet { background: none; border: 1px solid var(--line-strong); color: #b4380a; }
.btn-danger-quiet:hover { border-color: #b4380a; }
@media (prefers-color-scheme: dark) { .btn-danger-quiet { color: #ff9c6b; } }

/* Notes for the sample reveal */
.sample { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 24px; align-items: center; padding: 22px 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.sample .fig { height: 170px; width: auto; justify-self: center; }
@media (max-width: 760px) { .sample { grid-template-columns: 1fr; } .sample .fig { display: none; } }

/* Footer */
.site-footer { position: relative; margin-top: 40px; border-top: 1px solid var(--line); background: color-mix(in srgb, var(--panel) 40%, var(--bg)); padding: 44px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 28px; }
.footer-brand p { color: var(--muted); font-size: .92rem; margin-top: 12px; max-width: 36ch; }
.site-footer h2 { font: 600 .9rem "Inter"; margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer ul a { color: var(--muted); text-decoration: none; font-size: .92rem; }
.site-footer ul a:hover { color: var(--accent-ink); text-decoration: underline; }
.wordmark-static { font-size: 1.25rem; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.footer-fig { position: absolute; right: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); bottom: calc(100% - 7px); width: 120px; height: auto; pointer-events: none; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } .footer-fig { width: 96px; } }
@media (max-width: 520px) { .footer-base { flex-direction: column; } }

/* Head reveal: only on the first visit, set by site.js before paint. */
.reveal-ready [data-reveal-item] { opacity: 0; transform: translateY(10px); }
.reveal-run [data-reveal-item] { animation: rise .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 1080px) { .hero:not(:has(.tool)) .page-art { display: none; } }
@media (max-width: 700px) { .page-head { padding-top: 40px; } .page-head .lead { font-size: 1.08rem; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
.sw-path { background: #9fb3e6; }
.sw-id { background: var(--sky); }
.sw-key { background: var(--orange); }
.scene-decor-seal { width: 70px; left: 6px; bottom: 26px; transform: rotate(-12deg); }

/* Page extras */
.section-tight { padding-top: 44px; }
.under-note { font-size: .875rem; margin-top: 12px; }
.steps-4 { grid-template-columns: repeat(4, 1fr); }
.steps-4 .step-scene { height: 150px; }
.steps-4 .step-scene img { height: 130px; }
@media (max-width: 1000px) { .steps-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps-4 { grid-template-columns: 1fr; } }
code { font: 500 .9em ui-monospace, "SF Mono", Menlo, monospace; background: var(--panel); padding: .1em .35em; border-radius: 4px; }
pre.codebox { margin: 0; overflow-x: auto; }
.sample-art { position: relative; height: 170px; display: block; }
.sample-flame { width: 70px; left: 50%; bottom: 46px; margin-left: 4px; }
.sample-env { width: 120px; left: 50%; bottom: 10px; margin-left: -70px; transform: rotate(-6deg); }
.scene-decor-mailbox { width: 90px; left: -10px; bottom: 0; }
.scene-decor-env { width: 84px; left: 0; bottom: 18px; transform: rotate(-10deg); }
.scene-decor-parcel { width: 86px; left: -6px; bottom: 4px; }
.scene-decor-stamp { width: 60px; left: 10px; bottom: 30px; transform: rotate(14deg); }
.scene-decor-flame { width: 58px; left: 4px; bottom: 20px; }

.anatomy { display: grid; grid-template-columns: 1.3fr .7fr 1.2fr 1fr 2.2fr 1fr; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.an-seg { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.an-seg + .an-seg { border-left: 1px solid rgba(255, 255, 255, .5); }
.an-seg strong { font-weight: 650; font-size: .92rem; }
.an-seg span { font-size: .82rem; opacity: .8; }
.an-head { background: var(--panel); }
.an-ver { background: #e6e7ee; color: var(--ink); }
.an-salt { background: #e2f3fd; color: #0b4e7c; }
.an-nonce { background: #fff0da; color: #7a4200; }
.an-body { background: var(--blue); color: #fff; }
.an-tag { background: var(--navy); color: #fff; }
.anatomy-notes { margin-top: 24px; }
@media (max-width: 760px) { .anatomy { grid-template-columns: 1fr 1fr; } .an-seg + .an-seg { border-left: 0; } .an-seg { border-top: 1px solid rgba(255,255,255,.5); } }

.kv { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.kv-val { display: block; background: var(--field); border: 1px solid var(--line); padding: 8px 10px; border-radius: var(--r); word-break: break-all; font-size: .82rem; }
.live textarea { min-height: 120px; }
.live .codebox { min-height: 5.2em; }
.paper-sm { min-height: 0; padding: 10px 14px; line-height: 28px; background: #fffdf8; }

.pick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pick { display: flex; flex-direction: column; gap: 8px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.pick .tile img { width: 24px; height: 24px; border-radius: 6px; }
.pick p { color: var(--muted); }
@media (max-width: 860px) { .pick-grid { grid-template-columns: 1fr; } }
.logo-tile { display: inline-flex; flex: none; }
.kicker .logo-tile, .kicker .logo-tile img { width: 28px; height: 28px; border-radius: 7px; }
.kicker:has(.logo-tile) { color: var(--muted); }
.ash .ash-art { height: 90px; width: auto; }
@media (max-width: 700px) { .tool-fig { display: none; } .tool { margin-top: 28px; } }

/* Inputs shared by the newer tools */
.text-input { width: 100%; height: 42px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--field); transition: border-color .15s, box-shadow .15s; }
.text-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 20%, transparent); }
.day-pick { display: grid; grid-template-columns: minmax(0, 1fr) 92px; gap: 8px; }
.select { position: relative; display: flex; align-items: center; }
.select select { appearance: none; width: 100%; height: 42px; padding: 0 34px 0 38px; border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--field); color: var(--text); font-weight: 550; }
.select-day select { padding-left: 12px; }
.select select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 20%, transparent); }
.select .ic:first-child { position: absolute; left: 11px; width: 18px; height: 18px; color: var(--blue); pointer-events: none; }
.select .ic-chev { position: absolute; right: 10px; width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.opened-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* Batch: several envelopes in one go */
.batch-main { display: flex; flex-direction: column; gap: 14px; padding: 20px 22px; min-width: 0; }
.batch-head { display: grid; grid-template-columns: 1fr; gap: 14px; }
.batch[data-kind="t"] .batch-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.batch[data-kind="t"] .batch-head .date-field { margin-top: 6px; }
.label-chips { border-bottom: 0; padding-bottom: 0; margin: 0; }
.label-chips .chip { display: inline-flex; align-items: center; gap: 4px; padding: 0 10px 0 7px; }
.label-chips .chip .ic { width: 15px; height: 15px; color: var(--blue); }
.batch-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.batch-item, .bi-label input { min-width: 0; }
.batch-item { position: relative; padding: 12px 14px 10px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: 0 1px 0 rgba(8, 48, 168, .05); animation: bi-in .22s var(--ease); }
.batch-item:focus-within { border-color: color-mix(in srgb, var(--blue) 55%, var(--line)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 12%, transparent); }
@keyframes bi-in { from { opacity: 0; transform: translateY(6px); } }
.bi-head { display: flex; align-items: center; gap: 10px; min-height: 34px; }
.bi-num { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--tone-soft, var(--soft)); color: var(--tone-ink, var(--blue)); font: 800 .8rem "Rubik"; }
.bi-title { font-family: "Rubik"; font-weight: 700; font-size: 1.05rem; }
.bi-label { flex: 1; display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.bi-prefix { flex: none; font-family: "Rubik"; font-weight: 700; font-size: 1.05rem; color: var(--tone-ink, var(--blue)); }
.bi-label input { flex: 1; min-width: 0; height: 34px; border: 0; border-bottom: 1.5px dashed var(--line-strong); background: none; font: 700 1.05rem "Rubik"; color: var(--text); padding: 0 2px; }
.bi-label input:focus { outline: none; border-bottom-color: var(--blue); }
.bi-label input::placeholder { color: color-mix(in srgb, var(--muted) 60%, transparent); font-weight: 700; }
.bi-remove { margin-left: auto; flex: none; width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: var(--r-sm); background: none; color: var(--muted); }
.bi-remove:hover { background: var(--panel); color: #c2410c; }
.bi-remove .ic { width: 16px; height: 16px; }
.batch-item textarea {
  display: block; width: 100%; min-height: 96px; margin-top: 6px; resize: vertical; border: 0; padding: 0 2px;
  background: repeating-linear-gradient(to bottom, transparent 0 27px, var(--line) 27px 28px) 0 0 / 100% 28px local;
  font: 450 .97rem/28px "Inter", sans-serif; color: var(--text);
}
.batch-item textarea:focus { outline: none; }
.bi-note { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 0 10px; height: 36px; border-radius: var(--r); background: color-mix(in srgb, var(--panel) 55%, var(--surface)); }
.bi-note .ic { width: 16px; height: 16px; color: var(--muted); flex: none; }
.bi-note input { flex: 1; min-width: 0; border: 0; background: none; font-size: .88rem; color: var(--text); }
.bi-note input:focus { outline: none; }
.bi-foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 8px; min-height: 30px; }
.bi-date { margin: 0; }
.bi-date input { height: 34px; font-size: .88rem; }
.toggle-sm { font-size: .82rem; color: var(--muted); }
.toggle-sm .toggle-box { width: 18px; height: 18px; }
.toggle-sm[aria-pressed="true"] { color: var(--text); }
.batch-add { align-self: flex-start; }
.batch-summary { gap: 16px; }
.batch-stack { position: relative; width: 54px; height: 46px; flex: none; }
.batch-stack span { position: absolute; inset: 6px 0 0; border-radius: 6px; background: #fff; border: 1.5px solid var(--line-strong); }
.batch-stack span:nth-child(1) { transform: rotate(-9deg) translate(-3px, -2px); }
.batch-stack span:nth-child(2) { transform: rotate(5deg) translate(2px, -3px); }
.batch-stack span:nth-child(3) { display: grid; place-items: center; background: var(--blue); border-color: var(--navy); color: #fff; font: 800 1rem "Rubik"; box-shadow: 0 2px 0 var(--navy); }
.batch-enc { justify-content: center; font-size: .82rem; color: var(--muted); margin-top: -8px; }
.batch-result .result-actions { margin-top: 0; }
.batch-links { width: 100%; border-top: 1px dashed var(--line); padding-top: 14px; }
.batch-links summary { display: flex; align-items: center; gap: 6px; cursor: pointer; font-weight: 600; font-size: .9rem; list-style: none; color: var(--muted); }
.batch-links summary::-webkit-details-marker { display: none; }
.batch-links summary .ic { width: 16px; height: 16px; transition: transform .15s; }
.batch-links[open] summary .ic { transform: rotate(180deg); }
.batch-links ol { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.batch-links li { display: grid; gap: 4px; font-size: .85rem; }
.batch-links li span { font-weight: 600; }
.batch-links li input { width: 100%; height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--field); font-size: .8rem; color: var(--muted); }
@media (max-width: 900px) { .batch[data-kind="t"] .batch-head { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .batch-main { padding: 16px; } .batch-item { padding: 10px 12px; } }

/* Printed clue cards and capsule card: screen never shows them */
.print-sheet { display: none; }
@media print {
  @page { margin: 12mm; }
  body > *:not(main), main > *:not(.hero), .hero > *:not(.print-sheet) { display: none !important; }
  body { background: #fff; color: #010223; }
  .print-sheet { display: block !important; color: #010223; }
  .pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6mm; }
  .pc-card { break-inside: avoid; border: 1.5px dashed #9aa6c6; border-radius: 4mm; padding: 6mm; display: flex; flex-direction: column; align-items: center; gap: 3mm; text-align: center; }
  .pc-top { display: flex; align-items: center; gap: 2mm; font: 600 10pt "Inter"; color: #4b5274; align-self: stretch; justify-content: center; }
  .pc-top img { width: 7mm; height: 7mm; }
  .pc-title { font: 800 24pt "Rubik"; color: #0a57fe; }
  .pc-qr svg { width: 48mm; height: 48mm; display: block; }
  .pc-line { font: 500 10pt/1.35 "Inter"; color: #4b5274; max-width: 70mm; }
  .pc-key { break-before: page; }
  .pc-key h2 { font: 800 18pt "Rubik"; margin-bottom: 2mm; }
  .pc-key p { color: #4b5274; margin-bottom: 6mm; }
  .pc-key ol { padding-left: 0; list-style: none; display: grid; gap: 4mm; }
  .pc-key li { display: grid; grid-template-columns: 22mm 1fr; gap: 1mm 4mm; border-bottom: 1px solid #d6dcea; padding-bottom: 3mm; }
  .pc-key li em { grid-column: 2; color: #4b5274; font-style: normal; font-size: 9.5pt; }
  .pc-capsule { max-width: 140mm; margin: 10mm auto; border: 2px solid #010223; border-radius: 6mm; padding: 12mm; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4mm; }
  .pc-mark { width: 18mm; height: 18mm; }
  .pc-kicker { font: 700 10pt "Inter"; letter-spacing: .16em; text-transform: uppercase; color: #0a57fe; }
  .pc-capsule h2 { font: 800 26pt/1.1 "Rubik"; }
  .pc-date { font: 700 14pt "Inter"; }
  .pc-qr-lg svg { width: 70mm; height: 70mm; }
  .pc-from { font-size: 10pt; color: #4b5274; }
  .pc-url { font: 800 12pt "Rubik"; color: #0a57fe; }
}

/* Bundle page */
.solo-wide { max-width: 940px; }
.lt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-top: 24px; }
.lt-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 14px; border-radius: var(--r-lg); background: color-mix(in srgb, var(--panel) 50%, var(--surface)); color: var(--text); text-decoration: none; transition: transform .15s var(--ease), background .15s; }
a.lt-card[href]:hover { transform: translateY(-2px); background: var(--soft); text-decoration: none; }
@media (prefers-color-scheme: dark) { a.lt-card[href]:hover { background: #16225a; } }
.lt-env { position: relative; display: block; height: 96px; border-radius: 6px; background: #fff; border: 1.5px solid var(--line-strong); overflow: hidden; }
.lt-flap { position: absolute; inset: 0; clip-path: polygon(0 0, 100% 0, 50% 60%); background: linear-gradient(#eef2fb, #dfe7f8); transform-origin: top; transition: transform .3s var(--ease); }
.lt-seal { position: absolute; left: 50%; top: 60%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font: 800 17px "Rubik"; box-shadow: inset 0 -3px 0 var(--navy); }
.lt-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lt-eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lt-label { font-family: "Rubik"; font-weight: 700; font-size: 1.08rem; line-height: 1.25; overflow-wrap: anywhere; }
.lt-state { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: .85rem; color: var(--muted); }
.lt-state .ic { width: 16px; height: 16px; flex: none; }
.lt-card.is-ready .lt-state { color: var(--accent-ink); font-weight: 600; }
.lt-card.is-sealed .lt-seal { background: var(--muted); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .25); }
.lt-card.is-done .lt-flap { transform: scaleY(-1); }
.lt-card.is-done .lt-seal { opacity: 0; }
.lt-card.is-done .lt-env::after { content: ""; position: absolute; left: 14%; right: 14%; top: 22%; bottom: 0; background: repeating-linear-gradient(to bottom, #fff 0 9px, #e6ebf6 9px 10px); border-radius: 3px 3px 0 0; box-shadow: 0 -1px 4px rgba(1, 2, 35, .12); }
.lt-card.is-done .lt-state { color: #0b7a3e; }
.lt-card.is-gone { opacity: .55; }
.lt-card.is-loading .lt-state { opacity: .6; }
.lt-card[aria-disabled="true"] { cursor: default; }

/* Riddles, capsule lists, use cases */
.idea .answer { display: block; margin-top: 3px; font-size: .8rem; color: var(--muted); }
.capsule-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.cap-card { padding: 18px 20px 20px; border-radius: var(--r-lg); background: var(--tone-soft); }
.cap-card h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.cap-card h3 .tile { width: 30px; height: 30px; }
.cap-card ul { margin: 0; padding-left: 1.1em; display: grid; gap: 5px; color: color-mix(in srgb, var(--text) 86%, transparent); }
.use-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.use { padding: 18px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.use .tile { margin-bottom: 12px; }
.use h3 { margin-bottom: 4px; }
.use p { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .capsule-grid, .use-grid { grid-template-columns: 1fr; } }

/* Confession booth */
.booth-tabs { display: inline-flex; gap: 2px; padding: 4px; margin-bottom: 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow); position: relative; z-index: 3; }
.booth-tabs [role="tab"] { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border: 0; border-radius: 9px; background: none; font-weight: 600; color: var(--muted); }
.booth-tabs [role="tab"] .ic { width: 18px; height: 18px; }
.booth-tabs [role="tab"]:hover { color: var(--text); }
.booth-tabs [role="tab"][aria-selected="true"] { background: var(--blue); color: #fff; box-shadow: 0 1px 0 var(--navy); }
.booth-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--orange); color: var(--ink); font: 800 .75rem "Rubik"; }
.booth-card[data-booth-panel] { display: block; }
.booth-card[hidden] { display: none; }
.booth-form { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); }
.booth-form[hidden], .booth-done[hidden] { display: none; }
.booth-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.booth-steps li { display: flex; gap: 12px; align-items: flex-start; }
.booth-steps li > span:last-child { display: flex; flex-direction: column; line-height: 1.35; font-size: .85rem; color: var(--muted); }
.booth-steps strong { color: var(--text); font-size: .95rem; font-weight: 650; }
.helpline { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r); background: #fff4e0; color: #5a3a00; font-size: .88rem; line-height: 1.45; }
.helpline .ic { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.helpline a { color: inherit; font-weight: 650; text-decoration: underline; }
@media (prefers-color-scheme: dark) { .helpline { background: #3a2a0a; color: #ffd99a; } }
.booth-done { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.booth-done > .field, .booth-done > .result-actions { grid-column: 2; padding: 0 24px; }
.booth-done > .field { padding-top: 24px; }
.booth-done > .result-actions { padding-bottom: 24px; padding-top: 14px; align-content: flex-start; }
.booth-done .sealed { grid-row: 1 / span 2; }
.read-intro, .read-empty { max-width: 560px; margin: 0 auto; padding: 40px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.read-intro p, .read-empty p { color: var(--muted); }
.read-intro .muted { font-size: .85rem; }
.read-intro .btn, .read-empty .result-actions { margin-top: 10px; }
.read-paper { max-width: 680px; margin: 0 auto; padding: 32px 24px 26px; display: flex; flex-direction: column; gap: 14px; }
.read-paper.is-new .confession-paper { animation: env-drop .45s var(--ease) both; }
.confession-paper { font-size: 1.15rem; line-height: 1.6; padding: 22px 24px; white-space: pre-wrap; overflow-wrap: anywhere; }
.read-when { font-size: .85rem; text-align: center; }
.react-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.react { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px; border: 1px solid var(--line-strong); border-radius: var(--r-lg); background: var(--surface); font-size: .8rem; font-weight: 600; color: var(--text); transition: border-color .12s, transform .12s, background .12s; }
.react:hover:not(:disabled) { border-color: var(--blue); transform: translateY(-1px); }
.react:disabled { cursor: default; opacity: .5; }
.react[aria-pressed="true"] { opacity: 1; border-color: var(--blue); background: var(--soft); }
.react-emoji { font-size: 1.6rem; line-height: 1; }
.read-paper .result-actions { justify-content: center; }
.booth-mine { margin-top: 18px; padding: 16px 20px; border-radius: var(--r-lg); background: color-mix(in srgb, var(--panel) 50%, var(--surface)); }
.booth-mine h3 { font-size: 1rem; margin-bottom: 8px; }
.booth-mine ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.booth-mine a { display: flex; flex-direction: column; padding: 8px 10px; border-radius: var(--r); color: var(--text); text-decoration: none; }
.booth-mine a:hover { background: var(--surface); text-decoration: none; }
.booth-mine a span { font-size: .85rem; color: var(--muted); }
.cs-reaction { font-size: 4rem; text-align: center; margin: 14px 0 0; line-height: 1; }
@media (max-width: 900px) {
  .booth-form, .booth-done { grid-template-columns: 1fr; }
  .booth-done > .field, .booth-done > .result-actions { grid-column: 1; }
  .booth-done .sealed { grid-row: auto; }
  .react-row { grid-template-columns: repeat(2, 1fr); }
}

/* Decor: brand props placed where the story needs them. */
.scene-decor-pole { width: 150px; left: -40px; bottom: 6px; }
.scene-decor-seeds { width: 96px; left: -4px; bottom: 10px; }
.scene-decor-keys { width: 84px; left: 0; bottom: 14px; transform: rotate(-8deg); }
.scene-decor-loft { width: 132px; left: -34px; bottom: 0; }
.hero-decor { position: absolute; bottom: 0; pointer-events: none; }
.hero-decor-wax-seal { right: 176px; width: 52px; bottom: 10px; transform: rotate(-14deg); }
.hero-decor-envelope { right: 172px; width: 76px; bottom: 8px; transform: rotate(-9deg); }
.hero-decor-stamp { right: 170px; width: 50px; bottom: 14px; transform: rotate(12deg); }
.hero-decor-mailbox { right: 170px; width: 66px; bottom: 0; }
@media (max-width: 1080px) { .hero-decor { display: none; } }
.solo { position: relative; }
.solo-decor { position: absolute; z-index: 2; pointer-events: none; }
.solo-decor-wind { width: 88px; top: 92px; left: calc(50% - 170px); opacity: .85; }
.solo-decor-seeds { width: 80px; top: 174px; left: calc(50% + 92px); }
@media (max-width: 560px) { .solo-decor { display: none; } }

/* A feather drifts beside the questions while you read them. */
.section:has(> .faq) > .sec-head::after {
  content: ""; position: absolute; top: calc(100% + 30px); left: 64px; width: 46px; aspect-ratio: 1870 / 2048;
  background: url("/brand/decor-feather.svg") center / contain no-repeat;
  transform-origin: 50% 0; animation: feather 7s ease-in-out infinite alternate;
}
@keyframes feather { from { transform: translate(-6px, 0) rotate(-10deg); } to { transform: translate(10px, 14px) rotate(8deg); } }
@media (max-width: 860px) { .section:has(> .faq) > .sec-head::after { display: none; } }

/* Hero sky: a few clouds and a gust drifting over the tone band. */
.hero::after {
  content: ""; position: absolute; z-index: -1; top: 0; left: calc(50% - 50vw); width: 100vw; height: 330px; pointer-events: none;
  background:
    url("/brand/decor-cloud.svg") calc(50% - 470px) 54px / 112px auto no-repeat,
    url("/brand/decor-cloud.svg") calc(50% + 560px) 26px / 74px auto no-repeat,
    url("/brand/decor-cloud.svg") calc(50% - 640px) 214px / 62px auto no-repeat,
    url("/brand/decor-wind.svg") calc(50% - 560px) 150px / 84px auto no-repeat;
  opacity: .5; animation: sky 26s ease-in-out infinite alternate;
}
@keyframes sky { to { transform: translateX(28px); } }
@media (max-width: 860px) { .hero::after { display: none; } }
@media (prefers-color-scheme: dark) { .hero::after { opacity: .22; } }

/* The courier's flight path, drawn down the margin as you scroll. */
.route { position: absolute; top: 0; left: 0; z-index: -1; pointer-events: none; overflow: visible; }
.route-trail { fill: none; stroke: color-mix(in srgb, var(--blue) 42%, transparent); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: .1 11; }
.route-mask { fill: none; stroke: #fff; stroke-width: 14; }

@media (prefers-reduced-motion: reduce) {
  .hero::after, .section:has(> .faq) > .sec-head::after { animation: none; }
}

/* Illustrated icons, drawn in the brand style (lfs/branding/icons). */
.art { display: inline-grid; place-items: center; flex: none; width: 36px; height: 36px; }
.art img { display: block; width: 100%; height: 100%; transition: transform .25s var(--ease); }
a:hover .art img, button:hover .art img, .sec-head:hover .art img { transform: rotate(-7deg) scale(1.06); }
.sec-head .art { width: 42px; height: 42px; margin-top: -2px; }
.tc-title .art, .idea-group h3 .art, .cap-card h3 .art { width: 30px; height: 30px; }
.art-nav { width: 22px; height: 22px; }
.kicker .art { display: none; }
@media (prefers-color-scheme: dark) { .art img { filter: drop-shadow(0 0 .5px rgb(255 255 255 / .55)); } }
@media (prefers-reduced-motion: reduce) { .art img { transition: none; } }
.field-label:has(> .art-label) { display: inline-flex; align-items: center; gap: 7px; }
.art-label { width: 22px; height: 22px; }
.art-btn { width: 34px; height: 34px; margin: -8px 0; }
.art-btn img { transform: rotate(-8deg); }
.btn:hover:not(:disabled) .art-btn img { transform: rotate(4deg) translateY(-1px) scale(1.06); }

/* Pinned links before the menus, while the row has room for them. */
.nav-link {
  display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px 0 9px; border-radius: 9px; white-space: nowrap;
  color: color-mix(in srgb, var(--text) 72%, transparent); font-weight: 550; font-size: .9rem; text-decoration: none; transition: color .15s, background .15s;
}
.nav-link:hover { color: var(--text); background: color-mix(in srgb, var(--surface) 70%, transparent); text-decoration: none; }
.nav-link[aria-current="page"] { color: var(--text); font-weight: 600; background: var(--surface); box-shadow: 0 1px 2px rgb(1 2 35 / .08), 0 0 0 1px rgb(1 2 35 / .06); }
.nav-quick[hidden] { display: none; }
@media (max-width: 1000px) { .nav-quick { display: none !important; } }

/* "More": the tools that didn't fit, in columns by when they open. */
.flyout-more { left: auto; right: 0; display: none; grid-template-columns: none; padding: 14px; }
.nav-group.open .flyout-more { display: block; }
.fly-secs { display: flex; gap: 14px; }
.fly-sec { width: 286px; }
.fly-sec[hidden], [data-fly-item][hidden] { display: none; }
.fly-head { margin: 4px 10px 8px; font: 700 .72rem/1 "Inter"; letter-spacing: .12em; text-transform: uppercase; color: var(--tone-ink); }
.flyout-more .fly-items { width: auto; }
.flyout-more .fly-foot { margin-top: 10px; }
@media (max-width: 1000px) {
  .flyout-more { display: block; padding: 0; }
  .fly-secs { flex-direction: column; gap: 18px; }
  .fly-sec { width: auto; }
  .fly-head { margin: 0 2px 8px; font-size: .78rem; }
}
