/*
 * Palette: monochrome neutrals (black · graphite · greys) with one coral accent,
 * on a pure white background.
 */
:root {
  --bg: #ffffff;
  --tile: #f5f5f5;
  --ink: #0a0a0a;
  --muted: #737373;
  --line: #e5e5e5;
  --accent: #f25757;
  --graphite: #262626;
  --card: #0a0a0a;
  /* shadcn tokens (HSL) for components/ui */
  --background: 0 0% 100%;
  --foreground: 0 0% 4%;
  --primary: 0 0% 4%;
  --primary-foreground: 0 0% 100%;
  --secondary: 0 0% 15%;
  --secondary-foreground: 0 0% 98%;
  --destructive: 0 86% 64%;
  --destructive-foreground: 0 0% 100%;
  --border: 0 0% 90%;
  --input: 0 0% 90%;
  --ring: 0 86% 64%;
  /* Tailwind-v4-style shadcn tokens read by components/ui/fluxpay */
  --color-background: #ffffff;
  --color-foreground: #0a0a0a;
  --color-muted-foreground: #737373;
  --color-border: #e5e5e5;
  --color-primary: #0a0a0a;
  color-scheme: light;
}

/* ---------- FluxPay hero, re-tinted to the site palette (blue accents → white / coral) ---------- */
.fxp.fxp-site .fxp-title { font-weight: 500; filter: drop-shadow(0 2px 24px rgb(0 0 0 / 0.6)); }
.fxp.fxp-site .fxp-title-line {
  background-image: linear-gradient(180deg, #ffffff 25%, #f2f2f2 60%, #ffc2c2 100%);
}
.fxp.fxp-site .fxp-title-serif { color: #f25757; }
.fxp.fxp-site .fxp-badge {
  background-color: rgb(38 38 38 / 0.7);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.14), inset 0 1px 0 rgb(255 255 255 / 0.08);
  color: rgb(250 250 250 / 0.88);
}
.fxp.fxp-site .fxp-badge-dot { background-color: #f25757; box-shadow: 0 0 10px 1px rgb(242 87 87 / 0.85); }
.fxp.fxp-site :is(a, button):focus-visible { outline-color: #f25757; }
.fxp.fxp-site .fxp-btn-primary {
  background-color: #fff;
  background-image: linear-gradient(180deg, #ffffff, #ededed);
  color: #0a0a0a;
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgb(0 0 0 / 0.12), 0 0 0 1px rgb(255 255 255 / 0.35), 0 10px 28px -12px rgb(242 87 87 / 0.55);
}
.fxp.fxp-site .fxp-btn-primary:is(:hover, :focus-visible) {
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgb(0 0 0 / 0.12), 0 0 0 4px rgb(242 87 87 / 0.22), 0 14px 34px -12px rgb(242 87 87 / 0.8);
}
.fxp.fxp-site .fxp-btn-primary::before {
  background-image: linear-gradient(105deg, rgb(242 87 87 / 0) 22%, rgb(242 87 87 / 0.35) 44%, rgb(242 87 87 / 0.5) 50%, rgb(242 87 87 / 0.35) 56%, rgb(242 87 87 / 0) 78%);
}
.fxp.fxp-site .fxp-btn-secondary {
  background-color: rgb(38 38 38 / 0.85);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.16), inset 0 1px 0 rgb(255 255 255 / 0.08);
}
.fxp.fxp-site .fxp-btn-secondary:is(:hover, :focus-visible) {
  background-color: rgb(51 51 51 / 0.92);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.24), inset 0 1px 0 rgb(255 255 255 / 0.1), 0 10px 28px -14px rgb(242 87 87 / 0.5);
}
.fxp.fxp-site .fxp-stat-value { color: #0a0a0a; }

html {
  -webkit-text-size-adjust: 100%;
}

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "ss01", "cv11";
}
::selection {
  background: rgba(242, 87, 87, 0.2);
}

/* Headline gradients */
.text-gradient {
  background: linear-gradient(90deg, #0a0a0a 0%, #737373 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.text-gradient-accent {
  background: linear-gradient(92deg, #0a0a0a 0%, #404040 45%, #f25757 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Browser chrome around screenshots */
.browser {
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 30px 60px -20px rgba(0, 0, 0, 0.25), 0 18px 36px -18px rgba(0, 0, 0, 0.18);
}
.browser-bar {
  height: 30px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  background: #f0f0f0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.browser-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d4d4d4;
}

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { scrollbar-width: none; }
