/* ───────────────────────── REDACT · base tokens ───────────────────────── */
@font-face { font-family: "Tight"; src: url("../public/fonts/InterTight-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Tight"; src: url("../public/fonts/InterTight-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Tight"; src: url("../public/fonts/InterTight-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../public/fonts/Inter-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../public/fonts/Inter-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Mono"; src: url("../public/fonts/JetBrainsMono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Mono"; src: url("../public/fonts/JetBrainsMono-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #000;
  --bg-1: #070707;
  --bg-2: #0c0c0c;
  --bg-3: #131313;
  --line: #1c1c1c;
  --line-2: #2a2a2a;
  --text: #f4f4f4;
  --text-2: #b9b9b9;
  --muted: #7a7a7a;
  --dim: #4a4a4a;
  --red: #ff2b2b;
  --red-2: #d61f1f;
  --red-glow: rgba(255, 43, 43, .35);
  --red-soft: rgba(255, 43, 43, .08);
  --ok: #3ddc84;

  --f-head: "Tight", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --f-mono: "Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --r: 10px;
  --r-lg: 16px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gut: clamp(16px, 4vw, 56px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 15px/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--red); color: #000; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
img, svg, canvas { display: block; }
h1, h2, h3, h4 { font-family: var(--f-head); margin: 0; letter-spacing: -0.035em; line-height: .95; font-weight: 800; }
p { margin: 0; }

/* mono kicker labels, banner style: "01 · LAUNCH" */
.kick {
  font: 600 10.5px/1 var(--f-mono);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex; align-items: center; gap: 10px;
}
.kick.gray { color: var(--muted); }
.mono { font-family: var(--f-mono); }
.red { color: var(--red); }
.muted { color: var(--muted); }

/* the redaction bar: ■■■■ */
.bar {
  display: inline-block;
  vertical-align: middle;
  height: .62em;
  width: 3.2em;
  background: repeating-linear-gradient(90deg, var(--red) 0 .52em, transparent .52em .66em);
  transform: translateY(-.06em);
}
.bar.w2 { width: 2em; } .bar.w5 { width: 5em; }
.bar.solid { background: var(--red); }

/* brand mark  [▬] */
.mark { display: inline-flex; align-items: center; gap: 10px; font: 700 15px/1 var(--f-mono); letter-spacing: .32em; }
.mark svg { width: 22px; height: 22px; }

/* buttons */
.btn {
  --h: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 20px;
  border-radius: 999px;
  font: 600 14px/1 var(--f-body);
  letter-spacing: -0.005em;
  transition: transform .4s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .3s;
  white-space: nowrap;
  position: relative; isolation: isolate; overflow: hidden;
}
.btn-white { background: var(--text); color: #000; }
.btn-white:hover { background: #fff; box-shadow: 0 0 0 6px rgba(255,255,255,.06); }
.btn-red { background: var(--red); color: #000; }
.btn-red:hover { box-shadow: 0 0 34px var(--red-glow); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: #555; background: var(--bg-2); }
.btn-sm { --h: 34px; padding: 0 14px; font-size: 13px; }
.btn .arr { transition: transform .4s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn:disabled { opacity: .4; pointer-events: none; }

/* panels like the banner cards */
.card {
  background: linear-gradient(180deg, #0e0e0e, #090909);
  border: 1px solid var(--line);
  border-radius: var(--r);
  position: relative;
}

/* grain + grid bg */
.grain {
  position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }

.dots {
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* cursor */
.cursor { position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none; mix-blend-mode: difference; }
.cursor .c-dot { width: 6px; height: 6px; background: #fff; position: absolute; transform: translate(-50%,-50%); }
.cursor .c-ring {
  width: 34px; height: 34px; position: absolute; transform: translate(-50%,-50%);
  transition: width .35s var(--ease), height .35s var(--ease);
}
.cursor .c-ring::before, .cursor .c-ring::after {
  content: ""; position: absolute; inset: 0; border: 1.5px solid #fff;
  clip-path: polygon(0 0, 28% 0, 28% 100%, 0 100%);
}
.cursor .c-ring::after { clip-path: polygon(72% 0, 100% 0, 100% 100%, 72% 100%); }
.cursor.hover .c-ring { width: 54px; height: 54px; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* toast */
.toasts { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 300; display: grid; gap: 8px; pointer-events: none; }
.toast {
  font: 500 12.5px/1 var(--f-mono); letter-spacing: .02em;
  background: #0e0e0e; border: 1px solid var(--line-2); border-left: 3px solid var(--red);
  padding: 12px 16px; border-radius: 8px; color: var(--text);
  animation: tin .5s var(--ease) both;
  white-space: nowrap;
}
.toast.out { animation: tout .4s ease both; }
@keyframes tin { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes tout { to { opacity: 0; transform: translateY(6px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .grain { display: none; }
}
