/* Scrapefighter — site stub styles. Self-contained, no external fonts. */
:root {
  --bg: #0b0d12;
  --bg-alt: #10131b;
  --panel: #151925;
  --line: #232a3a;
  --ink: #eef1f7;
  --ink-soft: #aab3c5;
  --ink-dim: #7b8497;
  --accent: #ff4d2e;
  --accent-ink: #1a0b07;
  --accent-2: #38d6ff;
  --radius: 14px;
  --max: 1100px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Inter, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
code { font: 0.9em var(--mono); background: var(--panel); padding: 0.1em 0.4em; border-radius: 6px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.6rem; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 760; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1rem; }

/* header */
.top {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em; }
.brand img { display: block; }
.nav { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: 0.95rem; }
.nav a:hover { color: var(--ink); }

/* buttons */
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 800;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  border: 2px solid var(--accent);
  transition: transform 120ms ease, background 120ms ease;
}
.btn:hover { transform: translateY(-1px); background: #ff6647; border-color: #ff6647; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--panel); border-color: var(--ink-dim); }
.btn--small { padding: 0.5rem 0.95rem; font-size: 0.9rem; color: var(--accent-ink) !important; }

/* hero: the stage shares the artwork's own navy (#000712, sampled from the image
   corners) so the illustration sits on the page without a visible box, then fades
   into the page background below the fold. */
.stage { background: #000712; }
.stage-end { height: 5rem; background: linear-gradient(180deg, #000712 0%, var(--bg) 100%); }
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4.5rem) 1.25rem 0;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(1.2rem, 3vw, 2.5rem);
  align-items: center;
}
/* the headline is allowed to run over the artwork: the picture's top-left is empty
   navy, so the text column stays narrow for the lead and the buttons while the h1
   spills across into the picture's corner */
.hero__text { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.4rem, 4.9vw, 4.3rem); width: 145%; max-width: none; }
.hero h1 .line { display: block; text-wrap: balance; }
.hero__art { width: 122%; margin: 6rem 0 0 -13%; }
.stage { overflow: hidden; }
.hero::before {
  content: "";
  position: absolute; inset: -40% -20% auto -20%; height: 120%;
  background:
    radial-gradient(60% 50% at 20% 30%, rgba(255, 77, 46, 0.16), transparent 60%),
    radial-gradient(40% 40% at 80% 20%, rgba(56, 214, 255, 0.10), transparent 60%);
  pointer-events: none; z-index: -1;
}
.hero__art { position: relative; }
.hero__art img {
  display: block; width: 100%; height: auto;
  /* soften the outer 6% so the paper grain never shows a hard edge */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
@media (max-width: 1200px) {
  .hero__art { width: 114%; margin: 5rem 0 0 -11%; }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 1.5rem; }
  .hero__art { width: auto; margin: 0.5rem -0.5rem 0; }
  .hero h1 { font-size: clamp(2.2rem, 8vw, 3rem); width: auto; }
}
.eyebrow {
  display: inline-block;
  font: 700 0.78rem/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(255, 77, 46, 0.45);
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 1.4rem;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--ink-soft); max-width: 46rem; }
.cta { display: flex; gap: 0.8rem; flex-wrap: wrap; margin: 1.6rem 0 1rem; }
.fine { color: var(--ink-dim); font-size: 0.9rem; }

/* sections */
.section { max-width: var(--max); margin: 0 auto; padding: 3.5rem 1.25rem; }
.section--alt { position: relative; }
.section--alt::before {
  content: ""; position: absolute; inset: 0 -100vw; background: var(--bg-alt); z-index: -1;
}
.section h2 { margin-bottom: 1.6rem; }
.grid { display: grid; gap: 1.1rem; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.1rem;
}
.card--tall { padding-bottom: 1.4rem; }
.card__label {
  font: 700 0.75rem/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 0.9rem;
}
.card p { color: var(--ink-soft); }
.ticks { list-style: none; padding: 0; margin: 0.4rem 0 0; }
.ticks li { padding-left: 1.5rem; position: relative; color: var(--ink-soft); margin: 0.35rem 0; }
.ticks li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: step; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.3rem 0.9rem; position: relative; }
.steps li::before {
  content: counter(step);
  display: inline-grid; place-items: center;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  font: 800 0.95rem/1 var(--mono);
  margin-bottom: 0.8rem;
}
.steps p { color: var(--ink-soft); font-size: 0.97rem; }

.principle h3 { color: var(--ink); }
.principle p { color: var(--ink-soft); }

.origin { text-align: center; padding-bottom: 5rem; }
.origin .lead { margin: 0 auto 1rem; }
.origin .cta { justify-content: center; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 1.6rem 1.25rem 2.4rem; text-align: center; color: var(--ink-dim); font-size: 0.92rem; }
.foot p { margin: 0.25rem 0; }
.foot a { color: var(--ink-soft); }

/* products menu (CSS only: hover or keyboard focus opens it; on phones the
   "Products" link simply scrolls to the section) */
.menu { position: relative; }
.menu > a::after { content: " \25BE"; font-size: 0.8em; }
/* hover bridge: the gap between the trigger and the list stays inside .menu, so
   moving the pointer down to the items never closes the menu */
.menu::after { content: ""; position: absolute; left: -1rem; right: -1rem; top: 100%; height: 0.9rem; }
.menu__list {
  position: absolute; top: calc(100% + 0.6rem); left: -0.5rem; min-width: 19rem;
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  padding: 0.45rem; display: none; flex-direction: column; gap: 0.1rem; z-index: 10;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}
.menu:hover .menu__list, .menu:focus-within .menu__list { display: flex; }
.menu__list a { display: block; padding: 0.55rem 0.7rem; border-radius: 8px; color: var(--ink); font-weight: 700; font-size: 0.93rem; }
.menu__list a small { display: block; color: var(--ink-dim); font-weight: 500; font-size: 0.8rem; margin-top: 0.1rem; }
.menu__list a:hover { background: var(--bg-alt); }
@media (max-width: 860px) { .menu:hover .menu__list, .menu:focus-within .menu__list { display: none; } .menu > a::after { content: ""; } }

/* products and actions */
.product { display: flex; flex-direction: column; }
.product__meta { margin: auto 0 0; padding-top: 0.9rem; border-top: 1px solid var(--line); color: var(--ink-dim); font-size: 0.9rem; }
.product .ticks { margin-bottom: 1rem; }
.providers { color: var(--ink-soft); font-size: 0.95rem; margin: -0.2rem 0 1rem; }
.providers strong { color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.4rem 0 0.4rem; padding: 0; list-style: none; }
.actions li { font: 700 0.76rem/1 var(--mono); letter-spacing: 0.04em; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 0.42rem 0.62rem; background: var(--bg-alt); }

/* legal pages */
.prose { max-width: 46rem; padding-top: 2.5rem; }
.prose h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 0.4rem; }
.prose h2 { font-size: 1.25rem; margin: 2rem 0 0.5rem; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { padding-left: 1.3rem; }
.prose a { color: var(--ink); }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 2rem 1.25rem; }
.notfound h1 { font-size: clamp(3rem, 12vw, 7rem); color: var(--accent); margin-bottom: 0.2rem; }
