:root {
  --us-yellow: #EBCC1A;
  --us-yellow-active: #C6AA14;
  --us-graphite: #111A23;
  --us-charcoal: #2B3138;
  --us-slate: #66707A;
  --us-border: #D7DBDF;
  --us-surface: #F5F6F7;
  --us-white: #FFFFFF;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { min-height: 100vh; margin: 0; color: var(--us-graphite); background: var(--us-surface); }
header { display: flex; align-items: center; min-height: 70px; padding: 16px max(24px, calc((100vw - 900px) / 2)); color: var(--us-white); background: var(--us-graphite); border-bottom: 4px solid var(--us-yellow); font-weight: 800; letter-spacing: -.02em; }
main { width: min(100% - 32px, 720px); margin: 0 auto; padding: 56px 0; }
article { padding: clamp(24px, 6vw, 48px); background: var(--us-white); border: 1px solid var(--us-border); border-radius: 18px; }
.eyebrow { margin: 0 0 8px; color: var(--us-slate); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
h1 { margin: 0 0 16px; font-size: clamp(30px, 7vw, 48px); line-height: 1; letter-spacing: -.05em; }
p { color: var(--us-charcoal); font-size: 16px; line-height: 1.55; }
.price { padding: 12px 14px; color: var(--us-graphite); font-weight: 800; background: var(--us-yellow); border: 1px solid var(--us-yellow-active); border-radius: 8px; }
form, .handoff { margin-top: 24px; }
label { display: grid; gap: 6px; margin: 0 0 14px; color: var(--us-charcoal); font-weight: 700; }
input { width: 100%; min-height: 44px; padding: 8px 10px; color: var(--us-graphite); font: inherit; background: var(--us-white); border: 1px solid var(--us-border); border-radius: 7px; }
input:focus-visible { outline: 3px solid var(--us-yellow); outline-offset: 1px; border-color: var(--us-graphite); }
button { min-height: 46px; padding: 0 18px; color: var(--us-graphite); font: inherit; font-weight: 800; background: var(--us-yellow); border: 1px solid var(--us-yellow-active); border-radius: 8px; cursor: pointer; }
button:hover, button:focus-visible { color: var(--us-graphite); background: var(--us-white); border-color: var(--us-graphite); }
button:disabled { cursor: wait; opacity: .65; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--us-graphite); outline-offset: 2px; }
.handoff-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 16px; }
.support-link, .copyright-link { width: fit-content; color: var(--us-graphite); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.support-link:hover, .copyright-link:hover { color: var(--us-charcoal); }
footer { display: grid; gap: 8px; margin-top: 22px; color: var(--us-slate); font-size: 13px; line-height: 1.5; }
.legal-content, .legal-section, .management { margin-top: 28px; }
.legal-section h2, .management h2 { margin: 0 0 10px; font-size: 22px; }
.legal-notice { padding: 18px; border: 2px solid var(--us-graphite); border-radius: 8px; }
.legal-section ul { padding-left: 22px; color: var(--us-charcoal); line-height: 1.55; }
.activation-list { display: grid; gap: 12px; padding: 0; list-style: none; }
.activation-list li { display: grid; gap: 8px; padding: 14px; border: 1px solid var(--us-border); border-radius: 8px; }
.activation-list form { margin: 0; }
.activation-status { min-height: 1.55em; margin: 14px 0 0; font-weight: 700; }
.activation-status[data-activation-state="success"] { color: #196B3A; }
.activation-status[data-activation-state="missing"],
.activation-status[data-activation-state="refused"] { color: #8C2C23; }

@media (max-width: 520px) {
  main { width: min(100% - 20px, 720px); padding: 24px 0; }
  article { padding: 24px 20px; border-radius: 12px; }
  .handoff-actions { align-items: stretch; flex-direction: column; }
  .handoff-actions button { width: 100%; }
}
