:root {
  color-scheme: dark;
  --bg: #080c19;
  --bg-soft: #0d1427;
  --surface: rgba(255, 255, 255, .048);
  --surface-hover: rgba(255, 255, 255, .072);
  --border: rgba(174, 213, 255, .16);
  --text: #f4f7ff;
  --muted: #9eaac0;
  --blue: #8fd1ff;
  --pink: #e5a0ed;
  --success: #9ee6c1;
  --danger: #ffafbd;
  --radius: 24px;
}
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body {
  min-height: 100vh; margin: 0; color: var(--text); background:
    radial-gradient(circle at 78% 12%, rgba(119, 186, 255, .12), transparent 32%),
    radial-gradient(circle at 13% 88%, rgba(226, 119, 221, .08), transparent 28%),
    linear-gradient(145deg, #0b1020, #070a14 68%);
  font-family: Arial, Helvetica, sans-serif;
}
button, input, a { font: inherit; }
a { color: inherit; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.site-header { min-height: 78px; border-bottom: 1px solid rgba(255, 255, 255, .075); }
.site-header-inner { display: flex; align-items: center; justify-content: space-between; min-height: inherit; gap: 20px; }
.brand { color: var(--text); font-size: 1.28rem; font-weight: 900; letter-spacing: -.04em; text-decoration: none; }
.brand span { color: var(--blue); }
.header-tools { display: flex; align-items: center; gap: 10px; }
.account-language-switcher { display: inline-flex; gap: 3px; padding: 3px; border: 1px solid var(--border); border-radius: 999px; background: rgba(255,255,255,.025); }
.account-language-switcher button { min-width: 31px; min-height: 28px; padding: 0 7px; border: 0; border-radius: 999px; color: var(--muted); background: transparent; font: inherit; font-size: .65rem; font-weight: 850; cursor: pointer; }
.account-language-switcher button[aria-pressed="true"] { color: #07101f; background: var(--text); }
.account-language-switcher button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.plan-action:disabled { cursor: not-allowed; opacity: .55; filter: saturate(.45); }
.device-actions { display: flex; align-items: center; gap: 10px; }
.device-disable { padding: 7px 10px; border: 1px solid rgba(255,175,189,.25); border-radius: 9px; color: var(--danger); background: rgba(255,175,189,.06); cursor: pointer; }
.device-disable:disabled { cursor: wait; opacity: .55; }
.languages { display: flex; gap: 5px; }
.language {
  min-width: 36px; min-height: 32px; padding: 0 8px; border: 1px solid transparent;
  border-radius: 9px; color: var(--muted); background: transparent; cursor: pointer;
}
.language[aria-pressed="true"] { color: var(--text); border-color: var(--border); background: var(--surface); }
.quiet-link { color: var(--muted); font-size: .84rem; text-underline-offset: 4px; }

.auth-layout { display: grid; grid-template-columns: 1.05fr .95fr; min-height: calc(100vh - 79px); }
.auth-story { position: relative; display: flex; align-items: center; padding: 72px 7vw 72px max(20px, calc((100vw - 1180px) / 2)); overflow: hidden; }
.auth-story-inner { position: relative; z-index: 2; max-width: 650px; }
.kicker { display: block; margin-bottom: 15px; color: var(--blue); font-size: .72rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.auth-story h1 { max-width: 650px; margin: 0; font-size: clamp(3.4rem, 7vw, 7rem); line-height: .89; letter-spacing: -.068em; overflow-wrap: anywhere; }
.gradient { color: transparent; background: linear-gradient(105deg, #fff 4%, #a7d9ff 58%, #dea1eb); background-clip: text; -webkit-background-clip: text; }
.auth-story p { max-width: 570px; margin: 25px 0 0; color: var(--muted); font-size: 1.03rem; line-height: 1.72; }
.voice-orb {
  position: absolute; z-index: 1; width: min(54vw, 670px); aspect-ratio: 1; left: -18%; bottom: -31%;
  border: 1px solid rgba(151, 211, 255, .15); border-radius: 50%; opacity: .82;
  background: repeating-radial-gradient(circle, transparent 0 20px, rgba(151, 211, 255, .055) 21px 22px);
  box-shadow: inset 0 0 90px rgba(119, 186, 255, .08), 0 0 120px rgba(214, 128, 222, .05);
  animation: orb-drift 9s ease-in-out infinite alternate;
}
.voice-orb::before, .voice-orb::after { content: ""; position: absolute; inset: 15%; border: 1px solid rgba(229, 160, 237, .13); border-radius: 42% 58% 55% 45%; transform: rotate(23deg); }
.voice-orb::after { inset: 31%; border-color: rgba(151, 211, 255, .18); transform: rotate(-37deg); }
@keyframes orb-drift { to { transform: translate(18px, -13px) rotate(5deg); } }
.auth-panel-wrap { display: grid; place-items: center; padding: 54px max(20px, calc((100vw - 1180px) / 2)) 54px 5vw; border-left: 1px solid rgba(255, 255, 255, .075); background: rgba(3, 7, 16, .23); }
.auth-panel { width: min(470px, 100%); padding: 34px; border: 1px solid var(--border); border-radius: 28px; background: rgba(15, 22, 40, .82); box-shadow: 0 34px 100px rgba(0, 0, 0, .28); backdrop-filter: blur(18px); }
.auth-panel h2 { margin: 0 0 9px; font-size: 1.8rem; letter-spacing: -.035em; }
.auth-panel > p { margin: 0 0 25px; color: var(--muted); line-height: 1.58; }
.field { display: block; margin-top: 15px; }
.field-label { display: block; margin-bottom: 8px; color: #e8f0ff; font-size: .83rem; font-weight: 750; }
.field-label small { color: var(--muted); font-size: .7rem; font-weight: 500; }
.input {
  width: 100%; height: 50px; padding: 0 14px; border: 1px solid rgba(164, 210, 255, .2);
  border-radius: 13px; color: var(--text); background: rgba(255, 255, 255, .045); outline: 0;
}
.input:focus { border-color: rgba(143, 209, 255, .65); box-shadow: 0 0 0 3px rgba(143, 209, 255, .08); }
.input::placeholder { color: #748198; }
.form-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 15px; }
.checkbox { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: .78rem; line-height: 1.45; }
.checkbox input { margin-top: 2px; accent-color: var(--blue); }
.consent-list { display: grid; gap: 10px; margin-top: 17px; }
.primary-button, .secondary-button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 20px;
  border-radius: 13px; font-weight: 850; text-decoration: none; cursor: pointer;
}
.primary-button { width: 100%; margin-top: 20px; border: 0; color: #07101f; background: linear-gradient(135deg, #8fd1ff, #e3f5ff); box-shadow: 0 14px 38px rgba(86, 167, 230, .16); }
.primary-button:disabled { cursor: wait; opacity: .55; }
.oauth-button {
  display: flex; width: 100%; min-height: 50px; align-items: center; justify-content: center; gap: 10px;
  border: 1px solid var(--border); border-radius: 13px; color: var(--text); background: var(--surface); font-weight: 800; cursor: pointer;
}
.oauth-button:hover { background: var(--surface-hover); }
.google-mark { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; color: #4285f4; background: #fff; font-weight: 900; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0 4px; color: #758198; font-size: .72rem; }
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; flex: 1; background: rgba(255, 255, 255, .08); }
.secondary-button { border: 1px solid var(--border); color: var(--text); background: var(--surface); }
.form-status { min-height: 20px; margin-top: 13px; color: var(--danger); font-size: .8rem; text-align: center; }
.form-status.is-success { color: var(--success); }
.auth-switch { margin-top: 20px; color: var(--muted); font-size: .84rem; text-align: center; }
.auth-switch a { color: #dbefff; text-underline-offset: 4px; }
.prototype-note { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .07); color: #79869d; font-size: .72rem; line-height: 1.5; }

.dashboard { padding: 44px 0 80px; }
.dashboard-grid { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 28px; align-items: start; }
.sidebar { position: sticky; top: 24px; padding: 20px; border: 1px solid var(--border); border-radius: 22px; background: var(--surface); }
.profile-chip { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 auto; border-radius: 14px; color: #07101f; background: linear-gradient(135deg, var(--blue), #e8f7ff); font-weight: 900; }
.profile-chip strong { display: block; font-size: .9rem; }
.profile-chip span { display: block; margin-top: 3px; color: var(--muted); font-size: .72rem; overflow: hidden; text-overflow: ellipsis; }
.account-nav { display: grid; gap: 5px; margin-top: 15px; }
.account-nav a, .logout-button { display: flex; width: 100%; align-items: center; min-height: 42px; padding: 0 12px; border: 0; border-radius: 11px; color: var(--muted); background: transparent; font-size: .84rem; text-decoration: none; cursor: pointer; }
.account-nav a[aria-current="page"] { color: var(--text); background: rgba(143, 209, 255, .09); }
.logout-button:hover, .account-nav a:hover { color: var(--text); background: rgba(255, 255, 255, .045); }
.dashboard-main { min-width: 0; }
.dashboard-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 22px; margin-bottom: 28px; }
.dashboard-heading h1 { margin: 0; font-size: clamp(2.35rem, 5vw, 4.7rem); line-height: .95; letter-spacing: -.055em; overflow-wrap: anywhere; }
.dashboard-heading p { max-width: 620px; margin: 12px 0 0; color: var(--muted); line-height: 1.62; }
.status-pill { flex: 0 0 auto; padding: 9px 12px; border: 1px solid rgba(255, 175, 189, .18); border-radius: 999px; color: var(--danger); background: rgba(255, 175, 189, .05); font-size: .76rem; font-weight: 800; }
.status-pill.is-verified { color: var(--success); border-color: rgba(158, 230, 193, .2); background: rgba(158, 230, 193, .055); }
.license-console {
  position: relative; display: grid; grid-template-columns: auto minmax(240px, 1fr) minmax(360px, .9fr) auto;
  align-items: center; gap: 24px; min-height: 170px; margin-bottom: 18px; padding: 28px;
  border: 1px solid rgba(143, 209, 255, .22); border-radius: 28px; overflow: hidden;
  background: linear-gradient(112deg, rgba(143, 209, 255, .10), rgba(255, 255, 255, .04) 48%, rgba(229, 160, 237, .06));
}
.license-console::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .035), transparent); transform: translateX(-100%); animation: console-scan 9s ease-in-out infinite; }
@keyframes console-scan { 45%, 100% { transform: translateX(100%); } }
.license-signal { position: relative; display: grid; place-items: center; width: 66px; height: 66px; border: 1px solid rgba(143, 209, 255, .24); border-radius: 50%; box-shadow: 0 0 44px rgba(143, 209, 255, .09); }
.license-signal::before, .license-signal::after { content: ""; position: absolute; border: 1px solid rgba(143, 209, 255, .15); border-radius: 50%; }
.license-signal::before { inset: 8px; }
.license-signal::after { inset: 17px; border-color: rgba(229, 160, 237, .22); }
.license-signal span { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); box-shadow: 0 0 18px currentColor; }
.license-console.is-active .license-signal span { color: var(--success); background: var(--success); }
.license-console-main h2 { margin: 8px 0; font-size: clamp(1.45rem, 2.5vw, 2rem); letter-spacing: -.04em; }
.license-console-main p { max-width: 490px; margin: 0; color: var(--muted); line-height: 1.55; }
.license-facts { display: grid; grid-template-columns: 1fr; gap: 1px; margin: 0; border: 1px solid rgba(255, 255, 255, .07); border-radius: 16px; overflow: hidden; background: rgba(255, 255, 255, .07); }
.license-facts div { display: flex; min-width: 0; align-items: baseline; justify-content: space-between; gap: 14px; padding: 15px; background: rgba(7, 12, 25, .72); }
.license-facts dt, .account-facts dt { color: var(--muted); font-size: .67rem; letter-spacing: .04em; }
.license-facts dd { margin: 0; color: var(--text); font-size: .78rem; font-weight: 800; text-align: right; overflow-wrap: anywhere; }
.license-action { position: relative; z-index: 1; display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 16px; border: 1px solid rgba(143, 209, 255, .22); border-radius: 12px; color: var(--text); background: rgba(143, 209, 255, .08); font-size: .78rem; font-weight: 850; text-decoration: none; white-space: nowrap; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card { padding: 25px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.card-wide { grid-column: 1 / -1; }
.card-kicker { color: var(--blue); font-size: .69rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.card h2 { margin: 12px 0 9px; font-size: 1.28rem; letter-spacing: -.025em; }
.card p { margin: 0; color: var(--muted); line-height: 1.58; }
.account-facts { display: grid; gap: 12px; margin: 16px 0 0; }
.account-facts div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; align-items: baseline; }
.account-facts dd { margin: 0; color: #e9f2ff; font-size: .82rem; overflow-wrap: anywhere; }
.empty-state { display: grid; place-items: center; min-height: 190px; margin-top: 19px; border: 1px dashed rgba(174, 213, 255, .15); border-radius: 18px; color: var(--muted); text-align: center; }
.empty-state strong { display: block; margin-bottom: 7px; color: var(--text); }
.device-row { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 18px; padding: 13px 16px; border-bottom: 1px solid rgba(255, 255, 255, .07); text-align: left; }
.device-row:last-child { border-bottom: 0; }
.device-row strong, .device-row span { display: block; }
.device-row div span { margin-top: 4px; color: var(--muted); font-size: .75rem; }
.danger-card { border-color: rgba(255, 175, 189, .14); }
.danger-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.danger-button { min-height: 46px; padding: 0 17px; border: 1px solid rgba(255, 175, 189, .22); border-radius: 12px; color: var(--danger); background: rgba(255, 175, 189, .06); font-weight: 800; cursor: pointer; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.plan { position: relative; display: flex; flex-direction: column; min-height: 310px; padding: 23px; border: 1px solid var(--border); border-radius: 21px; background: var(--surface); overflow: hidden; }
.plan::after { content: ""; position: absolute; width: 150px; height: 150px; right: -78px; top: -82px; border: 1px solid rgba(143, 209, 255, .15); border-radius: 50%; }
.plan-local { border-color: rgba(229, 160, 237, .2); }
.plan-badge { align-self: flex-start; padding: 7px 9px; border-radius: 999px; color: var(--blue); background: rgba(143, 209, 255, .08); font-size: .69rem; font-weight: 800; }
.plan-local .plan-badge { color: var(--pink); background: rgba(229, 160, 237, .08); }
.plan h2 { margin: 18px 0 9px; font-size: 1.25rem; }
.plan p { color: var(--muted); font-size: .86rem; line-height: 1.55; }
.price { margin-top: auto; padding-top: 24px; font-size: 2.25rem; font-weight: 900; letter-spacing: -.05em; }
.plan button, .plan-action { width: 100%; min-height: 43px; margin-top: 14px; border: 1px solid var(--border); border-radius: 12px; }
.plan button { color: #8290a8; background: rgba(255, 255, 255, .035); cursor: not-allowed; }
.plan-action { display: inline-flex; align-items: center; justify-content: center; color: var(--text); background: rgba(143, 209, 255, .07); font-size: .8rem; font-weight: 820; text-decoration: none; }
.plan-action:hover { background: rgba(143, 209, 255, .12); }
.receipt-table { width: 100%; margin-top: 18px; border-collapse: collapse; }
.receipt-table th, .receipt-table td { padding: 13px 10px; border-bottom: 1px solid rgba(255, 255, 255, .075); text-align: left; font-size: .82rem; }
.receipt-table th { color: var(--muted); font-weight: 650; }
.receipt-table td { color: #dce6f7; }
.settings-form { max-width: 520px; margin-top: 18px; }

.checkout-page { padding: 54px 0 90px; }
.checkout-heading { max-width: 760px; margin-bottom: 36px; }
.checkout-heading h1 { margin: 0; font-size: clamp(3rem, 7vw, 6.2rem); line-height: .9; letter-spacing: -.065em; }
.checkout-heading p { max-width: 680px; margin: 20px 0 0; color: var(--muted); line-height: 1.65; }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: 22px; align-items: start; }
.checkout-form-card { border: 1px solid var(--border); border-radius: 28px; background: var(--surface); overflow: hidden; }
.checkout-step { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 18px; padding: 27px; border-bottom: 1px solid rgba(255, 255, 255, .075); }
.checkout-step:last-child { border-bottom: 0; }
.step-number { display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid rgba(143, 209, 255, .22); border-radius: 50%; color: var(--blue); background: rgba(143, 209, 255, .06); font-size: .75rem; font-weight: 900; }
.step-content h2 { margin: 3px 0 7px; font-size: 1.2rem; letter-spacing: -.025em; }
.step-content > p { margin: 0; color: var(--muted); font-size: .85rem; line-height: 1.55; }
.checkout-plan-switch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.checkout-plan-switch a { min-height: 48px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 13px; color: var(--muted); background: rgba(255, 255, 255, .025); font-size: .8rem; font-weight: 800; text-decoration: none; }
.checkout-plan-switch a.is-selected { color: var(--text); border-color: rgba(143, 209, 255, .48); background: rgba(143, 209, 255, .09); box-shadow: inset 0 -2px rgba(143, 209, 255, .38); }
.buyer-card { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 15px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 16px; background: rgba(255, 255, 255, .025); }
.buyer-card strong, .buyer-card span { display: block; }
.buyer-card div:nth-child(2) { min-width: 0; }
.buyer-card div:nth-child(2) span { margin-top: 4px; color: var(--muted); font-size: .75rem; overflow: hidden; text-overflow: ellipsis; }
.buyer-verified { margin-left: auto; padding: 6px 9px; border-radius: 999px; color: var(--success); background: rgba(158, 230, 193, .07); font-size: .68rem; font-weight: 800; }
.payment-method { display: flex; align-items: center; gap: 13px; margin-top: 18px; padding: 16px; border: 1px solid rgba(143, 209, 255, .3); border-radius: 16px; background: rgba(143, 209, 255, .05); }
.payment-radio { width: 17px; height: 17px; flex: 0 0 auto; border: 5px solid var(--blue); border-radius: 50%; background: #07101f; }
.payment-method strong, .payment-method small { display: block; }
.payment-method small { margin-top: 4px; color: var(--muted); font-size: .7rem; }
.card-glyphs { display: flex; gap: 5px; margin-left: auto; }
.card-glyphs span { width: 31px; height: 20px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 5px; background: rgba(255, 255, 255, .07); }
.payment-placeholder { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 10px; padding: 14px 16px; border: 1px dashed rgba(174, 213, 255, .15); border-radius: 14px; color: var(--muted); font-size: .72rem; }
.payment-placeholder strong { color: #b8c4d8; text-align: right; }
.order-summary { position: sticky; top: 24px; padding: 26px; border: 1px solid rgba(143, 209, 255, .2); border-radius: 28px; background: linear-gradient(152deg, rgba(143, 209, 255, .09), rgba(15, 22, 40, .9) 45%, rgba(229, 160, 237, .06)); box-shadow: 0 30px 90px rgba(0, 0, 0, .2); }
.order-product { display: flex; align-items: center; gap: 14px; margin: 21px 0 15px; }
.order-product span { color: var(--blue); font-size: .69rem; font-weight: 800; }
.order-product h2 { margin: 5px 0 0; font-size: 1.3rem; letter-spacing: -.035em; }
.order-orb { width: 52px; height: 52px; flex: 0 0 auto; border: 1px solid rgba(143, 209, 255, .28); border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .85) 0 4%, rgba(143, 209, 255, .2) 5% 18%, transparent 19%), repeating-radial-gradient(circle, transparent 0 7px, rgba(143, 209, 255, .15) 8px 9px); box-shadow: 0 0 32px rgba(143, 209, 255, .12); }
.order-summary > p { color: var(--muted); font-size: .82rem; line-height: 1.55; }
.order-lines { display: grid; gap: 12px; margin: 24px 0; padding: 20px 0; border-block: 1px solid rgba(255, 255, 255, .08); }
.order-lines div, .order-total { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.order-lines dt { color: var(--muted); font-size: .77rem; }
.order-lines dd { margin: 0; color: #e9f2ff; font-size: .78rem; font-weight: 750; text-align: right; }
.order-total span { color: var(--muted); }
.order-total strong { font-size: 2.2rem; }
.order-legal { margin: 13px 0 0 !important; color: #79869d !important; font-size: .68rem !important; text-align: center; }

.result-page { min-height: calc(100vh - 79px); display: grid; place-items: center; padding: 50px 20px; }
.result-card { width: min(660px, 100%); padding: 45px; border: 1px solid rgba(158, 230, 193, .2); border-radius: 30px; background: rgba(15, 22, 40, .82); box-shadow: 0 35px 120px rgba(0, 0, 0, .28); text-align: center; }
.result-symbol { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 24px; border: 1px solid rgba(158, 230, 193, .26); border-radius: 50%; color: var(--success); background: rgba(158, 230, 193, .07); font-size: 1.8rem; font-weight: 900; box-shadow: 0 0 55px rgba(158, 230, 193, .1); }
.result-card h1 { margin: 0; font-size: clamp(2.8rem, 8vw, 5.2rem); line-height: .92; letter-spacing: -.06em; }
.result-card > p { max-width: 520px; margin: 20px auto 0; color: var(--muted); line-height: 1.65; }
.result-details { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 28px 0; border: 1px solid rgba(255, 255, 255, .08); border-radius: 16px; overflow: hidden; background: rgba(255, 255, 255, .08); text-align: left; }
.result-details div { padding: 16px; background: rgba(7, 12, 25, .74); }
.result-details span, .result-details strong { display: block; }
.result-details span { color: var(--muted); font-size: .69rem; }
.result-details strong { margin-top: 6px; font-size: .8rem; }
.result-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.result-actions .primary-button { margin-top: 0; }
body[data-result-state="pending"] .result-card { border-color: rgba(143, 209, 255, .2); }
body[data-result-state="pending"] .result-symbol { color: var(--blue); border-color: rgba(143, 209, 255, .24); background: rgba(143, 209, 255, .07); }
body[data-result-state="failed"] .result-card { border-color: rgba(255, 175, 189, .2); }
body[data-result-state="failed"] .result-symbol { color: var(--danger); border-color: rgba(255, 175, 189, .24); background: rgba(255, 175, 189, .07); }

@media (max-width: 900px) {
  .auth-layout { grid-template-columns: 1fr; }
  .auth-story { min-height: 430px; padding: 66px max(20px, calc((100vw - 720px) / 2)); }
  .auth-panel-wrap { padding: 46px 20px 70px; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .075); }
  .dashboard-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .account-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .account-nav a, .logout-button { justify-content: center; }
  .plans { grid-template-columns: 1fr; }
  .license-console { grid-template-columns: auto 1fr; }
  .license-facts { grid-column: 1 / -1; }
  .license-action { position: absolute; right: 24px; top: 24px; }
  .checkout-grid { grid-template-columns: 1fr; }
  .order-summary { position: static; }
}
@media (max-width: 600px) {
  .shell { width: min(100% - 24px, 1180px); }
  .site-header { min-height: 68px; }
  .quiet-link { display: none; }
  .auth-story { min-height: 370px; padding: 48px 18px; }
  .auth-story h1 { font-size: clamp(2.8rem, 15vw, 4.5rem); }
  .auth-panel { padding: 25px 20px; border-radius: 22px; }
  .dashboard { padding-top: 26px; }
  .dashboard-heading { align-items: flex-start; flex-direction: column; }
  .cards { grid-template-columns: 1fr; }
  .card-wide { grid-column: auto; }
  .account-nav { grid-template-columns: 1fr 1fr; }
  .receipt-table th:nth-child(2), .receipt-table td:nth-child(2) { display: none; }
  .license-console { grid-template-columns: 1fr; padding: 22px; }
  .license-signal { width: 54px; height: 54px; }
  .license-action { position: static; width: 100%; }
  .license-facts { grid-template-columns: 1fr; }
  .account-facts div { grid-template-columns: 1fr; gap: 4px; }
  .checkout-page { padding-top: 36px; }
  .checkout-heading h1 { font-size: clamp(2.8rem, 15vw, 4.5rem); }
  .checkout-step { grid-template-columns: 1fr; padding: 22px 18px; }
  .checkout-plan-switch { grid-template-columns: 1fr; }
  .buyer-card { align-items: flex-start; flex-wrap: wrap; }
  .buyer-verified { margin-left: 0; }
  .payment-method { align-items: flex-start; }
  .card-glyphs { display: none; }
  .payment-placeholder { align-items: flex-start; flex-direction: column; }
  .payment-placeholder strong { text-align: left; }
  .result-card { padding: 32px 20px; }
  .result-details, .result-actions { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .voice-orb, .license-console::after { animation: none; } }
