/* ==========================================================================
   YouTube Copyright Strikes — landing
   Light theme with a dark accent section.
   Tokens: Wix Madefor Display 500/600/700 · Wix Madefor Text 400/500
           ink #0f0f0f · paper #fff · surface #f7f9fc · red #ff0000 · blue #065fd4
           easing cubic-bezier(.22,1,.36,1)
   ========================================================================== */

:root {
  --ink:        #0f0f0f;
  --muted:      #5c626b;
  --faint:      #8b919b;
  --paper:      #ffffff;
  --surface:    #f7f9fc;
  --surface-2:  #eef2f8;
  --line:       #e5e9f0;
  --line-soft:  #eef1f6;

  --dark:       #0d0e12;
  --dark-2:     #15161c;
  --on-dark:    #f4f5f8;
  --on-dark-mut:#9aa0ad;

  --red:        #ff0000;
  --red-deep:   #cc0000;
  --blue:       #065fd4;
  --blue-deep:  #0546a4;

  --ease:       cubic-bezier(.22, 1, .36, 1);
  --pad:        clamp(20px, 5vw, 64px);
  --r-pill:     999px;
  --r-card:     18px;

  --t-fill:  500ms;
  --t-label: 320ms;
  --t-arrow: 520ms;
  --t-lift:  620ms;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

section[id], [id] {
  scroll-margin-top: 84px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Wix Madefor Text', system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: 'Wix Madefor Display', system-ui, sans-serif; font-weight: 600; margin: 0; hyphens: none; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding-inline: var(--pad); }
.wrap--narrow { max-width: 820px; }

/* ── nav ──────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px var(--pad);
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background var(--t-fill) var(--ease), border-color var(--t-fill) var(--ease);
}
.nav.is-stuck { background: rgba(255,255,255,.9); border-bottom-color: var(--line-soft); }
.brand { display: inline-flex; align-items: center; gap: 9px; min-height: 40px; }
.brand__img { display: block; height: 21px; width: auto; object-fit: contain; }
.brand__logo { display: inline-flex; }
.brand__logo svg { display: block; }
.brand__word { font-family: 'Wix Madefor Display', system-ui, sans-serif; font-weight: 700; font-size: 20px; letter-spacing: -.03em; color: var(--ink); line-height: 1; }
.brand__sep { width: 1px; height: 18px; background: var(--line); margin: 0 3px; }
.brand__tag { font-size: 14px; color: var(--muted); letter-spacing: -.1px; }
.nav__links { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); margin-left: auto; }
.navlink { font-size: 14px; color: var(--muted); position: relative; transition: color var(--t-label) var(--ease); }
.navlink::after { content:""; position:absolute; left:0; right:0; bottom:-4px; height:1.5px; background:var(--red); transform:scaleX(0); transform-origin:left; transition:transform var(--t-arrow) var(--ease); }
.navlink:hover { color: var(--ink); }
.navlink:hover::after { transform: scaleX(1); }
.nav__cta {
  padding: 9px 18px; border-radius: var(--r-pill);
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 500;
  transition: transform var(--t-lift) var(--ease), background var(--t-label) var(--ease);
}
.nav__cta:hover { background: #000; transform: translateY(-1px); }
@media (max-width: 900px) { .nav__links { display: none; } .nav__cta { margin-left: auto; } }
@media (max-width: 520px) { .brand__sep, .brand__tag { display: none; } }

/* ── hero — copy on white (left), page dissolves into rock (right) ─────── */
@keyframes spin { to { transform: rotate(360deg); } }

/* two columns: copy on the left, a real scan-result card on the right.
   the grid is capped and centred so it never spreads across a 27" display */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 116px var(--pad) 64px;
  background:
    radial-gradient(46% 42% at 80% 34%, rgba(6,95,212,.045), transparent 62%),
    radial-gradient(40% 40% at 12% 14%, rgba(255,0,0,.03), transparent 60%),
    #ffffff;
}
.hero__grid {
  width: 100%;
  max-width: 1180px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  align-items: center;
  gap: clamp(32px, 5vw, 84px);
}

.hero__copy {
  position: relative; z-index: 1;
  width: 100%; max-width: 620px;
  display: flex; flex-direction: column; align-items: flex-start; text-align: left;
}

.hero__status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: var(--r-pill);
  background: var(--paper); border: 1px solid var(--line);
  box-shadow: 0 4px 14px rgba(20,32,56,.05);
  font-size: 12.5px; color: var(--muted); margin-bottom: clamp(18px,3vh,28px);
}
.hero__status .dot { width: 7px; height: 7px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 0 rgba(22,163,74,.5); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(22,163,74,.45);} 70%{box-shadow:0 0 0 7px rgba(22,163,74,0);} 100%{box-shadow:0 0 0 0 rgba(22,163,74,0);} }

.hero__title { font-size: clamp(2rem, 4.6vw, 3.5rem); line-height: 1; letter-spacing: -.03em; }
.hero__line { display: block; }
.hero__lede { margin-top: clamp(16px,2vh,22px); max-width: 44ch; color: var(--muted); font-size: clamp(15px,1.3vw,18px); }

/* ── hero mockup card ─────────────────────────────────────────────────── */
.mock { position: relative; z-index: 1; justify-self: center; width: 100%; max-width: 400px; animation: floaty 2.2s ease-in-out infinite; }
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-22px) rotate(-1.1deg); }
}
.mock__card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 30px 60px -24px rgba(20,32,56,.28), 0 6px 16px rgba(20,32,56,.06);
}
.mock__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.mock__eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.mock__status { font-size: 11.5px; font-weight: 600; color: var(--red-deep); background: rgba(255,0,0,.07); padding: 4px 10px; border-radius: var(--r-pill); }
.mock__ch { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; margin-bottom: 6px; border-bottom: 1px solid var(--line-soft); }
.mock__avatar { width: 42px; height: 42px; border-radius: 50%; flex: none; object-fit: cover; background: conic-gradient(from 210deg, #e8edf5, #d7dfec, #eef2f8); }
.mock__chinfo { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mock__chname { display: inline-flex; align-items: center; gap: 5px; font-family: 'Wix Madefor Display',sans-serif; font-weight: 600; font-size: 15px; }
.mock__verified { width: 15px; height: 15px; }
.mock__chsub { font-size: 12.5px; color: var(--muted); }
.mock__rows { list-style: none; margin: 0; padding: 6px 0 4px; }
.mock__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: 13.5px; }
.mock__row:last-child { border-bottom: 0; }
.mock__k { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); }
.mock__k .ico { width: 16px; height: 16px; color: var(--faint); }
.mock__row b { font-weight: 600; color: var(--ink); }
.mock__row.is-bad .mock__k .ico { color: var(--red); }
.mock__row.is-bad b { color: var(--red-deep); }
.mock__foot { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-soft); font-size: 12px; color: var(--faint); }
.mock__pulse { width: 7px; height: 7px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 0 rgba(22,163,74,.5); animation: pulse 2.4s var(--ease) infinite; }

/* small floating "good standing" chip for depth + to show the other state */
.mock__peek {
  position: absolute; left: -26px; bottom: -22px;
  display: flex; align-items: center; gap: 10px;
  padding: 11px 15px; border-radius: 14px;
  background: var(--paper); border: 1px solid var(--line);
  box-shadow: 0 20px 40px -18px rgba(20,32,56,.3);
  font-size: 12px; line-height: 1.25; color: var(--muted);
  animation: floatyPeek 2s ease-in-out infinite; animation-delay: -1s;
}
@keyframes floatyPeek {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-15px) scale(1.03); }
}
.mock__peek b { color: var(--ink); font-weight: 600; }
.mock__peek-ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: rgba(22,163,74,.12); color: #16a34a; flex: none; }
.mock__peek-ic .ico { width: 17px; height: 17px; }

@media (max-width: 900px) {
  .hero { padding-top: 100px; padding-bottom: 40px; }
  .hero__grid { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 36px; }
  .hero__copy { align-items: center; text-align: center; }
  .hero__lede { margin-inline: auto; }
  .mock { max-width: 360px; }
  .mock__peek { left: -14px; }
}
@media (max-width: 560px) {
  .hero { padding-top: 86px; padding-bottom: 32px; min-height: auto; }
  .hero__title { font-size: clamp(1.85rem, 8vw, 2.5rem); }
  .hero__lede { font-size: 15px; }
  .mock { max-width: 100%; animation: none; }
  .mock__card { padding: 16px; border-radius: 16px; }
  .mock__peek { position: static; margin: 12px auto 0; width: 100%; max-width: 100%; justify-content: center; animation: none; }
  .modal { padding: 12px; }
  .modal__card { padding: 20px 16px 18px; border-radius: 18px; }
  .scanstep { font-size: 12.5px; gap: 8px; }
  .scanstep__val { font-size: 11px; }
}

/* search */
.finder {
  position: relative; display: flex; align-items: center; gap: 10px;
  width: 100%; max-width: 640px; margin-top: clamp(26px,4vh,38px);
  padding: 7px 7px 7px 20px;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-pill);
  box-shadow: 0 16px 40px rgba(20,32,56,.08), 0 2px 6px rgba(20,32,56,.04);
  transition: border-color var(--t-label) var(--ease), box-shadow var(--t-fill) var(--ease);
}
.finder:focus-within { border-color: var(--blue); box-shadow: 0 16px 40px rgba(6,95,212,.16), 0 0 0 4px rgba(6,95,212,.12); }
.finder.is-wrong { border-color: var(--red); box-shadow: 0 0 0 4px rgba(255,0,0,.10); }
.finder__icon { color: var(--faint); }
.finder__input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 13px 0; font-size: 16px; }
.finder__input::placeholder { color: var(--faint); }
.finder__go { position: relative; overflow: hidden; flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 13px 26px; border: 0; border-radius: var(--r-pill); background: var(--blue); color: #fff; font-weight: 500; font-size: 15px; cursor: pointer; min-height: 44px; }
.finder__go-fill { position: absolute; inset: 0; background: var(--blue-deep); transform: scaleX(0); transform-origin: left; transition: transform var(--t-fill) var(--ease); }
.finder__go:hover .finder__go-fill { transform: scaleX(1); }
.finder__go-label { position: relative; z-index: 2; }
.finder__go-arrow { position: relative; z-index: 2; width: 18px; height: 18px; transition: transform var(--t-arrow) var(--ease); }
.finder__go:hover .finder__go-arrow { transform: translateX(4px); }
.finder__go[disabled] { opacity: .65; cursor: default; }
.finder__note { min-height: 20px; margin-top: 12px; font-size: 13px; color: var(--red-deep); }
@media (max-width: 560px) { .finder { flex-wrap: wrap; padding: 12px 16px; border-radius: 24px; row-gap: 10px; } .finder__input { flex: 1 1 140px; padding: 6px 0; } .finder__go { flex: 1 1 100%; justify-content: center; } }

/* formats + trust */
.formats { margin-top: clamp(20px,3vh,30px); width: 100%; }
.formats__chips { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 15px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--paper); color: var(--muted); font-family: ui-monospace,SFMono-Regular,Menlo,monospace; font-size: 12.5px; cursor: pointer; transition: background var(--t-label) var(--ease), border-color var(--t-label) var(--ease), color var(--t-label) var(--ease), transform var(--t-lift) var(--ease); }
@media (max-width: 640px) { .chip { min-height: 44px; padding: 10px 16px; } }
.chip:hover { background: var(--surface-2); border-color: #d5dbe6; color: var(--ink); transform: translateY(-2px); }
/* neutral helper text, not an error style (point 1.4) */
.formats__notice { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; color: var(--muted); font-size: 12.5px; }
.formats__notice .ico { width: 15px; height: 15px; color: var(--faint); }
.formats__notice span { font-family: ui-monospace,SFMono-Regular,Menlo,monospace; color: var(--ink); }
/* stronger, weightier trust badges (point 1.5) */
.trust { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 10px; margin-top: clamp(24px,3.6vh,34px); }
@media (max-width: 900px) { .formats__chips, .trust { justify-content: center; } }
.trust__item { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink); }
.trust__item .ico { width: 16px; height: 16px; color: #16a34a; stroke-width: 2; }

/* ── section heads ────────────────────────────────────────────────────── */
.sec-head { max-width: 640px; margin: 0 auto clamp(38px,6vh,60px); text-align: center; }
.sec-head__eyebrow { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.sec-head__eyebrow--red { color: #ff5a4d; }
.sec-head__title { font-size: clamp(1.7rem, 3.6vw, 2.7rem); line-height: 1.06; letter-spacing: -.025em; }
.sec-head__lede { margin-top: 14px; color: var(--muted); font-size: clamp(15px,1.2vw,17px); }
.sec-head--dark .sec-head__title { color: var(--on-dark); }
.sec-head--dark .sec-head__lede { color: var(--on-dark-mut); }

/* ── stats ────────────────────────────────────────────────────────────── */
.stats { padding: clamp(40px,7vh,72px) 0; background: var(--surface); border-block: 1px solid var(--line-soft); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px,3vw,40px); text-align: center; }
.stat { display: flex; flex-direction: column; gap: 8px; }
.stat__num { font-family: 'Wix Madefor Display',sans-serif; font-weight: 700; font-size: clamp(1.9rem,4vw,3rem); letter-spacing: -.02em; line-height: 1; }
.stat__label { font-size: 13.5px; color: var(--muted); }
@media (max-width: 640px) { .stats__grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; } }

/* ── how it works ─────────────────────────────────────────────────────── */
.how { padding: clamp(64px,10vh,120px) 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px,2.4vw,28px); }
.step {
  position: relative; padding: 30px 26px 28px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: 0 1px 3px rgba(20,32,56,.04);
  transition: transform var(--t-lift) var(--ease), box-shadow var(--t-lift) var(--ease), border-color var(--t-lift) var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(20,32,56,.09); border-color: #d7deea; }
.step__num { position: absolute; top: 22px; right: 24px; font-family: 'Wix Madefor Display',sans-serif; font-weight: 700; font-size: 15px; color: var(--faint); letter-spacing: .04em; }
.step__ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(6,95,212,.12), rgba(6,95,212,.05)); color: var(--blue); margin-bottom: 18px; }
.step__ico .ico { width: 24px; height: 24px; }
.step__title { font-size: 18px; margin-bottom: 8px; }
.step__text { color: var(--muted); font-size: 14.5px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ── risk (dark inset) ────────────────────────────────────────────────── */
.risk { position: relative; padding: clamp(64px,10vh,120px) 0; background: var(--dark); overflow: hidden; }
.risk__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 40% at 78% 8%, rgba(255,0,0,.18), transparent 60%), radial-gradient(46% 40% at 12% 96%, rgba(255,0,0,.10), transparent 60%); }
.risk .wrap { position: relative; z-index: 1; }
.risk__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rcard { padding: 26px 24px; border-radius: var(--r-card); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.09); transition: transform var(--t-lift) var(--ease), border-color var(--t-lift) var(--ease), background var(--t-lift) var(--ease); }
.rcard:hover { transform: translateY(-4px); border-color: rgba(255,90,77,.4); background: linear-gradient(180deg, rgba(255,60,45,.10), rgba(255,255,255,.02)); }
.rcard--wide { grid-column: span 1; }
.rcard__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; color: #ff6a5c; }
.rcard__head .ico { width: 24px; height: 24px; }
.rcard__count { font-family: 'Wix Madefor Display',sans-serif; font-weight: 700; font-size: 18px; color: #ff8a7d; }
.rcard__title { font-size: 18px; color: var(--on-dark); margin-bottom: 8px; }
.rcard__text { color: var(--on-dark-mut); font-size: 14px; }
@media (min-width: 821px) { .rcard--wide { grid-row: span 2; display: flex; flex-direction: column; justify-content: center; background: linear-gradient(180deg, rgba(255,60,45,.14), rgba(255,255,255,.02)); border-color: rgba(255,90,77,.28); } .rcard--wide .rcard__title { font-size: 24px; } .rcard--wide .rcard__text { font-size: 15px; } }
@media (max-width: 820px) { .risk__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .risk__grid { grid-template-columns: 1fr; } }

/* ── what we scan ─────────────────────────────────────────────────────── */
.scan { padding: clamp(64px,10vh,120px) 0; background: var(--surface); border-block: 1px solid var(--line-soft); }
.scan__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fcard { padding: 26px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: 0 1px 3px rgba(20,32,56,.04); transition: transform var(--t-lift) var(--ease), box-shadow var(--t-lift) var(--ease); }
.fcard:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(20,32,56,.08); }
.fcard__i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255,0,0,.07); color: var(--red-deep); margin-bottom: 16px; }
.fcard__i .ico { width: 22px; height: 22px; }
.fcard h3 { font-size: 16px; margin-bottom: 7px; }
.fcard p { color: var(--muted); font-size: 14px; }
@media (max-width: 820px) { .scan__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .scan__grid { grid-template-columns: 1fr; } }

/* ── faq ──────────────────────────────────────────────────────────────── */
.faq { padding: clamp(64px,10vh,120px) 0; }
.acc__item { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; overflow: hidden; background: var(--paper); transition: border-color var(--t-label) var(--ease), box-shadow var(--t-lift) var(--ease); }
.acc__item.is-open { border-color: #d3ddee; box-shadow: 0 12px 30px rgba(20,32,56,.06); }
.acc__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 22px; background: transparent; border: 0; text-align: left; font-family: 'Wix Madefor Display',sans-serif; font-weight: 600; font-size: 16px; cursor: pointer; }
.acc__plus { width: 20px; height: 20px; color: var(--muted); transition: transform var(--t-arrow) var(--ease); }
.acc__item.is-open .acc__plus { transform: rotate(135deg); color: var(--red); }
.acc__a { max-height: 0; overflow: hidden; transition: max-height var(--t-fill) var(--ease); }
.acc__a p { padding: 0 22px 20px; color: var(--muted); font-size: 14.5px; }

/* ── final cta ────────────────────────────────────────────────────────── */
.cta { padding: clamp(64px,10vh,110px) 0; }
.cta__inner { text-align: center; background: linear-gradient(135deg, var(--dark), var(--dark-2)); border-radius: 26px; padding: clamp(44px,7vw,72px) 32px; position: relative; overflow: hidden; }
.cta__inner::before { content:""; position:absolute; inset:0; background: radial-gradient(50% 60% at 50% 0%, rgba(255,0,0,.16), transparent 60%); pointer-events:none; }
.cta__title { position: relative; font-size: clamp(1.7rem,3.6vw,2.6rem); color: var(--on-dark); letter-spacing: -.025em; }
.cta__lede { position: relative; margin-top: 12px; color: var(--on-dark-mut); }
.cta__btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 9px; margin-top: 26px; padding: 15px 30px; border-radius: var(--r-pill); background: #fff; color: var(--ink); font-weight: 600; }
.cta__btn .btn__fill { position: absolute; inset: 0; background: #ffe9e7; transform: scaleX(0); transform-origin: left; transition: transform var(--t-fill) var(--ease); }
.cta__btn:hover .btn__fill { transform: scaleX(1); }
.cta__btn .btn__label, .cta__btn .ico { position: relative; z-index: 2; }
.cta__btn .ico { width: 19px; height: 19px; transition: transform var(--t-arrow) var(--ease); }
.cta__btn:hover .ico { transform: translateX(4px); }

/* ── footer ───────────────────────────────────────────────────────────── */
.foot { border-top: 1px solid var(--line); background: var(--surface); padding: clamp(44px,6vh,68px) 0 26px; }
.foot__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: clamp(28px,4vw,56px); }
.foot__brandcol { max-width: 420px; }
.foot__brand { display: inline-flex; align-items: center; gap: 9px; }
.foot__brand .brand__img { height: 19px; width: auto; object-fit: contain; }
.foot__brand .brand__word { font-size: 18px; }
.foot__tagword { font-size: 14px; color: var(--muted); padding-left: 9px; border-left: 1px solid var(--line); }
.foot__tag { margin-top: 14px; font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.foot__trust { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 18px; }
.foot__trust span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.foot__trust .ico { width: 15px; height: 15px; color: #16a34a; }
.foot__col { display: flex; flex-direction: column; gap: 12px; }
.foot__h { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 2px; }
.foot__col a { font-size: 14px; color: var(--muted); width: max-content; transition: color var(--t-label) var(--ease); }
.foot__col a:hover { color: var(--ink); }
.foot__bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: clamp(30px,4vh,48px); padding-top: 22px; border-top: 1px solid var(--line); }
.foot__legal { font-size: 12.5px; color: var(--faint); }
.foot__barlinks { display: inline-flex; gap: 18px; }
.foot__priv { font-size: 12.5px; color: var(--muted); }
.foot__priv:hover { color: var(--ink); }
@media (max-width: 700px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__brandcol { grid-column: 1 / -1; } }

/* ── shared modal button ──────────────────────────────────────────────── */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 46px; padding: 12px 24px; border: 0; border-radius: var(--r-pill); font-weight: 500; font-size: 15px; cursor: pointer; }
.btn--solid { background: var(--blue); color: #fff; }
.btn--solid .btn__fill { position: absolute; inset: 0; background: var(--blue-deep); transform: scaleX(0); transform-origin: left; transition: transform var(--t-fill) var(--ease); }
.btn--solid:hover .btn__fill { transform: scaleX(1); }
.btn__label { position: relative; z-index: 2; }
.btn--ghost { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.btn--ghost:hover { background: var(--surface); color: var(--ink); }

/* ── modal ────────────────────────────────────────────────────────────── */
.modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; visibility: hidden; opacity: 0; transition: opacity 260ms var(--ease), visibility 260ms var(--ease); }
.modal.is-open { visibility: visible; opacity: 1; }
.modal__scrim { position: absolute; inset: 0; background: rgba(15,20,32,.5); backdrop-filter: blur(4px); }
.modal__card { position: relative; width: 100%; max-width: 430px; background: var(--paper); border-radius: 22px; padding: 26px 26px 22px; box-shadow: 0 30px 70px rgba(15,20,40,.28); transform: translateY(14px) scale(.98); transition: transform 300ms var(--ease); text-align: center; }
.modal.is-open .modal__card { transform: none; }
.modal__x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; z-index: 20; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--faint); cursor: pointer; transition: background var(--t-label) var(--ease), color var(--t-label) var(--ease); pointer-events: auto; }
.modal__x:hover { background: var(--surface-2); color: var(--ink); }
.modal__x * { pointer-events: none; }
.modal__x .ico { width: 20px; height: 20px; }
.modal__phase { animation: phaseMorph 200ms cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.modal__phase[hidden] { display: none; }
@keyframes phaseMorph { 0% { opacity: 0; transform: scale(0.98); } 100% { opacity: 1; transform: scale(1); } }
.modal__title { font-size: 19px; margin-top: 2px; }
/* scan console (loading phase) */
.scanhead { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-bottom: 16px; }
.scanhead__radar { position: relative; width: 46px; height: 46px; margin-bottom: 4px; display: grid; place-items: center; }
.scanhead__radar i { position: absolute; inset: 0; margin: auto; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--red); opacity: 0; animation: radar 2.2s var(--ease) infinite; }
.scanhead__radar i:nth-child(2) { animation-delay: .73s; }
.scanhead__radar i:nth-child(3) { animation-delay: 1.46s; }
.scanhead__radar::after { content:""; position:absolute; width:12px; height:12px; border-radius:50%; background: var(--red); box-shadow: 0 0 14px rgba(255,0,0,.7); }
@keyframes radar { 0% { transform: scale(.2); opacity: .8; } 100% { transform: scale(1); opacity: 0; } }
.scanhead__sub { font-size: 13px; color: var(--muted); min-height: 18px; font-family: ui-monospace,SFMono-Regular,Menlo,monospace; }

.scansteps { list-style: none; margin: 0 0 14px; padding: 0; text-align: left; }
.scanstep { display: flex; align-items: center; gap: 11px; padding: 6px 4px; font-size: 13.5px; color: var(--faint); opacity: .5; transition: opacity var(--t-label) var(--ease), color var(--t-label) var(--ease); }
.scanstep__dot { position: relative; width: 18px; height: 18px; flex: none; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper); transition: border-color var(--t-label) var(--ease); }
.scanstep__label { flex: 1; }
.scanstep__val { font-family: ui-monospace,SFMono-Regular,Menlo,monospace; font-size: 12px; color: var(--faint); }
.scanstep.is-active { opacity: 1; color: var(--ink); }
.scanstep.is-active .scanstep__dot { border-color: var(--blue); }
.scanstep.is-active .scanstep__dot::after { content:""; position:absolute; inset:2px; border-radius:50%; border:2px solid rgba(6,95,212,.25); border-top-color: var(--blue); animation: spin .7s linear infinite; }
.scanstep.is-done { opacity: 1; color: var(--ink); }
.scanstep.is-done .scanstep__dot { border-color: #16a34a; background: #16a34a; }
.scanstep.is-done .scanstep__dot::after { content:""; position:absolute; inset:0; background: no-repeat center/10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.6l4.6 4.4L19 7'/%3E%3C/svg%3E"); }
.scanstep.is-flag { opacity: 1; color: var(--ink); }
.scanstep.is-flag .scanstep__val { color: var(--red-deep) !important; font-weight: 600; }
.scanstep.is-flag .scanstep__dot { border-color: var(--red) !important; background: var(--red) !important; }
.scanstep.is-flag .scanstep__dot::after { content:""; position:absolute; inset:0; background: no-repeat center/9px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 8v5M12 16h.01'/%3E%3C/svg%3E") !important; }
.scanstep.is-good .scanstep__val { color: #16a34a; font-weight: 600; }
.scanhead__sub.is-flag { color: var(--red-deep) !important; font-weight: 600; }
.scanhead__sub.is-good { color: #16a34a; font-weight: 600; }
.prog__bar.is-good { background: linear-gradient(90deg, #16a34a, #22c55e); }

.ytframe { width: 210px; margin: 4px auto 22px; text-align: left; }
.ytframe__screen { aspect-ratio: 16/9; border-radius: 10px; background: #0f0f0f; display: grid; place-items: center; }
.ytframe__spin { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(255,255,255,.18); border-top-color: #fff; animation: spin 0.8s linear infinite; }
.ytframe__bar { height: 3px; border-radius: 3px; background: var(--surface-2); margin: 10px 0 12px; overflow: hidden; }
.ytframe__bar span { display: block; height: 100%; width: 40%; background: var(--red); border-radius: 3px; animation: scrub 1.4s var(--ease) infinite; }
@keyframes scrub { 0%{transform:translateX(-100%);} 100%{transform:translateX(320%);} }
.ytframe__meta { display: flex; flex-direction: column; gap: 7px; }
.ytframe__meta .ln { height: 8px; border-radius: 4px; background: var(--surface-2); }
.ln--title { width: 85%; height: 10px; } .ln--row { width: 70%; } .ln--row.short { width: 45%; }
.prog { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 14px; }
.prog__pct { font-weight: 600; font-size: 13.5px; color: var(--muted); }
.prog__track { width: 100%; max-width: 320px; height: 6px; border-radius: 6px; background: var(--surface-2); overflow: hidden; }
.prog__bar { height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--blue), #3b82f6); transition: width 260ms var(--ease); }
.chcard { display: flex; align-items: center; gap: 12px; text-align: left; padding: 10px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); margin: 8px 0 14px; }
.chcard__avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; flex: none; background: var(--surface-2); image-rendering: -webkit-optimize-contrast; }
.chcard__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.chcard__name { font-family: 'Wix Madefor Display',sans-serif; font-weight: 600; font-size: 16px; }
.chcard__stats { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12.5px; color: var(--muted); }
.chcard__stats span { display: inline-flex; align-items: center; gap: 5px; }
.chcard__stats .ico { width: 14px; height: 14px; color: var(--faint); }
.chcard__stats b { font-weight: 600; color: var(--ink); }
.modal__ask { font-weight: 500; color: var(--muted); margin-bottom: 14px; }
.modal__actions { display: flex; flex-direction: column; gap: 8px; }
.modal__secure { display: inline-flex; align-items: center; justify-content: center; gap: 7px; margin-top: 14px; font-size: 12px; color: var(--faint); }
.modal__secure .ico { width: 14px; height: 14px; }
.chcard__name .verified { width: 16px; height: 16px; margin-left: 6px; vertical-align: -3px; }
.clearmark { width: 48px; height: 48px; margin: 0 auto 12px; display: grid; place-items: center; border-radius: 50%; background: rgba(22,163,74,.10); color: #16a34a; }
.clearmark .ico { width: 26px; height: 26px; }
.errmark { width: 48px; height: 48px; margin: 0 auto 12px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,0,0,.08); color: var(--red-deep); }
.errmark .ico { width: 26px; height: 26px; }
.modal__errtext { color: var(--muted); font-size: 13.5px; margin-bottom: 12px; }

.violation-card {
  text-align: left;
  background: rgba(255, 0, 0, 0.04);
  border: 1px solid rgba(255, 0, 0, 0.16);
  border-radius: 12px;
  padding: 10px 14px;
  margin: 8px 0 16px;
}
.violation-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink);
  padding: 7px 0;
  border-bottom: 1px dashed rgba(255,0,0,0.14);
}
.violation-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.violation-item:first-child {
  padding-top: 0;
}
.violation-badge {
  flex: none;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--r-pill);
  background: rgba(255, 0, 0, 0.12);
  color: var(--red-deep);
  letter-spacing: .02em;
}

/* ── entrances ────────────────────────────────────────────────────────── */
/* hero: immediate staggered rise on load */
.rise { opacity: 0; transform: translateY(24px); filter: blur(12px); }
.is-in .rise, .rise.is-in { opacity: 1; transform: none; filter: blur(0);
  transition: opacity 800ms var(--ease) var(--d,0ms), transform 800ms var(--ease) var(--d,0ms), filter 800ms var(--ease) var(--d,0ms); }
.hero__status.is-in { --d: 40ms; }
.emblem.is-in { --d: 120ms; }
.hero__title.is-in { --d: 240ms; }
.hero__lede.is-in { --d: 340ms; }
.finder.is-in { --d: 440ms; }
.formats.is-in { --d: 560ms; }
.trust.is-in { --d: 660ms; }

/* sections: reveal on scroll (IntersectionObserver adds .is-vis) */
.reveal { opacity: 0; transform: translateY(30px); filter: blur(10px); transition: opacity 760ms var(--ease), transform 760ms var(--ease), filter 760ms var(--ease); }
.reveal.is-vis { opacity: 1; transform: none; filter: blur(0); }
/* stagger children within a grid */
.steps .reveal:nth-child(2), .scan__grid .reveal:nth-child(2), .risk__grid .reveal:nth-child(2) { transition-delay: 80ms; }
.steps .reveal:nth-child(3), .scan__grid .reveal:nth-child(3), .risk__grid .reveal:nth-child(3) { transition-delay: 160ms; }
.scan__grid .reveal:nth-child(4), .risk__grid .reveal:nth-child(4) { transition-delay: 240ms; }
.scan__grid .reveal:nth-child(5), .risk__grid .reveal:nth-child(5) { transition-delay: 320ms; }
.scan__grid .reveal:nth-child(6) { transition-delay: 400ms; }
.acc__item.reveal:nth-child(2) { transition-delay: 70ms; }
.acc__item.reveal:nth-child(3) { transition-delay: 140ms; }
.acc__item.reveal:nth-child(4) { transition-delay: 210ms; }

@media (prefers-reduced-motion: reduce) {
  .rise, .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
  .ring, .emblem__logo, .ytframe__spin, .ytframe__bar span, .hero__scroll, .hero__status .dot { animation: none; }
  * { scroll-behavior: auto; }
}
