/* SpoofRay marketing site — single light world: security paper, navy ink, one blue, one counterfeit red. */

@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/public-sans-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Public Sans";
  font-style: italic;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/public-sans-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Noto Sans Arabic";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/noto-sans-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}

:root {
  color-scheme: light;
  --paper: #f4f5f7;
  --plate: #ffffff;
  --ink: #0b1220;
  --ink-2: #3d4757;
  --mute: #5b6680;
  --rule: #dde1e8;
  --rule-strong: #c5cbd6;
  --blue: #1877f2;
  --blue-ink: #0f5fcc;
  --blue-tint: #e8f1fe;
  --red: #c8102e;
  --red-tint: #fbe9ec;
  --sans: "Public Sans", "Noto Sans Arabic", "Helvetica Neue", Helvetica, Arial, "Segoe UI", Tahoma, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --measure: 62ch;
  --gutter: clamp(20px, 4vw, 48px);
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--sans);
  font-feature-settings: "tnum" 1, "kern" 1;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--blue); color: #fff; }
a { color: var(--blue-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; text-wrap: balance; letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0; max-width: var(--measure); }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.mono { font-family: var(--mono); font-size: 0.92em; letter-spacing: 0; }
bdi { unicode-bidi: isolate; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.nav .logo img { height: 30px; width: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.nav ul a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav ul a:hover { color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-ink); color: #fff; text-decoration: none;
  font-weight: 600; font-size: 15px; line-height: 1;
  padding: 13px 18px; border-radius: 6px; white-space: nowrap;
  transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: #0b4fae; }
.btn:active { transform: translateY(1px); }
.btn.quiet { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn.quiet:hover { background: var(--ink); color: #fff; }
.btn.big { font-size: 17px; padding: 16px 22px; }
@media (max-width: 760px) { .nav ul { display: none; } }

/* ---------- hero ---------- */
.hero { padding-block: 40px 0; }
.hero-top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.hero-aside { margin-top: 14px; }
.hero h1 { font-size: clamp(40px, 5.4vw, 62px); font-weight: 800; letter-spacing: -0.035em; max-width: 14ch; }
.hero h1 em { font-style: normal; color: var(--blue-ink); }
.hero .lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); margin-top: 16px; max-width: 58ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-aside { border-left: 1px solid var(--rule-strong); padding-left: 24px; color: var(--ink-2); font-size: 15px; display: grid; gap: 10px; }
.hero-aside strong { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) { .hero-top { grid-template-columns: 1fr; } .hero-aside { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule-strong); padding-top: 18px; } }

/* ---------- comparison plates ---------- */
.plates { margin-top: 28px; }
.plates-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.plate { margin: 0; background: var(--plate); border: 1px solid var(--rule-strong); position: relative; }
.plate figcaption {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; border-bottom: 1px solid var(--rule);
  font-size: 13px; font-weight: 700; letter-spacing: 0.02em; color: var(--ink-2);
}
.plate.fake figcaption { color: var(--red); }
.plate figcaption span { font-weight: 500; letter-spacing: 0; color: var(--mute); }
.browser { padding: 16px; }
.addr {
  position: relative; display: flex; align-items: center; gap: 10px;
  background: var(--paper); border: 1px solid var(--rule); border-radius: 6px;
  padding: 9px 12px; font-family: var(--mono); font-size: 13.5px; color: var(--ink-2);
  white-space: nowrap;
}
.addr svg { width: 14px; height: 14px; flex: none; color: var(--mute); }
.addr .host { color: var(--ink); }
.addr .tell { color: var(--red); font-weight: 600; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
.page { padding: 28px 16px 22px; display: grid; justify-items: center; gap: 10px; }
.page .bank { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; margin-bottom: 14px; }
.page .bank i { width: 26px; height: 26px; border-radius: 6px; background: var(--ink); display: inline-block; }
.page .bank i.copy { background: var(--ink); }
.field { width: min(280px, 100%); height: 38px; border: 1px solid var(--rule-strong); border-radius: 5px; background: #fff; position: relative; }
.field .callout { overflow: visible; }
.field::before { content: attr(data-label); position: absolute; left: 12px; top: 9px; font-size: 13px; color: var(--mute); }
.field.go { background: var(--blue-ink); border-color: var(--blue-ink); }
.field.go::before { color: #fff; font-weight: 600; }
.page small { color: var(--mute); font-size: 13px; margin-top: 6px; }
.callout {
  position: absolute; width: 26px; height: 26px; border-radius: 50%;
  background: var(--red); color: #fff; font-size: 13px; font-weight: 700;
  display: grid; place-items: center; box-shadow: 0 2px 6px rgba(200, 16, 46, 0.35);
}
.addr .tell { position: relative; }
.c1 { left: 50%; top: -30px; transform: translateX(-50%); }
.c2 { left: -9px; top: -9px; }
.c3 { right: -9px; top: -9px; }
.addr { overflow: visible; }
.legend {
  list-style: none; margin: 18px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 28px;
  font-size: 15px; color: var(--ink-2);
}
.legend li { display: flex; gap: 10px; align-items: flex-start; }
.legend b { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--red); color: #fff; font-size: 13px; display: grid; place-items: center; margin-top: 2px; }
.legend strong { color: var(--ink); font-weight: 600; }
.plates .note { font-size: 13px; color: var(--mute); margin-top: 14px; }
@media (max-width: 760px) { .plates-grid, .legend { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .addr .path { display: none; } .addr { font-size: 13px; } }

/* ---------- sections ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); border-top: 1px solid var(--rule); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; align-items: start; margin-bottom: clamp(32px, 4vw, 48px); }
.section h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; max-width: 18ch; }
.section-head p { color: var(--ink-2); font-size: 18px; }
@media (max-width: 760px) { .section-head { grid-template-columns: 1fr; } }

/* record line: the ruled evidence line under each section */
.record {
  margin-top: clamp(32px, 4vw, 48px); padding-top: 14px; border-top: 1px solid var(--rule-strong);
  display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; color: var(--mute);
  font-variant-numeric: tabular-nums;
}
.record b { color: var(--ink-2); font-weight: 600; }

/* how it works: a real sequence, so numbers carry meaning */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--rule-strong); }
.steps li { counter-increment: step; padding: 22px 22px 26px 0; border-top: 3px solid transparent; margin-top: -1px; position: relative; }
.steps li + li { border-left: 1px solid var(--rule); padding-left: 22px; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--mono); font-size: 13px; color: var(--blue-ink); font-weight: 600; margin-bottom: 14px; }
.steps h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.steps p { color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } .steps li:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .steps li + li { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); } }

/* capabilities: a ruled definition list, not cards */
.caps { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; margin: 0; }
.caps > div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--rule); }
.caps > div:nth-child(-n+2) { border-top: 1px solid var(--rule-strong); }
.caps dt { font-weight: 700; font-size: 16px; line-height: 1.35; }
.caps dd { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.caps dd ul { margin: 8px 0 0; padding-left: 18px; }
.caps dd li { margin: 3px 0; }
@media (max-width: 860px) { .caps { grid-template-columns: 1fr; } .caps > div:nth-child(2) { border-top: 1px solid var(--rule); } }
@media (max-width: 520px) { .caps > div { grid-template-columns: 1fr; gap: 6px; } }

/* evidence: product captures on their own plane, text never over them */
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.shot { margin: 0; background: var(--plate); border: 1px solid var(--rule-strong); }
.shot img { width: 100%; border-bottom: 1px solid var(--rule); }
.shot figcaption { padding: 14px 16px 18px; font-size: 15px; color: var(--ink-2); }
.shot figcaption strong { display: block; color: var(--ink); font-weight: 700; margin-bottom: 4px; }
.breakdown { list-style: none; margin: 0; padding: 0; font-size: 15.5px; color: var(--ink-2); }
.breakdown li { padding: 9px 0; border-top: 1px solid var(--rule); }
.breakdown li:first-child { border-top: 0; }
.evidence-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: start; margin-bottom: 28px; }
.shot.detail img { border-bottom: 1px solid var(--rule); }
.shot.detail { max-width: 520px; }
.evidence-side { background: var(--plate); border: 1px solid var(--rule-strong); padding: 18px 20px; }
.evidence-side h3 { font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.evidence-side p { font-size: 14px; color: var(--mute); margin-top: 12px; }
@media (max-width: 860px) { .shots, .evidence-grid { grid-template-columns: 1fr; } }

/* coverage: lookalike pairs */
.pairs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-strong); }
.pairs li { display: grid; grid-template-columns: 1fr 1fr 220px; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--rule); font-family: var(--mono); font-size: 15px; }
.pairs li span:last-child { font-family: var(--sans); font-size: 13px; color: var(--mute); text-align: right; }
.pairs .tell { color: var(--red); font-weight: 600; }
.pairs .head { font-family: var(--sans); font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--mute); }
@media (max-width: 600px) { .pairs li { grid-template-columns: 1fr 1fr; } .pairs li span:last-child { grid-column: 1 / -1; text-align: left; } .pairs li:first-child span:last-child { display: none; } }

/* why the certificate: two sourced figures, ruled, no tiles */
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; border-top: 1px solid var(--rule-strong); }
.facts div { padding: 22px 0 26px; border-bottom: 1px solid var(--rule); }
.facts .n { font-size: clamp(36px, 5vw, 56px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.facts p { color: var(--ink-2); margin-top: 10px; font-size: 15.5px; }
.facts cite { display: block; font-style: normal; font-size: 13px; color: var(--mute); margin-top: 8px; }
@media (max-width: 640px) { .facts { grid-template-columns: 1fr; } }

/* roadmap, labelled */
.roadmap { margin-top: 28px; font-size: 15px; color: var(--ink-2); border-top: 1px solid var(--rule); padding-top: 14px; }
.roadmap b { color: var(--ink); }

/* contact */
.contact { background: var(--ink); color: #fff; }
.contact .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.contact h2 { color: #fff; }
.contact p { color: #b7c0d1; font-size: 18px; margin-top: 16px; }
.contact .mail { display: grid; gap: 14px; justify-items: start; }
.contact .mail .btn { background: #fff; color: var(--ink); }
.contact .mail .btn:hover { background: var(--blue-tint); }
.contact .mail a.plain { color: #fff; font-family: var(--mono); font-size: 18px; }
.contact ul { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 8px; color: #b7c0d1; font-size: 15px; }
.contact ul li::before { content: "—"; color: var(--blue); margin-right: 10px; }
@media (max-width: 760px) { .contact .wrap { grid-template-columns: 1fr; } }

/* footer */
.foot { padding-block: 32px 40px; font-size: 14px; color: var(--mute); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; align-items: center; }
.foot img { height: 24px; width: auto; }
.foot p { max-width: none; }
.foot a { color: var(--ink-2); }
