
:root { color-scheme: dark; color: #f5f5ff; background: #101327; --muted: #c5d0e7; --accent: #a9e9ff;
  --line: #dfe9ff36; --glass: linear-gradient(145deg,#d6e1ff23,#b1c0ff09 58%),#11152dbd; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; font: 1rem/1.65 system-ui,sans-serif; min-height: 100dvh;
  background: radial-gradient(ellipse at 5% 5%,#693bb2a0,transparent 48%),
    radial-gradient(ellipse at 95% 15%,#167e9b80,transparent 48%),
    radial-gradient(ellipse at 80% 95%,#68319d76,transparent 54%),#11152c; }
.frame { width: min(calc(100% - 2rem),1060px); margin-inline: auto; }
.bar { position: sticky; z-index: 1; top: 0; background: #151a33e8; border-bottom: 1px solid var(--line); }
.bar nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.brand { display: flex; gap: .65rem; align-items: center; color: #f5f5ff; font-weight: 800; font-size: 1.2rem; text-decoration: none; }
.brand span { border: 1px solid var(--line); border-radius: .75rem; padding: .05rem .55rem; color: var(--accent); background: #bcdcff25; }
a { color: var(--accent); text-underline-offset: .22em; }
main { padding-block: clamp(1.35rem,5vw,4.5rem) 1rem; }
main > section, .columns { margin-bottom: 1.5rem; }
.glass { min-width: 0; border: 1px solid var(--line); border-radius: 1.25rem; padding: clamp(1.1rem,3vw,2rem);
  background: var(--glass); box-shadow: 0 14px 42px #04061845,inset 0 1px #fff1; }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .bar { background: #171d38bf; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
}
@media (prefers-reduced-transparency: reduce) { .bar,.glass { background: #1b2140; -webkit-backdrop-filter: none; backdrop-filter: none; } }
.hero { padding: clamp(1.35rem,6vw,4.6rem); }
.hero > p:not(.eyebrow) { max-width: 38rem; }
h1,h2,h3,p { margin: 0 0 .75rem; }
h1 { font-size: clamp(2.1rem,6.6vw,4.45rem); line-height: 1.14; letter-spacing: -.055em; font-weight: 820; }
h2 { font-size: clamp(1.25rem,3vw,1.78rem); line-height: 1.3; letter-spacing: -.035em; }
h3 { font-size: 1.05rem; line-height: 1.3; overflow-wrap: anywhere; }
p { color: var(--muted); }
.eyebrow,.steps span { color: var(--accent); font-size: .8rem; font-weight: 750; letter-spacing: .12em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin-top: 1rem; }
.button,button,.subtle { display: inline-flex; justify-content: center; align-items: center; gap: .45rem; min-height: 44px;
  background: #b1eaff; color: #131c32; border: 1px solid transparent; border-radius: .72rem; padding: .54rem .88rem;
  cursor: pointer; text-decoration: none; font: 700 .92rem/1.35 system-ui,sans-serif; }
.secondary,.subtle { background: #b6c7ff17; border-color: var(--line); color: #f5f5ff; }
button:hover,.button:hover,.subtle:hover { filter: brightness(1.14); }
button:disabled { opacity: .6; cursor: wait; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.steps,.columns { display: grid; gap: .75rem; }
.steps { padding: 0; margin: 0 0 1rem; list-style: none; }
.steps p, .glass > :last-child { margin-bottom: 0; }
.steps span { display: block; margin-bottom: .55rem; }
.quiet,footer { color: var(--muted); font-size: .88rem; }
footer { padding-block: .7rem 2.25rem; }
.auth { max-width: 550px; margin-inline: auto; }
.auth h1,.intro h1 { font-size: clamp(1.9rem,5vw,3rem); }
form label { display: block; font-weight: 650; margin-bottom: .85rem; }
input,select,textarea { display: block; width: 100%; margin-top: .25rem; border-radius: .58rem; border: 1px solid var(--line);
  background: #0f152c; color: #f5f5ff; font: inherit; padding: .58rem .65rem; }
textarea { resize: vertical; }
.auth form { margin-bottom: .85rem; }
.actions form,.bar form { margin: 0; }
.notice { background: #85536c40; color: #ffe0e8; border: 1px solid #d28ca580; border-radius: .6rem; padding: .65rem .8rem; }
#bot-error { margin-top: .75rem; }
#bot-receipt { margin-top: 1rem; }
.empty,.bot { background: #1117316e; border: 1px solid var(--line); border-radius: .8rem; padding: .8rem; }
.bot + .bot { margin-top: .65rem; }
.bot h3,.bot p { margin-bottom: .35rem; }
.badge { font-size: .85rem; color: var(--accent); }
dl { display: flex; flex-wrap: wrap; gap: .7rem; margin: 0; }
dt { color: var(--muted); font-size: .76rem; }
dd { margin: 0; font-weight: 700; }
.guides { display: grid; gap: .5rem; }
details { padding: .45rem .7rem; border: 1px solid var(--line); border-radius: .68rem; background: #171d37a0; }
summary { cursor: pointer; min-height: 36px; line-height: 36px; font-weight: 700; }
.snippet { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: .45rem; margin-bottom: .65rem; }
pre { min-width: 0; overflow: auto; margin: 0; border-radius: .55rem; border: 1px solid var(--line); background: #0e1328;
  color: #e1ebff; padding: .55rem; font-size: .83rem; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3,1fr); } .columns { grid-template-columns: 1fr 1fr; } }
