:root { color-scheme: dark; font-family: var(--brand-font); color: var(--brand-paper); background: var(--brand-background); font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; -webkit-font-smoothing: antialiased; }
header, footer { max-width: 1280px; margin: auto; padding: 30px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
header { border-bottom: 1px solid var(--brand-line); }
header nav { display: flex; gap: 28px; font-size: 13px; color: #d9e3e8; }
a { color: inherit; text-decoration: none; }
a:hover { color: #ffb89f; }
a:has(.wordmark):hover { color: inherit; }
main { max-width: 800px; margin: 64px auto 80px; padding: 0 32px; }
.eyebrow { color: #c7a98d; font-size: 11px; letter-spacing: .12em; font-weight: 600; }
h1 { font-size: clamp(44px, 7vw, 68px); font-weight: 500; line-height: 1.06; letter-spacing: -.055em; margin: 20px 0; text-wrap: balance; }
h2 { font-size: 22px; letter-spacing: -.035em; margin: 0 0 14px; font-weight: 500; }
.intro { font-size: 17px; line-height: 1.75; color: var(--brand-muted); max-width: 520px; }
.panel { padding: 30px; background: var(--brand-surface); border: 1px solid var(--brand-line); border-radius: 6px; margin: 20px 0; }
.panel p { line-height: 1.75; color: var(--brand-muted); font-size: 14px; }
.panel p:last-child { margin-bottom: 0; }
.panel a, .actions a { color: #f2b597; font-size: 13px; }
.panel a:hover, .actions a:hover { text-decoration: underline; text-underline-offset: 4px; }
#status { border-left: 2px solid var(--brand-accent); padding: 10px 16px; margin: 30px 0; line-height: 1.7; font-size: 14px; color: #d9e3e8; }
#status[data-error=true] { border-color: #ff9b76; color: #ffc1aa; }
.account-row, .device, .license { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.account-row { font-size: 13px; color: var(--brand-muted); overflow-wrap: anywhere; }
.license + .license, .device + .device { border-top: 1px solid var(--brand-line); margin-top: 22px; padding-top: 22px; }
.device strong, .license strong { display: block; font-weight: 500; overflow-wrap: anywhere; }
.device small, .license small { display: block; line-height: 1.7; color: var(--brand-muted); margin-top: 6px; font-variant-numeric: tabular-nums; }
.badge { font-size: 10px; font-weight: 600; color: #f3c29c; background: #eac59b11; border: 1px solid #eac59b30; padding: 6px 9px; border-radius: 3px; white-space: nowrap; }
button { font: inherit; font-size: 13px; font-weight: 600; border: 1px solid transparent; border-radius: 5px; min-height: 44px; background: var(--brand-accent); color: #15252b; padding: 12px 20px; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
button:hover:not(:disabled) { background: #ff8a65; }
button:active:not(:disabled) { transform: translateY(1px); }
button:disabled { opacity: .55; cursor: wait; }
.quiet { color: #d9e3e8; border-color: #ffffff45; background: #ffffff05; font-weight: 500; }
.quiet:hover:not(:disabled) { background: #ffffff12; border-color: #ffffff80; }
.actions { display: flex; align-items: center; gap: 24px; font-size: 13px; flex-wrap: wrap; margin: 28px 0; }
label { display: block; color: #d9e3e8; font-size: 13px; margin: 20px 0; }
input, select { display: block; width: 100%; font: inherit; font-size: 16px; color: var(--brand-paper); background: #081f2b; border: 1px solid #ffffff35; padding: 13px; border-radius: 5px; margin-top: 8px; }
form { margin-bottom: 22px; }
form button { width: 100%; margin-top: 6px; }
:focus-visible { outline: 2px solid #ff9b76; outline-offset: 5px; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 10; transform: translateY(-150%); background: var(--brand-paper); color: #092634; padding: 12px 20px; border-radius: 4px; }
.skip-link:focus { transform: none; }
.help { margin-top: 56px; border-top: 1px solid var(--brand-line); padding-top: 32px; color: var(--brand-muted); font-size: 13px; line-height: 1.85; }
.help h2 { color: var(--brand-paper); font-size: 22px; }
.help ol { padding-left: 22px; }
.help li { padding: 6px 0; }
.help strong { color: #d9e3e8; font-weight: 500; }
footer { border-top: 1px solid var(--brand-line); font-size: 11px; color: #9cb0b9; }
footer .wordmark { font-size: 23px; }
footer > span { margin-right: auto; }
.fingerprint { font-family: ui-monospace, monospace; font-size: 12px; color: var(--brand-muted); }
[hidden] { display: none !important; }
@media (max-width: 520px) {
  header, footer { padding: 24px; }
  header nav { gap: 16px; font-size: 11px; }
  header .wordmark { font-size: 25px; }
  main { margin: 40px auto 56px; padding: 0 24px; }
  .panel { padding: 22px; }
  .device { align-items: flex-start; }
  .device button { padding: 10px; font-size: 12px; }
  .account-row, .license { flex-wrap: wrap; }
  footer { flex-wrap: wrap; }
  footer > span { width: 100%; order: 1; }
}
@media (prefers-reduced-motion: reduce) { button { transition: none; } }
.check { display: flex; align-items: flex-start; gap: 12px; margin: 14px 0; line-height: 1.6; color: var(--brand-muted); }
.check input { width: 18px; height: 18px; margin: 3px 0 0; padding: 0; flex-shrink: 0; accent-color: var(--brand-accent); }
.check a { color: #f2b597; text-decoration: underline; text-underline-offset: 3px; }
#trial-password-note { margin: -8px 0 0; font-size: 12px; }
#have-account { width: 100%; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.approval-links { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 18px; }
.approval-links a.button { display: inline-flex; align-items: center; min-height: 44px; padding: 12px 20px; border-radius: 5px; background: var(--brand-accent); color: #15252b; font-size: 13px; font-weight: 600; }
.panel a.button:hover { background: #ff8a65; text-decoration: none; color: #15252b; }
