.card.completion-notice { grid-column: 1 / -1; border: 2px solid var(--cobalt); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.completion-shell .topbar { grid-template-columns: 1fr auto; }
.verification-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.completion-shell .account-nav { display: block; }
.completion-notice[hidden] { display: none; }
.completion-notice h2 { margin: 0 0 8px; }
.completion-notice p { margin: 0; }
.completion-card { max-width: 560px; margin: 64px auto; }
.completion-card h1 { font-size: clamp(28px, 5vw, 40px); line-height: 1.15; margin: 12px 0; }
.completion-card > p { line-height: 1.5; }
.completion-card .profile-name-form { margin-top: 24px; padding-top: 0; border-top: 0; }
.completion-card .profile-name-form input { max-width: none; }
.completion-card .optional { font-weight: normal; color: var(--graphite); }
.completion-card .button { width: 100%; }
@media (max-width: 600px) { .completion-notice { align-items: stretch; flex-direction: column; } .completion-card { margin: 32px auto; } }
.profile-name-form { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--rule); }
.profile-name-form h3 { margin: 0 0 12px; }
.profile-name-form p { line-height: 1.6; color: var(--graphite); }
.profile-name-form label { display: block; margin: 16px 0 8px; }
.profile-name-form input { display: block; width: 100%; max-width: 480px; box-sizing: border-box; font: inherit; padding: 12px; color: var(--ink); background: var(--cream); border: 1px solid var(--graphite); margin-bottom: 16px; }
.profile-name-form input:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 2px; }
:root {
  color-scheme: light;
  --cream: #fefbf5;
  --ink: #11100f;
  --orange: #f06421;
  --cobalt: #154ebb;
  --cobalt-deep: #0e3d9a;
  --graphite: #625f5a;
  --rule: #d8d3cb;
  --rule-dark: #aaa49b;
  --hover: #f5f0e8;
  --green: #3e9f63;
  --danger: #a12c25;
  font-family: Geist, Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { min-height: 100vh; margin: 0; overflow-x: hidden; background: var(--cream); color: var(--ink); }
a { color: inherit; }
.shell { width: min(100% - 48px, 1400px); margin: 0 auto; }
.topbar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 84px; border-bottom: 1px solid var(--rule); }
.brand { display: inline-flex; width: max-content; align-items: center; gap: 11px; color: var(--ink); font-size: 18px; font-weight: 850; letter-spacing: .075em; text-decoration: none; }
.brand-mark { position: relative; display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; }
.brand-mark i { position: absolute; display: block; border: 3px solid var(--cobalt); border-radius: 50%; }
.brand-mark i:first-child { width: 30px; height: 20px; }
.brand-mark i:nth-child(2) { width: 21px; height: 14px; }
.brand-mark i:nth-child(3) { width: 10px; height: 7px; border-color: var(--orange); background: var(--orange); }
.account-nav { display: flex; align-items: center; gap: 36px; font-size: 11px; font-weight: 760; letter-spacing: .1em; text-transform: uppercase; }
.account-nav a { text-underline-offset: 5px; text-decoration: underline transparent; transition: text-decoration-color .16s; }
.account-nav a:hover, .account-nav a:focus-visible { text-decoration-color: currentColor; }
.topbar-actions { display: flex; align-items: center; justify-self: end; gap: 10px; }
.header-name { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 700; }
.hero { max-width: 980px; padding: clamp(82px, 9vw, 138px) 0 clamp(62px, 7vw, 104px); }
.eyebrow { margin: 0 0 29px; color: var(--graphite); font: 600 11px/1.35 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow span { padding: 0 6px; color: var(--orange); }
h1, h2, p { margin-top: 0; }
.outline-heading { max-width: 900px; margin: 0; color: var(--orange); font-family: "Arial Black", Geist, sans-serif; font-size: clamp(64px, 7.4vw, 126px); font-weight: 950; line-height: .82; letter-spacing: -.075em; -webkit-text-stroke: clamp(2px, calc(.11vw + 1px), 3px) var(--ink); paint-order: stroke; }
h2 { margin-bottom: 0; font-family: "Arial Black", Geist, sans-serif; font-size: clamp(24px, 2.4vw, 36px); line-height: .98; letter-spacing: -.05em; text-transform: uppercase; }
.hero-copy { max-width: 660px; margin: 38px 0 0; color: var(--graphite); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.65; }
.hero-actions { display: flex; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 22px; padding: 0 22px; border: 0; border-radius: 3px; font: inherit; font-size: 13px; font-weight: 760; letter-spacing: .03em; text-decoration: none; cursor: pointer; transition: background .15s, transform .15s; }
.button:focus-visible, .brand:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.button-primary { background: var(--cobalt); color: #fff; }
.button-primary:hover { background: var(--cobalt-deep); transform: translateY(-1px); }
.button-secondary { border: 1px solid var(--rule-dark); background: transparent; color: var(--ink); }
.button-secondary:hover { background: var(--hover); }
.header-logout { min-height: 38px; padding: 0 14px; font-size: 11px; }
.button:disabled { cursor: wait; opacity: .55; transform: none; }
.status { padding: 18px 0; border-top: 1px solid var(--rule-dark); border-bottom: 1px solid var(--rule-dark); color: var(--graphite); font-size: 13px; }
.status[data-tone="error"] { color: var(--danger); }
.status[data-tone="success"] { color: var(--green); }
.status[data-tone="success"], .status[data-tone="pending"] { padding: 20px; background: var(--hover); border: 1px solid var(--rule); border-left: 4px solid currentColor; font-size: 15px; line-height: 1.6; }
.status[data-tone="pending"] { color: var(--cobalt); }
.library-row.checkout-confirmed {
  margin-inline: -16px;
  padding-inline: 16px;
  background: var(--hover);
  box-shadow: inset 3px 0 0 var(--green);
}
.status[data-tone="signed-out"] { color: var(--cobalt); }
.account-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.card { border: 1px solid var(--rule); background: transparent; }
.card { padding: clamp(26px, 3.2vw, 42px); }
.card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding-bottom: 26px; border-bottom: 1px solid var(--rule); }
.card-kicker { margin-bottom: 12px; }
.detail-list { margin: 14px 0 0; }
.detail-list > div { display: grid; grid-template-columns: 128px 1fr; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--rule); }
.detail-list > div:last-child { border-bottom: 0; }
dt { color: var(--graphite); font: 600 11px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; text-transform: uppercase; }
dd { margin: 0; overflow-wrap: anywhere; text-align: right; font-size: 14px; font-weight: 700; }
.identity-card, .library-card { grid-column: 1 / -1; }
.product-list { display: grid; margin-top: 20px; }
.product-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.product-row:first-child { border-top: 1px solid var(--rule); }
.library-row:first-child { border-top: 0; }
.product-row h3 { margin: 0; font-family: "Arial Black", Geist, sans-serif; font-size: 20px; letter-spacing: -.035em; text-transform: uppercase; }
.product-row p { margin: 6px 0 0; color: var(--graphite); font-size: 13px; }
.product-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.product-tag { padding: 5px 8px; border: 1px solid var(--rule); border-radius: 999px; color: var(--graphite); font: 650 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: uppercase; }
.product-state { color: var(--green); font: 750 10px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .06em; text-align: right; text-transform: uppercase; }
.product-state[data-state="unavailable"] { color: var(--graphite); }
.product-controls { display: grid; gap: 10px; justify-items: end; }
.download-button { white-space: nowrap; }
.library-summary { width: 100%; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.library-title { display: block; font-family: "Arial Black", Geist, sans-serif; font-size: 20px; letter-spacing: -.035em; text-transform: uppercase; }
.library-summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 8px; }
.library-summary::after { display: inline-block; margin-top: 14px; color: var(--cobalt); content: "Manage license →"; font: 750 10px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .06em; text-transform: uppercase; }
.library-summary[aria-expanded="true"]::after { content: "Manage license ↓"; }
.license-panel { grid-column: 1 / -1; min-width: 0; margin: 0 0 0 24px; padding: 12px 24px; border-left: 3px solid var(--rule-dark); background: var(--hover); }
.license-panel .product-list { margin-top: 12px; }
.license-panel-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.license-panel .product-row:last-child { padding-bottom: 0; border-bottom: 0; }
.license-panel .product-row h3 { font-size: 16px; }
.license-panel .license-panel-summary { margin: 0; color: var(--graphite); font-size: 13px; line-height: 1.4; }
.button-compact { min-height: 38px; padding: 0 14px; font-size: 11px; }
.button-danger { border: 1px solid var(--danger); background: transparent; color: var(--danger); }
.button-danger:hover { background: var(--danger); color: #fff; }
.deactivate-button { min-height: 38px; padding: 0 14px; white-space: nowrap; font-size: 11px; }
.empty-state { margin: 0; color: var(--graphite); line-height: 1.55; }
footer { display: flex; min-height: 126px; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 72px; border-top: 1px solid var(--rule-dark); color: var(--graphite); font: 600 9px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .06em; text-transform: uppercase; }
.signed-out-shell { display: grid; min-height: 100vh; place-items: center; }
.signed-out-card { width: min(680px, 100%); padding: clamp(40px, 7vw, 76px) 0; border-right: 0; border-left: 0; text-align: left; }
.signed-out-card .brand-mark { margin-bottom: 30px; }
.signed-out-card .outline-heading { margin-bottom: 30px; font-size: clamp(58px, 11vw, 94px); }
.signed-out-card > p:not(.eyebrow) { max-width: 480px; margin-bottom: 28px; color: var(--graphite); line-height: 1.65; }

@media (max-width: 1040px) {
  .topbar { grid-template-columns: 1fr auto; }
  .account-nav { display: none; }
}

@media (max-width: 700px) {
  .shell { width: min(100% - 32px, 1400px); }
  .topbar { height: 72px; }
  .brand { font-size: 15px; }
  .hero { padding: 68px 0 72px; }
  .outline-heading { font-size: min(16vw, 78px); letter-spacing: -.05em; }
  .hero-copy { margin-top: 30px; }
  .account-grid { grid-template-columns: 1fr; }
  .card { padding: 26px 20px; }
  .card-heading { display: grid; }
  .detail-list > div { grid-template-columns: 1fr; gap: 6px; }
  dd { text-align: left; }
  .product-row { grid-template-columns: 1fr; }
  .product-state { text-align: left; }
  .product-controls { justify-items: start; }
  .license-panel { margin-left: 10px; padding: 12px 16px; }
  footer { justify-content: flex-start; padding: 30px 0; text-align: left; }
}

@media (prefers-reduced-motion: no-preference) {
  .license-panel:not([hidden]) { animation: reveal-license .18s ease-out; }
  @keyframes reveal-license { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
  .card { animation: settle .35s ease both; }
  @keyframes settle { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}