:root {
  color-scheme: dark;
  --bg: #0b0b0b;
  --panel: #141414;
  --panel-2: #1a1a1a;
  --line: #2b2b2b;
  --text: #f4f0e8;
  --muted: #8f8f8f;
  --orange: #ff5a00;
  --green: #a4e66e;
  --lime: #a6ed70;
  --danger: #ff7a6f;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 86% -10%, rgba(255, 90, 0, .18), transparent 34rem),
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    var(--bg);
  background-size: auto, 48px 48px, 48px 48px, auto;
}

button, input, a { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.hidden { display: none !important; }

.topbar {
  width: min(1180px, calc(100% - 40px));
  height: 88px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: .105em;
  font-size: 14px;
}
.brand b { color: var(--orange); }
.brand-mark {
  display: block;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  object-fit: cover;
  background: var(--orange);
}
.brand-logo {
  display: block;
  width: 174px;
  height: auto;
  flex: 0 0 auto;
}

.ghost, .refresh {
  border: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
}
.ghost:hover, .refresh:hover { color: var(--text); }
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.topbar-link {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
}
.topbar-link:hover { color: var(--orange); }

main {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
  padding: 64px 0 96px;
}

.login-shell {
  min-height: calc(100vh - 248px);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(48px, 9vw, 140px);
  align-items: center;
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.login-copy h1, .dashboard-head h1 {
  margin: 0;
  font-size: clamp(52px, 7.4vw, 96px);
  line-height: .92;
  letter-spacing: -.065em;
  text-transform: uppercase;
}
.login-copy > p:last-child {
  max-width: 550px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.login-card {
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--line);
  background: rgba(20, 20, 20, .92);
  box-shadow: 0 32px 80px rgba(0,0,0,.28);
}
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: -24px 0 30px;
  border: 1px solid var(--line);
  background: #0d0d0d;
}
.auth-tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 12px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .16s ease, background .16s ease;
}
.auth-tabs button:last-child { border-right: 0; }
.auth-tabs button span {
  color: #595959;
  font-size: 9px;
  letter-spacing: .04em;
}
.auth-tabs button:hover { color: var(--text); background: #181818; }
.auth-tabs button.active {
  color: #111;
  background: var(--orange);
}
.auth-tabs button.active span { color: rgba(17, 17, 17, .55); }
.login-card label:not(:first-child) { margin-top: 16px; }
.text-button, .back-button {
  width: 100%;
  margin-top: 18px;
  min-height: 44px;
  border: 1px solid var(--line);
  background: #101010;
  color: var(--muted);
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: border-color .16s ease, color .16s ease, background .16s ease;
}
.text-button:hover, .back-button:hover {
  border-color: var(--orange);
  background: #17110e;
  color: var(--orange);
}
.back-button {
  width: auto;
  min-height: auto;
  margin: 0 0 30px;
  padding: 10px 12px;
}
.login-card h2 { margin: 0 0 8px; font-size: 32px; letter-spacing: -.04em; }
.form-intro { margin: 0 0 28px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.status-dot {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 54px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.status-dot span, .live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(164,230,110,.09);
}
label {
  display: block;
  margin-bottom: 10px;
  color: #b8b8b8;
  font-size: 13px;
}
input {
  width: 100%;
  height: 58px;
  padding: 0 16px;
  border: 1px solid #343434;
  outline: 0;
  background: #0d0d0d;
  color: var(--text);
  transition: .18s;
}
input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,90,0,.12); }
.primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 56px;
  margin-top: 14px;
  padding: 0 18px;
  border: 0;
  background: var(--orange);
  color: #111;
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
}
.primary:hover { filter: brightness(1.08); }
.primary:disabled, .primary.disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }
.hint {
  margin: 18px 0 0;
  color: #707070;
  font-size: 11px;
  line-height: 1.55;
}
.form-error { min-height: 18px; margin: 12px 0 0; color: var(--danger); font-size: 12px; }

.dashboard { padding-top: 12px; }
.dashboard-head {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px 210px;
  align-items: end;
  gap: 28px;
  margin-bottom: 48px;
  overflow: hidden;
}
.dashboard-head h1 { font-size: clamp(44px, 7vw, 88px); }
.subline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.support-id-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: min(100%, 420px);
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  background: rgba(12, 14, 19, .7);
}
.support-id-card div { min-width: 0; }
.support-id-card span,
.support-id-card strong,
.support-id-card small { display: block; }
.support-id-card span {
  color: var(--orange);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.support-id-card strong {
  overflow: hidden;
  margin-top: 4px;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.support-id-card small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}
.support-id-card button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 104, 31, .25);
  border-radius: 13px;
  background: rgba(255, 104, 31, .1);
  color: var(--orange);
  cursor: pointer;
  font-size: 19px;
}
.support-id-card button:hover { background: rgba(255, 104, 31, .18); }
.plan-badge {
  min-width: 170px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.plan-badge span { display: block; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .15em; }
.plan-badge strong { display: block; margin-top: 7px; color: var(--orange); font-size: 24px; }
.dashboard-character {
  position: relative;
  height: 210px;
  overflow: hidden;
  border: 1px solid #373737;
  background: var(--orange);
  transform: rotate(-2deg);
}
.dashboard-character img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.06);
}
.dashboard-character span {
  position: absolute;
  right: 10px;
  bottom: 8px;
  color: #111;
  font-size: 10px;
  font-weight: 950;
  line-height: .9;
  letter-spacing: -.02em;
  text-align: right;
}
.dashboard-pills { display: grid; gap: 10px; }
.balance-card {
  padding: 18px;
  border: 1px solid #202f18;
  background: var(--lime);
  color: #101010;
}
.balance-card > span {
  display: block;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.balance-card strong {
  display: block;
  margin-top: 7px;
  font-size: 29px;
  letter-spacing: -.05em;
}
.balance-card button {
  width: 100%;
  margin-top: 12px;
  padding: 9px 10px;
  border: 1px solid rgba(0,0,0,.28);
  background: rgba(0,0,0,.09);
  color: rgba(0,0,0,.62);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}
.quick-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: -22px 0 22px;
}
.quick-strip a {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  align-items: center;
  min-height: 76px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  background: #111;
  color: var(--text);
  text-decoration: none;
}
.quick-strip a:hover { border-color: var(--orange); transform: translateY(-2px); }
.quick-strip b { grid-row: span 2; font-size: 24px; }
.quick-strip span { font-size: 13px; font-weight: 900; }
.quick-strip small { color: var(--muted); font-size: 10px; }
.mini-nav { display: none; }

.activation-panel {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(30px, 7vw, 90px);
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  background: var(--panel);
}
.activation-panel h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(38px, 5.2vw, 68px);
  line-height: .95;
  letter-spacing: -.055em;
  text-transform: uppercase;
}
.activation-panel > div > p:not(.eyebrow) {
  max-width: 600px;
  margin: 24px 0;
  color: var(--muted);
  line-height: 1.7;
}
.activation-panel .primary { max-width: 340px; }
.activation-panel form {
  align-self: end;
  padding: 26px;
  border: 1px solid var(--line);
  background: #0d0d0d;
}
.activation-panel .secondary { margin-top: 12px; }
.rescue-offer {
  max-width: 600px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid #3b332d;
  background: #12100e;
}
.rescue-offer strong,
.rescue-offer span { display: block; }
.rescue-offer strong { color: var(--orange); }
.rescue-offer span {
  margin-top: 7px;
  color: var(--muted);
  line-height: 1.5;
}
.rescue-offer .secondary {
  max-width: 340px;
  margin-top: 14px;
}

.catalogue-shell {
  margin: 18px 0 14px;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  background: rgba(12, 12, 12, .88);
  scroll-margin-top: 22px;
}
.catalogue-heading {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(32px, 7vw, 90px);
  align-items: end;
  margin-bottom: 42px;
}
.catalogue-heading h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(40px, 5.5vw, 70px);
  line-height: .93;
  letter-spacing: -.055em;
  text-transform: uppercase;
}
.catalogue-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.access-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.access-disclosure {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.access-disclosure summary {
  min-height: 72px;
  padding: 0 4px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}
.access-disclosure summary::-webkit-details-marker { display: none; }
.access-disclosure summary::after {
  content: "+";
  color: var(--orange);
  font-size: 22px;
  font-weight: 700;
}
.access-disclosure[open] summary::after { content: "−"; }
.access-disclosure summary span {
  font-size: 14px;
  font-weight: 850;
}
.access-disclosure summary small {
  color: #747474;
  font-size: 10px;
  line-height: 1.5;
  text-align: right;
}
.access-disclosure .access-products { padding: 0 0 14px; }
.access-card {
  min-height: 320px;
  padding: 24px;
  border: 1px solid #33302e;
  background:
    linear-gradient(135deg, rgba(255,90,0,.075), transparent 48%),
    var(--panel);
  display: flex;
  flex-direction: column;
}
.access-card .number,
.section-index {
  color: var(--orange);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .15em;
}
.access-kind {
  margin: 42px 0 8px !important;
  color: var(--orange) !important;
  font-size: 10px !important;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.access-card h3 {
  margin: 0;
  font-size: clamp(29px, 3.5vw, 43px);
  letter-spacing: -.045em;
}
.access-card > p {
  margin: 15px 0 22px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}
.access-state {
  margin-top: auto;
  min-height: 42px;
  padding: 11px 12px;
  border-left: 2px solid var(--orange);
  background: #101010;
  color: #aaa;
  font-size: 11px;
  line-height: 1.55;
}
.access-card .secondary {
  margin-top: 10px;
}
.access-card .secondary:disabled,
.promo-controls button:disabled,
.duration-option:disabled {
  opacity: .42;
  cursor: not-allowed;
}
.paid-products-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin: 52px 0 18px;
}
.paid-products-head > div {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.paid-products-head h3,
.duration-panel h3,
.promo-panel h3,
.order-summary h3 {
  margin: 0;
  font-size: 25px;
  letter-spacing: -.035em;
}
.paid-products-head > p {
  margin: 0;
  color: #6d6d6d;
  font-size: 10px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.paid-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.paid-plan-card {
  min-height: 292px;
  padding: 22px;
  border: 1px solid var(--line);
  outline: 0;
  background: var(--panel);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}
.paid-plan-card:hover {
  border-color: #6b3a21;
  transform: translateY(-2px);
}
.paid-plan-card:focus-visible {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,90,0,.13);
}
.paid-plan-card.selected {
  border-color: var(--orange);
  background:
    linear-gradient(145deg, rgba(255,90,0,.13), transparent 50%),
    var(--panel);
}
.plan-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.plan-index,
.plan-choice {
  color: #686868;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.paid-plan-card.selected .plan-index,
.paid-plan-card.selected .plan-choice { color: var(--orange); }
.paid-plan-card h4 {
  margin: 34px 0 17px;
  font-size: 36px;
  letter-spacing: -.05em;
}
.plan-features {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  color: #aaa;
  font-size: 11px;
  list-style: none;
}
.plan-features li::before {
  content: "—";
  margin-right: 8px;
  color: var(--orange);
}
.plan-price {
  display: block;
  min-height: 36px;
  margin-top: auto;
  padding-top: 24px;
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}
.catalogue-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 28px;
  border: 1px dashed #393939;
  color: var(--muted);
}
.purchase-builder {
  display: grid;
  grid-template-columns: .9fr 1.1fr 1.1fr;
  gap: 10px;
  margin-top: 10px;
}
.duration-panel,
.promo-panel,
.order-summary {
  min-width: 0;
  padding: 23px;
  border: 1px solid var(--line);
  background: #111;
}
.duration-panel h3,
.promo-panel h3,
.order-summary h3 { margin-top: 12px; }
.duration-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 25px;
}
.duration-option {
  min-height: 116px;
  padding: 12px;
  border: 1px solid #343434;
  background: #0c0c0c;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}
.duration-option strong,
.duration-option span { display: block; }
.duration-option strong { font-size: 12px; }
.duration-option span { margin-top: 5px; color: #737373; font-size: 9px; }
.duration-option .duration-total {
  margin-top: 10px;
  color: var(--text);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.duration-option .duration-monthly { color: #9b9b9b; font-size: 10px; }
.duration-option .duration-saving {
  color: var(--orange);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.duration-option:hover,
.duration-option.selected { border-color: var(--orange); }
.duration-option.selected .duration-total,
.duration-option.selected .duration-saving { color: var(--orange); }
.builder-note,
.checkout-note {
  margin: 16px 0 0;
  color: #696969;
  font-size: 10px;
  line-height: 1.55;
}
.promo-form { margin-top: 25px; }
.promo-controls {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px;
}
.promo-controls input {
  min-width: 0;
  height: 52px;
  text-transform: uppercase;
}
.promo-controls .secondary {
  width: auto;
  min-width: 112px;
  min-height: 52px;
  margin: 0;
  justify-content: center;
}
.promo-controls .text-button {
  grid-column: 1 / -1;
  min-height: 40px;
  margin: 0;
}
.promo-result {
  min-height: 67px;
  margin-top: 12px;
  padding: 13px;
  border-left: 2px solid #4a4a4a;
  background: #0c0c0c;
}
.promo-result strong,
.promo-result span { display: block; }
.promo-result strong { font-size: 11px; line-height: 1.5; }
.promo-result span { margin-top: 7px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.promo-result[data-state="accepted"] { border-color: var(--green); }
.promo-result[data-state="accepted"] strong { color: var(--green); }
.promo-result[data-state="rejected"],
.promo-result[data-state="expired"],
.promo-result[data-state="limit-reached"] { border-color: var(--danger); }
.promo-result[data-state="rejected"] strong,
.promo-result[data-state="expired"] strong,
.promo-result[data-state="limit-reached"] strong { color: var(--danger); }
.promo-result[data-state="checking"] { border-color: var(--orange); }
.promo-auth-action {
  width: 100%;
  min-height: 42px;
  margin-top: 12px;
  border: 1px solid rgba(255, 104, 31, .45);
  background: rgba(255, 104, 31, .1);
  color: var(--orange);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.promo-auth-action:hover { background: rgba(255, 104, 31, .18); }
.order-summary dl { margin: 23px 0 18px; }
.order-summary dl > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid #272727;
}
.order-summary dt {
  color: #727272;
  font-size: 10px;
  text-transform: uppercase;
}
.order-summary dd {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  text-align: right;
}
.order-summary .primary { margin-top: 18px; }

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.metric {
  min-height: 235px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
  display: flex;
  flex-direction: column;
}
.metric.featured { background: var(--orange); color: #111; }
.metric-label { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.featured .metric-label, .featured .metric-foot { color: rgba(17,17,17,.62); }
.metric strong { margin: auto 0; font-size: 30px; }
.metric strong b { font-size: clamp(54px, 6vw, 76px); letter-spacing: -.06em; }
.metric strong small { font-size: 15px; }
.metric-foot { color: #727272; font-size: 12px; line-height: 1.5; }
.progress { height: 4px; margin: auto 0 13px; background: #303030; overflow: hidden; }
.progress span { display: block; width: 0; height: 100%; background: var(--orange); transition: width .35s ease; }

.actions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}
.actions-grid + .catalogue-shell { margin-top: 64px; }
.action-card {
  min-height: 330px;
  padding: 26px;
  border: 1px solid var(--line);
  background: rgba(17,17,17,.94);
  display: flex;
  flex-direction: column;
}
.action-card .number { color: var(--orange); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.action-card h2 { margin: 56px 0 12px; font-size: 27px; letter-spacing: -.035em; }
.action-card p { margin: 0 0 24px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.action-card .primary { margin-top: auto; }
.action-card small { display: block; margin-top: 9px; color: #666; font-size: 10px; }
.app-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.app-buttons a, .secondary {
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid #383838;
  background: transparent;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.app-buttons a:hover, .secondary:hover { border-color: var(--orange); }
.secondary { width: 100%; margin-top: auto; }

.bottom-row {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 25px;
  color: #696969;
  font-size: 11px;
}
.support { color: var(--muted); text-decoration: none; }
.support:hover { color: var(--orange); }
.bottom-row > span { margin-left: auto; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 16px);
  padding: 12px 18px;
  background: var(--text);
  color: #111;
  opacity: 0;
  pointer-events: none;
  transition: .2s;
  font-size: 12px;
  font-weight: 800;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
body.expired .live-dot { background: var(--danger); box-shadow: 0 0 0 5px rgba(255,122,111,.09); }

.faq-page { padding-top: 54px; }
.faq-hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(48px, 9vw, 130px);
  align-items: end;
  padding-bottom: 58px;
  border-bottom: 1px solid var(--line);
}
.faq-hero h1 {
  margin: 0;
  font-size: clamp(50px, 7.4vw, 94px);
  line-height: .91;
  letter-spacing: -.065em;
  text-transform: uppercase;
}
.faq-intro > p {
  max-width: 560px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.faq-intro label {
  color: var(--orange);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.faq-intro input { background: rgba(13, 13, 13, .88); }
.faq-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(38px, 7vw, 90px);
  padding-top: 48px;
}
.faq-nav {
  position: sticky;
  top: 24px;
  align-self: start;
  display: grid;
  border-top: 1px solid var(--line);
}
.faq-nav a {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}
.faq-nav a:hover { color: var(--orange); }
.faq-content { min-width: 0; }
.faq-section {
  margin-bottom: 68px;
  scroll-margin-top: 30px;
}
.faq-section-head {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  margin-bottom: 22px;
}
.faq-section-head > span {
  padding-top: 7px;
  color: var(--orange);
  font-size: 10px;
  font-weight: 900;
}
.faq-section-head h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -.045em;
  text-transform: uppercase;
}
.faq-section-head p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.faq-item {
  border-top: 1px solid var(--line);
  background: rgba(20, 20, 20, .62);
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 70px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 750;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--orange); }
.faq-item summary b {
  flex: 0 0 auto;
  color: var(--orange);
  font-size: 24px;
  font-weight: 400;
  transition: transform .16s ease;
}
.faq-item[open] summary b { transform: rotate(45deg); }
.faq-item p {
  max-width: 810px;
  margin: 0;
  padding: 0 68px 25px 22px;
  color: #aaa;
  line-height: 1.72;
}
.faq-loading {
  margin: 0;
  color: var(--muted);
}
.faq-empty {
  margin: 0 0 80px 310px;
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.faq-empty strong, .faq-empty span { display: block; }
.faq-empty strong { color: var(--orange); text-transform: uppercase; }
.faq-empty span { margin-top: 8px; color: var(--muted); }

@media (max-width: 850px) {
  .login-shell { grid-template-columns: 1fr; gap: 46px; padding-top: 24px; }
  .dashboard-head { grid-template-columns: 1fr 180px; }
  .dashboard-pills { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .metrics, .actions-grid { grid-template-columns: 1fr; }
  .metric { min-height: 200px; }
  .action-card { min-height: 280px; }
  .activation-panel { grid-template-columns: 1fr; }
  .catalogue-heading { grid-template-columns: 1fr; gap: 20px; }
  .paid-plan-grid { grid-template-columns: 1fr; }
  .paid-plan-card { min-height: 245px; }
  .purchase-builder { grid-template-columns: 1fr; }
  .faq-hero { grid-template-columns: 1fr; gap: 32px; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .faq-nav a { padding-right: 10px; }
  .faq-empty { margin-left: 0; }
}

@media (max-width: 560px) {
  .topbar, main { width: min(100% - 28px, 1180px); }
  .topbar { height: 72px; }
  main { padding: 24px 0 112px; }
  body.telegram-mini-app .topbar { height: 58px; }
  body.telegram-mini-app .topbar-link { display: none; }
  .login-copy h1 { font-size: 48px; }
  .login-copy > p:last-child { font-size: 15px; }
  .dashboard { padding-top: 0; }
  .dashboard-head {
    grid-template-columns: minmax(0, 1fr) 116px;
    align-items: center;
    gap: 14px;
    margin-bottom: 30px;
  }
  .dashboard-head h1 { font-size: clamp(38px, 13vw, 58px); }
  .dashboard-character { height: 132px; transform: rotate(2deg); }
  .dashboard-character span { display: none; }
  .dashboard-pills { grid-template-columns: 1.2fr .8fr; gap: 8px; }
  .balance-card, .plan-badge { min-width: 0; padding: 14px; }
  .balance-card strong, .plan-badge strong { font-size: 20px; }
  .plan-badge { width: 100%; }
  .quick-strip { grid-template-columns: 1fr; margin-top: -10px; }
  .quick-strip a { min-height: 64px; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metric { min-height: 158px; padding: 20px; }
  .metric.traffic-card { grid-column: 1 / -1; min-height: 180px; }
  .metric strong b { font-size: 48px; }
  .action-card { min-height: 250px; }
  .action-card h2 { margin-top: 36px; }
  .actions-grid + .catalogue-shell { margin-top: 34px; }
  .catalogue-shell { padding: 22px 18px; }
  .access-disclosure summary { grid-template-columns: 1fr auto; padding: 12px 0; }
  .access-disclosure summary small { display: none; }
  .access-products { grid-template-columns: 1fr; }
  .access-card { min-height: 290px; }
  .paid-products-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .duration-options { grid-template-columns: 1fr 1fr; }
  .promo-controls { grid-template-columns: 1fr; }
  .promo-controls .secondary,
  .promo-controls .text-button { grid-column: 1; width: 100%; }
  .bottom-row { align-items: flex-start; flex-wrap: wrap; }
  .bottom-row > span { width: 100%; margin-left: 0; }
  .mini-nav {
    position: fixed;
    z-index: 50;
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    min-height: 68px;
    padding: 7px;
    border: 1px solid #343434;
    background: rgba(12,12,12,.96);
    box-shadow: 0 16px 54px rgba(0,0,0,.55);
    backdrop-filter: blur(18px);
  }
  .mini-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--muted);
    text-decoration: none;
    font-size: 9px;
    font-weight: 850;
  }
  .mini-nav a b { font-size: 18px; }
  .mini-nav .mini-nav-main { color: #111; background: var(--orange); }
}

/* Soft tactical UI — friendlier consumer layer over the Bad Habits system. */
:root {
  --bg: #0c0e13;
  --panel: #171a22;
  --panel-2: #1d202a;
  --line: #2a2e39;
  --text: #f5f1e9;
  --muted: #9a9eaa;
  --orange: #ff681f;
  --green: #a4e66e;
  --lime: #a6ed70;
  --soft-radius: 26px;
  --soft-shadow: 0 18px 48px rgba(0, 0, 0, .28);
}

html { scroll-behavior: smooth; }
body {
  background:
    radial-gradient(circle at 92% 3%, rgba(255, 104, 31, .14), transparent 25rem),
    radial-gradient(circle at 3% 38%, rgba(166, 237, 112, .045), transparent 23rem),
    var(--bg);
}

.topbar {
  height: 78px;
  border-bottom: 0;
}
.brand { letter-spacing: .075em; }
.brand-mark {
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(255, 104, 31, .2);
}
.topbar-link,
.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(23, 26, 34, .72);
  line-height: 1;
  white-space: nowrap;
}

main { padding-top: 40px; }
.login-shell { min-height: calc(100vh - 190px); }
.login-copy h1,
.dashboard-head h1,
.activation-panel h2,
.catalogue-heading h2,
.paid-products-head h3 {
  font-family: ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", Inter, sans-serif;
  text-transform: none;
}
.login-copy h1,
.dashboard-head h1 {
  letter-spacing: -.055em;
  line-height: .96;
}
.eyebrow {
  margin-bottom: 13px;
  letter-spacing: .11em;
}

.login-card {
  border-color: rgba(255, 255, 255, .075);
  border-radius: 30px;
  background: linear-gradient(155deg, rgba(29, 32, 42, .98), rgba(19, 21, 28, .98));
  box-shadow: var(--soft-shadow);
}
.auth-tabs {
  padding: 5px;
  border: 0;
  border-radius: 18px;
  background: #101219;
}
.auth-tabs button {
  min-height: 48px;
  border: 0;
  border-radius: 14px;
}
.auth-tabs button.active {
  box-shadow: 0 9px 24px rgba(255, 104, 31, .22);
}
input {
  border-color: #303440;
  border-radius: 16px;
  background: #101219;
}
.primary,
.secondary,
.text-button,
.back-button,
.app-buttons a {
  border-radius: 16px;
}
.primary {
  background: linear-gradient(135deg, #ff7a34, var(--orange));
  box-shadow: 0 12px 28px rgba(255, 104, 31, .18);
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}
.primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(255, 104, 31, .25); }
.primary:active { transform: scale(.985); }

.dashboard-head {
  align-items: center;
  padding: clamp(24px, 4.5vw, 50px);
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 32px;
  background:
    radial-gradient(circle at 73% 12%, rgba(255, 104, 31, .14), transparent 17rem),
    linear-gradient(145deg, #191c24, #12141a);
  box-shadow: var(--soft-shadow);
}
.dashboard-head > div:first-child { min-width: 0; }
.dashboard-head h1 {
  max-width: 100%;
  overflow: hidden;
  font-size: clamp(38px, 5.2vw, 68px);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dashboard-character {
  height: 196px;
  border: 0;
  border-radius: 27px;
  background: #12141a;
  transform: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07);
}
.dashboard-character img { border-radius: inherit; }
.dashboard-pills { align-self: stretch; }
.balance-card,
.plan-badge {
  border: 0;
  border-radius: 21px;
}
.balance-card {
  background: linear-gradient(145deg, #b7f68b, var(--lime));
  box-shadow: 0 15px 30px rgba(166, 237, 112, .13);
}
.balance-card > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.balance-card > span i {
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .11);
  font-size: 8px;
  font-style: normal;
  letter-spacing: .06em;
}
.balance-card small {
  display: block;
  margin-top: 2px;
  color: rgba(0,0,0,.55);
  font-size: 9px;
  line-height: 1.35;
}
.balance-card button {
  border: 0;
  border-radius: 12px;
  background: rgba(0, 0, 0, .1);
}
.wallet-pay { width: 100%; margin-top: 10px; }
.wallet-dialog {
  width: min(620px, calc(100% - 28px));
  max-height: calc(100vh - 32px);
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 28px;
  background: #15171e;
  color: var(--text);
  box-shadow: 0 35px 90px rgba(0,0,0,.65);
}
.wallet-dialog::backdrop { background: rgba(5,5,7,.82); backdrop-filter: blur(8px); }
.wallet-dialog h2 { margin: 8px 42px 12px 0; font-size: clamp(30px, 6vw, 48px); line-height: .98; }
.dialog-close {
  position: absolute; top: 18px; right: 20px; width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,.12); border-radius: 50%;
  background: #20232c; color: var(--text); font-size: 22px; cursor: pointer;
}
.wallet-explainer { color: var(--muted); line-height: 1.6; }
.wallet-dialog-balance {
  display: flex; align-items: end; justify-content: space-between; gap: 20px;
  margin: 24px 0; padding: 20px; border-radius: 20px;
  background: linear-gradient(145deg, #b7f68b, var(--lime)); color: #0b0c0f;
}
.wallet-dialog-balance span { font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.wallet-dialog-balance strong { font-size: 34px; }
.wallet-presets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0; }
.wallet-presets button {
  min-height: 42px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px;
  background: #20232c; color: var(--text); cursor: pointer; font-weight: 800;
}
.wallet-presets button:hover { border-color: var(--orange); }
.auto-renew-box {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: 26px; padding: 18px 0; border-block: 1px solid rgba(255,255,255,.08);
}
.auto-renew-box strong, .auto-renew-box small { display: block; }
.auto-renew-box small { margin-top: 5px; color: var(--muted); }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch span { display: block; width: 50px; height: 28px; padding: 4px; border-radius: 99px; background: #343741; cursor: pointer; transition: .2s; }
.switch span::after { content: ""; display: block; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: .2s; }
.switch input:checked + span { background: var(--lime); }
.switch input:checked + span::after { transform: translateX(22px); background: #101114; }
.switch input:disabled + span { opacity: .45; cursor: not-allowed; }
.wallet-history h3 { margin: 24px 0 10px; }
.wallet-entry { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.wallet-entry strong, .wallet-entry small { display: block; }
.wallet-entry small, .wallet-empty { margin-top: 4px; color: var(--muted); font-size: 10px; }
.wallet-entry b { white-space: nowrap; }
.wallet-entry .credit { color: var(--lime); }
.wallet-entry .debit { color: #ff9470; }
.plan-badge { background: #20232c; }

.quick-strip {
  gap: 12px;
  margin: 14px 0 22px;
}
.quick-strip a {
  min-height: 84px;
  border-color: rgba(255, 255, 255, .07);
  border-radius: 21px;
  background: linear-gradient(145deg, #1b1e27, #15171e);
  box-shadow: 0 10px 30px rgba(0,0,0,.16);
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
}
.quick-strip a:hover { background: #1e212b; }
.quick-strip b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(255, 104, 31, .12);
}

.activation-panel,
.catalogue-shell {
  border-color: rgba(255,255,255,.07);
  border-radius: var(--soft-radius);
  background: linear-gradient(145deg, rgba(27,30,39,.98), rgba(18,20,26,.98));
  box-shadow: 0 14px 40px rgba(0,0,0,.18);
}
.activation-panel form,
.rescue-offer,
.access-card,
.paid-plan-card,
.duration-panel,
.promo-panel,
.order-summary {
  border-color: rgba(255,255,255,.075);
  border-radius: 20px;
  background: #14171e;
}

.metrics {
  gap: 12px;
  border: 0;
}
.metric {
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 22px;
  background: linear-gradient(145deg, #1b1e27, #15171e);
  box-shadow: 0 12px 32px rgba(0,0,0,.14);
}
.metric.featured {
  border: 0;
  background: linear-gradient(145deg, #ff7b39, var(--orange));
}
.progress { border-radius: 999px; }
.progress span { border-radius: inherit; }

.actions-grid { gap: 12px; }
.action-card {
  min-height: 310px;
  border-color: rgba(255,255,255,.07);
  border-radius: 22px;
  background: linear-gradient(150deg, #1b1e27, #14161d);
  box-shadow: 0 12px 32px rgba(0,0,0,.14);
  transition: transform .18s ease, border-color .18s ease;
}
.action-card:hover { transform: translateY(-3px); border-color: rgba(255,104,31,.34); }
.action-card .number,
.section-index,
.paid-plan-card .plan-index { color: var(--orange); }

.catalogue-shell { padding: clamp(24px, 4.5vw, 48px); }
.access-disclosure,
.paid-products-head { border-color: rgba(255,255,255,.07); }
.paid-plan-grid { gap: 12px; }
.paid-plan-card {
  box-shadow: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.paid-plan-card:hover { transform: translateY(-3px); }
.paid-plan-card.selected {
  border-color: var(--orange);
  background: linear-gradient(145deg, rgba(255,104,31,.115), #17191f);
  box-shadow: 0 14px 34px rgba(255,104,31,.09);
}
.duration-option {
  border-radius: 14px;
  background: #101219;
}
.duration-option.selected { background: rgba(255,104,31,.09); }
.promo-result { border-radius: 14px; }

.mini-nav {
  border-radius: 24px;
  background: rgba(16, 18, 24, .94);
  box-shadow: 0 20px 55px rgba(0,0,0,.5);
}
.mini-nav a { border-radius: 17px; }
.mini-nav .mini-nav-main {
  background: linear-gradient(135deg, #ff7a34, var(--orange));
  box-shadow: 0 8px 24px rgba(255,104,31,.2);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(166, 237, 112, .72);
  outline-offset: 3px;
}

@media (max-width: 850px) {
  .dashboard-head { grid-template-columns: minmax(0, 1fr) 170px; }
  .dashboard-pills { grid-template-columns: 1fr 1fr; }
}

/* Compact account layout for Telegram Desktop and smaller laptop windows. */
@media (max-width: 1240px) {
  .dashboard-head {
    grid-template-columns: minmax(0, 1fr) minmax(170px, 220px);
    gap: 20px;
    padding: 28px;
  }
  .dashboard-pills {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1.35fr) minmax(170px, .65fr);
  }
}

body.telegram-mini-app main {
  width: min(1080px, calc(100% - 24px));
  padding-top: 22px;
}
body.telegram-mini-app .dashboard-head {
  grid-template-columns: minmax(0, 1fr) minmax(160px, 200px);
  gap: 18px;
  padding: 24px;
}
body.telegram-mini-app .dashboard-pills {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.35fr) minmax(160px, .65fr);
}
body.telegram-mini-app .dashboard-character { height: 166px; }
body.telegram-mini-app .metric {
  min-height: 190px;
  padding: 24px;
}
body.telegram-mini-app .action-card {
  min-height: 270px;
  padding: 22px;
}

@media (min-width: 721px) and (max-width: 850px) {
  .metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .metric { min-height: 190px; padding: 22px; }
  .actions-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .action-card { min-height: 280px; padding: 22px; }
  .action-card h2 { margin-top: 34px; font-size: 23px; }
}

@media (max-width: 720px) {
  .dashboard-head,
  body.telegram-mini-app .dashboard-head {
    grid-template-columns: minmax(0, 1fr);
  }
  .dashboard-character { display: none; }
  .dashboard-pills,
  body.telegram-mini-app .dashboard-pills {
    grid-column: auto;
    grid-template-columns: minmax(0, 1.2fr) minmax(130px, .8fr);
  }
}

@media (max-width: 560px) {
  .topbar, main { width: min(100% - 20px, 1180px); }
  .topbar { height: 64px; }
  main { padding-top: 14px; }
  .brand { font-size: 12px; }
  .brand-logo { width: 148px; }
  .brand-mark { width: 34px; height: 34px; }
  .login-shell { gap: 26px; padding-top: 10px; }
  .login-copy { padding: 12px 8px 0; }
  .login-copy h1 { font-size: 43px; }
  .login-card { padding: 22px 18px; border-radius: 25px; }
  .status-dot { margin-bottom: 34px; }

  .dashboard-head,
  body.telegram-mini-app .dashboard-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 18px;
    border-radius: 27px;
  }
  .dashboard-head h1 { font-size: clamp(32px, 10vw, 46px); }
  .support-id-card { width: 100%; }
  .dashboard-pills { grid-template-columns: 1.12fr .88fr; }
  .balance-card,
  .plan-badge { padding: 14px; border-radius: 18px; }
  .balance-card button { padding-inline: 7px; font-size: 8px; }
  .quick-strip { gap: 8px; }
  .quick-strip a { min-height: 67px; border-radius: 18px; }
  .quick-strip b { width: 38px; height: 38px; border-radius: 13px; }
  .activation-panel,
  .catalogue-shell { border-radius: 24px; }
  .activation-panel h2 { font-size: 38px; }
  .metrics { gap: 8px; }
  .metric { border-radius: 19px; }
  .actions-grid { gap: 8px; }
  .action-card { border-radius: 20px; }
  .catalogue-shell { padding: 22px 16px; }
}

/* Hosted payment return state */
.payment-return {
  width: min(1180px, calc(100% - 40px));
  margin: 12px auto 0;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  background: linear-gradient(145deg, #1b1e27, #15171e);
  box-shadow: 0 14px 38px rgba(0,0,0,.2);
}
.payment-return__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(255,104,31,.12);
  color: var(--orange);
  font-size: 20px;
  font-weight: 900;
}
.payment-return strong, .payment-return p { display: block; margin: 0; }
.payment-return strong { font-size: 13px; }
.payment-return p { margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.payment-return > button {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  color: var(--muted);
  cursor: pointer;
  font-size: 19px;
}
.payment-return > button:hover { color: var(--text); background: rgba(255,255,255,.08); }
.payment-return[data-state="success"] { border-color: rgba(166,237,112,.28); }
.payment-return[data-state="success"] .payment-return__icon { background: rgba(166,237,112,.12); color: var(--lime); }
.payment-return[data-state="failed"] { border-color: rgba(255,122,111,.3); }
.payment-return[data-state="failed"] .payment-return__icon { background: rgba(255,122,111,.11); color: var(--danger); }
@media (max-width: 560px) {
  .payment-return { width: calc(100% - 20px); grid-template-columns: 38px minmax(0,1fr) 32px; padding: 13px; border-radius: 16px; }
  .payment-return__icon { width: 38px; height: 38px; border-radius: 12px; }
  .payment-return > button { width: 32px; height: 32px; }
}

/* Soft FAQ — same consumer design language as the account dashboard. */
.skip-link {
  position: fixed; z-index: 80; top: 12px; left: 12px;
  padding: 10px 14px; border-radius: 12px; background: var(--lime);
  color: #101114; font-weight: 850; text-decoration: none;
  transform: translateY(-160%); transition: transform .18s ease;
}
.skip-link:focus { transform: translateY(0); }
.faq-page { padding-top: 26px; }
.faq-hero {
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(34px, 6vw, 84px); align-items: center; min-height: 410px;
  padding: clamp(30px, 5vw, 64px); overflow: hidden;
  border: 1px solid rgba(255,255,255,.07); border-radius: 30px;
  background: radial-gradient(circle at 88% 18%, rgba(255,104,31,.18), transparent 20rem), linear-gradient(145deg, #1b1e27, #12141a);
  box-shadow: var(--soft-shadow);
}
.faq-hero h1 {
  max-width: 720px; font-size: clamp(48px, 6.8vw, 86px); line-height: .9;
  letter-spacing: -.07em; text-transform: none; text-wrap: balance;
}
.faq-hero h1 span { color: var(--orange); }
.faq-hero-note { display: flex; align-items: center; gap: 10px; margin: 28px 0 0; color: var(--muted); font-size: 12px; }
.faq-intro > p { margin-bottom: 26px; font-size: 15px; line-height: 1.65; text-wrap: pretty; }
.faq-intro label { display: block; margin-bottom: 9px; color: var(--text); }
.faq-search-wrap {
  display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: center; gap: 9px;
  min-height: 58px; padding: 0 18px; border: 1px solid rgba(255,255,255,.09);
  border-radius: 17px; background: rgba(10,11,15,.72);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.faq-search-wrap:focus-within { border-color: rgba(255,104,31,.66); background: #101219; box-shadow: 0 0 0 4px rgba(255,104,31,.08); }
.faq-search-wrap > span { color: var(--orange); font-size: 25px; line-height: 1; }
.faq-hero > *, .faq-intro { min-width: 0; }
.faq-search-wrap input { width: 100%; min-width: 0; min-height: 56px; padding: 0; border: 0; outline: 0; background: transparent; color: var(--text); }
.faq-search-wrap input::placeholder { color: #6f737e; }
.faq-intro > small { display: block; margin-top: 10px; color: var(--muted); font-size: 10px; }
.faq-layout { grid-template-columns: 230px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); padding-top: 34px; }
.faq-nav {
  top: 18px; gap: 7px; padding: 10px; border: 1px solid rgba(255,255,255,.07);
  border-radius: 20px; background: rgba(20,23,30,.82); box-shadow: 0 16px 38px rgba(0,0,0,.18); backdrop-filter: blur(16px);
}
.faq-nav a {
  padding: 13px 14px; border: 0; border-radius: 13px; font-size: 11px; letter-spacing: .04em;
  text-transform: none; transition: color .18s ease, background .18s ease, transform .18s ease;
}
.faq-nav a:hover { color: var(--text); background: rgba(255,104,31,.1); transform: translateX(2px); }
.faq-section {
  margin-bottom: 18px; padding: clamp(20px, 3vw, 30px); border: 1px solid rgba(255,255,255,.07);
  border-radius: 24px; background: linear-gradient(145deg, rgba(27,30,39,.96), rgba(18,20,26,.96));
  box-shadow: 0 12px 32px rgba(0,0,0,.14);
}
.faq-section-head { grid-template-columns: 42px minmax(0, 1fr); gap: 14px; margin-bottom: 18px; }
.faq-section-head > span {
  display: grid; place-items: center; width: 38px; height: 38px; padding: 0;
  border-radius: 13px; background: rgba(255,104,31,.12);
}
.faq-section-head h2 { font-size: clamp(25px, 3vw, 38px); line-height: 1.02; letter-spacing: -.035em; text-transform: none; text-wrap: balance; }
.faq-section-head p { margin-top: 8px; font-size: 12px; }
.faq-item {
  margin-top: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,.065); border-radius: 16px;
  background: rgba(12,14,19,.54); transition: border-color .22s ease, background .22s ease, transform .22s ease;
}
.faq-item:last-child { border-bottom: 1px solid rgba(255,255,255,.065); }
.faq-item:hover { border-color: rgba(255,104,31,.25); }
.faq-item[open] { border-color: rgba(255,104,31,.38); background: rgba(255,104,31,.055); }
.faq-item summary { gap: 20px; min-height: 70px; padding: 17px 18px 17px 20px; font-size: 14px; font-weight: 700; line-height: 1.4; transition: color .18s ease; }
.faq-item summary b {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px;
  background: rgba(255,255,255,.055); font-size: 21px; font-weight: 450;
  transition: transform .24s cubic-bezier(.22,1,.36,1), background .18s ease;
}
.faq-item[open] summary b { transform: rotate(45deg); background: rgba(255,104,31,.13); }
.faq-answer { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .28s cubic-bezier(.22,1,.36,1), opacity .2s ease; }
.faq-answer-inner { overflow: hidden; }
.faq-item[open] .faq-answer { grid-template-rows: 1fr; opacity: 1; }
.faq-item p { padding: 0 66px 22px 20px; color: #afb3bd; font-size: 13px; line-height: 1.7; text-wrap: pretty; }
.faq-loading { padding: 30px; border-radius: 20px; background: var(--panel); }
.faq-empty { margin: 18px 0 70px 294px; border-color: rgba(255,255,255,.07); border-radius: 22px; background: linear-gradient(145deg, #1b1e27, #15171e); }
.faq-empty strong { text-transform: none; }
.faq-support-card {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 30px;
  margin-top: 38px; padding: clamp(28px, 5vw, 54px); border-radius: 28px;
  background: linear-gradient(135deg, #ff7a34, var(--orange)); color: #0d0f13;
  box-shadow: 0 18px 48px rgba(255,104,31,.14);
}
.faq-support-card .eyebrow { color: rgba(13,15,19,.62); }
.faq-support-card h2 { margin: 0; font-size: clamp(30px, 4.4vw, 56px); letter-spacing: -.05em; }
.faq-support-card p:last-child { max-width: 620px; margin: 14px 0 0; line-height: 1.55; }
.faq-support-card > a {
  display: inline-flex; align-items: center; justify-content: center; gap: 28px; min-height: 52px; padding: 0 20px;
  border: 1px solid rgba(13,15,19,.28); border-radius: 15px; background: #111319; color: var(--text);
  font-size: 12px; font-weight: 850; text-decoration: none; white-space: nowrap; transition: transform .18s ease, background .18s ease;
}
.faq-support-card > a:hover { transform: translateY(-2px); background: #1c1f27; }

@media (max-width: 850px) {
  .faq-hero { grid-template-columns: 1fr; gap: 32px; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-nav { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-empty { margin-left: 0; }
  .faq-support-card { grid-template-columns: 1fr; align-items: start; }
  .faq-support-card > a { justify-self: start; }
}
@media (max-width: 560px) {
  .faq-page { padding-top: 10px; }
  .faq-hero { min-height: 0; padding: 26px 20px; border-radius: 25px; }
  .faq-hero h1 { font-size: clamp(41px, 13vw, 58px); }
  .faq-hero-note { margin-top: 20px; }
  .faq-layout { gap: 18px; padding-top: 18px; }
  .faq-nav { display: flex; gap: 7px; overflow-x: auto; padding: 7px; scrollbar-width: none; }
  .faq-nav::-webkit-scrollbar { display: none; }
  .faq-nav a { flex: 0 0 auto; padding: 11px 13px; white-space: nowrap; }
  .faq-section { padding: 18px 14px; border-radius: 21px; }
  .faq-section-head { grid-template-columns: 36px minmax(0, 1fr); gap: 10px; }
  .faq-section-head > span { width: 34px; height: 34px; border-radius: 11px; }
  .faq-section-head h2 { font-size: 26px; }
  .faq-item summary { min-height: 64px; padding: 14px; font-size: 13px; }
  .faq-item p { padding: 0 52px 18px 14px; font-size: 12px; }
  .faq-support-card { padding: 26px 20px; border-radius: 24px; }
  .faq-support-card > a { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .faq-answer, .faq-item summary b, .faq-nav a, .faq-support-card > a { transition: none; }
}

/* Cookie consent */
.footer-link-button {
  appearance: none;
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.cookie-banner[hidden] { display: none !important; }
.cookie-banner {
  position: fixed;
  z-index: 100;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  width: min(720px, calc(100vw - 40px));
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 20px;
  border: 1px solid #3a332e;
  background: rgba(14, 14, 14, .97);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .62), inset 3px 0 0 var(--orange);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .18s ease, transform .18s ease;
  backdrop-filter: blur(18px);
}
.cookie-banner.is-visible { opacity: 1; transform: translateY(0); }
.cookie-banner__copy { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 14px; align-items: start; }
.cookie-banner__mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #090909;
  background: var(--orange);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .06em;
}
.cookie-banner strong { display: block; margin: 1px 0 7px; font-size: 14px; }
.cookie-banner p { max-width: 500px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.cookie-banner p a { color: var(--text); text-underline-offset: 3px; }
.cookie-banner__actions { display: flex; gap: 8px; }
.cookie-banner button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  cursor: pointer;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.cookie-secondary { color: var(--text); background: #171717; }
.cookie-secondary:hover { border-color: #62574f; background: #1d1d1d; }
.cookie-primary { border-color: var(--orange) !important; color: #0a0a0a; background: var(--orange); }
.cookie-primary:hover { background: #ff7325; }
@media (max-width: 680px) {
  .cookie-banner {
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    width: calc(100vw - 24px);
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner button { flex: 1; white-space: normal; }
}
@media (max-width: 390px) {
  .cookie-banner__copy { grid-template-columns: 32px minmax(0, 1fr); gap: 10px; }
  .cookie-banner__mark { width: 32px; height: 32px; }
  .cookie-banner__actions { flex-direction: column-reverse; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-banner { transition: none; }
}
