/* Watchdog website: the landing page. Builds on site.css's tokens. */

.wrap { max-width: var(--page-w); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }

/* Scroll reveal: only when the script runs, so nothing is hidden without it. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease-out), transform 800ms var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
}
.kicker::before { content: ''; width: 18px; height: 8px; border-radius: 2px; background: var(--marker); transform: skewX(-12deg); }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-family: var(--font-read);
  font-weight: 600;
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.028em;
  margin: 0 0 20px;
  text-wrap: balance;
}
.section-head p { font-size: 18.5px; line-height: 1.6; color: var(--text-2); margin: 0 0 16px; text-wrap: pretty; }
.section-head a:not(.more), .faq-list a, .steps a, .records-never a, .stage a, .section-more a:not(.more) {
  color: var(--text); text-decoration: underline; text-decoration-color: var(--link-line); text-decoration-thickness: 1.5px; text-underline-offset: 3px;
}
.section-head a:not(.more):hover, .faq-list a:hover, .steps a:hover, .records-never a:hover, .stage a:hover { background: var(--accent-soft); }
.note { font-size: 14px; color: var(--text-3); }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--text); text-decoration: none; font-size: 16px; }
.more span { transition: transform 200ms var(--ease); }
.more:hover span { transform: translateX(4px); }
.section-more { margin: 40px 0 0; color: var(--text-2); }
.center { text-align: center; }

/* ── Hero ─────────────────────────────────────────────────────────────────────────────────── */

.hero { position: relative; padding: clamp(40px, 5.5vw, 72px) 0 40px; overflow: hidden; }
.hero-bg {
  position: absolute;
  inset: -60px 0 0;
  background-image: radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--text) 13%, transparent) 1px, transparent 0);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 70% 60% at 65% 35%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 65% 35%, #000 20%, transparent 75%);
  pointer-events: none;
}
.hero-bg::after {
  content: '';
  position: absolute;
  width: 640px;
  height: 640px;
  right: 2%;
  top: 4%;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.18), transparent 62%);
  filter: blur(10px);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  grid-template-areas: 'head head' 'copy visual';
  gap: 0 clamp(32px, 5vw, 64px);
  align-items: start;
}
.hero-head { grid-area: head; }
.hero-copy { grid-area: copy; padding-top: 12px; }
.hero-visual { grid-area: visual; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-2);
  box-shadow: var(--shadow-sm);
}
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px var(--success-soft); }
.hero-title {
  font-family: var(--font-read);
  font-weight: 600;
  font-size: clamp(44px, 7.2vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 0 0 clamp(28px, 4vw, 44px);
}
.hl-ink {
  color: #141416;
  padding: 0 0.1em;
  margin: 0 -0.04em;
  border-radius: 0.1em 0.25em 0.12em 0.3em;
  background: linear-gradient(100deg, transparent 0.4%, var(--marker) 1%, var(--marker) 99%, transparent 99.6%) no-repeat 0 78% / 0% 66%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-size 1000ms cubic-bezier(0.7, 0, 0.2, 1) 350ms, color 300ms 500ms;
}
.js .hl:not(.on) .hl-ink { color: var(--text); }
.hl.on .hl-ink, html:not(.js) .hl-ink { background-size: 100% 66%; }
.hero-lead { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.6; color: var(--text-2); max-width: 560px; margin: 0 0 34px; text-wrap: pretty; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 18px; }
.hero-meta { font-size: 14px; color: var(--text-3); margin: 0; }

.hero-visual { position: relative; min-height: 600px; }
.paper {
  position: absolute;
  left: 2%;
  top: 8px;
  width: 70%;
  padding: 28px 30px 44px;
  background: var(--paper);
  color: #26262b;
  border-radius: 6px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0, 0, 0, 0.05);
  transform: rotate(-2.2deg);
  font-family: var(--font-read);
}
.paper-head { display: flex; flex-direction: column; gap: 2px; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 2px solid #26262b; }
.paper-org { font-family: var(--font-ui); font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #6a6a72; }
.paper-title { font-size: 22px; font-weight: 650; letter-spacing: -0.01em; color: #141416; }
.paper-sub { font-family: var(--font-ui); font-size: 12px; color: #6a6a72; }
.paper-body { display: flex; flex-direction: column; gap: 9px; }
.ln { display: block; height: 7px; border-radius: 4px; background: #e4e4e8; }
.w40 { width: 40%; } .w60 { width: 60%; } .w70 { width: 70%; } .w75 { width: 75%; } .w85 { width: 85%; } .w90 { width: 90%; } .w92 { width: 92%; } .w95 { width: 95%; }
.pass { margin: 4px 0; font-size: 14.5px; line-height: 1.6; color: #26262b; }
.pass span {
  background: linear-gradient(rgba(250, 204, 21, 0.62), rgba(250, 204, 21, 0.62)) no-repeat 0 0 / 0% 100%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 1px 0;
  transition: background-size 1100ms cubic-bezier(0.6, 0, 0.25, 1);
}
.pass.on span { background-size: 100% 100%; }
.paper-page { position: absolute; bottom: 14px; right: 22px; font-family: var(--font-ui); font-size: 11px; color: #85858e; }

.facts { position: absolute; right: 0; top: 18%; width: 50%; display: flex; flex-direction: column; gap: 12px; }
.fact {
  padding: 11px 13px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 13px;
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  line-height: 1.45;
  opacity: 0;
  transform: translate(-28px, 10px) scale(0.97);
  transition: opacity 500ms var(--ease-out), transform 700ms var(--ease-out);
}
.fact.show { opacity: 1; transform: none; }
.fact p { margin: 5px 0 8px; }
.fact .chip { height: 21px; font-size: 11.5px; padding: 0 8px 0 7px; }
.fact-top { display: flex; align-items: center; gap: 8px; }
.fact-date { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.cite {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  font-family: var(--font-ui);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-2);
  white-space: nowrap;
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  --c: var(--text-3);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 9px 0 8px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--c) 28%, transparent);
  background: color-mix(in srgb, var(--c) 9%, var(--surface));
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
}
.chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.person { --c: var(--person); }
.organization { --c: var(--organization); }
.public-body { --c: var(--public-body); }
.place { --c: var(--place); }
.asset { --c: var(--asset); }
.proceeding { --c: var(--proceeding); }
.flag {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 13px;
  background: var(--danger-soft);
  border: 1px solid color-mix(in srgb, var(--danger) 30%, transparent);
  color: var(--danger);
  font-size: 13.5px;
  line-height: 1.45;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 500ms var(--ease-out), transform 600ms var(--ease-out);
}
.flag svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.flag span { color: var(--text); }
.flag b { color: var(--danger); }
.flag.show { opacity: 1; transform: none; }
.hero-visual.fading .fact, .hero-visual.fading .flag { opacity: 0; transform: translateY(-6px); transition-duration: 500ms; }
.hero-visual.fading .pass span { background-size: 0% 100%; transition-duration: 500ms; }

.proof {
  list-style: none;
  margin: 40px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 14px;
}
.proof li { position: relative; padding-left: 30px; font-size: 14.5px; color: var(--text-2); line-height: 1.5; }
.proof li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.5 2.6 2.6L12 5.5' fill='none' stroke='%23a16207' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.proof b { color: var(--text); font-weight: 600; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: 'head' 'copy' 'visual'; }
  .hero-visual { min-height: 640px; max-width: 640px; margin-top: 40px; }
  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .hero-visual { min-height: 0; display: flex; flex-direction: column; gap: 14px; }
  .paper, .facts { position: relative; width: 100%; top: auto; transform: none; }
  .paper { transform: rotate(-1deg); }
  .proof { grid-template-columns: 1fr; }
}

/* ── Tour ─────────────────────────────────────────────────────────────────────────────────── */

.tour { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.tour .section-head { margin-left: auto; margin-right: auto; text-align: center; }
.tour-tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 28px;
  padding: 5px;
  background: var(--sunken);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tour-tabs::-webkit-scrollbar { display: none; }
@media (max-width: 760px) { .tour-tabs { justify-content: flex-start; width: auto; } }
.tour-tabs button {
  position: relative;
  flex: none;
  border: 0;
  background: none;
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 550;
  color: var(--text-2);
  cursor: pointer;
  overflow: hidden;
  transition: color 150ms, background 150ms;
}
.tour-tabs button:hover { color: var(--text); }
.tour-tabs button[aria-selected='true'] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.tour-tabs button[aria-selected='true']::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--marker);
  transform-origin: left;
  transform: scaleX(var(--p, 0));
}
.window {
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 50px 100px -30px rgba(10, 10, 15, 0.35), 0 18px 40px -20px rgba(10, 10, 15, 0.25);
}
.window-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.window-bar span { flex: none; width: 11px; height: 11px; border-radius: 50%; background: var(--border-strong); }
.window-bar span:nth-child(1) { background: #ff5f57; }
.window-bar span:nth-child(2) { background: #febc2e; }
.window-bar span:nth-child(3) { background: #28c840; }
.window-bar em { font-style: normal; font-size: 12.5px; color: var(--text-3); margin: 0 auto; padding-right: 50px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.window-screens { display: grid; aspect-ratio: 16 / 10; }
.screen { grid-area: 1 / 1; margin: 0; opacity: 0; transform: scale(1.012); transition: opacity 600ms var(--ease), transform 900ms var(--ease-out); }
.screen.active { opacity: 1; transform: none; }
.screen img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.tour-captions { display: grid; max-width: 760px; margin: 26px auto 0; text-align: center; }
.caption { grid-area: 1 / 1; margin: 0; font-size: 16.5px; color: var(--text-2); opacity: 0; transition: opacity 400ms; pointer-events: none; }
.caption.active { opacity: 1; pointer-events: auto; }
.caption b { color: var(--text); }
.caption a { color: var(--text); font-weight: 600; text-decoration: none; white-space: nowrap; margin-left: 4px; }
.caption a::after { content: ' →'; }
.caption a:hover { text-decoration: underline; text-decoration-color: var(--link-line); }

/* ── Stages ───────────────────────────────────────────────────────────────────────────────── */

.stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; position: relative; }
.stages::before {
  content: '';
  position: absolute;
  top: 46px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--border-strong) 0 8px, transparent 8px 16px);
  animation: march 1.2s linear infinite;
}
@keyframes march { to { background-position: 16px 0; } }
.stage {
  position: relative;
  padding: 26px 26px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
}
.stage:nth-child(2) { transition-delay: 120ms; }
.stage:nth-child(3) { transition-delay: 240ms; }
.stage-num {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-contrast);
  font-family: var(--font-read);
  font-size: 21px;
  font-weight: 650;
}
.where {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  position: absolute;
  top: 34px;
  right: 22px;
}
.where::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.where.local { background: var(--success-soft); color: var(--success); }
.where.cloud { background: var(--info-soft); color: var(--info); }
.where.both { background: var(--warning-soft); color: var(--warning); }
.stage h3 { font-family: var(--font-read); font-size: 26px; font-weight: 600; letter-spacing: -0.015em; margin: 0 0 10px; }
.stage p { margin: 0; color: var(--text-2); font-size: 15.5px; }
@media (max-width: 900px) {
  .stages { grid-template-columns: 1fr; }
  .stages::before { display: none; }
}

/* ── Story ────────────────────────────────────────────────────────────────────────────────── */

.story { background: #18181b; color: #ececef; --text: #ececef; --text-2: #acacb4; --text-3: #85858e; --border: #2e2e33; --link-line: rgba(250, 204, 21, 0.6); --accent-soft: rgba(250, 204, 21, 0.14); }
:root[data-theme='dark'] .story { background: #0b0b0c; }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .story { background: #0b0b0c; } }
.story .kicker { color: #acacb4; }
.story .section-head { max-width: 760px; }
.clash { display: grid; grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr); align-items: center; gap: 0; }
.clip {
  background: #f7f7f5;
  color: #26262b;
  border-radius: 6px;
  padding: 24px 26px 26px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  font-family: var(--font-read);
}
.clip:first-child { transform: rotate(-1.4deg); }
.clip:last-child { transform: rotate(1.2deg); }
.clip-src { font-family: var(--font-ui); font-size: 12.5px; font-weight: 600; color: #6a6a72; margin: 0 0 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.clip-src .cite { background: #fff; border-color: #dcdce0; color: #4f4f57; }
.clip-text { margin: 0; font-size: 17px; line-height: 1.65; }
.clip-hl { background: linear-gradient(rgba(250, 204, 21, 0.75), rgba(250, 204, 21, 0.75)) no-repeat 0 0 / 0% 100%; color: inherit; font-weight: 650; padding: 1px 2px; transition: background-size 900ms cubic-bezier(0.6, 0, 0.25, 1) 500ms; }
.clash.in .clip-hl { background-size: 100% 100%; }
.clash-mid { position: relative; height: 40px; }
.clash-mid svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.clash-mid path { stroke: #ef6b5f; stroke-width: 2; stroke-dasharray: 5 6; fill: none; }
.clash-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ef6b5f;
  color: #18181b;
  font-size: 28px;
  font-weight: 700;
  box-shadow: 0 0 0 8px rgba(239, 107, 95, 0.18);
  transform: scale(0);
  transition: transform 500ms cubic-bezier(0.34, 1.56, 0.64, 1) 1300ms;
}
.clash.in .clash-badge { transform: scale(1); }
.story .note { margin-top: 40px; color: #76767f; }
@media (max-width: 860px) {
  .clash { grid-template-columns: 1fr; gap: 0; }
  .clash-mid { height: 64px; }
  .clash-mid svg { display: none; }
}

/* ── Network ──────────────────────────────────────────────────────────────────────────────── */

.net-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.35fr); gap: 48px; align-items: center; }
.net-grid .section-head { margin-bottom: 0; }
.legend { list-style: none; padding: 0; margin: 24px 0 22px; display: grid; grid-template-columns: repeat(3, auto); gap: 10px 18px; justify-content: start; font-size: 14.5px; color: var(--text-2); }
.legend li { display: flex; align-items: center; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.net-stage {
  position: relative;
  height: min(620px, 78vw);
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  background-image: radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--text) 9%, transparent) 1px, transparent 0);
  background-size: 20px 20px;
}
.net-canvas { width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; }
.net-canvas.dragging { cursor: grabbing; }
.net-tip {
  position: absolute;
  max-width: 280px;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  line-height: 1.45;
  pointer-events: none;
}
.net-tip b { display: block; font-size: 14.5px; }
.net-tip .t-type { font-size: 12px; color: var(--text-3); }
.net-tip ul { margin: 6px 0 0; padding: 0; list-style: none; color: var(--text-2); }
.net-tip li { padding: 1px 0; }
.net-count { position: absolute; left: 16px; bottom: 14px; font-size: 12.5px; color: var(--text-3); background: var(--surface); padding: 4px 9px; border-radius: 8px; border: 1px solid var(--border); }
@media (max-width: 900px) { .net-grid { grid-template-columns: 1fr; } .net-stage { height: 480px; } }

/* ── Verify ───────────────────────────────────────────────────────────────────────────────── */

.verify { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.verify-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.verify-grid .section-head { margin-bottom: 0; }
.ticks { list-style: none; padding: 0; margin: 4px 0 24px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--text-2); font-size: 16px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 6px; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.5 2.6 2.6L12 5.5' fill='none' stroke='%23a16207' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.fact-demo { position: relative; }
.fact-card {
  position: relative;
  padding: 22px 24px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  transition: border-color 300ms, box-shadow 300ms;
}
.fact-card[data-state='verified'] { border-color: color-mix(in srgb, var(--success) 50%, var(--border)); }
.fact-card[data-state='disputed'] { border-color: color-mix(in srgb, var(--danger) 50%, var(--border)); }
.fact-card[data-state='unverifiable'] { border-color: color-mix(in srgb, var(--warning) 50%, var(--border)); }
.fact-text { font-size: 17px; line-height: 1.55; margin: 12px 0 14px; }
.fact-pass {
  margin: 0 0 16px;
  padding: 12px 16px;
  background: var(--surface-2);
  border-left: 3px solid var(--marker);
  border-radius: 0 10px 10px 0;
  font-family: var(--font-read);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-2);
}
.fact-pass span { display: block; font-family: var(--font-ui); font-size: 12px; font-weight: 600; color: var(--text-3); margin-bottom: 4px; }
.marks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.marks button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 13px 0 10px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 13.5px;
  font-weight: 550;
  color: var(--text-2);
  cursor: pointer;
  transition: background 150ms, color 150ms, border-color 150ms, transform 150ms var(--ease);
}
.marks button svg { width: 15px; height: 15px; }
.marks button:hover { border-color: var(--border-strong); color: var(--text); transform: translateY(-1px); }
.marks button[aria-pressed='true'][data-mark='verified'] { background: var(--success-soft); color: var(--success); border-color: color-mix(in srgb, var(--success) 40%, transparent); }
.marks button[aria-pressed='true'][data-mark='disputed'] { background: var(--danger-soft); color: var(--danger); border-color: color-mix(in srgb, var(--danger) 40%, transparent); }
.marks button[aria-pressed='true'][data-mark='unverifiable'] { background: var(--warning-soft); color: var(--warning); border-color: color-mix(in srgb, var(--warning) 40%, transparent); }
.stamp {
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 9px;
  border: 2px solid currentColor;
  border-radius: 6px;
  transform: rotate(-6deg) scale(0.6);
  opacity: 0;
  transition: transform 350ms cubic-bezier(0.34, 1.56, 0.64, 1), opacity 200ms;
}
.fact-card[data-state] .stamp:not(:empty) { opacity: 1; transform: rotate(-6deg) scale(1); }
.fact-card[data-state='verified'] .stamp { color: var(--success); }
.fact-card[data-state='disputed'] .stamp { color: var(--danger); }
.fact-card[data-state='unverifiable'] .stamp { color: var(--warning); }
.fact-hint { margin: 14px 0 0; text-align: center; font-size: 14px; color: var(--text-3); font-family: var(--font-read); font-style: italic; }
@media (max-width: 900px) { .verify-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ── Skills ───────────────────────────────────────────────────────────────────────────────── */

.skills { padding-bottom: clamp(40px, 6vw, 72px); }
.marquee {
  display: grid;
  gap: 14px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-row { display: flex; gap: 12px; width: max-content; animation: slide 70s linear infinite; }
.marquee-row.reverse { animation-direction: reverse; animation-duration: 80s; }
.marquee:hover .marquee-row { animation-play-state: paused; }
.marquee-row span {
  flex: none;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-family: var(--font-read);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.marquee-row span:nth-child(4n + 1) { background: var(--accent-soft); border-color: color-mix(in srgb, var(--marker) 45%, transparent); }
@keyframes slide { to { transform: translateX(calc(-50% - 6px)); } }

/* ── Models ───────────────────────────────────────────────────────────────────────────────── */

.models-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.models-grid .section-head { margin-bottom: 0; }
.bench { margin: 0; padding: 28px 28px 22px; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-lg); }
.bench figcaption { display: flex; flex-direction: column; gap: 2px; margin-bottom: 22px; }
.bench figcaption b { font-size: 16px; }
.bench figcaption span { font-size: 13.5px; color: var(--text-3); }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.bars li { display: grid; grid-template-columns: minmax(0, 1fr) 48px; grid-template-areas: 'label val' 'bar val' 'cost cost'; column-gap: 12px; row-gap: 5px; align-items: center; }
.bar-label { grid-area: label; font-size: 14px; font-weight: 550; }
.bar-label em { font-style: normal; font-size: 11px; font-weight: 650; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent-text); background: var(--accent-soft); padding: 2px 6px; border-radius: 5px; margin-left: 6px; }
.bar { grid-area: bar; height: 10px; border-radius: 6px; background: var(--sunken); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: 6px; background: var(--text-3); transition: width 1100ms var(--ease-out); }
.bars li:first-child .bar i { background: var(--marker); }
.bench.in .bar i { width: calc(var(--v) * 1%); }
.bars li:nth-child(2) .bar i { transition-delay: 80ms; }
.bars li:nth-child(3) .bar i { transition-delay: 160ms; }
.bars li:nth-child(4) .bar i { transition-delay: 240ms; }
.bars li:nth-child(5) .bar i { transition-delay: 320ms; }
.bars li:nth-child(6) .bar i { transition-delay: 400ms; }
.bars li:nth-child(7) .bar i { transition-delay: 480ms; }
.bar-val { grid-area: val; font-family: var(--font-read); font-size: 22px; font-weight: 600; text-align: right; }
.bar-cost { grid-area: cost; font-size: 12px; color: var(--text-3); margin-top: -2px; }
.bench-note { margin: 20px 0 0; padding-top: 14px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-3); }
@media (max-width: 900px) { .models-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ── Public records ───────────────────────────────────────────────────────────────────────── */

.records { padding-top: 0; }
.records-panel {
  padding: clamp(32px, 5vw, 64px);
  border-radius: 28px;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(250, 204, 21, 0.16), transparent 60%),
    var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.records-panel header { max-width: 760px; }
.records-panel h2 { font-family: var(--font-read); font-weight: 600; font-size: clamp(30px, 4vw, 46px); line-height: 1.08; letter-spacing: -0.025em; margin: 0 0 18px; text-wrap: balance; }
.records-panel header p { font-size: 18px; color: var(--text-2); margin: 0; }
.records-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 40px 0 32px; }
.records-cols > div { padding: 22px 24px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--border); }
.records-cols h3 { margin: 0 0 14px; }
.records-cols .where { position: static; }
.records-cols ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.records-cols li { padding-left: 18px; position: relative; color: var(--text-2); }
.records-cols li::before { content: ''; position: absolute; left: 2px; top: 0.65em; width: 6px; height: 6px; border-radius: 50%; background: var(--border-strong); }
.records-never { margin: 0; font-size: 15.5px; color: var(--text-2); padding: 16px 20px; border-radius: 14px; background: var(--danger-soft); border: 1px solid color-mix(in srgb, var(--danger) 22%, transparent); }
@media (max-width: 760px) { .records-cols { grid-template-columns: 1fr; } }

/* ── Download ─────────────────────────────────────────────────────────────────────────────── */

.download { background: var(--bg-2); border-top: 1px solid var(--border); }
.platforms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.platform {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 24px 22px 22px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 180ms var(--ease), box-shadow 180ms, border-color 180ms;
}
.platform:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.platform svg { width: 30px; height: 30px; margin-bottom: 14px; }
.platform-name { font-weight: 650; font-size: 16.5px; }
.platform-file { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-3); word-break: break-all; }
.platform.detected { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-lg); }
.platform.detected::after {
  content: 'Your computer';
  position: absolute;
  top: 18px;
  right: 16px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--marker);
  color: #141416;
}
.steps { list-style: none; counter-reset: s; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.steps li { counter-increment: s; display: flex; flex-direction: column; gap: 6px; padding-top: 18px; border-top: 2px solid var(--border); position: relative; }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--font-read); font-size: 15px; font-weight: 600; color: var(--text-3); }
.steps b { font-size: 18px; }
.steps span { color: var(--text-2); font-size: 15.5px; }
@media (max-width: 900px) { .platforms { grid-template-columns: 1fr 1fr; } .steps { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 480px) { .platforms { grid-template-columns: 1fr; } }

/* ── Questions ────────────────────────────────────────────────────────────────────────────── */

.faq-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 64px; align-items: start; }
.faq-list { border-top: 1px solid var(--border); }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 0;
  position: relative;
  font-family: var(--font-read);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '';
  position: absolute;
  right: 6px;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
  color: var(--text-3);
  transition: transform 250ms var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin: -6px 0 24px; color: var(--text-2); font-size: 16.5px; max-width: 640px; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; gap: 16px; } }

@media (prefers-reduced-motion: reduce) {
  .marquee-row { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .stages::before { animation: none; }
}
