:root {
  color-scheme: light;
  --canvas: #f5f5f7;
  --surface: #ffffff;
  --recessed: #f2f2f4;
  --line: #d2d2d7;
  --ink: #1d1d1f;
  --secondary: #515154;
  --muted: #6e6e73;
  --green: #27834f;
  --red: #b42318;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { min-height: 100dvh; margin: 0; color: var(--ink); background: var(--canvas); font-size: 14px; line-height: 1.5; }
button, input { min-height: 48px; font: inherit; }
button:focus-visible, input:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.activation-shell { display: grid; width: min(100% - 40px, 640px); min-height: 100dvh; place-content: center; margin: 0 auto; padding: 48px 0; }
.activation-card { padding: clamp(28px, 6vw, 52px); border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.brand-row { display: flex; align-items: center; justify-content: flex-start; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.brand-row .official-logo { display: block; width: 190px; height: auto; filter: invert(1); mix-blend-mode: multiply; }
.eyebrow { margin: 34px 0 0; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .17em; }
h1 { margin: 17px 0 0; font-size: clamp(38px, 8vw, 58px); font-weight: 600; letter-spacing: -.055em; line-height: .98; text-wrap: balance; }
.intro, .activation-card > p:not(.eyebrow) { max-width: 52ch; margin: 24px 0 0; color: var(--secondary); font-size: 16px; line-height: 1.65; }
form { display: grid; margin-top: 34px; }
label { margin: 15px 0 7px; font-size: 12px; font-weight: 650; }
input { width: 100%; padding: 0 14px; border: 1px solid #b6b6bc; border-radius: 10px; color: var(--ink); background: var(--surface); }
input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(29,29,31,.09); outline: 0; }
button { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; padding: 0 18px; border: 1px solid var(--ink); border-radius: 10px; color: #fff; background: var(--ink); cursor: pointer; font-weight: 650; }
button:hover:not(:disabled) { background: #000; transform: translateY(-1px); }
button:disabled { opacity: .45; cursor: wait; }
.text-link { display: inline-block; margin-top: 22px; color: var(--secondary); text-underline-offset: 4px; }
.text-link:hover { color: var(--ink); }
.field-help { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.message { min-height: 21px; margin: 14px 0 0; color: var(--red); }
.success-panel { margin-top: 34px; padding: 24px; border-radius: 14px; background: var(--recessed); }
.success-mark { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; color: #fff; background: var(--green); }
.success-panel h2 { margin: 18px 0 0; font-size: 24px; letter-spacing: -.03em; }
.success-panel p { margin: 8px 0 0; color: var(--secondary); }
footer { margin-top: 18px; color: var(--muted); font-size: 10px; text-align: center; }
.admin-shell { width: min(100% - 40px, 980px); margin: 0 auto; padding: 64px 0 96px; }
.admin-heading { display: grid; grid-template-columns: 1fr minmax(280px, .7fr); align-items: end; gap: 48px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.admin-heading h1 { font-size: clamp(42px, 7vw, 68px); }
.admin-heading > p { margin: 0; color: var(--secondary); }
.admin-form { grid-template-columns: 1fr 1.4fr auto; align-items: end; gap: 12px; margin-top: 30px; }
.admin-form label { grid-row: 1; }
.admin-form input, .admin-form button { grid-row: 2; margin: 0; }
.license-results { display: grid; margin-top: 24px; border-top: 1px solid var(--line); }
.license-results article { display: grid; grid-template-columns: minmax(250px, 1fr) 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.license-results article > div { display: grid; gap: 4px; }
.license-results span { color: var(--muted); }
dl { display: grid; grid-template-columns: repeat(3, auto 1fr); gap: 4px 10px; margin: 0; }
dt { color: var(--muted); } dd { margin: 0; }
@media (max-width: 720px) { .admin-heading, .license-results article { grid-template-columns: 1fr; } .admin-form { grid-template-columns: 1fr; } .admin-form label, .admin-form input, .admin-form button { grid-row: auto; } dl { grid-template-columns: auto 1fr; } }
@media (prefers-reduced-motion: reduce) { * { transition-duration: .01ms !important; } }
