/* counterbit.ai: the landing page. One light paper ground; colour only in rounded panels.
   Brand as the app has it (globals.css): ink #0e1317, paper #f6f3ee, blue #2d5bff, Inter Tight. */
:root {
  --ink: #0e1317;
  --paper: #f6f3ee;
  --card: #ffffff;
  --line: #e5e0d7;
  --muted: #5f6467;
  --blue: #2d5bff;
  --blue-ink: #2448d6;
  --blue-soft: #e9eeff;
  --ok: #12805c;
  --ok-soft: #e2f3ec;
  --warn: #f5b544;
  --late: #e5484d;
  --night: #0b1013;
  --night-card: #172026;
  --night-head: #26313a;
  --night-line: #2c3740;
  --dd: #eb1700;
  --ue: #06c167;
  --gh: #ff8000;
  --font: "Inter Tight", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, monospace;
  --gut: max(20px, env(safe-area-inset-left, 0px));
  --gut-r: max(20px, env(safe-area-inset-right, 0px));
  --r: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1180px; margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut-r); }
.num { font-variant-numeric: tabular-nums; }

/* ── Wordmark & header ─────────────────────────────── */
.wm { font-weight: 800; letter-spacing: -0.035em; font-size: 26px; line-height: 1; text-decoration: none; color: var(--ink); white-space: nowrap; }
.wm b { color: var(--blue); font-weight: 800; }
header.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
header.top.scrolled { border-bottom-color: var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--paper); }
.top-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.top nav { display: flex; gap: 24px; margin-left: auto; }
.top nav a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--muted); }
.top nav a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 999px; font: 600 15.5px var(--font); text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; transition: transform .15s, background .15s; }
.btn:active { transform: scale(.98); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #222b31; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-ink); }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-line:hover { background: var(--card); }
.top .btn { height: 40px; padding: 0 16px; font-size: 14.5px; }
@media (max-width: 820px) { .top nav { display: none; } .top .btn { margin-left: auto; } }

/* ── Hero ─────────────────────────────────────────── */
.hero { padding-block: clamp(36px, 6vw, 80px) clamp(30px, 4vw, 56px); overflow-x: clip; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (max-width: 980px) { .hero-in { grid-template-columns: minmax(0, 1fr); } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--blue-ink); background: var(--blue-soft); padding: 6px 12px; border-radius: 999px; }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 22%, transparent); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px transparent; } }
.hero h1 { font-size: clamp(42px, 6.2vw, 76px); font-weight: 800; margin-top: 18px; }
.hero h1 .roll { display: grid; color: var(--blue); }
.hero h1 .roll span { grid-area: 1 / 1; transition: transform .55s cubic-bezier(.7,0,.2,1), opacity .45s; }
.hero h1 .roll span.r-up { transform: translateY(-45%); opacity: 0; }
.hero h1 .roll span.r-wait { transform: translateY(45%); opacity: 0; transition: none; }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); margin-top: 20px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }

/* ── Device frames ────────────────────────────────── */
.tablet { position: relative; background: #1b2227; border-radius: 26px; padding: 12px; box-shadow: 0 40px 80px -30px rgba(14,19,23,.45), 0 0 0 1px rgba(14,19,23,.06); }
.screen { position: relative; overflow: hidden; border-radius: 15px; background: var(--paper); }
/* Every drawn screen is laid out at a fixed size and scaled with --s from JS, so it holds at any width. */
.stage { position: relative; width: 100%; aspect-ratio: 760 / 500; }
.stage > .canvas { position: absolute; top: 0; left: 0; width: 760px; height: 500px; transform: scale(var(--s, 1)); transform-origin: 0 0; }

/* ── Register mockup ──────────────────────────────── */
.reg { display: grid; grid-template-columns: 1fr 268px; height: 100%; font-size: 13px; }
.reg-main { padding: 14px; display: grid; grid-template-rows: auto auto 1fr; gap: 10px; }
.reg-bar { display: flex; align-items: center; gap: 8px; }
.reg-bar .wm { font-size: 17px; }
.chip { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 600; font-size: 12px; color: var(--muted); white-space: nowrap; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.reg-cats { display: flex; gap: 6px; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 78px; gap: 8px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; justify-content: space-between; font-weight: 600; font-size: 13px; line-height: 1.2; transition: transform .12s, box-shadow .12s, border-color .12s; }
.tile small { color: var(--muted); font-weight: 500; font-size: 12px; }
.tile[data-h] { border-color: var(--blue); background: var(--blue-soft); }
.tile.tap { transform: scale(.94); border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.tile .sw { width: 22px; height: 4px; border-radius: 3px; }
.ticket { background: var(--card); border-left: 1px solid var(--line); display: grid; grid-template-rows: auto 1fr auto; min-height: 0; }
.t-head { padding: 14px 14px 10px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; }
.t-head b { font-size: 15px; }
.t-head span { color: var(--muted); font-size: 12px; }
.t-lines { padding: 6px 14px; overflow: hidden; display: flex; flex-direction: column; gap: 2px; }
.t-line { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding: 7px 0; border-bottom: 1px dashed var(--line); animation: lineIn .35s ease both; }
.t-line b { font-weight: 600; }
.t-line em { grid-column: 1 / -1; font-style: normal; color: var(--muted); font-size: 12px; line-height: 1.35; }
.t-line em.no { color: var(--late); }
@keyframes lineIn { from { opacity: 0; transform: translateY(-6px); } }
.t-foot { padding: 12px 14px 14px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.t-row { display: flex; justify-content: space-between; color: var(--muted); font-size: 12.5px; }
.t-row.tot { color: var(--ink); font-weight: 700; font-size: 15px; }
.pay { height: 42px; border-radius: 12px; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; transition: background .2s; }
.pay.paid { background: var(--ok); }

/* Incoming orders, toasts over the register */
.toasts { position: absolute; top: 14px; right: 282px; display: grid; gap: 8px; width: 230px; pointer-events: none; }
.toast { display: grid; grid-template-columns: 30px 1fr; gap: 2px 10px; align-items: center; background: var(--card); border-radius: 14px; padding: 9px 12px; box-shadow: 0 14px 30px -12px rgba(14,19,23,.35), 0 0 0 1px rgba(14,19,23,.06); animation: toastIn .45s cubic-bezier(.2,.9,.3,1.2) both; font-size: 12px; }
.toast.go { animation: toastOut .35s ease both; }
.toast .src { grid-row: span 2; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 12px; }
.toast b { font-size: 12.5px; }
.toast span { color: var(--muted); }
@keyframes toastIn { from { opacity: 0; transform: translateX(30px) scale(.96); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-10px) scale(.97); } }

/* Card reader + printer beside the tablet in the hero */
.hero-art { position: relative; padding: 0 0 54px 0; }
.reader { position: absolute; right: -14px; bottom: 0; width: 23%; aspect-ratio: 9 / 16; background: #f3f4f6; border-radius: 20px; padding: 7px; box-shadow: 0 30px 50px -24px rgba(14,19,23,.5), 0 0 0 1px rgba(14,19,23,.08); }
.reader { container-type: inline-size; }
.reader .rs { height: 100%; border-radius: 14px; background: #0e1317; color: #fff; display: grid; place-items: center; text-align: center; padding: 10%; font-size: 9.5cqw; line-height: 1.3; overflow: hidden; }
.reader .amt { font-size: 1.9em; font-weight: 800; letter-spacing: -0.02em; }
.reader .tap { width: 46%; aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); display: grid; place-items: center; margin: 10% auto; position: relative; }
.reader .tap::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--blue); animation: ring 1.6s infinite; }
@keyframes ring { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.reader .ok { width: 46%; aspect-ratio: 1; border-radius: 50%; background: var(--ok); display: grid; place-items: center; margin: 10% auto; font-size: 2.4em; }
.slip { position: absolute; left: 4%; bottom: 0; width: 25%; background: #fff; padding: 9px 10px 14px; font: 600 clamp(7px, .85vw, 10.5px)/1.45 var(--mono); color: var(--ink); box-shadow: 0 20px 30px -18px rgba(14,19,23,.5); transform-origin: top; transition: transform .7s cubic-bezier(.2,.8,.2,1), opacity .4s; clip-path: polygon(0 0, 100% 0, 100% 100%, 92% 97%, 84% 100%, 76% 97%, 68% 100%, 60% 97%, 52% 100%, 44% 97%, 36% 100%, 28% 97%, 20% 100%, 12% 97%, 4% 100%, 0 97%); }
.slip.hide { transform: translateY(-40%) scaleY(.1); opacity: 0; }
.slip .big { font-size: 1.6em; font-weight: 800; }
.slip hr { border: 0; border-top: 1px dashed #9aa; margin: 4px 0; }
.slip .red { color: #c8261c; }
@media (max-width: 560px) { .reader { right: -6px; } }

/* ── Sections ─────────────────────────────────────── */
section.band { padding-block: clamp(44px, 6vw, 96px) 0; }
.sec-head { max-width: 760px; }
.sec-head .k { font-size: 14px; font-weight: 700; color: var(--blue-ink); letter-spacing: .02em; }
.sec-head h2 { font-size: clamp(32px, 4.4vw, 54px); font-weight: 800; margin-top: 10px; }
.sec-head h2 em { font-style: normal; color: var(--muted); }
.sec-head p { color: var(--muted); font-size: clamp(16.5px, 1.4vw, 19px); margin-top: 16px; max-width: 40em; }

/* Every order, one place */
.flow { margin-top: 36px; background: var(--night); color: #fff; border-radius: var(--r); padding: clamp(22px, 3.4vw, 44px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(22px, 3vw, 48px); align-items: center; overflow: hidden; position: relative; }
@media (max-width: 900px) { .flow { grid-template-columns: minmax(0, 1fr); } }
.sources { display: grid; gap: 10px; }
.src-row { display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center; background: var(--night-card); border: 1px solid var(--night-line); border-radius: 16px; padding: 12px 14px; }
.src-row .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 15px; color: #fff; }
.src-row b { display: block; font-size: 16px; }
.src-row span { color: #9aa7ae; font-size: 13.5px; }
.src-row .ct { font-size: 13px; color: #c7d0d5; background: var(--night-head); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
@media (max-width: 520px) { .src-row { padding: 10px 12px; } .src-row > div > span { display: none; } }
.src-row.hit { border-color: color-mix(in srgb, var(--blue) 70%, transparent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 25%, transparent); }
.kds { background: #0f171b; border: 1px solid var(--night-line); border-radius: 18px; padding: 14px; }
.kds-top { display: flex; justify-content: space-between; align-items: center; color: #9aa7ae; font-size: 13px; padding: 0 2px 12px; }
.kds-top b { color: #fff; font-size: 15px; }
.kds-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; min-height: 280px; align-items: start; }
@media (max-width: 520px) { .kds-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kds-cols .kt:nth-child(n+5) { display: none; } }
.kt { background: var(--night-card); border-radius: 12px; overflow: hidden; font-size: 12.5px; animation: lineIn .4s ease both; }
.kt-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 10px; font-weight: 700; color: #fff; }
.kt-h span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kt-h small { font-weight: 600; opacity: .85; }
.kt ul { list-style: none; margin: 0; padding: 8px 10px 10px; display: grid; gap: 4px; color: #dfe6ea; }
.kt li i { display: block; font-style: normal; color: #93a0a8; font-size: 11.5px; padding-left: 12px; }
.kt li i.no { color: #ff8a80; }
.kt .tm { font-variant-numeric: tabular-nums; }

/* Feature tabs */
.feat { margin-top: 36px; display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
@media (max-width: 960px) { .feat { grid-template-columns: minmax(0, 1fr); } }
.tabs { display: grid; gap: 6px; }
@media (max-width: 960px) { .tabs { display: flex; overflow-x: auto; gap: 8px; scrollbar-width: none; padding-bottom: 4px; } .tabs::-webkit-scrollbar { display: none; } }
.tab { position: relative; text-align: left; background: transparent; border: 0; border-radius: 16px; padding: 16px 18px; cursor: pointer; font: inherit; color: var(--muted); overflow: hidden; }
.tab b { display: block; font-size: 18px; color: var(--ink); font-weight: 700; letter-spacing: -0.01em; }
.tab span { display: block; font-size: 15px; margin-top: 4px; }
.tab .bar { position: absolute; left: 18px; right: 18px; bottom: 8px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; opacity: 0; }
.tab .bar i { display: block; height: 100%; width: 100%; background: var(--blue); transform-origin: left; transform: scaleX(0); }
.tab[aria-selected="true"] { background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.tab[aria-selected="true"] .bar { opacity: 1; }
.tab[aria-selected="true"] .bar i { animation: fill 7s linear forwards; }
.feat.paused .tab .bar i { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
@media (max-width: 960px) { .tab { flex: 0 0 auto; padding: 12px 16px; background: var(--card); box-shadow: 0 0 0 1px var(--line); } .tab span { display: none; } .tab b { font-size: 15.5px; white-space: nowrap; } .tab[aria-selected="true"] { background: var(--ink); } .tab[aria-selected="true"] b { color: #fff; } .tab .bar { left: 12px; right: 12px; bottom: 5px; } }
.panel-stage { background: var(--card); border-radius: var(--r); box-shadow: 0 0 0 1px var(--line); padding: clamp(14px, 2vw, 24px); }
.fp { display: none; }
.fp.on { display: block; animation: fadeIn .35s ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } }
.fp .stage { border-radius: 14px; overflow: hidden; background: var(--paper); }
.fp-cap { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.fp-cap span { font-size: 14px; background: var(--paper); border-radius: 999px; padding: 6px 12px; color: var(--ink); }
.fp-cap span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); margin-right: 8px; vertical-align: middle; position: relative; top: -1px; }

/* Shared bits inside drawn screens */
.pane { background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.lbl { font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.pill { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.p-ok { background: var(--ok-soft); color: var(--ok); }
.p-blue { background: var(--blue-soft); color: var(--blue-ink); }
.p-warn { background: #fbf0d9; color: #9a5b00; }
.p-dd { background: #fde7e4; color: var(--dd); }
.p-ue { background: #e1f7ec; color: #058a49; }
.p-gh { background: #fff0e0; color: #c25f00; }
.p-ink { background: var(--ink); color: #fff; }

/* Hardware strip */
.hw-strip { margin-top: 36px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .hw-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hw-strip figure:last-child { grid-column: 1 / -1; } }
.hw-strip figure { margin: 0; background: var(--card); border-radius: 18px; padding: 16px; box-shadow: 0 0 0 1px var(--line); display: grid; gap: 10px; align-content: start; }
.hw-strip img { height: 130px; width: 100%; object-fit: contain; }
.hw-strip figcaption b { display: block; font-size: 16px; }
.hw-strip figcaption span { color: var(--muted); font-size: 14px; }

/* Steps */
.steps { margin-top: 36px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.step { background: var(--card); border-radius: var(--r); padding: 24px; box-shadow: 0 0 0 1px var(--line); display: grid; gap: 10px; align-content: start; }
.step .n { width: 34px; height: 34px; border-radius: 50%; background: var(--blue-soft); color: var(--blue-ink); display: grid; place-items: center; font-weight: 800; }
.step h3 { font-size: 22px; font-weight: 750; }
.step p { color: var(--muted); }

/* Money block */
.money { margin-top: 36px; background: var(--blue); color: #fff; border-radius: var(--r); padding: clamp(24px, 4vw, 52px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(22px, 3vw, 48px); align-items: center; }
@media (max-width: 860px) { .money { grid-template-columns: minmax(0, 1fr); } }
.money h2 { font-size: clamp(30px, 3.8vw, 46px); font-weight: 800; }
.money p { color: #dfe6ff; margin-top: 14px; font-size: 18px; }
.money ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.money li { background: rgba(255,255,255,.1); border-radius: 14px; padding: 14px 16px; display: grid; gap: 2px; }
.money li b { font-size: 17px; }
.money li span { color: #dfe6ff; font-size: 15px; }
.money .btn { margin-top: 26px; background: #fff; color: var(--blue-ink); }

/* FAQ */
.faq { margin-top: 30px; display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--card); border-radius: 16px; box-shadow: 0 0 0 1px var(--line); padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 650; font-size: 18px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 500; font-size: 24px; line-height: 1; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--muted); max-width: 46em; }

/* Closing CTA + footer */
.close { margin-block: clamp(44px, 6vw, 96px) 0; background: var(--ink); color: #fff; border-radius: var(--r); padding: clamp(30px, 5vw, 64px); display: grid; gap: 18px; justify-items: start; position: relative; overflow: hidden; }
.close h2 { font-size: clamp(34px, 4.8vw, 60px); font-weight: 800; max-width: 14em; }
.close p { color: #aeb9bf; font-size: 18px; max-width: 34em; }
.close .btn-line { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); }
.close .btn-line:hover { background: rgba(255,255,255,.08); }
.close::after { content: ""; position: absolute; right: 90px; bottom: -110px; width: 300px; height: 300px; border-radius: 50%; border: 58px solid var(--blue); border-right-color: transparent; transform: rotate(-45deg); }
.close::before { content: ""; position: absolute; right: 40px; bottom: 34px; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); }
.close > * { position: relative; z-index: 1; }
@media (max-width: 700px) { .close::after { width: 170px; height: 170px; border-width: 34px; right: 40px; bottom: -80px; } .close::before { right: 12px; bottom: 16px; width: 26px; height: 26px; } }
footer.bot { padding-block: 36px calc(36px + env(safe-area-inset-bottom, 0px)); color: var(--muted); font-size: 14px; }
.bot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.bot-in nav { display: flex; flex-wrap: wrap; gap: 18px; }
.bot-in nav a { text-decoration: none; }
.bot-in nav a:hover { color: var(--ink); }
.bot-in .wm { font-size: 22px; }
.bot-in .c { margin-left: auto; }

/* Reveal on scroll: visible at rest, nudged in when it enters. */
.rise { transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.rise.pre { transform: translateY(14px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
