/* /verify и /ru/verify (WEB-45): проверка Content Credentials в браузере. Токены — те же, что у лендинга. */
:root {
  color-scheme: dark;
  --bg: #0D0E10;
  --panel: #131416;
  --line: rgba(255,255,255,.09);
  --line-strong: rgba(255,255,255,.16);
  --dotted: rgba(255,255,255,.14);
  --text: #F2F3F5;
  --muted: rgba(255,255,255,.62);
  --dim: rgba(255,255,255,.5);
  --ghost: rgba(255,255,255,.42);
  --lime: #D1FE17;
  --pink: #FF005B;
  --pink-text: #FF5C8F;
  --display: 'Space Grotesk', system-ui, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Space Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
::selection { background: var(--lime); color: var(--bg); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.wrap { max-width: 1320px; margin: 0 auto; padding: 0 clamp(16px, 3.4vw, 44px); }
.skip { position: absolute; left: 16px; top: -48px; z-index: 100; background: var(--lime); color: var(--bg); font-weight: 600; padding: 8px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus-visible { top: 12px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px;
  font-family: var(--display); font-weight: 700; letter-spacing: .07em; text-transform: uppercase; text-decoration: none;
  background: var(--lime); color: var(--bg); border: 0; border-radius: 999px; white-space: nowrap; padding: 10px 20px; font-size: 12px; cursor: pointer;
}
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--lime); }
.btn-big { font-size: 15px; padding: 16px 32px; }

header { border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 18px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; letter-spacing: .16em; font-size: 13px; text-decoration: none; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav-link { color: var(--muted); text-decoration: none; font-size: 14px; }
.nav-link:hover { color: var(--text); }
.lang { display: inline-flex; gap: 8px; font-family: var(--display); font-weight: 700; font-size: 11px; letter-spacing: .1em; }
.lang a { color: var(--ghost); text-decoration: none; padding: 4px 2px; }
.lang a.on, .lang a:hover { color: var(--text); }

.hero { padding-block: clamp(34px, 5.2vw, 64px) 0; display: flex; flex-wrap: wrap; gap: 24px clamp(28px, 5vw, 72px); align-items: flex-end; }
h1 { flex: 1 1 min(100%, 11ch); font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(38px, 6.4vw, 86px); line-height: .9; letter-spacing: -.035em; }
h1 em, .accent { font-style: normal; color: var(--lime); }
.hero-side { flex: 0 1 430px; padding-bottom: 6px; color: var(--muted); font-size: clamp(15px, 1.35vw, 17px); text-wrap: pretty; }
.hero-side b { color: var(--text); font-weight: 600; }

.drop {
  position: relative; margin-top: clamp(28px, 3.4vw, 44px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  min-height: 280px; border: 1.5px dashed rgba(255,255,255,.22); border-radius: 16px; background: var(--panel); cursor: pointer; text-align: center; padding: 40px 24px;
  transition: border-color .15s, background .15s;
}
.drop:hover, .drop.over { border-color: var(--lime); }
.drop.over { background: #171a10; }
.drop:focus-within { outline: 2px solid var(--lime); outline-offset: 3px; }
.drop-title { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: -.01em; font-size: clamp(22px, 2.4vw, 30px); }
.drop-sub { color: var(--muted); font-size: 15px; }
.drop-sub u { color: var(--text); text-underline-offset: 3px; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.note { margin: 14px 2px 0; font-family: var(--mono); font-size: 12px; color: var(--dim); letter-spacing: .02em; }

.status { margin-top: clamp(28px, 3.4vw, 44px); border: 1px dashed rgba(255,255,255,.22); border-radius: 16px; background: var(--panel); padding: 40px 28px; display: flex; flex-direction: column; gap: 14px; }
.status h2 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 30px; line-height: .95; letter-spacing: -.02em; }
.status p { color: var(--muted); }
.bar { width: 100%; max-width: 480px; height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; }
.bar i { display: block; width: 40%; height: 100%; background: var(--lime); border-radius: 2px; animation: slide 1.2s ease-in-out infinite alternate; }
@keyframes slide { from { transform: translateX(-60%); } to { transform: translateX(210%); } }
@media (prefers-reduced-motion: reduce) { .bar i { animation: none; width: 100%; } }
.status.err { border-style: solid; border-color: rgba(255,92,143,.45); }

.result { margin-top: clamp(28px, 3.4vw, 44px); display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.res-media { display: flex; flex-direction: column; gap: 12px; }
.res-media video, .res-media img { width: 100%; max-height: 520px; object-fit: contain; background: #000; border: 1px solid var(--line); display: block; }
.res-file { font-family: var(--mono); font-size: 12px; color: var(--dim); overflow-wrap: anywhere; }
.res-body { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 12px; padding: 7px 14px; border-radius: 999px; }
.badge.good { background: var(--lime); color: var(--bg); }
.badge.bad { background: var(--pink); color: #fff; }
.badge.warn { color: var(--pink-text); box-shadow: inset 0 0 0 1px var(--pink-text); }
.badge.plain { color: var(--text); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.res-title { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(34px, 5vw, 72px); line-height: .92; letter-spacing: -.035em; overflow-wrap: anywhere; }
.res-lead { max-width: 640px; color: var(--muted); font-size: clamp(15px, 1.3vw, 18px); }
.res-next { color: var(--text); font-size: 15px; }
.eq { max-width: 760px; font-family: var(--mono); font-size: clamp(13px, 1.2vw, 15px); line-height: 2.1; color: var(--muted); }
.eq div { display: flex; justify-content: space-between; gap: 18px; border-bottom: 1px dotted var(--dotted); }
.eq div:last-child { border-bottom: 0; }
.eq b { color: var(--text); text-align: right; overflow-wrap: anywhere; }
.eq b.ok { color: var(--lime); }
.eq small { color: var(--dim); font-weight: 400; font-size: inherit; }
.tech { max-width: 760px; border-top: 1px solid var(--line); padding-top: 14px; }
.tech summary { cursor: pointer; font-family: var(--display); font-weight: 700; letter-spacing: .07em; text-transform: uppercase; font-size: 12px; color: var(--muted); min-height: 32px; }
.tech dl { margin-top: 10px; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 18px; font-family: var(--mono); font-size: 12px; color: var(--dim); }
.tech dt { color: var(--muted); }
.tech dd { overflow-wrap: anywhere; color: var(--text); }
.tech p { margin-top: 10px; font-size: 12px; color: var(--dim); }
.res-cta { font-size: 14px; color: var(--dim); }

section.block { border-top: 1px solid var(--line); padding-block: clamp(36px, 4.6vw, 52px); margin-top: clamp(48px, 6vw, 72px); }
section.block + section.block { margin-top: 0; }
h2.big { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(28px, 3.2vw, 40px); line-height: .95; letter-spacing: -.03em; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.split p { margin-top: 18px; color: var(--muted); max-width: 440px; }
.help-faq { margin-top: 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.help-faq div { border-top: 1px solid var(--line); padding: 18px 0; }
.help-faq dt { font-weight: 600; margin-bottom: 6px; }
.help-faq dd { color: var(--muted); font-size: 15px; }
.cta { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.cta p { max-width: 660px; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.05; letter-spacing: -.02em; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; }

footer { border-top: 1px solid var(--line); }
.foot { display: flex; gap: 12px 28px; flex-wrap: wrap; color: var(--ghost); font-family: var(--mono); font-size: 11.5px; padding-top: 24px; padding-bottom: 34px; }
.foot a { text-decoration: none; }
.foot a:first-of-type { margin-left: auto; }
.foot a:hover { color: var(--text); }

@media (max-width: 760px) {
  .nav-link { display: none; }
  .result, .split, .help-faq { grid-template-columns: minmax(0, 1fr); }
  .res-media { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .res-media video, .res-media img { width: 96px; max-height: 170px; }
  .foot a:first-of-type { margin-left: 0; }
}
@media (max-width: 420px) {
  .nav, .nav-right { gap: 12px; }
  header .btn { display: none; }
}
