/* ==========================================================================
   TrustBacklink — Design A "Nordic Trust"
   Navy + brand blue (matches the logo), Manrope (headings) + Inter (text). Mobile-first.
   ========================================================================== */

/* Fonts are self-hosted (GDPR: no Google Fonts requests).
   Put the .woff2 files in assets/fonts/ — see README. Until then the
   system font fallbacks below are used, so nothing breaks. */
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-variable.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-variable.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --navy-900: #0B1F3A;
  --navy-800: #12294A;
  --navy-700: #1D3A63;
  --navy-100: #E6ECF5;
  --brand-500: #2E8CF0;
  --brand-600: #1F6FE0;
  --brand-700: #1A56B8;
  --brand-50:  #EEF5FE;
  --ink:      #0F172A;
  --muted:    #475569;
  --line:     #E2E8F0;
  --bg:       #FFFFFF;
  --bg-soft:  #F6F8FB;
  --warn-bg:  #FFF7E6;
  --warn-line:#F5C46B;

  --font-head: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(11,31,58,.06), 0 8px 24px rgba(11,31,58,.06);
  --wrap: 1180px;
  --gutter: 16px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.65; color: var(--ink); background: var(--bg); }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-700); text-underline-offset: 3px; }
a:hover { color: var(--navy-900); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy-900); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--brand-500); outline-offset: 2px; border-radius: 4px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto; background: #fff; padding: 10px 14px; border-radius: 8px; box-shadow: var(--shadow); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 64px 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy-900); color: #DCE5F2; }
.section--navy h2, .section--navy h3 { color: #fff; }
@media (min-width: 900px) { .section { padding: 96px 0; } :root { --gutter: 24px; } }

.eyebrow { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-700); margin-bottom: 12px; }
.section--navy .eyebrow { color: var(--brand-500); }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 680px; }
.section--navy .lead { color: #B8C6DA; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--brand-600); color: #fff; }
.btn--primary:hover { background: var(--brand-500); color: #fff; }
.btn--dark { background: var(--navy-900); color: #fff; }
.btn--dark:hover { background: var(--navy-700); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy-900); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy-900); color: var(--navy-900); }
.section--navy .btn--ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.section--navy .btn--ghost:hover { border-color: #fff; color: #fff; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .95rem; }
.text-link { font-family: var(--font-head); font-weight: 700; text-decoration: none; }
.text-link::after { content: " \2192"; }

/* ---------- Header ---------- */
/* Note: no backdrop-filter here — it would trap the fixed mobile menu inside the header. */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy-900); font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; }
.brand img { max-height: 40px; width: auto; }
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo-link img, img.custom-logo { max-height: 44px; width: auto; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; flex: none; }
.brand-mark svg, .brand-mark img { width: 36px; height: 36px; }
.brand span b { color: var(--brand-600); font-weight: 800; }

.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 10px; cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }
.primary-nav { position: fixed; inset: 68px 0 0 0; background: #fff; padding: 16px var(--gutter) 32px; overflow-y: auto; display: none; }
.primary-nav.is-open { display: block; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; }
.primary-nav li > a { display: block; padding: 12px 4px; color: var(--navy-900); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.primary-nav .sub-menu a { padding-left: 20px; font-weight: 500; color: var(--muted); }
.primary-nav .current-menu-item > a { color: var(--brand-700); }
.header-cta { display: none; }
.nav-cta-mobile { margin-top: 20px; display: grid; gap: 10px; }

@media (min-width: 1080px) {
  .nav-toggle, .nav-cta-mobile { display: none; }
  .primary-nav { position: static; display: block; padding: 0; overflow: visible; background: transparent; }
  .primary-nav > ul { display: flex; gap: 4px; align-items: center; }
  .primary-nav li > a { border: 0; padding: 8px 12px; border-radius: 8px; font-size: .95rem; }
  .primary-nav li > a:hover { background: var(--bg-soft); }
  .primary-nav li { position: relative; }
  .primary-nav .sub-menu { position: absolute; top: 100%; left: 0; min-width: 260px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 8px; display: none; }
  .primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { display: block; }
  .primary-nav .sub-menu a { padding: 8px 12px; color: var(--navy-900); font-weight: 500; }
  .primary-nav .menu-item-has-children > a::after { content: ""; display: inline-block; margin-left: 6px; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); }
  .header-cta { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy-900); color: #C9D5E6; padding: 64px 0 72px; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 85% 10%, rgba(46,140,240,.22), transparent 70%), radial-gradient(500px 300px at 0% 100%, rgba(29,58,99,.9), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; gap: 48px; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--brand-500); }
.hero .lead { color: #B8C6DA; font-size: 1.15rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin: 28px 0 32px; }
.hero-actions .text-link { color: #fff; }
.hero-actions .text-link:hover { color: var(--brand-500); }
.hero-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; font-size: .98rem; }
.hero-points svg { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--brand-500); }

.hero-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 24px; }
.hero-card h2 { font-size: 1rem; color: #fff; margin-bottom: 4px; }
.hero-card p.small { font-size: .85rem; color: #93A4BD; margin-bottom: 16px; }
.vet-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.vet-list li { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; background: rgba(255,255,255,.05); border-radius: 10px; padding: 12px 14px; color: #E2E9F3; font-size: .95rem; }
.vet-list .num { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(46,140,240,.18); color: var(--brand-500); font-weight: 800; font-family: var(--font-head); font-size: .85rem; }
.vet-list .ok { color: var(--brand-500); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }

@media (min-width: 960px) {
  .hero { padding: 96px 0 104px; }
  .hero .wrap { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 64px; }
}

/* ---------- Audience strip ---------- */
.audience { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.audience div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; font-family: var(--font-head); font-weight: 700; color: var(--navy-900); font-size: .98rem; }
.audience small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--muted); font-size: .85rem; margin-top: 2px; }
@media (min-width: 900px) { .audience { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: border-color .15s, box-shadow .15s, transform .15s; position: relative; }
.card p { color: var(--muted); font-size: .97rem; margin-bottom: 0; }
a.card { display: block; text-decoration: none; color: inherit; }
a.card:hover { border-color: var(--brand-500); box-shadow: var(--shadow); transform: translateY(-2px); }
.card .icon { width: 44px; height: 44px; border-radius: 11px; background: var(--brand-50); color: var(--brand-700); display: grid; place-items: center; margin-bottom: 16px; }
.card .icon svg { width: 22px; height: 22px; }
.card .more { display: inline-block; margin-top: 14px; font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--brand-700); }
.card--feature { border-color: var(--navy-900); }
.badge { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--brand-700); background: var(--brand-50); padding: 3px 8px; border-radius: 999px; margin-bottom: 10px; }

/* ---------- Vetting checks ---------- */
.checks { display: grid; gap: 16px; }
.check { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 20px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.check .icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(46,140,240,.15); color: var(--brand-500); display: grid; place-items: center; }
.check .icon svg { width: 20px; height: 20px; }
.check h3 { margin-bottom: 4px; font-size: 1.05rem; }
.check p { margin: 0; color: #B8C6DA; font-size: .95rem; }
@media (min-width: 760px) { .checks { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .checks { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--brand-600); margin-bottom: 8px; }
.steps p { color: var(--muted); margin: 0; font-size: .97rem; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Transparency split ---------- */
.split { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.tick-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
.tick-list li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; }
.tick-list svg { width: 22px; height: 22px; color: var(--brand-600); margin-top: 2px; }
.tick-list strong { color: var(--navy-900); }
.panel { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.panel h3 { margin-bottom: 14px; }
.not-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.not-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--muted); }
.not-list svg { width: 20px; height: 20px; color: #B42318; margin-top: 3px; }

/* ---------- Network preview table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.data { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 640px; }
table.data th, table.data td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
table.data th { font-family: var(--font-head); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--bg-soft); }
table.data tr:last-child td { border-bottom: 0; }
.blur { filter: blur(5px); user-select: none; }

/* ---------- TODO notice (only shown to logged-in admins) ---------- */
.tb-todo { background: var(--warn-bg); border: 1px dashed var(--warn-line); color: #7A4B00; border-radius: 12px; padding: 16px 18px; font-size: .92rem; margin: 0 0 20px; }
.tb-todo strong { color: #5C3800; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; position: relative; font-family: var(--font-head); font-weight: 700; color: var(--navy-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--brand-600); font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 0 18px; color: var(--muted); }
.faq .answer p:last-child { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); border-radius: 22px; padding: 40px 24px; color: #C9D5E6; display: grid; gap: 24px; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.4fr 1fr; align-items: center; padding: 56px; } .cta-actions { justify-content: flex-end; } }

.channels { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.channels a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); color: #fff; text-decoration: none; font-size: .9rem; }
.channels a:hover { border-color: var(--brand-500); color: var(--brand-500); }
.channels svg { width: 16px; height: 16px; }

/* ---------- Page header / content ---------- */
.page-hero { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 48px 0 40px; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 10px; }
.breadcrumbs { font-size: .85rem; color: var(--muted); margin-bottom: 12px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs span[aria-hidden] { margin: 0 6px; }
.content { max-width: 760px; }
.content h2 { margin-top: 1.6em; font-size: 1.6rem; }
.content h3 { margin-top: 1.4em; }
.content img { border-radius: 12px; }
.content blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--brand-500); color: var(--muted); }

/* About */
.founder { display: grid; gap: 32px; align-items: start; }
.founder-photo { width: 100%; max-width: 320px; aspect-ratio: 4/5; border-radius: 18px; background: var(--navy-100); display: grid; place-items: center; overflow: hidden; color: var(--navy-700); font-family: var(--font-head); font-weight: 700; text-align: center; padding: 16px; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder .role { color: var(--brand-700); font-weight: 700; font-family: var(--font-head); margin-bottom: 16px; }
.facts { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; }
.facts li { padding: 10px 14px; background: var(--bg-soft); border-radius: 10px; font-size: .95rem; }
@media (min-width: 860px) { .founder { grid-template-columns: 320px 1fr; gap: 56px; } }

/* Contact */
.contact-grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.3fr .7fr; gap: 48px; } }
.contact-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.contact-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-card li a { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; text-decoration: none; color: var(--navy-900); font-weight: 600; }
.contact-card li small { display: block; color: var(--muted); font-weight: 400; font-size: .82rem; }
.contact-card .ic { width: 36px; height: 36px; border-radius: 10px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--brand-700); }
.contact-card .ic svg { width: 18px; height: 18px; }

/* Forms */
.tb-form { display: grid; gap: 16px; }
.tb-form .row { display: grid; gap: 16px; }
@media (min-width: 640px) { .tb-form .row { grid-template-columns: 1fr 1fr; } }
.tb-form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--navy-900); }
.tb-form .req { color: #B42318; }
.tb-form input[type=text], .tb-form input[type=email], .tb-form input[type=url], .tb-form select, .tb-form textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #CBD5E1; border-radius: 10px; font: inherit; color: var(--ink); background: #fff; }
.tb-form textarea { min-height: 140px; resize: vertical; }
.tb-form input:focus, .tb-form select:focus, .tb-form textarea:focus { border-color: var(--brand-600); outline: 3px solid rgba(46,140,240,.25); outline-offset: 0; }
.tb-form .consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: .9rem; color: var(--muted); font-weight: 400; }
.tb-form .consent input { width: 18px; height: 18px; margin-top: 3px; }
.tb-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tb-notice { padding: 14px 16px; border-radius: 10px; margin-bottom: 16px; font-weight: 600; }
.tb-notice--ok { background: #ECFDF3; color: #05603A; border: 1px solid #A6F4C5; }
.tb-notice--err { background: #FEF3F2; color: #912018; border: 1px solid #FECDCA; }

/* Blog list */
.post-list { display: grid; gap: 24px; }
@media (min-width: 760px) { .post-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .post-list { grid-template-columns: repeat(3, 1fr); } }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.post-card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.post-card .body { padding: 20px; }
.post-card h2 { font-size: 1.15rem; margin-bottom: 8px; }
.post-card h2 a { color: var(--navy-900); text-decoration: none; }
.post-card .meta { font-size: .82rem; color: var(--muted); margin-bottom: 8px; }
.pagination { margin-top: 40px; display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: var(--navy-900); }
.pagination .current { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #93A4BD; padding: 64px 0 24px; font-size: .95rem; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
.footer-grid .about { grid-column: 1 / -1; }
.footer-grid h2 { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { color: #C9D5E6; text-decoration: none; }
.footer-grid a:hover { color: var(--brand-500); }
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.site-footer .brand span b { color: var(--brand-500); }
.footer-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .85rem; }
.footer-bottom button { background: none; border: 0; color: #C9D5E6; font: inherit; text-decoration: underline; cursor: pointer; padding: 0; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .footer-grid .about { grid-column: auto; } }

/* ---------- Floating contact ---------- */
.float-contact { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: flex; flex-direction: column; gap: 10px; }
.float-contact a { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(11,31,58,.25); color: #fff; }
.float-contact a svg { width: 26px; height: 26px; }
.float-contact .wa { background: #1FAF5A; }
.float-contact .tg { background: #229ED9; }

/* ---------- Cookie banner ---------- */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100; max-width: 560px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 40px rgba(11,31,58,.18); padding: 20px; display: none; }
.cookie-banner.is-visible { display: block; }
.cookie-banner h2 { font-size: 1.05rem; margin-bottom: 6px; }
.cookie-banner p { font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-actions .btn { flex: 1 1 auto; min-height: 42px; padding: 8px 14px; font-size: .9rem; }
.cookie-prefs { display: none; margin: 0 0 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.cookie-prefs.is-open { display: grid; gap: 10px; }
.cookie-prefs label { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: .9rem; }
.cookie-prefs small { display: block; color: var(--muted); }
body.has-cookie-banner .float-contact { bottom: 16px; }
@media (min-width: 640px) { .cookie-banner { left: 24px; bottom: 24px; } }

/* ---------- Brands strip ---------- */
.brands { margin-bottom: 32px; text-align: center; }
.brands-title { font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.brands-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; }
.brands-list li { font-family: var(--font-head); font-weight: 800; font-size: 1rem; color: var(--navy-700); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 16px; letter-spacing: -0.01em; }

/* ---------- Publisher network ---------- */
.net-filters { display: grid; gap: 12px; margin-bottom: 16px; }
.net-filters input, .net-filters select { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #CBD5E1; border-radius: 10px; font: inherit; background: #fff; color: var(--ink); }
.net-filters label { display: block; font-size: .8rem; font-weight: 700; color: var(--muted); margin-bottom: 4px; text-transform: uppercase; letter-spacing: .04em; }
.net-currency { display: inline-flex; border: 1px solid #CBD5E1; border-radius: 10px; overflow: hidden; min-height: 46px; }
.net-currency button { border: 0; background: #fff; padding: 0 16px; font: inherit; font-weight: 700; cursor: pointer; color: var(--navy-900); }
.net-currency button[aria-pressed="true"] { background: var(--navy-900); color: #fff; }
@media (min-width: 900px) { .net-filters { grid-template-columns: 2fr 1fr 1fr 1fr auto; align-items: end; } }
.net-count { font-size: .9rem; color: var(--muted); margin: 0 0 10px; }
table.data td.domain { font-weight: 700; color: var(--navy-900); white-space: nowrap; }
table.data .btn--sm { min-height: 36px; padding: 6px 12px; font-size: .85rem; }
.net-empty { padding: 24px; text-align: center; color: var(--muted); }
.network-note { margin-top: 16px; font-size: .9rem; color: var(--muted); max-width: 760px; }
.net-more { margin-top: 16px; }

/* Publisher network: wide filters + pager */
@media (min-width: 900px) { .net-filters--wide { grid-template-columns: 2fr 1fr 1.3fr 1fr .8fr .8fr; } }
.net-pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 16px; font-size: .92rem; color: var(--muted); }
.net-pager .btn[disabled] { opacity: .45; cursor: default; transform: none; }
.tb-network.is-loading table { opacity: .5; transition: opacity .15s; }
/* ---------- Animated hero ---------- */
.hero-title { max-width: 18ch; }
.rotator { display: inline-block; color: var(--brand-500); white-space: nowrap; vertical-align: bottom; }
.rotator-word { display: inline-block; transition: opacity .3s ease, transform .3s ease; }
.rotator-word.is-out { opacity: 0; transform: translateY(-0.35em); }
.rotator-word.is-in { animation: tb-word-in .4s ease both; }
@keyframes tb-word-in { from { opacity: 0; transform: translateY(0.35em); } to { opacity: 1; transform: none; } }
.hero-title-end { display: block; }
.hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 32px 0 0; padding: 20px 0 0; border-top: 1px solid rgba(255,255,255,.12); }
.hero-stats div { margin: 0; }
.hero-stats dt { font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; color: #fff; line-height: 1.1; }
.hero-stats dd { margin: 4px 0 0; font-size: .88rem; color: #93A4BD; }
@media (min-width: 640px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Client logos ---------- */
.logo-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .logo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .logo-grid { grid-template-columns: repeat(5, 1fr); } }
.logo-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 14px 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 120px; text-align: center; }
.logo-card img { max-height: 56px; width: auto; max-width: 100%; mix-blend-mode: multiply; }
.logo-card span { font-size: .78rem; color: var(--muted); font-weight: 600; }
.logo-strip { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 28px; list-style: none; margin: 0; padding: 0; }
.logo-strip img { height: 34px; width: auto; mix-blend-mode: multiply; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.logo-strip li:hover img { filter: none; opacity: 1; }
/* ---------- Private list gate ---------- */
.net-gate-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .net-gate-grid { grid-template-columns: .9fr 1.1fr; gap: 56px; } }
.net-gate-form { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); }
.net-gate-box { max-width: 640px; margin: 0 auto; text-align: center; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 18px; padding: 32px 24px; }
.net-gate-box .icon { width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 14px; background: var(--brand-50); color: var(--brand-700); display: grid; place-items: center; }
.net-gate-box .icon svg { width: 26px; height: 26px; }
.blur-text { letter-spacing: .02em; color: var(--muted) !important; }
.service-hero .lead { max-width: 760px; }
.portfolio-stats { border-top: 0; margin: 0; padding: 0; }
/* Icons inside buttons */
.btn svg { width: 18px; height: 18px; flex: none; }.tb-form input[type=password] { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #CBD5E1; border-radius: 10px; font: inherit; color: var(--ink); background: #fff; }
.tb-form input[type=password]:focus { border-color: var(--brand-600); outline: 3px solid rgba(46,140,240,.25); outline-offset: 0; }