:root {
  --site-navy: #080e1b;
  --site-navy-2: #10192b;
  --site-blue: #2867ee;
  --site-blue-dark: #1949b8;
  --site-ink: #111827;
  --site-muted: #667085;
  --site-line: #e1e6ed;
  --site-canvas: #f4f6f9;
  --site-mint: #12a678;
  --site-red: #c54251;
}

* { box-sizing: border-box; }
body.site-body, body.portal-body { color: var(--site-ink); background: var(--site-canvas); }
.site-container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.site-nav { position: relative; z-index: 20; height: 72px; color: #d5deed; background: var(--site-navy); }
.site-nav-inner { display: flex; height: 100%; align-items: center; justify-content: space-between; gap: 24px; }
.site-brand { display: flex; align-items: center; gap: 11px; color: #fff; }
.site-brand-mark { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(255,255,255,.18); background: var(--site-blue); font-weight: 900; }
.site-brand strong { display: block; font-size: 14px; letter-spacing: .05em; }
.site-brand small { display: block; margin-top: 2px; color: #71819c; font-size: 8px; font-weight: 800; letter-spacing: .16em; }
.site-links { display: flex; align-items: center; gap: 25px; color: #8796ae; font-size: 12px; }
.site-links a { transition: color .16s; }
.site-links a:hover { color: #fff; }
.site-nav-action { display: inline-flex; min-height: 36px; align-items: center; padding: 0 13px; border: 1px solid rgba(255,255,255,.16); color: #fff; background: transparent; font-size: 11px; }

.home-hero { position: relative; min-height: calc(100svh - 72px); overflow: hidden; color: #fff; background: var(--site-navy); }
.hero-grid-lines { position: absolute; inset: 0; opacity: .45; pointer-events: none; }
.hero-grid-lines::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg,rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to right, #000, transparent 72%);
  content: "";
}
.hero-orbit { position: absolute; top: 50%; left: 47%; width: 720px; height: 720px; border: 1px solid rgba(98,135,214,.15); border-radius: 50%; transform: translate(-50%,-50%); }
.hero-orbit::before, .hero-orbit::after { position: absolute; border: 1px solid rgba(98,135,214,.12); border-radius: 50%; content: ""; }
.hero-orbit::before { inset: 100px; }
.hero-orbit::after { inset: 230px; }
.hero-orbit i { position: absolute; top: 50%; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: #4d83f6; box-shadow: 0 0 0 8px rgba(77,131,246,.08); animation: orbitPulse 2.8s ease-in-out infinite; }
@keyframes orbitPulse { 0%,100% { transform: scale(.8); opacity: .45; } 50% { transform: scale(1.35); opacity: 1; } }
.home-hero-inner { position: relative; z-index: 2; display: grid; min-height: calc(100svh - 72px); grid-template-columns: 1.12fr .88fr; align-items: center; gap: 72px; padding: 66px 0; }
.home-kicker { display: inline-flex; align-items: center; gap: 9px; color: #7da3f9; font-size: 10px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.home-kicker::before { width: 28px; height: 1px; background: #4f7fe8; content: ""; }
.home-copy h1 { max-width: 660px; margin: 22px 0 19px; font-size: clamp(48px, 6.2vw, 82px); line-height: .98; letter-spacing: -.06em; animation: heroEnter .6s ease-out both; }
.home-copy h1 span { color: #6e98f2; }
.home-copy > p { max-width: 560px; margin: 0; color: #99a7bd; font-size: 16px; line-height: 1.8; animation: heroEnter .6s .08s ease-out both; }
@keyframes heroEnter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.home-signal-row { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 30px; color: #75849c; font-size: 11px; }
.home-signal-row span { display: flex; align-items: center; gap: 7px; }
.home-signal-row i { width: 5px; height: 5px; border-radius: 50%; background: #1cc38b; box-shadow: 0 0 0 4px rgba(28,195,139,.08); }
.redeem-console { padding: 28px; border: 1px solid rgba(255,255,255,.12); color: #182033; background: #fff; box-shadow: 0 28px 80px rgba(0,0,0,.28); animation: consoleEnter .65s .08s ease-out both; }
@keyframes consoleEnter { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }
.console-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-bottom: 19px; border-bottom: 1px solid #e6eaf0; }
.console-top span { display: block; color: #8b95a4; font-size: 9px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.console-top h2 { margin: 6px 0 0; font-size: 22px; }
.console-status { display: flex; align-items: center; gap: 6px; color: #17805f; font-size: 9px; font-weight: 800; }
.console-status i { width: 6px; height: 6px; border-radius: 50%; background: #17a978; }
.console-product { display: grid; grid-template-columns: 1fr auto; align-items: end; padding: 20px 0; }
.console-product span { display: block; color: #7c8797; font-size: 10px; }
.console-product strong { display: block; margin-top: 4px; font-size: 29px; letter-spacing: -.04em; }
.console-product ul { display: flex; gap: 11px; margin: 0; padding: 0; color: #798495; font-size: 9px; list-style: none; }
.redeem-console label { display: block; margin: 0 0 7px; color: #465265; font-size: 10px; font-weight: 800; }
.console-input { display: flex; border: 1px solid #ccd4df; background: #fff; transition: border .16s, box-shadow .16s; }
.console-input:focus-within { border-color: #7c9df0; box-shadow: 0 0 0 4px rgba(40,103,238,.09); }
.console-input input { min-width: 0; height: 52px; flex: 1; padding: 0 14px; border: 0; outline: 0; color: #172033; background: transparent; font: 650 12px ui-monospace,SFMono-Regular,Consolas,monospace; }
.console-input button { width: 126px; border: 0; color: #fff; background: var(--site-blue); font-size: 11px; font-weight: 850; }
.console-input button:hover { background: var(--site-blue-dark); }
.console-note { margin: 12px 0 0; color: #929baa; font-size: 9px; line-height: 1.6; }

.proof-band { border-bottom: 1px solid var(--site-line); background: #fff; }
.proof-band-inner { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); }
.proof-intro, .proof-item { min-height: 112px; padding: 25px 26px; }
.proof-item { border-left: 1px solid var(--site-line); }
.proof-intro span { color: #8b96a5; font-size: 9px; font-weight: 850; letter-spacing: .12em; }
.proof-intro strong { display: block; max-width: 280px; margin-top: 7px; font-size: 15px; line-height: 1.45; }
.proof-item b { display: block; color: var(--site-blue); font-size: 18px; }
.proof-item strong { display: block; margin-top: 8px; font-size: 11px; }
.proof-item p { margin: 4px 0 0; color: #8b95a4; font-size: 9px; line-height: 1.5; }

.home-section { padding: 86px 0; }
.section-heading { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: end; margin-bottom: 46px; }
.section-heading span { color: var(--site-blue); font-size: 9px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.section-heading h2 { max-width: 460px; margin: 8px 0 0; font-size: clamp(32px,4vw,50px); line-height: 1.08; letter-spacing: -.045em; }
.section-heading p { max-width: 520px; margin: 0; color: var(--site-muted); font-size: 14px; line-height: 1.8; }
.workflow { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #cfd6e0; border-bottom: 1px solid #cfd6e0; }
.workflow-step { position: relative; min-height: 250px; padding: 28px; }
.workflow-step + .workflow-step { border-left: 1px solid #cfd6e0; }
.workflow-number { display: block; color: #b8c0cc; font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.workflow-step h3 { margin: 68px 0 10px; font-size: 18px; }
.workflow-step p { max-width: 290px; margin: 0; color: var(--site-muted); font-size: 12px; line-height: 1.7; }
.workflow-step::after { position: absolute; top: 33px; right: 28px; width: 48px; height: 1px; background: #bcc5d2; content: ""; transition: width .2s, background .2s; }
.workflow-step:hover::after { width: 78px; background: var(--site-blue); }

.path-section { padding: 86px 0; color: #fff; background: var(--site-navy); }
.path-section .section-heading p { color: #8594aa; }
.paths { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid rgba(255,255,255,.12); }
.path { min-height: 340px; padding: 34px; }
.path + .path { border-left: 1px solid rgba(255,255,255,.12); }
.path-label { color: #6f98f2; font-size: 9px; font-weight: 850; letter-spacing: .14em; }
.path h3 { margin: 72px 0 12px; font-size: 28px; letter-spacing: -.035em; }
.path p { max-width: 450px; margin: 0; color: #8795aa; font-size: 12px; line-height: 1.8; }
.path a { display: inline-flex; margin-top: 28px; color: #fff; font-size: 11px; font-weight: 800; }
.path a::after { margin-left: 9px; content: "→"; transition: transform .15s; }
.path a:hover::after { transform: translateX(4px); }
.site-footer { padding: 26px 0; color: #728198; background: var(--site-navy); border-top: 1px solid rgba(255,255,255,.08); font-size: 10px; }
.site-footer-inner { display: flex; justify-content: space-between; gap: 20px; }

/* Customer portal */
.portal-body { min-height: 100vh; }
.portal-nav { height: 64px; }
.portal-page { padding: 30px 0 60px; }
.portal-header { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.portal-header span { color: #8d97a6; font-size: 11px; font-weight: 850; letter-spacing: .13em; }
.portal-header h1 { margin: 6px 0 0; font-size: 30px; letter-spacing: -.04em; }
.portal-header p { margin: 6px 0 0; color: #7d8795; font-size: 13px; }
.portal-summary { display: grid; grid-template-columns: repeat(4,1fr); margin-bottom: 16px; border: 1px solid var(--site-line); background: #fff; box-shadow: 0 15px 40px rgba(15,23,42,.05); }
.portal-stat { position: relative; padding: 19px 22px; }
.portal-stat + .portal-stat::before { position: absolute; top: 17px; bottom: 17px; left: 0; width: 1px; background: var(--site-line); content: ""; }
.portal-stat span { color: #7f8998; font-size: 12px; }
.portal-stat strong { display: block; margin-top: 6px; font-size: 23px; letter-spacing: -.035em; }
.portal-stat small { display: block; margin-top: 4px; color: #8a94a3; font-size: 10px; }
.portal-tabs { display: flex; gap: 4px; margin-bottom: 16px; padding: 5px; border: 1px solid var(--site-line); background: #fff; }
.portal-tabs button { min-height: 40px; padding: 0 17px; border: 0; color: #667085; background: transparent; font-size: 13px; font-weight: 800; }
.portal-tabs button.active { color: #fff; background: var(--site-navy-2); }
.portal-view { display: none; animation: portalIn .22s ease-out both; }
.portal-view.active { display: block; }
@keyframes portalIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.portal-grid { display: grid; grid-template-columns: 340px minmax(0,1fr); gap: 16px; align-items: start; }
.portal-grid.equal { grid-template-columns: 1fr 1fr; }
.portal-stack { display: grid; gap: 16px; }
.portal-surface { padding: 22px; border: 1px solid var(--site-line); background: #fff; box-shadow: 0 15px 40px rgba(15,23,42,.045); }
.portal-surface-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 17px; }
.portal-surface-head span { display: block; margin-bottom: 5px; color: #818c9c; font-size: 10px; font-weight: 850; letter-spacing: .12em; }
.portal-surface-head h2 { margin: 0; font-size: 20px; }
.portal-surface h3 { font-size: 17px; }
.portal-surface .field label { font-size: 13px; }
.portal-surface .input, .portal-surface select { min-height: 46px; border-radius: 4px; font-size: 13px; }
.portal-surface .button { min-height: 44px; border-radius: 4px; font-size: 13px; }
.portal-price { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; padding: 15px; border-left: 3px solid var(--site-blue); background: #f5f7fb; }
.portal-price span { color: #667085; font-size: 12px; }
.portal-price strong { font-size: 20px; }
.portal-callout { padding: 14px; border-left: 3px solid #6d92ea; color: #46566b; background: #f2f6ff; font-size: 12px; line-height: 1.7; }
.purchase-steps { display: grid; gap: 10px; margin: 0 0 18px; padding: 0; counter-reset: purchase; list-style: none; }
.purchase-steps li { position: relative; min-height: 42px; padding-left: 48px; }
.purchase-steps li::before { position: absolute; top: 0; left: 0; display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #c9d7f7; color: var(--site-blue); background: #f2f6ff; content: counter(purchase, decimal-leading-zero); counter-increment: purchase; font-size: 10px; font-weight: 900; }
.purchase-steps b { display: block; margin-bottom: 3px; font-size: 13px; }
.purchase-steps span { color: #687588; font-size: 12px; line-height: 1.5; }

.delivery-guide { margin-bottom: 16px; padding: 24px; border: 1px solid #b9caef; border-top: 4px solid var(--site-blue); background: #fff; box-shadow: 0 18px 45px rgba(24,62,139,.09); }
.delivery-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.delivery-head > div > span { color: var(--site-blue); font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.delivery-head h2 { margin: 5px 0 0; font-size: 23px; letter-spacing: -.025em; }
.delivery-status { display: inline-flex; align-items: center; gap: 8px; padding: 9px 11px; color: #1d4ed8; background: #eff6ff; font-size: 12px; font-weight: 800; }
.delivery-status i { width: 7px; height: 7px; border-radius: 50%; background: #2563eb; box-shadow: 0 0 0 5px rgba(37,99,235,.1); animation: deliveryPulse 1.8s ease-in-out infinite; }
.delivery-status.ready { color: #047857; background: #ecfdf3; }
.delivery-status.ready i { background: #10b981; box-shadow: 0 0 0 5px rgba(16,185,129,.1); animation: none; }
@keyframes deliveryPulse { 50% { opacity: .35; transform: scale(.75); } }
.delivery-steps { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid #dce3ed; }
.delivery-steps section { min-width: 0; padding: 20px; }
.delivery-steps section + section { border-left: 1px solid #dce3ed; }
.delivery-step-number { display: block; margin-bottom: 18px; color: #9aa5b4; font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.delivery-steps b { display: block; margin-bottom: 10px; font-size: 15px; }
.delivery-steps p { min-height: 55px; margin: 0 0 14px; color: #667085; font-size: 13px; line-height: 1.65; }
.delivery-value { overflow: hidden; margin: 0 0 12px; padding: 13px; border: 1px solid #dbe2ec; color: #172033; background: #f8fafc; font: 750 14px ui-monospace,SFMono-Regular,Consolas,monospace; text-overflow: ellipsis; white-space: nowrap; }
.delivery-value.code { color: #075985; background: #eff8ff; font-size: 27px; letter-spacing: .16em; text-align: center; }
.delivery-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 15px; color: #536174; font-size: 12px; }
.delivery-foot small { color: #929baa; font-size: 10px; }
.portal-auth { min-height: calc(100svh - 64px); padding: 55px 0; }
.portal-auth-grid { display: grid; grid-template-columns: 1fr 440px; align-items: center; gap: 90px; }
.auth-message span { color: var(--site-blue); font-size: 9px; font-weight: 850; letter-spacing: .14em; }
.auth-message h1 { margin: 16px 0; font-size: clamp(40px,5vw,62px); line-height: 1.02; letter-spacing: -.055em; }
.auth-message p { max-width: 520px; color: #758091; font-size: 14px; line-height: 1.8; }
.auth-message-list { display: grid; gap: 10px; margin-top: 25px; color: #687487; font-size: 11px; }
.auth-message-list div::before { margin-right: 9px; color: var(--site-mint); content: "✓"; font-weight: 900; }
.portal-auth-card { padding: 28px; border: 1px solid var(--site-line); background: #fff; box-shadow: 0 22px 60px rgba(15,23,42,.09); }
.portal-auth-card .tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid #e1e6ed; }
.portal-auth-card .tab { border-radius: 0; background: #fff; font-size: 10px; }
.portal-auth-card .tab.active { color: #fff; background: var(--site-navy-2); }
.portal-auth-card h2 { margin-top: 22px; font-size: 20px; }

.claim-page .mailbox-hero { border-radius: 0; box-shadow: 0 18px 50px rgba(15,23,42,.07); }
.claim-page-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; color: #7b8797; font-size: 12px; }
.claim-page-meta { display: flex; align-items: center; gap: 18px; }
.claim-console-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--site-line); }
.claim-mailbox-center { padding: 42px 20px 34px; text-align: center; }
.claim-mailbox-center > span { color: #7b8797; font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.claim-mailbox-center h1 { margin: 12px auto 18px; color: #12203a; font-size: clamp(27px,5vw,48px); line-height: 1.1; letter-spacing: -.045em; word-break: break-all; }
.claim-mailbox-center p { margin: 14px 0 0; color: #687588; font-size: 13px; }
.claim-refresh-bar { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 18px; padding: 13px; background: #f6f8fb; }
.claim-auto-toggle { display: inline-flex; min-height: 44px; align-items: center; gap: 9px; padding: 0 15px; border: 1px solid #d7dee8; color: #59677a; background: #fff; font-size: 12px; font-weight: 800; cursor: pointer; }
.claim-auto-toggle i { width: 8px; height: 8px; border-radius: 50%; background: #94a3b8; }
.claim-auto-toggle.on { color: #047857; border-color: #a7e3cc; background: #ecfdf5; }
.claim-auto-toggle.on i { background: #10b981; box-shadow: 0 0 0 5px rgba(16,185,129,.1); animation: deliveryPulse 1.8s ease-in-out infinite; }
.claim-code-slots { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.claim-code-slot { display: flex; min-height: 205px; align-items: center; justify-content: center; flex-direction: column; padding: 20px; border: 1px solid #dce3ed; text-align: center; }
.claim-code-slot > span { color: #637083; font-size: 13px; font-weight: 850; }
.claim-code-slot > strong { margin: 25px 0 7px; color: #98a2b3; font: 850 21px ui-monospace,SFMono-Regular,Consolas,monospace; letter-spacing: .1em; }
.claim-code-slot > small { min-height: 20px; margin-bottom: 17px; color: #98a2b3; font-size: 11px; }
.claim-code-slot.ready { border-color: #9dddc5; background: #f0fdf8; }
.claim-code-slot.ready > strong { color: #047857; font-size: 31px; letter-spacing: .16em; }
.claim-code-slot.waiting { border-color: #b9caef; background: #f3f7ff; }
.claim-code-slot.waiting > strong { color: #2563eb; animation: deliveryPulse 1.8s ease-in-out infinite; }
.claim-code-slot.locked { background: #fafbfc; }
.claim-bottom-actions { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 18px; color: #5f6c7e; font-size: 12px; }
.docs-page .doc { max-width: 920px; }
.docs-page .json { border-radius: 4px; background: var(--site-navy-2); }

/* Sanqianke dark interface */
body.site-body, body.portal-body, body.redeem-only-page { color: #e8edf6; background: #080e1b; }
.portal-page { background: radial-gradient(circle at 18% 0,rgba(40,103,238,.12),transparent 30%), #080e1b; }
.portal-header h1, .portal-surface-head h2, .portal-surface h3 { color: #f8fafc; }
.portal-header span, .portal-header p, .portal-stat span, .portal-stat small { color: #8795aa; }
.portal-summary, .portal-tabs, .portal-surface, .delivery-guide, .portal-auth-card, .claim-page .mailbox-hero {
  border-color: #253147;
  background: #101827;
  box-shadow: 0 18px 52px rgba(0,0,0,.25);
}
.portal-stat + .portal-stat::before { background: #253147; }
.portal-tabs button { color: #91a0b5; }
.portal-tabs button.active { color: #fff; background: #2867ee; }
.portal-price { border-left-color: #4f83f4; background: #151f31; }
.portal-price span { color: #9ba8ba; }
.portal-price strong { color: #fff; }
.portal-callout { border-left-color: #4f83f4; color: #b6c2d2; background: #111e35; }
.portal-surface .input, .portal-surface select, .portal-auth-card .input {
  color: #eef3fb;
  border-color: #344158;
  background: #0b1220;
}
.portal-surface .field label, .portal-auth-card .field label { color: #c2ccda; }
.portal-surface .muted, .portal-auth-card .muted { color: #8d9aae; }
.portal-surface table { color: #dce4ef; }
.portal-surface th { color: #91a0b5; border-bottom-color: #344158; }
.portal-surface td { border-bottom-color: #202c40; }
.portal-surface code { color: #9cb9ff; }
.portal-surface .empty { color: #8290a5; }
.purchase-steps li::before { color: #82a7ff; border-color: #35558e; background: #111e35; }
.purchase-steps span { color: #9ba8ba; }
.delivery-guide { border-color: #31528d; border-top-color: #4f83f4; }
.delivery-head h2, .delivery-steps b { color: #f8fafc; }
.delivery-steps { border-color: #2b384e; }
.delivery-steps section + section { border-color: #2b384e; }
.delivery-steps p, .delivery-foot { color: #a6b2c3; }
.delivery-value { color: #f1f5f9; border-color: #344158; background: #0a111e; }
.delivery-value.code { color: #c9d8ff; background: #101e38; }
.delivery-foot small { color: #78869b; }
.portal-auth { background: radial-gradient(circle at 20% 15%,rgba(40,103,238,.14),transparent 34%), #080e1b; }
.auth-message h1 { color: #fff; }
.auth-message p, .auth-message-list { color: #93a1b5; }
.portal-auth-card .tabs { border-color: #2b384e; }
.portal-auth-card .tab { color: #91a0b5; background: #0b1220; }
.portal-auth-card .tab.active { color: #fff; background: #2867ee; }
.claim-page .page { background: radial-gradient(circle at 50% 0,rgba(40,103,238,.13),transparent 34%); }
.claim-page-top { color: #8492a6; }
.claim-console-head { border-bottom-color: #2b384e; }
.claim-mailbox-center > span, .claim-mailbox-center p { color: #91a0b5; }
.claim-mailbox-center h1 { color: #fff; }
.claim-refresh-bar { background: #0b1220; }
.claim-auto-toggle { color: #a7b3c4; border-color: #344158; background: #121c2d; }
.claim-auto-toggle.on { color: #72e0b8; border-color: #266c58; background: #102a25; }
.claim-code-slot { border-color: #2b384e; background: #0b1220; }
.claim-code-slot > span { color: #aab6c7; }
.claim-code-slot > strong, .claim-code-slot > small { color: #718096; }
.claim-code-slot.ready { border-color: #277c62; background: #0e2924; }
.claim-code-slot.ready > strong { color: #60e1b2; }
.claim-code-slot.waiting { border-color: #3f67ad; background: #101e38; }
.claim-code-slot.waiting > strong { color: #82a7ff; }
.claim-code-slot.locked { background: #0a101b; }
.claim-bottom-actions { color: #91a0b5; }

.redeem-only-page { min-height: 100svh; background: radial-gradient(circle at 50% 35%,rgba(40,103,238,.16),transparent 32%), #080e1b; }
.redeem-only-shell { display: grid; width: min(560px,calc(100% - 32px)); min-height: 100svh; margin: 0 auto; place-content: center; }
.redeem-only-brand { position: fixed; top: 28px; left: 32px; }
.redeem-only-card { width: min(520px,calc(100vw - 32px)); padding: 38px; border: 1px solid #2b384e; background: #101827; box-shadow: 0 30px 90px rgba(0,0,0,.42); }
.redeem-only-kicker { color: #6f98f2; font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.redeem-only-card h1 { margin: 13px 0 8px; color: #fff; font-size: 37px; letter-spacing: -.045em; }
.redeem-only-card > p { margin: 0 0 28px; color: #91a0b5; font-size: 14px; }
.redeem-only-card label { display: block; margin-bottom: 8px; color: #c2ccda; font-size: 13px; font-weight: 800; }
.redeem-only-card .input { height: 56px; color: #f8fafc; border-color: #3a4963; border-radius: 3px; background: #080e1b; font: 700 14px ui-monospace,SFMono-Regular,Consolas,monospace; }
.redeem-only-card .button { min-height: 52px; margin-top: 12px; border-radius: 3px; font-size: 14px; }
.redeem-only-meta { display: flex; justify-content: space-between; gap: 20px; margin-top: 18px; color: #77869c; font-size: 11px; }
.redeem-only-back { margin-top: 20px; color: #7f8da2; font-size: 12px; text-align: center; }

.proof-band { color: #dbe4f0; border-color: #202b3e; background: #0b1220; }
.proof-item { border-color: #202b3e; }
.proof-intro span, .proof-item p { color: #78879d; }
.home-section { color: #e8edf6; background: #080e1b; }
.home-section .section-heading p, .workflow-step p { color: #8d9aae; }
.workflow { border-color: #2b384e; }
.workflow-step + .workflow-step { border-color: #2b384e; }
.workflow-number { color: #6f7d91; }
.redeem-console { color: #e8edf6; border-color: #344158; background: #101827; }
.console-top { border-bottom-color: #29364b; }
.console-top h2, .console-product strong { color: #f8fafc; }
.console-top span, .console-product span, .console-product ul, .console-note { color: #91a0b5; }
.docs-page .doc h1, .docs-page .doc h2, .docs-page .doc h3 { color: #f8fafc; }
.docs-page .doc p, .docs-page .doc li, .docs-page .doc .muted { color: #9aa8ba; }
.docs-page .doc code { color: #bcd0ff; background: #121d30; }
.docs-page .notice { color: #bcd0ff; background: #111e35; }
.api-doc { max-width: 1100px !important; }
.api-doc-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 30px 0 26px; border-bottom: 1px solid #29364b; }
.api-doc-hero > div > span { color: #6f98f2; font-size: 11px; font-weight: 900; letter-spacing: .14em; }
.api-doc-hero h1 { margin: 9px 0 8px; font-size: clamp(34px,5vw,56px); letter-spacing: -.05em; }
.api-doc-hero p { margin: 0; font-size: 14px; }
.api-doc-summary { display: grid; grid-template-columns: 1fr 1.25fr 1.25fr; margin: 20px 0; border: 1px solid #29364b; background: #101827; }
.api-doc-summary > div { min-width: 0; padding: 16px; }
.api-doc-summary > div + div { border-left: 1px solid #29364b; }
.api-doc-summary span { display: block; margin-bottom: 7px; color: #8190a5; font-size: 11px; }
.api-doc-summary code { display: block; overflow: hidden; padding: 0 !important; background: transparent !important; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.api-doc-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 28px; }
.api-doc-toc a { padding: 8px 11px; border: 1px solid #2e3b51; color: #aebdd2; background: #0d1523; font-size: 11px; }
.api-doc section { scroll-margin-top: 20px; margin-top: 38px; }
.api-doc section + section { padding-top: 31px; border-top: 1px solid #202c40; }
.api-doc section > h2 { margin: 0 0 18px; font-size: 25px; }
.api-doc h3 { margin: 18px 0 9px; font-size: 13px; }
.api-doc .json { margin: 12px 0; border: 1px solid #26344a; background: #070c15; }
.api-flow { display: grid; grid-template-columns: repeat(5,1fr); margin: 0; padding: 0; border: 1px solid #29364b; list-style: none; counter-reset: api-flow; }
.api-flow li { position: relative; min-height: 165px; padding: 52px 17px 17px; counter-increment: api-flow; }
.api-flow li + li { border-left: 1px solid #29364b; }
.api-flow li::before { position: absolute; top: 17px; left: 17px; color: #6f98f2; content: counter(api-flow,decimal-leading-zero); font-size: 11px; font-weight: 900; }
.api-flow b { display: block; margin-bottom: 8px; color: #f8fafc; font-size: 14px; }
.api-flow span { color: #8f9db0; font-size: 12px; line-height: 1.65; }
.api-endpoint-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 13px; }
.api-endpoint-head > div { display: flex; align-items: center; gap: 10px; }
.api-endpoint-head code { padding: 5px 8px !important; font-size: 16px; }
.api-endpoint-head small { color: #8190a5; font-size: 11px; }
.api-method { display: inline-flex; min-width: 50px; height: 27px; align-items: center; justify-content: center; color: #fff; font-size: 10px; font-weight: 900; letter-spacing: .07em; }
.api-method.get { background: #167a5b; }
.api-method.post { background: #2867ee; }
.api-status-grid { display: grid; grid-template-columns: repeat(2,1fr); border: 1px solid #29364b; }
.api-status-grid > div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 13px 15px; border-bottom: 1px solid #202c40; }
.api-status-grid > div:nth-child(even) { border-left: 1px solid #202c40; }
.api-status-grid > div:nth-last-child(-n+2) { border-bottom: 0; }
.api-status-grid code { padding: 0 !important; background: transparent !important; font-size: 11px; font-weight: 850; }
.api-status-grid span { color: #97a5b8; font-size: 12px; }
.api-doc .table-wrap { border: 1px solid #29364b; }
.api-doc table { color: #dbe4ef; }
.api-doc th { color: #91a0b5; border-color: #344158; }
.api-doc td { border-color: #202c40; }

@media (max-width: 900px) {
  .home-hero-inner, .section-heading, .portal-auth-grid { grid-template-columns: 1fr; }
  .home-hero-inner { gap: 42px; padding: 55px 0; }
  .home-copy h1 { font-size: clamp(45px,11vw,72px); }
  .proof-band-inner { grid-template-columns: 1fr 1fr; }
  .proof-item:nth-child(2) { border-left: 0; }
  .proof-intro, .proof-item { border-top: 1px solid var(--site-line); }
  .workflow, .paths, .portal-grid, .portal-grid.equal { grid-template-columns: 1fr; }
  .workflow-step + .workflow-step, .path + .path { border-top: 1px solid #cfd6e0; border-left: 0; }
  .path + .path { border-top-color: rgba(255,255,255,.12); }
  .portal-auth-grid { gap: 35px; }
  .delivery-steps { grid-template-columns: 1fr; }
  .delivery-steps section + section { border-top: 1px solid #dce3ed; border-left: 0; }
  .claim-code-slots { grid-template-columns: 1fr; }
  .claim-code-slot { min-height: 180px; }
  .api-flow { grid-template-columns: 1fr; }
  .api-flow li { min-height: auto; }
  .api-flow li + li { border-top: 1px solid #29364b; border-left: 0; }
  .api-doc-summary { grid-template-columns: 1fr; }
  .api-doc-summary > div + div { border-top: 1px solid #29364b; border-left: 0; }
}

@media (max-width: 650px) {
  .site-container { width: min(100% - 28px, 1160px); }
  .site-links a:not(.site-nav-action), .site-links button:not(#logout) { display: none; }
  .home-hero-inner { padding-top: 42px; }
  .home-copy h1 { margin-top: 16px; }
  .console-product { grid-template-columns: 1fr; gap: 12px; }
  .console-input { display: block; }
  .console-input button { width: 100%; height: 46px; }
  .proof-band-inner { grid-template-columns: 1fr; }
  .proof-item { border-left: 0; }
  .workflow-step { min-height: 220px; }
  .portal-summary { grid-template-columns: 1fr 1fr; }
  .portal-stat:nth-child(3)::before { display: none; }
  .portal-stat:nth-child(n+3) { border-top: 1px solid var(--site-line); }
  .portal-tabs { overflow-x: auto; }
  .portal-tabs button { flex: 0 0 auto; }
  .portal-header { align-items: flex-start; flex-direction: column; }
  .delivery-guide { padding: 18px; }
  .delivery-head, .delivery-foot, .claim-bottom-actions, .claim-page-top { align-items: flex-start; flex-direction: column; }
  .delivery-value.email { white-space: normal; word-break: break-all; }
  .claim-mailbox-center { padding: 32px 0 26px; }
  .claim-refresh-bar { align-items: stretch; flex-direction: column; }
  .redeem-only-brand { position: absolute; top: 20px; left: 20px; }
  .redeem-only-card { padding: 28px 20px; }
  .redeem-only-card h1 { font-size: 31px; }
  .redeem-only-meta { align-items: flex-start; flex-direction: column; gap: 6px; }
  .claim-page-meta { width: 100%; align-items: flex-start; flex-direction: column; }
  .api-doc-hero, .api-endpoint-head { align-items: flex-start; flex-direction: column; }
  .api-status-grid { grid-template-columns: 1fr; }
  .api-status-grid > div { grid-template-columns: 1fr; gap: 5px; }
  .api-status-grid > div:nth-child(even) { border-left: 0; }
  .api-status-grid > div:nth-last-child(2) { border-bottom: 1px solid #202c40; }
}
