/* Bottega: the living lab. Pearl light, glossy liquid, glass panels, everything gently moving. */
@font-face { font-family: "Geist Mono"; font-weight: 400; font-display: swap; src: url(../fonts/geist-mono-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Geist Mono"; font-weight: 500; font-display: swap; src: url(../fonts/geist-mono-latin-500-normal.woff2) format("woff2"); }

:root {
  --bg: #f4f6fb; --ink: #121628; --ink2: #2a2f47; --dim: #4b5068; --faint: #6b708a; --line: rgba(18, 22, 40, .08);
  --teal: #18b8a6; --teal-l: #9ee8de; --peri: #5b6cf0; --peri-l: #b7beff; --peach: #f08a5d; --peach-l: #ffd3bd;
  --good: #0f9e8e; --bad: #d6455d;
  --sans: Geist, system-ui, -apple-system, "Segoe UI", sans-serif; --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --r: 28px; --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
[hidden] { display: none !important; }
a { color: var(--peri); }
a:hover { color: #3b4cd6; }
:focus-visible { outline: 2px solid var(--peri); outline-offset: 3px; border-radius: 8px; }
img, svg, canvas { display: block; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -.045em; line-height: 1.02; text-wrap: balance; }
h1 { font-size: clamp(46px, 7vw, 92px); }
h2 { font-size: clamp(34px, 4.6vw, 58px); }
h3 { font-size: 22px; letter-spacing: -.02em; line-height: 1.2; font-weight: 600; }
p { margin: 0; }
code, pre, .mono { font-family: var(--mono); }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 28px; }
main { overflow-x: clip; position: relative; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; background: var(--ink); color: #fff; border-radius: 10px; }
.skip:focus { top: 12px; }

/* ambient colour fields behind every page, and a soft glow that follows the pointer */
.ambient { position: fixed; inset: 0; z-index: -2; pointer-events: none; filter: blur(80px); opacity: .7; }
.ambient i { position: absolute; border-radius: 50%; animation: drift 18s ease-in-out infinite; }
.ambient i:nth-child(1) { left: 55%; top: -15%; width: 46vw; height: 46vw; background: var(--teal-l); }
.ambient i:nth-child(2) { left: 72%; top: 30%; width: 36vw; height: 36vw; background: var(--peri-l); animation-delay: -6s; }
.ambient i:nth-child(3) { left: -10%; top: 55%; width: 42vw; height: 42vw; background: var(--peach-l); animation-delay: -11s; }
@keyframes drift { 50% { transform: translate(5vw, -4vw) scale(1.12); } }
.glow { position: fixed; z-index: -1; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(91, 108, 240, .16), rgba(24, 184, 166, .08) 55%, transparent); transform: translate(var(--gx, -999px), var(--gy, -999px)); transition: transform .35s var(--ease); }

/* glass */
.glass { position: relative; background: rgba(255, 255, 255, .62); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .95), inset 0 1px 0 #fff, 0 24px 60px -36px rgba(18, 22, 40, .45); border-radius: var(--r); }
.glass::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .7), transparent 60%); mix-blend-mode: soft-light; }
.glass:hover::after { opacity: 1; }

/* header */
.top { position: sticky; top: 0; z-index: 20; padding: 14px 0; }
.top .wrap { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.mark { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 21px; letter-spacing: -.035em; }
.mark img { width: 28px; height: 28px; }
.mark:hover { color: var(--ink); }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 2px; padding: 6px; border-radius: 999px; flex-wrap: wrap; }
.top nav a { padding: 9px 15px; border-radius: 999px; color: var(--dim); text-decoration: none; font-size: 15px; transition: background .2s, color .2s; }
.top nav a:hover { background: rgba(18, 22, 40, .05); color: var(--ink); }
.top nav a[aria-current="page"] { color: var(--ink); background: rgba(255, 255, 255, .9); box-shadow: 0 4px 14px -8px rgba(18, 22, 40, .35); }
.top nav a.x { display: inline-flex; padding: 9px 11px; }
@media (max-width: 760px) { .top nav { margin-left: 0; width: 100%; justify-content: space-between; } .top nav a { padding: 8px 10px; font-size: 14px; } .top nav a.hide-sm { display: none; } }

/* buttons */
.btn { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px;
  font: 500 16px var(--sans); text-decoration: none; cursor: pointer; overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s, background .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.primary { color: var(--ink); background: linear-gradient(120deg, #9ee8de, #b7beff 55%, #ffd3bd); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -2px 6px rgba(18, 22, 40, .08), 0 16px 34px -16px rgba(91, 108, 240, .7); }
.btn.primary:hover { color: var(--ink); box-shadow: inset 0 1px 0 #fff, 0 20px 44px -16px rgba(91, 108, 240, .85); }
.btn canvas.fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; border-radius: inherit; }
.btn.ink { color: #fff; background: var(--ink); box-shadow: 0 14px 30px -16px rgba(18, 22, 40, .7); }
.btn.ink:hover { color: #fff; background: #1f2540; }
.btn.ghost { color: var(--ink); background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px rgba(18, 22, 40, .08), inset 0 1px 0 #fff; }
.btn.ghost:hover { color: var(--ink); background: #fff; }
.btn.danger { color: #fff; background: var(--bad); }
.btn.sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn.lg { min-height: 58px; padding: 0 30px; font-size: 18px; }

/* hero */
.hero { position: relative; min-height: min(920px, 100svh); margin-top: -76px; padding-top: 76px; display: flex; align-items: center; }
.hero canvas.lab { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero .wrap { width: 100%; }
.hero-copy { max-width: 680px; padding: 60px 0; }
.pill-live { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 12px; border-radius: 999px; font: 400 13px var(--mono); color: var(--peri); margin-bottom: 26px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(24, 184, 166, .5); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(24, 184, 166, 0); } 100% { box-shadow: 0 0 0 0 rgba(24, 184, 166, 0); } }
.hero h1 .line { display: block; }
.split span { display: inline-block; opacity: 0; transform: translateY(.5em) rotate(4deg); filter: blur(8px); animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--i) * 45ms + 150ms); }
@keyframes rise { to { opacity: 1; transform: none; filter: none; } }
.lede { margin-top: 24px; font-size: 20px; color: var(--dim); max-width: 34em; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.try { margin-top: 38px; }
.try p { font-size: 14px; color: var(--faint); margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 15px; border: 0; border-radius: 999px; font: 400 15px var(--sans); color: var(--ink); cursor: pointer;
  background: rgba(255, 255, 255, .78); box-shadow: inset 0 0 0 1px rgba(18, 22, 40, .07), inset 0 1px 0 #fff, 0 8px 20px -14px rgba(18, 22, 40, .4); transition: transform .2s var(--ease), box-shadow .2s, background .2s; }
.chip:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(91, 108, 240, .25), 0 14px 30px -14px rgba(91, 108, 240, .55); }
.chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.agent-card { position: absolute; right: 40px; bottom: 96px; width: 280px; padding: 18px 20px; }
.agent-card .row { display: flex; justify-content: space-between; font: 400 12px var(--mono); color: var(--faint); }
.agent-card b { display: block; margin-top: 4px; font-size: 30px; font-weight: 600; letter-spacing: -.03em; }
.agent-card .last { margin-top: 2px; font-size: 15px; color: var(--dim); min-height: 1.5em; }
.scan { position: relative; margin-top: 12px; height: 4px; border-radius: 2px; background: #e4e7f2; overflow: hidden; }
.scan::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, var(--teal), transparent); animation: scan 2.2s cubic-bezier(.6, 0, .4, 1) infinite; }
@keyframes scan { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@media (max-width: 900px) { .hero { flex-direction: column; align-items: stretch; min-height: 0; } .hero-copy { padding: 400px 0 24px; } .agent-card { position: static; width: auto; margin: 0 28px 36px; } }

/* live strip */
.ticker { position: relative; overflow: hidden; padding: 14px 0; background: rgba(255, 255, 255, .55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 var(--line); }
.ticker .row { display: flex; gap: 48px; width: max-content; font: 400 14px var(--mono); color: var(--dim); white-space: nowrap; animation: tick 50s linear infinite; }
.ticker:hover .row { animation-play-state: paused; }
.ticker .row span b { color: var(--ink); font-weight: 500; }
.ticker .row span::before { content: "●"; color: var(--teal); margin-right: 8px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* sections */
section.block { padding-top: 120px; padding-bottom: 20px; }
.head { max-width: 760px; margin-bottom: 44px; }
.head p { margin-top: 16px; font-size: 19px; color: var(--dim); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; padding: 0; overflow: hidden; }
.stats > div { padding: 24px 26px; background: rgba(255, 255, 255, .35); }
.stats span { font-size: 14px; color: var(--faint); }
.stats b { display: block; margin-top: 6px; font-size: clamp(28px, 3.4vw, 44px); font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* stepper */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: s; }
.steps li { list-style: none; padding: 26px; counter-increment: s; transition: transform .3s var(--ease); }
.steps li:hover { transform: translateY(-4px); }
.steps li::before { content: counter(s, decimal-leading-zero); font: 400 13px var(--mono); color: var(--peri); }
.steps .orb { width: 46px; height: 46px; margin: 18px 0 18px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #fff, var(--c) 52%, var(--d)); box-shadow: 0 14px 26px -12px var(--d); animation: bob 5s ease-in-out infinite; }
.steps li:nth-child(2) .orb { animation-delay: -1.2s; } .steps li:nth-child(3) .orb { animation-delay: -2.4s; } .steps li:nth-child(4) .orb { animation-delay: -3.6s; }
@keyframes bob { 50% { transform: translateY(-7px) scale(1.04); } }
.steps p { margin-top: 8px; color: var(--dim); font-size: 16px; }
.steps { padding: 0; margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* the reel: swipe through live demos */
.reel-wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.reel-wrap > .head { flex: 1 1 360px; margin: 0; }
.reel { flex: 0 1 460px; min-width: 0; margin: 0 auto; padding: 22px; touch-action: pan-y; user-select: none; }
.reel .card { transition: transform .45s var(--ease), opacity .45s var(--ease); }
.reel .card.out { transform: translateY(-30px) scale(.96); opacity: 0; }
.reel .card.in { transform: translateY(30px) scale(.96); opacity: 0; }
.reel .top-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.reel .name { font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.badge { padding: 4px 10px; border-radius: 999px; font: 400 12px var(--mono); color: var(--good); background: rgba(24, 184, 166, .12); white-space: nowrap; }
.io { margin-top: 12px; padding: 14px; border-radius: 16px; font: 400 13px/1.6 var(--mono); max-height: 170px; overflow: auto; white-space: pre-wrap; word-break: break-word; }
.io small { display: block; color: #9096b0; margin-bottom: 2px; }
.io.in-box { background: #f1f3fa; color: var(--dim); }
.io.out-box { background: var(--ink); color: #c8f3ee; }
.io.out-box small { color: #7f86a8; }
.reel .acts { display: flex; gap: 10px; margin-top: 16px; }
.reel .acts .btn { flex: 1; }
.dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
.dots i { width: 6px; height: 6px; border-radius: 3px; background: #c9cde0; transition: width .3s var(--ease), background .3s; }
.dots i.on { width: 22px; background: var(--ink); }
.typing::after { content: "▍"; animation: blink 1s steps(2) infinite; color: var(--teal); }
@keyframes blink { 50% { opacity: 0; } }

/* tabs and code */
.tabs [role="tablist"] { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; margin-bottom: 14px; flex-wrap: wrap; }
.tabs [role="tab"] { min-height: 38px; padding: 0 16px; border: 0; border-radius: 999px; background: none; font: 400 14px var(--sans); color: var(--dim); cursor: pointer; }
.tabs [role="tab"][aria-selected="true"] { background: var(--ink); color: #fff; }
pre.code { margin: 0; padding: 24px 26px; border-radius: 24px; background: #0f1324; color: #cfd8f0; font: 400 14.5px/1.75 var(--mono); overflow-x: auto; box-shadow: 0 40px 80px -40px rgba(91, 108, 240, .6); }
pre.code .k { color: #b7beff; } pre.code .s { color: #9ee8de; } pre.code .c { color: #6f779a; } pre.code .o { color: #ffd3bd; }

/* holder cards, truths */
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cards3 > * { padding: 28px; }
.cards3 .orb { width: 44px; height: 44px; border-radius: 50%; margin-bottom: 18px; background: radial-gradient(circle at 32% 28%, #fff, var(--c) 52%, var(--d)); }
.cards3 p { margin-top: 8px; color: var(--dim); }
@media (max-width: 860px) { .cards3 { grid-template-columns: minmax(0, 1fr); } }
.fine { margin-top: 20px; font-size: 14px; color: var(--faint); }
.truths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 0; margin: 0; }
.truths li { list-style: none; padding: 24px 26px; }
.truths strong { display: block; font-size: 18px; margin-bottom: 6px; font-weight: 600; }
.truths li { color: var(--dim); }
@media (max-width: 760px) { .truths { grid-template-columns: minmax(0, 1fr); } }
.finale { padding: 140px 0 120px; text-align: center; }
.finale h2 { max-width: 820px; margin: 0 auto; font-size: clamp(40px, 6vw, 76px); }
.finale .ctas { justify-content: center; }
.ca { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 10px 16px; border: 0; border-radius: 999px; font: 400 13px var(--mono); color: var(--ink); cursor: pointer; }
.ca code { max-width: 52vw; overflow: hidden; text-overflow: ellipsis; }
.ca em { font-style: normal; color: var(--peri); }

/* store */
.page-head { padding: 40px 0 10px; }
.page-head p { margin-top: 14px; font-size: 19px; color: var(--dim); max-width: 46em; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 28px; }
.search { flex: 1 1 320px; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 0 18px; border-radius: 999px; min-height: 52px; }
.search input { flex: 1; min-width: 0; border: 0; background: none; font: 400 16px var(--sans); color: var(--ink); outline: none; }
.select { min-height: 52px; padding: 0 16px; border: 0; border-radius: 999px; font: 400 15px var(--sans); color: var(--ink); background: rgba(255, 255, 255, .78); box-shadow: inset 0 0 0 1px var(--line); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; margin: 28px 0 100px; padding: 0; }
.tile { list-style: none; }
.tile a { display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 22px; color: var(--ink); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s; }
.tile a:hover { transform: translateY(-6px) rotate(-.4deg); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .95), 0 34px 60px -30px rgba(91, 108, 240, .55); }
.tile .orb { width: 52px; height: 52px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #fff, var(--c) 50%, color-mix(in srgb, var(--c), #121628 35%)); box-shadow: 0 16px 28px -14px var(--c); transition: transform .5s var(--ease); }
.tile a:hover .orb { transform: scale(1.12) rotate(-8deg); }
.tile .name { font-size: 21px; font-weight: 600; letter-spacing: -.025em; line-height: 1.2; }
.tile p { color: var(--dim); font-size: 15px; }
.tile .meta { margin-top: auto; display: flex; justify-content: space-between; gap: 10px; font: 400 13px var(--mono); color: var(--faint); }
.tile .meta b { color: var(--ink); font-weight: 500; }
.empty { padding: 40px; text-align: center; color: var(--dim); }

/* skill page */
.skill { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 36px; padding: 30px 0 100px; align-items: start; }
@media (max-width: 920px) { .skill { grid-template-columns: minmax(0, 1fr); } }
.cart-hero { padding: 26px; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 90px; }
@media (max-width: 920px) { .cart-hero { position: static; } }
.cart-hero .orb { width: 120px; height: 120px; border-radius: 50%; margin: 8px auto 6px; background: radial-gradient(circle at 32% 26%, #fff, var(--c) 46%, color-mix(in srgb, var(--c), #121628 40%)); box-shadow: 0 30px 50px -24px var(--c); animation: bob 5s ease-in-out infinite; }
.cart-hero h1 { font-size: 38px; text-align: center; }
.cart-hero .sub { text-align: center; color: var(--dim); font-size: 15px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 0; font-size: 15px; }
.kv dt { color: var(--faint); }
.kv dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; word-break: break-all; }
.panel { padding: 26px; }
.panel h2 { font-size: 26px; letter-spacing: -.03em; }
.panel + .panel { margin-top: 18px; }
.panel .sub { margin-top: 8px; color: var(--dim); font-size: 15px; }
.testgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(18px, 1fr)); gap: 5px; margin-top: 18px; }
.testgrid i { aspect-ratio: 1; border-radius: 5px; background: var(--teal); animation: pop .5s var(--ease) both; animation-delay: calc(var(--i) * 25ms); }
.testgrid i.x { background: var(--peach); }
@keyframes pop { from { transform: scale(0); } }
.uses { list-style: none; margin: 14px 0 0; padding: 0; }
.uses li { display: flex; justify-content: space-between; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--dim); }
.uses li b { color: var(--ink); font-weight: 500; font-family: var(--mono); font-size: 13px; }

/* forms */
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
@media (max-width: 920px) { .cols { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 7px; margin-top: 16px; font-size: 14px; color: var(--dim); }
.field input, .field textarea, .field select { width: 100%; min-height: 48px; padding: 12px 16px; border: 0; border-radius: 16px; font: 400 15px var(--sans); color: var(--ink); background: rgba(255, 255, 255, .85); box-shadow: inset 0 0 0 1px rgba(18, 22, 40, .1); }
.field textarea { min-height: 120px; resize: vertical; font: 400 13.5px/1.6 var(--mono); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--peri); }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.row2 .field { margin-top: 16px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.note { margin-top: 14px; padding: 14px 16px; border-radius: 16px; background: rgba(91, 108, 240, .08); color: var(--ink2); font-size: 14px; }
.note.warn { background: rgba(240, 138, 93, .12); }
.status { margin-top: 12px; font-size: 14px; color: var(--dim); min-height: 1.4em; }
.account { display: inline-flex; align-items: center; gap: 12px; padding: 8px 8px 8px 18px; border-radius: 999px; margin-top: 22px; font: 400 14px var(--mono); }
.account .on { width: 9px; height: 9px; border-radius: 50%; background: #c9cde0; }
.account .on.live { background: var(--teal); }
.mine { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.mine li { padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px var(--line); }
.mine .t { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.mine .t b { font-size: 17px; }
.mine .t span { font: 400 12px var(--mono); color: var(--faint); }

/* docs */
.doc { padding: 34px clamp(22px, 4vw, 48px); margin: 30px 0 100px; }
.doc h2 { font-size: 32px; margin-top: 44px; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { margin-top: 28px; }
.doc p, .doc li { margin-top: 12px; color: var(--ink2); max-width: 70ch; }
.doc pre.code { margin-top: 14px; }
.doc table { width: 100%; margin-top: 14px; border-collapse: collapse; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--faint); font-weight: 500; }
.doc .tbl { overflow-x: auto; }

/* footer, toasts */
.foot { padding: 50px 0 60px; border-top: 1px solid var(--line); }
.foot .wrap { display: grid; gap: 16px; }
.foot p { font-size: 14px; color: var(--faint); max-width: 80ch; }
.foot .links { display: flex; flex-wrap: wrap; gap: 18px; }
.foot .links a { color: var(--dim); text-decoration: none; font-size: 14px; }
.toasts { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: grid; gap: 8px; max-width: min(420px, calc(100vw - 36px)); }
.toast { padding: 14px 18px; border-radius: 18px; font-size: 15px; color: var(--ink); background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: inset 0 0 0 1px #fff, 0 20px 40px -20px rgba(18, 22, 40, .5); animation: toastIn .4s var(--ease); }
.toast.good { box-shadow: inset 3px 0 0 var(--teal), 0 20px 40px -20px rgba(18, 22, 40, .5); }
.toast.bad { box-shadow: inset 3px 0 0 var(--bad), 0 20px 40px -20px rgba(18, 22, 40, .5); }
@keyframes toastIn { from { transform: translateY(14px) scale(.97); opacity: 0; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .split span { opacity: 1; transform: none; filter: none; }
}
@keyframes tileIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }
