/* Direction: Black Friday on white — crisp paper, ink black, electric blue, a hot orange sale tag */
/* Completed by the platform from the short form: both modes, every
   palette token, each text-on-ground pair at its floor. To restyle, write the
   short form again (the decisions in one :root) and it is completed again. */

:root {
  --canvas: #ffffff;
  --surface: #ffffff;
  --surface-2: #f3f6fc;
  --border: #dde3ef;
  --border-strong: #b4b6bc;
  --ink: #0e1424;
  --muted: #566075;
  --accent: #1f4fe0;
  --accent-hover: #1a43be;
  --accent-ink: #ffffff;
  --accent-text: #1a44c4;
  --accent-strong: #1f4fe0;
  --accent-soft: #e8eefd;
  --accent-border: #9ab0f1;
  --success: #15803d;
  --success-ink: #ffffff;
  --success-soft: #e3f0e8;
  --success-strong: #137638;
  --warning: #b45309;
  --warning-ink: #ffffff;
  --warning-soft: #f6eae1;
  --warning-strong: #a64c08;
  --danger: #b91c1c;
  --danger-ink: #ffffff;
  --danger-soft: #f7e4e4;
  --danger-strong: #b91c1c;
  --chart-1: #1f4fe0;
  --chart-2: #ba39c4;
  --chart-3: #910e1a;
  --chart-4: #967002;
  --chart-5: #0c5e19;
  --chart-6: #048a95;

  --font-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --display-weight: 800;
  --display-tracking: -0.03em;
  --radius-card: 18px;
  --radius-btn: 999px;
  --x-band: #0b1020;
  --x-band-ink: #f4f6fb;
  --x-band-muted: #aab3c8;
  --x-hot: #ff6a1a;
  --x-hot-ink: #1a0b00;
  --font-mono: "JetBrains Mono Variable", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-sans: "Inter", system-ui, sans-serif;
  --eyebrow-tracking: 0.08em;
}

html[data-theme="dark"] {
  --canvas: #030610;
  --surface: #1c1f28;
  --surface-2: #10121c;
  --border: #262931;
  --border-strong: #4f5158;
  --ink: #ffffff;
  --muted: #9a9b9f;
  --accent: #1f4fe0;
  --accent-hover: #4169e5;
  --accent-ink: #ffffff;
  --accent-text: #5e81e8;
  --accent-strong: #5e81e8;
  --accent-soft: #09163e;
  --accent-border: #10276e;
  --success: #15803d;
  --success-ink: #ffffff;
  --success-soft: #07211a;
  --success-strong: #499c68;
  --warning: #b45309;
  --warning-ink: #ffffff;
  --warning-soft: #2a170e;
  --warning-strong: #c57a40;
  --danger: #b91c1c;
  --danger-ink: #ffffff;
  --danger-soft: #2b0b13;
  --danger-strong: #cd5c5c;
  --chart-1: #295dee;
  --chart-2: #c748d2;
  --chart-3: #e82533;
  --chart-4: #a37c1d;
  --chart-5: #029b26;
  --chart-6: #2296a1;
}

@keyframes bf-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.bf-marquee { display: flex; width: max-content; animation: bf-marquee 38s linear infinite; }
.bf-marquee:hover { animation-play-state: paused; }
html.reduced-motion .bf-marquee { animation: none; }

@keyframes bf-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,106,26,.45); } 50% { box-shadow: 0 0 0 10px rgba(255,106,26,0); } }
.bf-pulse { animation: bf-pulse 2.4s ease-out infinite; }
html.reduced-motion .bf-pulse { animation: none; }

.bf-grid {
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
  opacity: .55;
}
.bf-band { background: var(--x-band); color: var(--x-band-ink); }
.bf-tile { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.bf-tile:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 18px 40px -22px rgba(31,79,224,.45); }
html.reduced-motion .bf-tile:hover { transform: none; }
.bf-faq summary { list-style: none; cursor: pointer; }
.bf-faq summary::-webkit-details-marker { display: none; }
.bf-faq[open] .bf-plus { transform: rotate(45deg); }
.bf-plus { transition: transform .2s ease; }
.bf-shot { transition: transform .3s ease; }
.bf-shot:hover { transform: translateY(-6px) rotate(-0.4deg); }
html.reduced-motion .bf-shot:hover { transform: none; }
.bf-cd { font-variant-numeric: tabular-nums; }
