@import url('./tokens.css');
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; line-height: 1.55; }
a { color: var(--accent); text-underline-offset: 4px; }
button, select, input, textarea { font: inherit; }
button, .button, select { min-height: 46px; border-radius: 10px; padding: 11px 17px; }
button, .button { border: 1px solid var(--line); background: var(--panel); color: var(--ink); cursor: pointer; text-decoration: none; display: inline-flex; justify-content: center; align-items: center; gap: 8px; font-weight: 650; }
button:hover, .button:hover { border-color: var(--accent); }
button:disabled { opacity: .45; cursor: not-allowed; }
button.primary, .button.primary { background: var(--accent); color: #10201c; border-color: var(--accent); }
button.danger { color: #ffb7a5; }
select { color: var(--ink); background: var(--bg); border: 1px solid var(--line); max-width: 100%; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
.shell { width: min(960px, calc(100% - 36px)); margin: auto; padding: 30px 0 60px; }
.topline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 36px; }
.brand { font-weight: 800; letter-spacing: .13em; font-size: 13px; }
.eyebrow { text-transform: uppercase; color: var(--accent); font-size: 12px; font-weight: 750; letter-spacing: .16em; }
h1 { font-size: clamp(32px, 6vw, 54px); line-height: 1.08; letter-spacing: -.045em; margin: 16px 0; }
h2 { font-size: 23px; line-height: 1.3; letter-spacing: -.02em; }
p { margin: 12px 0; }
.muted, small { color: var(--muted); }
.panel { border: 1px solid var(--line); background: var(--panel); padding: 24px; border-radius: 18px; margin: 20px 0; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.grid .panel { margin: 0; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.stack { display: grid; gap: 12px; }
.badge { display: inline-block; padding: 4px 9px; border: 1px solid var(--line); border-radius: 20px; font-size: 12px; color: var(--muted); }
.notice { border-left: 3px solid var(--accent); padding: 10px 15px; background: #13352d; }
.error { color: #ffcebf; background: #42271f; padding: 16px; border-radius: 10px; overflow-wrap: anywhere; }
label { display: grid; gap: 6px; }
footer { margin-top: 30px; border-top: 1px solid var(--line); padding-top: 20px; color: var(--muted); font-size: 13px; }
textarea { width: 100%; background: var(--bg); color: var(--ink); border: 1px solid var(--line); padding: 12px; }
@media (max-width: 580px) { .grid { grid-template-columns: 1fr; } .panel { padding: 18px; } .shell { width: calc(100% - 28px); padding-top: 20px; } .topline { margin-bottom: 24px; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
