/* ==========================================================================
   Susano design system - single stylesheet shared by the landing page,
   public pages and the dashboard. Tokens first, then primitives, then
   components, then the dashboard shell, then utilities & responsive rules.
   ========================================================================== */

:root {
  color-scheme: dark;

  /* Surfaces */
  --bg: #09090b;
  --bg-elev: #0e0e11;
  --panel: rgba(255, 255, 255, 0.025);
  --panel-2: rgba(255, 255, 255, 0.045);
  --panel-solid: #121216;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --border-accent: rgba(255, 123, 84, 0.35);

  /* Brand */
  --accent: #ff7b54;
  --accent-2: #cc4d29;
  --accent-3: #ffb48a;
  --accent-grad: linear-gradient(135deg, #ff8f62 0%, #ff7b54 45%, #d4532c 100%);
  --accent-soft: rgba(255, 123, 84, 0.12);
  --accent-glow: rgba(255, 123, 84, 0.22);

  /* Text */
  --text: #ededf0;
  --text-dim: #9a9aa4;
  --text-muted: #62626c;

  /* Status */
  --success: #22d38a;
  --success-soft: rgba(34, 211, 138, 0.12);
  --warning: #ffb020;
  --warning-soft: rgba(255, 176, 32, 0.12);
  --danger: #ff5a5a;
  --danger-soft: rgba(255, 90, 90, 0.12);
  --info: #54aeff;
  --info-soft: rgba(84, 174, 255, 0.12);
  --discord: #5865f2;

  /* Shape & depth */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
  --shadow-accent: 0 12px 32px -8px rgba(255, 123, 84, 0.45);
  --ring: 0 0 0 3px rgba(255, 123, 84, 0.35);

  /* Spacing (8pt) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px; --s-6: 24px;
  --s-7: 32px; --s-8: 40px; --s-9: 48px; --s-10: 64px; --s-11: 80px; --s-12: 112px;

  /* Type */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --fs-xs: 0.72rem; --fs-sm: 0.82rem; --fs-md: 0.95rem; --fs-lg: 1.1rem;
  --fs-xl: 1.4rem; --fs-2xl: clamp(1.8rem, 3.6vw, 2.6rem); --fs-3xl: clamp(2.4rem, 6vw, 4.4rem);

  --container: 1180px;
  --header-h: 72px;
  --sidebar-w: 260px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: var(--fs-md);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.has-glow {
  background:
    radial-gradient(1100px 600px at 50% -140px, rgba(255, 123, 84, 0.16), transparent 70%),
    radial-gradient(800px 500px at 90% 50%, rgba(204, 77, 41, 0.07), transparent 65%),
    var(--bg);
}
body.has-grid::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.045) 1px, transparent 0);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.25) 60%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.25) 60%, transparent);
}
body > * { position: relative; z-index: 1; }
/* <main> must not be a stacking context: fixed overlays rendered inside a page (modals, drawers,
   sticky CTAs, floating buttons) would otherwise be trapped at z-index 1, below .site-header (500). */
main { z-index: auto; }

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-3); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul[role="list"], ol[role="list"], .list-plain { list-style: none; }
hr { border: 0; border-top: 1px solid var(--border); margin: var(--s-6) 0; }
strong, b { font-weight: 700; color: #fff; }
small { font-size: var(--fs-sm); }
code, kbd, pre { font-family: var(--mono); }
::selection { background: rgba(255, 123, 84, 0.35); color: #fff; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: var(--radius-sm); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: var(--s-4); top: -60px; z-index: 1000; background: var(--accent); color: #fff; padding: var(--s-2) var(--s-4); border-radius: var(--radius-sm); font-weight: 700; transition: top 0.2s; }
.skip-link:focus { top: var(--s-4); }

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, .h1, .h2, .h3, .h4 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; color: #fff; }
h1, .h1 { font-size: var(--fs-3xl); letter-spacing: -0.035em; font-weight: 900; }
h2, .h2 { font-size: var(--fs-2xl); letter-spacing: -0.03em; font-weight: 900; }
h3, .h3 { font-size: var(--fs-xl); }
h4, .h4 { font-size: var(--fs-lg); }
p { color: var(--text-dim); }
.lead { font-size: var(--fs-lg); line-height: 1.7; color: var(--text-dim); }
.muted { color: var(--text-dim); }
.faint { color: var(--text-muted); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: var(--fs-xs); font-weight: 800; text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--accent-grad); border-radius: 2px; }
.eyebrow.center { justify-content: center; }
.gradient-text {
  background: var(--accent-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.section-head { max-width: 640px; margin: 0 auto var(--s-9); text-align: center; }
.section-head .eyebrow { margin-bottom: var(--s-4); }
.section-head h2 { margin-bottom: var(--s-4); }
.section-head p { font-size: var(--fs-md); }
.mono { font-family: var(--mono); }
.nowrap { white-space: nowrap; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--s-6); }
.container-narrow { width: 100%; max-width: 860px; margin-inline: auto; padding-inline: var(--s-6); }
.container-wide { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--s-6); }
.section { padding-block: var(--s-11); position: relative; }
.section-sm { padding-block: var(--s-9); }
.grid { display: grid; gap: var(--s-5); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.stack { display: flex; flex-direction: column; gap: var(--s-4); }
.stack-sm { gap: var(--s-2); }
.stack-lg { gap: var(--s-7); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); }
.cluster-center { justify-content: center; }
.split { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; }
.center { display: flex; align-items: center; justify-content: center; }
.flex-1 { flex: 1 1 auto; min-width: 0; }
.mt-2 { margin-top: var(--s-2); } .mt-3 { margin-top: var(--s-3); } .mt-4 { margin-top: var(--s-4); }
.mt-6 { margin-top: var(--s-6); } .mt-8 { margin-top: var(--s-8); } .mt-10 { margin-top: var(--s-10); }
.mb-2 { margin-bottom: var(--s-2); } .mb-3 { margin-bottom: var(--s-3); } .mb-4 { margin-bottom: var(--s-4); }
.mb-6 { margin-bottom: var(--s-6); } .mb-8 { margin-bottom: var(--s-8); }
.hide { display: none !important; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--panel-2);
  --btn-fg: #fff;
  --btn-border: var(--border-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  padding: 12px 22px; border-radius: 12px;
  font-size: var(--fs-sm); font-weight: 800; letter-spacing: 0.02em; line-height: 1;
  color: var(--btn-fg); background: var(--btn-bg); border: 1px solid var(--btn-border);
  text-decoration: none; cursor: pointer; white-space: nowrap; user-select: none;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, box-shadow 0.2s, color 0.2s;
}
.btn:hover { color: #fff; background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.22); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
.btn svg { width: 1em; height: 1em; flex-shrink: 0; }
.btn-primary { --btn-bg: var(--accent-grad); --btn-border: transparent; box-shadow: var(--shadow-accent); }
.btn-primary:hover { background: var(--accent-grad); border-color: transparent; filter: brightness(1.06); box-shadow: 0 16px 40px -10px rgba(255, 123, 84, 0.6); }
.btn-ghost { --btn-bg: transparent; --btn-border: transparent; color: var(--text-dim); }
.btn-ghost:hover { background: var(--panel-2); border-color: transparent; }
.btn-outline { --btn-bg: transparent; }
.btn-white { --btn-bg: #fff; --btn-fg: #0b0b0d; --btn-border: #fff; }
.btn-white:hover { background: #f1f1f4; color: #0b0b0d; border-color: #f1f1f4; }
.btn-danger { --btn-bg: var(--danger-soft); --btn-fg: var(--danger); --btn-border: rgba(255, 90, 90, 0.35); }
.btn-danger:hover { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn-success { --btn-bg: var(--success-soft); --btn-fg: var(--success); --btn-border: rgba(34, 211, 138, 0.35); }
.btn-success:hover { background: var(--success); color: #05130c; border-color: var(--success); }
.btn-discord { --btn-bg: var(--discord); --btn-border: transparent; }
.btn-discord:hover { background: #4752c4; border-color: transparent; }
.btn-sm { padding: 9px 14px; font-size: var(--fs-xs); border-radius: 10px; }
.btn-lg { padding: 16px 32px; font-size: var(--fs-md); border-radius: 14px; }
.btn-block { width: 100%; }
.btn-icon { display: inline-flex; align-items: center; justify-content: center; padding: 8px; border-radius: 10px; color: var(--text-dim); vertical-align: middle; transition: color 0.2s, background 0.2s; }
.btn-icon:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.btn-icon svg { display: block; width: 16px; height: 16px; }
.btn .spinner { width: 1em; height: 1em; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------------------
   Badges, pills, avatars, kbd, code
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: var(--radius-pill);
  font-size: 0.64rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--panel-2); color: var(--text-dim); border: 1px solid var(--border);
  white-space: nowrap; line-height: 1;
}
.badge-accent { background: var(--accent-soft); color: var(--accent); border-color: var(--border-accent); }
.badge-success { background: var(--success-soft); color: var(--success); border-color: rgba(34, 211, 138, 0.3); }
.badge-warning { background: var(--warning-soft); color: var(--warning); border-color: rgba(255, 176, 32, 0.3); }
.badge-danger { background: var(--danger-soft); color: var(--danger); border-color: rgba(255, 90, 90, 0.3); }
.badge-info { background: var(--info-soft); color: var(--info); border-color: rgba(84, 174, 255, 0.3); }
.badge-muted { color: var(--text-muted); }
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.badge .dot.pulse { animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.pill {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: 8px 14px; border-radius: var(--radius-pill);
  background: var(--panel-2); border: 1px solid var(--border); font-size: var(--fs-xs); font-weight: 700; color: var(--text-dim);
}
.pill strong { color: #fff; }
.avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--panel-2); border: 1px solid var(--border); }
.avatar-lg { width: 72px; height: 72px; }
.avatar-ring { padding: 3px; background: var(--accent-grad); border-radius: 50%; display: inline-flex; line-height: 0; flex-shrink: 0; }
.avatar-ring img { display: block; border: 3px solid var(--bg); }
.kbd { display: inline-block; padding: 2px 7px; border-radius: 6px; border: 1px solid var(--border-strong); background: var(--panel-2); font-size: 0.7rem; font-family: var(--mono); color: var(--text-dim); }
.code {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: 6px 12px; border-radius: 8px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-strong);
  font-family: var(--mono); font-size: var(--fs-sm); color: var(--accent-3); letter-spacing: 0.04em;
}
.code-block { display: block; padding: var(--s-4) var(--s-5); border-radius: var(--radius-sm); background: #121218; border: 1px solid var(--border-strong); overflow-x: auto; font-size: var(--fs-sm); line-height: 1.6; white-space: pre; color: #e3e3e8; }

/* --------------------------------------------------------------------------
   Cards, stats, alerts
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.card-pad { padding: var(--s-7); }
.card-pad-sm { padding: var(--s-5); }
.card-hover { transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s; }
.card-hover:hover { transform: translateY(-4px); border-color: var(--border-accent); box-shadow: var(--shadow); }
/* Accent strip: a full-size overlay clipped by the card's own radius, so the line follows the rounded corners. */
.card-accent::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background-repeat: no-repeat; background-position: top; background-image: var(--accent-grad); background-size: 100% 3px; }
.card-solid { background: var(--panel-solid); }
.card-title { font-size: var(--fs-lg); font-weight: 800; color: #fff; margin-bottom: var(--s-2); }
.card-desc { font-size: var(--fs-sm); color: var(--text-dim); line-height: 1.7; }
.card-footer { margin-top: auto; padding-top: var(--s-5); }
.icon-box {
  width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-soft); border: 1px solid var(--border-accent); color: var(--accent);
}
.icon-box svg { width: 22px; height: 22px; }
.icon-box-lg { width: 60px; height: 60px; border-radius: 18px; }
.icon-box-lg svg { width: 26px; height: 26px; }
.icon-box-success { background: var(--success-soft); border-color: rgba(34, 211, 138, 0.3); color: var(--success); }
.icon-box-info { background: var(--info-soft); border-color: rgba(84, 174, 255, 0.3); color: var(--info); }
.icon-box-danger { background: var(--danger-soft); border-color: rgba(255, 90, 90, 0.3); color: var(--danger); }
.icon-box-warning { background: var(--warning-soft); border-color: rgba(255, 176, 32, 0.3); color: var(--warning); }

.stat { padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-2); }
.stat-label { font-size: var(--fs-xs); font-weight: 800; text-transform: uppercase; letter-spacing: 0.16em; color: var(--text-dim); }
.stat-value { font-size: 1.7rem; font-weight: 900; letter-spacing: -0.03em; color: #fff; line-height: 1.1; }
.stat-value.accent { color: var(--accent); }
.stat-value.success { color: var(--success); }
.stat-value.danger { color: var(--danger); }
.stat-value.info { color: var(--info); }
.stat-sub { font-size: var(--fs-xs); color: var(--text-muted); font-weight: 600; }

.alert {
  display: flex; gap: var(--s-3); align-items: flex-start;
  padding: var(--s-4) var(--s-5); border-radius: var(--radius-sm);
  background: var(--panel-2); border: 1px solid var(--border-strong);
  font-size: var(--fs-sm); line-height: 1.6; color: var(--text);
}
.alert svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.alert strong { color: inherit; }
.alert-success { background: var(--success-soft); border-color: rgba(34, 211, 138, 0.3); color: #c9ffe6; }
.alert-warning { background: var(--warning-soft); border-color: rgba(255, 176, 32, 0.3); color: #ffe9bd; }
.alert-danger { background: var(--danger-soft); border-color: rgba(255, 90, 90, 0.3); color: #ffd6d6; }
.alert-info { background: var(--info-soft); border-color: rgba(84, 174, 255, 0.3); color: #d6ecff; }
.alert-accent { background: var(--accent-soft); border-color: var(--border-accent); color: #ffe3d8; }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: var(--s-2); }
.label { font-size: var(--fs-xs); font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em; color: #d9d9df; }
.label .req { color: var(--accent); }
.hint { font-size: var(--fs-xs); color: var(--text-muted); line-height: 1.5; }
.input, .select, .textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-strong);
  color: #fff;
  font-size: var(--fs-sm);
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.input::placeholder, .textarea::placeholder { color: var(--text-muted); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--accent); box-shadow: var(--ring); background: rgba(255, 123, 84, 0.04); }
.input:disabled, .select:disabled, .textarea:disabled { opacity: 0.5; cursor: not-allowed; }
.input.is-invalid, .textarea.is-invalid { border-color: var(--danger); }
.input-mono { font-family: var(--mono); letter-spacing: 0.04em; }
.input-center { text-align: center; }
.textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.select {
  appearance: none; -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239a9aa4' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.select option { background: #141418; color: #fff; }
.input-group { display: flex; gap: var(--s-2); }
.input-group .input { flex: 1; min-width: 0; }
.checkbox { display: flex; align-items: center; gap: var(--s-3); cursor: pointer; font-size: var(--fs-sm); color: var(--text-dim); }
.checkbox input { width: 18px; height: 18px; accent-color: var(--accent); cursor: pointer; }
.switch { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch .track { position: absolute; inset: 0; background: rgba(255, 255, 255, 0.1); border-radius: 999px; transition: background 0.2s; }
.switch .thumb { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: var(--text-dim); border-radius: 50%; transition: transform 0.25s var(--ease), background 0.2s; }
.switch input:checked ~ .track { background: var(--accent); }
.switch input:checked ~ .thumb { transform: translateX(20px); background: #fff; }
.switch input:focus-visible ~ .track { box-shadow: var(--ring); }
.radio-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-2); }
.radio-card input { position: absolute; opacity: 0; width: 0; height: 0; }
.radio-card label {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 14px 10px; border-radius: 12px; cursor: pointer;
  background: var(--panel-2); border: 1px solid var(--border); font-weight: 800; font-size: var(--fs-sm); color: var(--text-dim);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.radio-card label small { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.radio-card input:checked + label { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.radio-card input:focus-visible + label { box-shadow: var(--ring); }
.file-drop {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: var(--s-2);
  padding: var(--s-7) var(--s-5); text-align: center; cursor: pointer;
  border: 1.5px dashed var(--border-strong); border-radius: 14px; transition: border-color 0.2s, background 0.2s;
}
.file-drop:hover, .file-drop.drag { border-color: var(--accent); background: rgba(255, 123, 84, 0.04); }
.file-drop.has-file { border-style: solid; border-color: rgba(34, 211, 138, 0.4); background: rgba(34, 211, 138, 0.04); }
.file-drop input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.progress { height: 6px; width: 100%; background: rgba(255, 255, 255, 0.06); border-radius: 999px; overflow: hidden; }
.progress-bar { height: 100%; width: 0; background: var(--accent-grad); border-radius: 999px; transition: width 0.3s var(--ease); }
.form-result { display: none; padding: 12px 16px; border-radius: 12px; font-size: var(--fs-sm); font-weight: 600; line-height: 1.55; }
.form-result.show { display: block; }
.form-result.success { background: var(--success-soft); border: 1px solid rgba(34, 211, 138, 0.3); color: var(--success); }
.form-result.error { background: var(--danger-soft); border: 1px solid rgba(255, 90, 90, 0.3); color: var(--danger); }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* --------------------------------------------------------------------------
   Tables
   -------------------------------------------------------------------------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-sm); }
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.table th {
  text-align: left; padding: 0 14px 12px; font-size: 0.64rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-dim); border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.table td { padding: 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.045); color: #d4d4da; vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: rgba(255, 255, 255, 0.015); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table .amount { font-weight: 800; color: var(--success); }
.table .mono { font-family: var(--mono); font-size: var(--fs-xs); color: var(--text-dim); }
.table-rows { border-spacing: 0 8px; border-collapse: separate; }
.table-rows td { background: var(--panel); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.table-rows td:first-child { border-left: 1px solid var(--border); border-radius: 12px 0 0 12px; }
.table-rows td:last-child { border-right: 1px solid var(--border); border-radius: 0 12px 12px 0; }
.empty { padding: var(--s-9) var(--s-5); text-align: center; color: var(--text-dim); font-size: var(--fs-sm); }
.empty .icon-box { margin: 0 auto var(--s-4); }

/* Pagination: <nav class="pager"> whose direct children are <a> page links (text or an svg arrow)
   and <span class="active|disabled|ellipsis"> markers. Buttons (.btn) inside it keep their own look. */
.pager { display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: var(--s-7); }
.pager > a:not(.btn), .pager > .active, .pager > .disabled, .pager > .ellipsis {
  min-width: 38px; height: 38px; padding: 0 12px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: var(--fs-xs); font-weight: 800; color: var(--text-dim);
  background: var(--panel); border: 1px solid var(--border); transition: color 0.2s, border-color 0.2s;
}
.pager > a:not(.btn):hover { color: #fff; border-color: var(--border-accent); }
.pager > .active { background: var(--accent-grad); color: #fff; border-color: transparent; box-shadow: var(--shadow-accent); }
.pager > .disabled { opacity: 0.4; pointer-events: none; }
.pager > .ellipsis { background: none; border: 0; min-width: 24px; }
.pager svg { width: 14px; height: 14px; }

/* Nested surface inside a card */
.sub-card { padding: var(--s-4); border-radius: 12px; background: rgba(255, 255, 255, 0.025); border: 1px solid var(--border); }

/* Colour helpers */
.text-accent { color: var(--accent) !important; }
.text-success { color: var(--success) !important; }
.text-warning { color: var(--warning) !important; }
.text-danger { color: var(--danger) !important; }
.text-info { color: var(--info) !important; }
.text-white { color: #fff !important; }

/* --------------------------------------------------------------------------
   Modal, accordion, tabs, dropdown
   -------------------------------------------------------------------------- */
.modal {
  position: fixed; inset: 0; z-index: 900;
  display: none; align-items: center; justify-content: center; padding: var(--s-5);
  background: rgba(3, 3, 5, 0.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.modal.open { display: flex; }
.modal-card {
  position: relative; width: 100%; max-width: 460px;
  background: var(--panel-solid); border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  padding: var(--s-8) var(--s-7); box-shadow: var(--shadow);
  animation: modalIn 0.35s var(--ease);
}
.modal-card.wide { max-width: 560px; }
.modal-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background-repeat: no-repeat; background-position: top; background-image: var(--accent-grad); background-size: 100% 3px; }
.modal-card.danger::before { background-image: linear-gradient(90deg, var(--danger), #c22); }
.modal-close { position: absolute; top: 14px; right: 16px; width: 34px; height: 34px; border-radius: 10px; color: var(--text-muted); font-size: 1.4rem; line-height: 1; display: inline-flex; align-items: center; justify-content: center; }
.modal-close:hover { color: #fff; background: var(--panel-2); }
.modal-card h2 { font-size: var(--fs-xl); margin-bottom: var(--s-2); }
.modal-card .card-desc { margin-bottom: var(--s-5); }
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }

.accordion { display: flex; flex-direction: column; gap: var(--s-3); }
.accordion-item { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color 0.2s; }
.accordion-item[open], .accordion-item:hover { border-color: var(--border-accent); }
.accordion-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  padding: var(--s-5) var(--s-6); font-weight: 700; color: #fff; font-size: var(--fs-md);
}
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary .chev { width: 28px; height: 28px; flex-shrink: 0; border-radius: 8px; background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; transition: transform 0.3s var(--ease); }
.accordion-item[open] summary .chev { transform: rotate(180deg); }
.accordion-item .accordion-body { padding: 0 var(--s-6) var(--s-5); color: var(--text-dim); font-size: var(--fs-sm); line-height: 1.8; }

.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--panel-2); border: 1px solid var(--border); border-radius: 12px; }
.tab { padding: 8px 16px; border-radius: 9px; font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-dim); transition: background 0.2s, color 0.2s; }
.tab:hover { color: #fff; }
.tab.active, .tab[aria-selected="true"] { background: var(--accent-grad); color: #fff; box-shadow: var(--shadow-accent); }
.period-tabs { display: flex; justify-content: center; gap: var(--s-6); border-bottom: 1px solid var(--border); margin-bottom: var(--s-5); }
.period-tab { position: relative; padding: 10px 2px 14px; font-size: var(--fs-xs); font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-dim); transition: color 0.2s; }
.period-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent-grad); transform: scaleX(0); transition: transform 0.25s var(--ease); }
.period-tab:hover { color: #fff; }
.period-tab.active { color: #fff; }
.period-tab.active::after { transform: scaleX(1); }

.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 50; min-width: 240px;
  background: var(--panel-solid); border: 1px solid var(--border-strong); border-radius: 14px; padding: 6px;
  box-shadow: var(--shadow); display: none;
}
.dropdown.open .dropdown-menu { display: block; animation: modalIn 0.2s var(--ease); }
.dropdown-item { display: flex; flex-direction: column; gap: 2px; width: 100%; text-align: left; padding: 10px 12px; border-radius: 10px; font-size: var(--fs-sm); color: #e6e6ec; }
.dropdown-item:hover { background: var(--panel-2); }
.dropdown-item small { color: var(--accent); font-weight: 700; font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* --------------------------------------------------------------------------
   Pricing / product
   -------------------------------------------------------------------------- */
.price { display: flex; align-items: baseline; justify-content: center; gap: var(--s-3); flex-wrap: wrap; }
.price-old { font-size: var(--fs-md); color: var(--text-muted); text-decoration: line-through; text-decoration-color: var(--danger); font-weight: 600; }
.price-now { font-size: 2.1rem; font-weight: 900; letter-spacing: -0.04em; color: #fff; line-height: 1; }
.price-per { font-size: var(--fs-sm); color: var(--text-dim); font-weight: 500; }
.price-pill { background: var(--danger); color: #fff; font-size: 0.64rem; font-weight: 900; padding: 4px 9px; border-radius: 7px; letter-spacing: 0.04em; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.feature-list li { display: flex; align-items: flex-start; gap: 10px; font-size: var(--fs-sm); color: #d4d4da; line-height: 1.5; }
.feature-list li::before {
  content: ""; flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%;
  background: var(--success-soft) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8' fill='none'%3E%3Cpath d='M1 4l2.6 2.6L9 1' stroke='%2322d38a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat;
}

/* --------------------------------------------------------------------------
   Toasts
   -------------------------------------------------------------------------- */
.toast-region { position: fixed; right: var(--s-5); bottom: var(--s-5); z-index: 1200; display: flex; flex-direction: column; gap: var(--s-2); max-width: min(360px, calc(100vw - 32px)); pointer-events: none; }
.toast {
  pointer-events: auto; display: flex; align-items: flex-start; gap: var(--s-3);
  padding: 12px 14px; border-radius: 14px;
  background: rgba(18, 18, 22, 0.96); border: 1px solid var(--border-strong); box-shadow: var(--shadow);
  font-size: var(--fs-sm); color: #fff; line-height: 1.45;
  transform: translateX(16px); opacity: 0; transition: transform 0.3s var(--ease), opacity 0.3s;
}
.toast.show { transform: none; opacity: 1; }
.toast .toast-icon { width: 22px; height: 22px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.toast-success .toast-icon { background: var(--success-soft); color: var(--success); }
.toast-error .toast-icon { background: var(--danger-soft); color: var(--danger); }
.toast-warning .toast-icon { background: var(--warning-soft); color: var(--warning); }
.toast-info .toast-icon { background: var(--info-soft); color: var(--info); }
.toast .toast-icon svg { width: 12px; height: 12px; }
.toast button { margin-left: auto; color: var(--text-muted); font-size: 1.1rem; line-height: 1; padding: 0 2px; }
.toast button:hover { color: #fff; }

/* --------------------------------------------------------------------------
   Site header & footer (public pages)
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 500;
  height: var(--header-h);
  background: rgba(9, 9, 11, 0.72);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.site-header.scrolled { border-bottom-color: var(--border); background: rgba(9, 9, 11, 0.86); }
.site-header .inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.brand img { height: 22px; width: auto; transition: filter 0.3s; }
.brand:hover img { filter: drop-shadow(0 0 10px rgba(255, 123, 84, 0.7)); }
.brand-tag { font-size: 0.56rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); padding: 3px 8px; border: 1px solid var(--border-accent); background: var(--accent-soft); border-radius: 5px; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { padding: 9px 14px; border-radius: 10px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); transition: color 0.2s, background 0.2s; }
.site-nav a:hover, .site-nav a.active { color: #fff; background: var(--panel-2); }
.site-header .actions { display: flex; align-items: center; gap: var(--s-2); }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--border); color: #fff; align-items: center; justify-content: center; }
.nav-toggle svg { width: 20px; height: 20px; }
.mobile-nav {
  position: fixed; inset: 0; z-index: 800; display: none; flex-direction: column; align-items: center; justify-content: center; gap: var(--s-2);
  background: rgba(9, 9, 11, 0.96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 1.25rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; padding: 12px 20px; border-radius: 12px; }
.mobile-nav a:hover { color: var(--accent); background: var(--panel-2); }
.mobile-nav .mobile-close { position: absolute; top: 16px; right: 20px; width: 44px; height: 44px; border-radius: 12px; color: #fff; font-size: 1.8rem; border: 1px solid var(--border); }

.site-footer { margin-top: var(--s-10); padding: var(--s-10) 0 var(--s-7); border-top: 1px solid var(--border); background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.015)); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: var(--s-8); margin-bottom: var(--s-9); }
.footer-brand p { margin-top: var(--s-4); font-size: var(--fs-sm); max-width: 320px; line-height: 1.7; }
.footer-col h4 { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-dim); margin-bottom: var(--s-4); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: var(--fs-sm); color: #c8c8cf; font-weight: 500; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; padding-top: var(--s-6); border-top: 1px solid var(--border); font-size: var(--fs-xs); color: var(--text-muted); letter-spacing: 0.04em; }
.footer-social { display: flex; gap: var(--s-2); }
.footer-social a { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--border); display: inline-flex; align-items: center; justify-content: center; color: var(--text-dim); }
.footer-social a:hover { color: #fff; border-color: var(--border-accent); background: var(--accent-soft); }
.footer-social svg { width: 16px; height: 16px; }
.lang-switch { display: inline-flex; gap: 2px; padding: 2px; border: 1px solid var(--border); border-radius: 8px; }
.lang-switch a { padding: 4px 8px; border-radius: 6px; font-size: 0.64rem; font-weight: 800; letter-spacing: 0.1em; color: var(--text-dim); }
.lang-switch a.active { background: var(--panel-2); color: #fff; }

/* --------------------------------------------------------------------------
   Page hero (simple pages: tos, privacy, bypass…)
   -------------------------------------------------------------------------- */
.page-hero { padding: var(--s-10) 0 var(--s-8); text-align: center; }
.page-hero .eyebrow { margin-bottom: var(--s-4); }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: var(--s-3); }
.page-hero p { max-width: 560px; margin: 0 auto; }
.prose { max-width: 760px; }
.prose h2 { font-size: var(--fs-xl); margin: var(--s-8) 0 var(--s-4); padding-bottom: var(--s-3); border-bottom: 1px solid var(--border); }
.prose h3 { font-size: var(--fs-md); color: #d9d9df; margin: var(--s-6) 0 var(--s-2); }
.prose p { margin-bottom: var(--s-4); line-height: 1.85; font-size: var(--fs-sm); }
.prose ul, .prose ol { margin: var(--s-3) 0 var(--s-5) var(--s-5); display: flex; flex-direction: column; gap: 6px; font-size: var(--fs-sm); color: var(--text-dim); line-height: 1.7; }
.prose li::marker { color: var(--accent); }
.prose a { font-weight: 600; }
.prose img { border-radius: var(--radius-sm); border: 1px solid var(--border); margin: var(--s-5) 0; }
.prose blockquote { border-left: 3px solid var(--accent); padding: var(--s-3) var(--s-5); background: var(--accent-soft); border-radius: 0 10px 10px 0; margin: var(--s-5) 0; font-size: var(--fs-sm); color: #ffe3d8; }
.prose code:not(pre code) { font-size: 0.82em; padding: 2px 6px; border-radius: 5px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border); color: var(--accent-3); }
.prose pre { margin: var(--s-4) 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); margin: var(--s-4) 0; }
.prose th, .prose td { border: 1px solid var(--border); padding: 8px 12px; text-align: left; }
.prose th { background: var(--panel-2); color: #fff; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); }
.toc h3 { font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: var(--s-3); }
.toc ul { list-style: none; border-left: 1px solid var(--border); }
.toc a { display: block; padding: 6px 14px; font-size: var(--fs-sm); color: var(--text-dim); border-left: 2px solid transparent; margin-left: -1px; }
.toc a:hover, .toc a.active { color: var(--accent); border-left-color: var(--accent); }

/* --------------------------------------------------------------------------
   Dashboard shell
   -------------------------------------------------------------------------- */
.dash { display: grid; grid-template-columns: var(--sidebar-w) minmax(0, 1fr); min-height: 100vh; }
.dash-sidebar {
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
  display: flex; flex-direction: column; gap: var(--s-6);
  padding: var(--s-6) var(--s-4);
  background: rgba(14, 14, 17, 0.85); border-right: 1px solid var(--border);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.12) transparent;
}
.dash-sidebar .brand { padding: 6px 10px; }
.dash-nav { display: flex; flex-direction: column; gap: var(--s-5); }
.dash-nav-group { display: flex; flex-direction: column; gap: 2px; }
.dash-nav-label { padding: 0 12px 6px; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); }
.dash-nav a, .dash-nav button {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  padding: 10px 12px; border-radius: 11px; font-size: var(--fs-sm); font-weight: 600; color: var(--text-dim);
  transition: background 0.15s, color 0.15s;
}
.dash-nav a svg, .dash-nav button svg { width: 18px; height: 18px; flex-shrink: 0; opacity: 0.85; }
.dash-nav a:hover, .dash-nav button:hover { color: #fff; background: var(--panel-2); }
.dash-nav a.active { color: #fff; background: var(--accent-soft); border: 1px solid var(--border-accent); }
.dash-nav a.active svg { color: var(--accent); opacity: 1; }
.dash-nav .nav-badge { margin-left: auto; }
.dash-user { margin-top: auto; display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--panel); border: 1px solid var(--border); }
.dash-user .name { font-size: var(--fs-sm); font-weight: 700; color: #fff; }
.dash-user .sub { font-size: 0.66rem; color: var(--text-muted); font-weight: 600; letter-spacing: 0.04em; }
.dash-user a.logout { margin-left: auto; color: var(--text-muted); width: 32px; height: 32px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; }
.dash-user a.logout:hover { color: var(--danger); background: var(--danger-soft); }
.dash-main { min-width: 0; display: flex; flex-direction: column; }
.dash-topbar { display: none; }
.dash-content { flex: 1; width: 100%; max-width: 1180px; margin: 0 auto; padding: var(--s-8) var(--s-8) var(--s-11); display: flex; flex-direction: column; gap: var(--s-6); }
.dash-header { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-5); flex-wrap: wrap; margin-bottom: var(--s-2); }
.dash-header h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.dash-header .eyebrow { margin-bottom: var(--s-2); }
.dash-header p { font-size: var(--fs-sm); max-width: 560px; margin-top: var(--s-2); }
.dash-footer { padding: var(--s-6) var(--s-8); border-top: 1px solid var(--border); font-size: var(--fs-xs); color: var(--text-muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-3); letter-spacing: 0.04em; }
.dash-footer a { color: var(--text-dim); }
.dash-backdrop { display: none; position: fixed; inset: 0; z-index: 590; background: rgba(0, 0, 0, 0.6); }
.hero-banner {
  position: relative; overflow: hidden; padding: var(--s-8) var(--s-8);
  background: var(--accent-grad); border-radius: var(--radius-lg); color: #fff; box-shadow: var(--shadow-accent);
}
.hero-banner h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: var(--s-2); }
.hero-banner p { color: rgba(255, 255, 255, 0.86); max-width: 520px; margin-bottom: var(--s-5); font-size: var(--fs-sm); }
.hero-banner .art { position: absolute; right: 24px; bottom: -10px; height: 125%; width: auto; pointer-events: none; filter: drop-shadow(-20px 0 30px rgba(0, 0, 0, 0.4)); }
.hero-banner::after { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 200px at 10% 0%, rgba(255, 255, 255, 0.18), transparent 70%); pointer-events: none; }
.hero-banner > * { position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; } .reveal-delay-2 { transition-delay: 0.16s; } .reveal-delay-3 { transition-delay: 0.24s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.floaty { animation: floaty 6s ease-in-out infinite; }
.skeleton { background: linear-gradient(90deg, var(--panel-2), rgba(255, 255, 255, 0.08), var(--panel-2)); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 8px; }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .dash { grid-template-columns: 1fr; }
  .dash-sidebar {
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 600; width: min(300px, 86vw); height: 100vh;
    transform: translateX(-100%); transition: transform 0.3s var(--ease); box-shadow: 30px 0 60px rgba(0, 0, 0, 0.5);
  }
  .dash-sidebar.open { transform: none; }
  .dash-backdrop.open { display: block; }
  .dash-topbar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: 12px var(--s-5); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 400; background: rgba(9, 9, 11, 0.86); backdrop-filter: blur(14px); }
  .dash-content { padding: var(--s-6) var(--s-5) var(--s-10); }
  .dash-footer { padding: var(--s-5); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .site-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .section { padding-block: var(--s-10); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .card-pad { padding: var(--s-6); }
  .radio-cards { grid-template-columns: 1fr; }
  .hero-banner { padding: var(--s-7) var(--s-6); }
  .hero-banner .art { display: none; }
  .modal-card { padding: var(--s-7) var(--s-5); }
  .toast-region { right: var(--s-4); left: var(--s-4); bottom: var(--s-4); max-width: none; }
  .split { flex-direction: column; align-items: stretch; }
}
@media (max-width: 480px) {
  .btn-lg { width: 100%; }
  .price-now { font-size: 1.8rem; }
}
