/* AdTabBlock website. Tokens from the AdTabBlock Brand Kit (Volt Lime on Black). */
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("/assets/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("/assets/fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("/assets/fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 700; font-display: swap; src: url("/assets/fonts/space-grotesk-latin-700-normal.woff2") format("woff2"); }

:root {
  --volt: #C6FF3D;
  --volt-hover: #D9FF7A;
  --volt-soft: #212812;
  --volt-soft-hover: #2B3417;
  --ink: #0A0B09;
  --bg: #0E100D;
  --surface: #161814;
  --line: #2A2D27;
  --off: #3A3D36;
  --text: #F4F5F0;
  --muted: #A3A89C;
  --warn: #FFC24A;
  --warn-soft: #2E2512;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Space Grotesk", Inter, system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.55; }
a { color: var(--volt); }
a:hover { color: var(--volt-hover); }
img, svg { display: block; }
:focus-visible { outline: 2px solid var(--volt); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* Header */
.site-head { border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.2px; }
.nav { display: flex; align-items: center; gap: 4px 20px; flex-wrap: wrap; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; padding: 8px 0; }
.nav a:hover { color: var(--text); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 12px; border: 0; background: var(--volt); color: var(--ink); font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--volt-hover); color: var(--ink); }
.btn.small { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn.soft { background: var(--volt-soft); color: var(--volt); }
.btn.soft:hover { background: var(--volt-soft-hover); color: var(--volt); }
.btn[aria-disabled="true"] { background: var(--volt-soft); color: var(--volt); cursor: default; }

/* Type */
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--volt-soft); color: var(--volt); }
h1, h2, h3 { margin: 0; }
.hero-title { font-family: var(--display); font-weight: 700; font-size: clamp(40px, 6.4vw, 68px); line-height: 1.02; letter-spacing: -1.5px; }
.section-title { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 4vw, 42px); line-height: 1.08; letter-spacing: -1px; }
.lead { font-size: clamp(17px, 2vw, 20px); line-height: 1.55; color: var(--muted); margin: 0; }
.muted { color: var(--muted); }
p { margin: 0; }

/* Hero */
.hero { padding: 72px 0 88px; }
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.hero-note { font-size: 14px; color: var(--muted); }
.hero-visual { flex: 1 1 440px; min-width: 0; display: flex; justify-content: center; }

/* Browser mockup */
.browser { width: 100%; max-width: 500px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #202124; }
.dots { display: flex; gap: 6px; }
.dots span { width: 10px; height: 10px; border-radius: 50%; background: #4A4D46; }
.url { flex: 1; min-width: 0; height: 30px; border-radius: 15px; background: #2E2F32; color: #C4C7C5; font-size: 13px; display: flex; align-items: center; padding: 0 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tool-icon { position: relative; width: 24px; height: 24px; flex-shrink: 0; }
.tool-badge { position: absolute; right: -9px; bottom: -6px; min-width: 18px; height: 15px; padding: 0 4px; border-radius: 4px; background: var(--volt); color: var(--ink); font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.browser-body { position: relative; padding: 20px; min-height: 360px; }
.fake-video { height: 180px; border-radius: 12px; background: #23261F; display: flex; align-items: center; justify-content: center; }
.play { width: 56px; height: 56px; border-radius: 50%; background: rgba(244,245,240,.12); display: flex; align-items: center; justify-content: center; }
.fake-lines { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.fake-lines span { height: 10px; border-radius: 5px; background: #23261F; }
.mini-popup { position: absolute; right: 14px; top: 10px; width: 250px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); box-shadow: 0 16px 40px rgba(0,0,0,.5); padding: 14px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.mini-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mini-site { font-weight: 600; }
.pill { font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: var(--volt-soft); color: var(--volt); }
.mini-toggle { background: var(--surface); border-radius: 10px; padding: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.switch { width: 40px; height: 24px; border-radius: 999px; background: var(--volt); position: relative; flex-shrink: 0; }
.switch::after { content: ""; position: absolute; top: 3px; left: 19px; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); }
.mini-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mini-stats div { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.mini-stats b { display: block; font-family: var(--display); font-size: 22px; line-height: 1.1; }
.mini-stats span { font-size: 11px; color: var(--muted); }
.blocked-tab { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); border: 1px dashed var(--line); border-radius: 10px; padding: 8px 10px; }
.blocked-tab s { color: var(--text); text-decoration-color: var(--volt); text-decoration-thickness: 2px; }

/* Sections */
.section { padding: 88px 0; border-top: 1px solid var(--line); }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 720px; margin-bottom: 40px; }
.cards { display: flex; flex-wrap: wrap; gap: 16px; }
.card { flex: 1 1 280px; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 19px; font-weight: 600; }
.card p { color: var(--muted); font-size: 15px; }
.step-no { font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--volt); }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; font-size: 15px; }
.check-list svg { flex-shrink: 0; margin-top: 2px; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 16px; padding: 18px 0; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--volt); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); padding: 0 0 18px; font-size: 15px; }

/* CTA band */
.cta-band { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding: 32px 0 48px; font-size: 14px; color: var(--muted); }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-foot a { color: var(--muted); text-decoration: none; }
.site-foot a:hover { color: var(--text); }

/* Simple pages */
.page { padding: 64px 0 88px; }
.page-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.prose h2 { font-size: 20px; font-weight: 600; margin: 32px 0 10px; }
.prose p, .prose li { color: #D3D6CD; font-size: 16px; }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 20px; margin: 10px 0; display: flex; flex-direction: column; gap: 6px; }

/* Forms */
.form { display: flex; flex-direction: column; gap: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field legend { font-weight: 600; font-size: 15px; }
.field .hint { font-size: 13px; color: var(--muted); }
input[type="text"], input[type="url"], input[type="email"], textarea { width: 100%; font: 400 16px/1.4 var(--sans); color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
input::placeholder, textarea::placeholder { color: #7D8277; }
input:focus, textarea:focus { outline: 2px solid var(--volt); outline-offset: 1px; border-color: transparent; }
textarea { min-height: 120px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; }
.choices { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.choice { display: flex; align-items: center; gap: 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; font-size: 15px; }
.choice input { accent-color: var(--volt); width: 18px; height: 18px; margin: 0; }
.hidden-field { position: absolute; left: -9999px; }

/* Test page */
.tests { display: flex; flex-direction: column; gap: 16px; }
.test { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.test-copy { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.test-copy h2 { font-size: 18px; font-weight: 600; }
.test-copy p { font-size: 15px; color: var(--muted); }
.result { font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--line); color: var(--muted); }
.result.pass { background: var(--volt-soft); color: var(--volt); }
.result.fail { background: var(--warn-soft); color: var(--warn); }
.trap-zone { position: relative; flex: 1 1 100%; height: 140px; border-radius: 12px; border: 1px dashed var(--off); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 15px; overflow: hidden; }
.trap-zone a { position: absolute; inset: 0; opacity: 0; }

@media (max-width: 640px) {
  .hero { padding: 48px 0 64px; }
  .section { padding: 64px 0; }
  .cta-band { padding: 28px; }
  .mini-popup { position: static; width: auto; margin-top: 16px; }
}

/* Guides */
.crumbs { font-size: 14px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.article { padding: 56px 0 88px; }
.article-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 36px; }
.article-title { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 4.6vw, 48px); line-height: 1.08; letter-spacing: -1px; margin: 0; }
.article-meta { font-size: 14px; color: var(--muted); }
.article-body h2 { font-family: var(--display); font-size: 26px; line-height: 1.2; letter-spacing: -0.3px; margin: 44px 0 14px; }
.article-body h3 { font-size: 18px; font-weight: 600; margin: 28px 0 10px; }
.article-body p, .article-body li { font-size: 17px; line-height: 1.7; color: #D3D6CD; }
.article-body p + p { margin-top: 14px; }
.article-body ul, .article-body ol { padding-left: 22px; margin: 14px 0; display: flex; flex-direction: column; gap: 8px; }
.article-body strong { color: var(--text); }
.article-body code { font-size: 15px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px; }
.tldr { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; }
.tldr p { margin: 0; }
.inline-cta { margin: 40px 0; background: var(--volt-soft); border-radius: 16px; padding: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.inline-cta p { margin: 0; color: var(--text); font-size: 17px; max-width: 480px; }
.guide-list { display: flex; flex-direction: column; gap: 14px; }
.guide-card { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; text-decoration: none; color: var(--text); }
.guide-card:hover { border-color: var(--volt); color: var(--text); }
.guide-card h2 { font-size: 20px; font-weight: 600; margin: 0 0 6px; }
.guide-card p { color: var(--muted); font-size: 15px; margin: 0; }
.related { margin-top: 48px; border-top: 1px solid var(--line); padding-top: 28px; }
.related h2 { font-family: var(--sans); font-size: 18px; font-weight: 600; margin: 0 0 12px; }
.related ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.inline-cta .btn[aria-disabled="true"] { background: var(--bg); }

/* Comparison tables */
.table-wrap { overflow-x: auto; margin: 18px 0 8px; border: 1px solid var(--line); border-radius: 14px; }
table.compare { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
table.compare th, table.compare td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: #D3D6CD; }
table.compare thead th { background: var(--surface); color: var(--text); font-weight: 600; }
table.compare tbody th { color: var(--text); font-weight: 500; width: 34%; }
table.compare tr:last-child th, table.compare tr:last-child td { border-bottom: 0; }
.yes { color: var(--volt); font-weight: 600; }
.no { color: var(--muted); font-weight: 600; }
.ns { color: var(--muted); font-style: italic; }
.table-note { font-size: 14px !important; color: var(--muted) !important; }
.hub-section { margin-top: 40px; }
.hub-section h2 { font-family: var(--display); font-size: 24px; margin: 0 0 14px; }
.article-body .tldr + p { margin-top: 20px; }

/* Demo video */
.demo-frame { position: relative; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.demo-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--bg); }
.demo-toggle { position: absolute; right: 14px; bottom: 14px; min-height: 40px; padding: 0 16px; border: 0; border-radius: 10px; background: rgba(14,16,13,.82); color: var(--text); font: 600 14px/1 var(--sans); cursor: pointer; }
.demo-toggle:hover { background: var(--ink); }
.demo-caption { margin-top: 16px; font-size: 15px; color: var(--muted); max-width: 760px; }
