/* ScrapedIn — marketing site
   Single stylesheet, no build step, no external dependencies. */

:root {
  --bg: #080b12;
  --bg-soft: #0d1220;
  --panel: #121a2b;
  --panel-2: #162034;
  --line: #243149;
  --line-soft: #1b2437;

  --ink: #eef2fb;
  --ink-2: #b7c2d8;
  --ink-3: #8592ac;

  --accent: #5b8cff;
  --accent-2: #8b5cf6;
  --mint: #34d8a8;
  --amber: #f5b544;

  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1120px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.022em;
  margin: 0 0 0.5em;
  font-weight: 650;
}

h1 { font-size: clamp(2.3rem, 5.4vw, 3.85rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); letter-spacing: -0.028em; }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1.1em; }

::selection { background: rgba(91, 140, 255, 0.32); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- layout ---------- */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding: clamp(64px, 9vw, 118px) 0; }
/* keep in-page anchor targets clear of the sticky nav */
section[id] { scroll-margin-top: 76px; }
.section--tight { padding: clamp(48px, 6vw, 78px) 0; }
.section--line { border-top: 1px solid var(--line-soft); }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 10px 0;
  z-index: 200;
}
.skip:focus { left: 0; }

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 11, 18, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-weight: 660;
  font-size: 1.09rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  flex: none;
}
.logo:hover { text-decoration: none; }
.logo__mark {
  width: 38px;
  height: 38px;
  flex: none;
  object-fit: contain;
  /* the source glyph's lower wing is a dark violet that sinks into the dark
     nav — lift it slightly and add the brand glow back in */
  filter: brightness(1.14) saturate(1.06)
    drop-shadow(0 2px 10px rgba(91, 140, 255, 0.45));
}
.logo--lg { font-size: 1.5rem; gap: 12px; }
.logo--lg .logo__mark { width: 54px; height: 54px; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}
/* :not(.btn) matters — a bare `.nav__links a` rule outranks `.btn--primary`
   on specificity and would repaint the CTA label grey. */
.nav__links a:not(.btn) {
  color: var(--ink-3);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}
.nav__links a:not(.btn):hover { color: var(--ink); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 11px;
  font-size: 0.97rem;
  font-weight: 570;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.14s ease,
    background 0.14s ease, border-color 0.14s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn--primary {
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 8px 26px rgba(91, 140, 255, 0.3);
}
.btn--primary:hover { box-shadow: 0 12px 32px rgba(91, 140, 255, 0.42); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--line);
  color: var(--ink);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.07); border-color: #33456a; }

.btn--lg { padding: 15px 30px; font-size: 1.03rem; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: clamp(72px, 11vw, 128px) 0 clamp(56px, 8vw, 92px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -280px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 700px;
  background: radial-gradient(
    ellipse at center,
    rgba(91, 140, 255, 0.19),
    rgba(139, 92, 246, 0.09) 42%,
    transparent 68%
  );
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 25%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 25%, #000, transparent 75%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }

.hero__inner { max-width: 800px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink-2);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 26px;
}
.eyebrow b {
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
}

.hero p.lede {
  font-size: clamp(1.06rem, 1.9vw, 1.24rem);
  color: var(--ink-2);
  max-width: 640px;
  margin-bottom: 34px;
}
.hero p.lede strong { color: var(--ink); font-weight: 600; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 13px; align-items: center; }

.hero__note {
  margin-top: 22px;
  font-size: 0.9rem;
  color: var(--ink-3);
}

.trustbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  margin-top: 46px;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.9rem;
  color: var(--ink-3);
}
.trustbar span { display: inline-flex; align-items: center; gap: 9px; }
.trustbar svg { flex: none; color: var(--mint); }

/* ---------- generic section head ---------- */

.head { max-width: 660px; margin-bottom: 52px; }
.head--center { margin-inline: auto; text-align: center; }
.head .kicker {
  display: block;
  font-size: 0.82rem;
  font-weight: 640;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.head p { font-size: 1.06rem; margin-bottom: 0; }

/* ---------- feature grid ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 20px;
}

.card {
  background: linear-gradient(180deg, var(--panel), var(--bg-soft));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.card:hover { border-color: var(--line); transform: translateY(-2px); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-3); font-size: 0.97rem; margin-bottom: 0; }

.card__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  background: rgba(91, 140, 255, 0.13);
  border: 1px solid rgba(91, 140, 255, 0.24);
  color: var(--accent);
}
.card__icon--mint {
  background: rgba(52, 216, 168, 0.12);
  border-color: rgba(52, 216, 168, 0.24);
  color: var(--mint);
}
.card__icon--violet {
  background: rgba(139, 92, 246, 0.14);
  border-color: rgba(139, 92, 246, 0.26);
  color: #a78bfa;
}
.card__icon--amber {
  background: rgba(245, 181, 68, 0.12);
  border-color: rgba(245, 181, 68, 0.24);
  color: var(--amber);
}

.card ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.93rem;
  color: var(--ink-3);
}
.card ul li {
  padding-left: 20px;
  position: relative;
  margin-bottom: 7px;
}
.card ul li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.65;
}

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
  counter-reset: step;
}
.step { position: relative; padding-top: 26px; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.step::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 34px;
  right: -22px;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}
.step:last-child::after { display: none; }
.step h3 { font-size: 1.06rem; margin-bottom: 8px; }
.step p { font-size: 0.95rem; color: var(--ink-3); margin-bottom: 0; }

/* ---------- data / scope table ---------- */

.panel {
  background: linear-gradient(180deg, var(--panel), var(--bg-soft));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 44px);
}

.tablewrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.015);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
  min-width: 560px;
}
thead th {
  text-align: left;
  font-size: 0.76rem;
  font-weight: 640;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.028);
  border-bottom: 1px solid var(--line-soft);
  white-space: nowrap;
}
tbody td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
  color: var(--ink-2);
}
tbody tr:last-child td { border-bottom: none; }

code, .scope {
  font-family: var(--mono);
  font-size: 0.85em;
  background: rgba(91, 140, 255, 0.1);
  border: 1px solid rgba(91, 140, 255, 0.2);
  color: #a8c1ff;
  padding: 2px 7px;
  border-radius: 6px;
  white-space: nowrap;
}

.tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 640;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(245, 181, 68, 0.14);
  border: 1px solid rgba(245, 181, 68, 0.3);
  color: var(--amber);
  margin-left: 6px;
  vertical-align: middle;
  white-space: nowrap;
}

/* ---------- callout ---------- */

.callout {
  border: 1px solid rgba(52, 216, 168, 0.26);
  background: rgba(52, 216, 168, 0.055);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 28px 0;
}
.callout h3 { font-size: 1.02rem; color: var(--mint); margin-bottom: 8px; }
.callout p:last-child { margin-bottom: 0; }
.callout--blue {
  border-color: rgba(91, 140, 255, 0.28);
  background: rgba(91, 140, 255, 0.06);
}
.callout--blue h3 { color: #93b4ff; }

/* ---------- faq ---------- */

.faq { display: grid; gap: 14px; max-width: 800px; }
.faq details {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.018);
  padding: 0 22px;
  transition: border-color 0.18s ease;
}
.faq details[open] { border-color: var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 19px 30px 19px 0;
  font-weight: 560;
  color: var(--ink);
  position: relative;
  font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--ink-3);
  line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details > p {
  margin: 0 0 20px;
  color: var(--ink-3);
  font-size: 0.97rem;
}

/* ---------- cta band ---------- */

.cta {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 80% 140% at 50% 0%, rgba(91, 140, 255, 0.17), transparent 70%),
    linear-gradient(180deg, var(--panel-2), var(--bg-soft));
  padding: clamp(38px, 6vw, 62px) clamp(24px, 5vw, 56px);
  text-align: center;
}
.cta h2 { margin-bottom: 14px; }
.cta p { max-width: 520px; margin-inline: auto; margin-bottom: 28px; }
.cta__row { display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; }

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--line-soft);
  padding: 56px 0 44px;
  background: var(--bg-soft);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}
.footer__blurb {
  color: var(--ink-3);
  font-size: 0.94rem;
  max-width: 330px;
  margin: 16px 0 0;
}
.footer h4 {
  font-size: 0.78rem;
  font-weight: 640;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 15px;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer ul li { margin-bottom: 10px; }
.footer ul a {
  color: var(--ink-2);
  font-size: 0.94rem;
  text-decoration: none;
}
.footer ul a:hover { color: var(--ink); }

.footer__bottom {
  border-top: 1px solid var(--line-soft);
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.87rem;
  color: var(--ink-3);
}
.footer__bottom p { margin: 0; }

/* ---------- legal pages ---------- */

.legal-hero {
  padding: clamp(56px, 8vw, 88px) 0 clamp(28px, 4vw, 44px);
  border-bottom: 1px solid var(--line-soft);
  position: relative;
  overflow: hidden;
}
.legal-hero::before {
  content: "";
  position: absolute;
  top: -320px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(91, 140, 255, 0.13), transparent 66%);
  pointer-events: none;
}
.legal-hero .wrap { position: relative; }
.legal-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 14px; }
.legal-hero .meta {
  color: var(--ink-3);
  font-size: 0.92rem;
  margin: 0;
}
.legal-hero .meta strong { color: var(--ink-2); font-weight: 560; }

.prose {
  max-width: 780px;
  margin-inline: auto;
  padding: clamp(40px, 6vw, 66px) 0 clamp(56px, 8vw, 96px);
}
.prose h2 {
  font-size: 1.42rem;
  margin-top: 2.4em;
  margin-bottom: 0.6em;
  scroll-margin-top: 90px;
}
.prose h2:first-of-type { margin-top: 0; }
.prose h3 {
  font-size: 1.06rem;
  margin-top: 1.9em;
  margin-bottom: 0.5em;
  color: var(--ink);
}
.prose p, .prose li { font-size: 1rem; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.55em; }
.prose li::marker { color: var(--ink-3); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose hr {
  border: none;
  border-top: 1px solid var(--line-soft);
  margin: 2.6em 0;
}
.prose .tablewrap { margin: 1.5em 0 1.8em; }
.prose .callout { margin: 1.8em 0; }

.toc {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.018);
  padding: 22px 24px;
  margin-bottom: 2.6em;
}
.toc h4 {
  font-size: 0.76rem;
  font-weight: 640;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 13px;
}
.toc ol {
  margin: 0;
  padding-left: 20px;
  columns: 2;
  column-gap: 30px;
  font-size: 0.93rem;
}
.toc li { margin-bottom: 6px; break-inside: avoid; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--accent); }

.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), var(--bg-soft));
  padding: 24px 26px;
  margin-top: 1.4em;
}
.contact-card p { margin-bottom: 0.5em; }
.contact-card p:last-child { margin-bottom: 0; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav__links { gap: 18px; }
  .nav__links .nav-hide { display: none; }
  .step::after { display: none; }
  .toc ol { columns: 1; }
  .trustbar { gap: 10px 20px; }
}

@media (max-width: 460px) {
  .wrap { padding-inline: 18px; }
  .hero__cta .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
