/* ==========================================================================
   Jernivox â€” Total Adblock advertorial
   Design: neo-flat-fintech Â· dark-cinematic-core hero Â· concentric-hex-rings
   Palette sampled from logo.png:
     navy   #1a3a5c (primary)   deep  #0e1c33 (cinematic ground)
     teal   #1f7a8c (secondary) maroon #93283a (accent)
   ========================================================================== */

/* ---------- Design tokens ------------------------------------------------ */
:root {
  --primary:      #1a3a5c;
  --primary-2:    #23557d;
  --deep:         #0e1c33;
  --deep-2:       #13294a;
  --deep-3:       #1b3860;
  --teal:         #1f7a8c;
  --teal-2:       #2c93a6;
  --teal-soft:    #e4f1f4;
  --accent:       #93283a;
  --accent-2:     #b23a4d;
  --accent-soft:  #f7e7ea;

  --ink:          #14202e;   /* headings on light */
  --body:         #38424f;   /* running text on light */
  --muted:        #5a6775;   /* secondary text on light */

  --white:        #ffffff;
  --bg:           #ffffff;
  --bg-soft:      #f3f6fa;
  --bg-soft-2:    #e9eff6;
  --line:         #dbe3ec;
  --line-2:       #cbd6e2;

  /* on-dark */
  --on-dark:      #eef4fb;
  --on-dark-soft: #b7c6da;
  --on-dark-line: rgba(255,255,255,.14);

  /* CTA (white text verified AA: ~6.3:1 on --cta-solid) */
  --cta-solid:    #15697c;
  --cta-a:        #1a7c90;
  --cta-b:        #145d6d;

  --radius:       16px;
  --radius-sm:    10px;
  --radius-lg:    24px;
  --shadow-sm:    0 1px 2px rgba(16,32,54,.06), 0 2px 6px rgba(16,32,54,.05);
  --shadow:       0 4px 14px rgba(16,32,54,.08), 0 12px 30px rgba(16,32,54,.07);
  --shadow-lg:    0 18px 50px rgba(14,28,51,.16);
  --ring:         0 0 0 3px rgba(31,122,140,.45);

  --maxw:         1160px;
  --measure:      68ch;

  --fs-display: clamp(2.15rem, 1.35rem + 3.4vw, 3.9rem);
  --fs-h2:      clamp(1.6rem, 1.15rem + 1.9vw, 2.5rem);
  --fs-h3:      clamp(1.2rem, 1.02rem + 0.7vw, 1.5rem);
  --fs-body:    clamp(1rem, 0.97rem + 0.18vw, 1.125rem);
  --fs-lead:    clamp(1.12rem, 1.02rem + 0.5vw, 1.32rem);
  --fs-kicker:  .78rem;

  --sans: "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, -apple-system,
          "Noto Sans", sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia,
           "Times New Roman", serif;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

h1, h2, h3, h4 { color: var(--ink); line-height: 1.16; font-weight: 700;
  letter-spacing: -.01em; margin: 0 0 .5em;
  overflow-wrap: break-word; word-break: break-word; hyphens: auto; }
p { margin: 0 0 1.1em; overflow-wrap: break-word; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; height: auto; }
strong { color: var(--ink); font-weight: 700; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin: .35em 0; }
hr { border: 0; height: 1px; background: var(--line); margin: 2rem 0; }

:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 6px;
}

::selection { background: var(--teal); color: #fff; }

/* scrollbar */
* { scrollbar-color: var(--teal) var(--bg-soft-2); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bg-soft-2); }
::-webkit-scrollbar-thumb {
  background: var(--primary-2); border-radius: 20px;
  border: 3px solid var(--bg-soft-2);
}
::-webkit-scrollbar-thumb:hover { background: var(--teal); }

/* ---------- Layout helpers --------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2.5rem); }
.section { padding-block: clamp(3rem, 7vw, 5.5rem); position: relative; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding-block: clamp(2.2rem, 5vw, 3.5rem); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--primary); color: #fff; padding: .6rem 1rem;
  border-radius: 8px; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; color:#fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--fs-kicker); font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--teal); margin: 0 0 .85rem;
}
.eyebrow::before {
  content: ""; width: 15px; height: 17px; flex: none;
  background: var(--teal);
  -webkit-mask: var(--hex) center/contain no-repeat;
          mask: var(--hex) center/contain no-repeat;
}
.section-head { max-width: 720px; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); font-size: var(--fs-lead); margin: 0; }

/* smooth-scroll targets get breathing room from the top */
[id] { scroll-margin-top: 24px; }
:target { scroll-margin-top: 24px; }

/* hexagon mask token reused by motif accents */
:root {
  --hex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 30'%3E%3Cpath d='M13 0l11.26 6.5v13L13 30 1.74 19.5v-13z'/%3E%3C/svg%3E");
}

/* ---------- Buttons ----------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .6rem; font-family: inherit; font-size: 1.02rem; font-weight: 700;
  line-height: 1.1; text-align: center; cursor: pointer;
  padding: .95rem 1.6rem; border-radius: 999px; border: 1px solid transparent;
  min-height: 48px; transition: transform .18s var(--ease),
    box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.btn svg { flex: none; }
.btn--cta {
  color: #fff;
  background: linear-gradient(135deg, var(--cta-a), var(--cta-b));
  box-shadow: 0 8px 20px rgba(21,105,124,.32);
}
.btn--cta:hover {
  color: #fff; transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(21,105,124,.42);
}
.btn--cta:active { transform: translateY(0); }
.btn--ghost {
  color: var(--on-dark); background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.28);
}
.btn--ghost:hover { color: #fff; background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.5); }
.btn--outline {
  color: var(--primary); background: transparent; border-color: var(--line-2);
}
.btn--outline:hover { color: var(--accent); border-color: var(--accent); }
.btn--block { width: 100%; }
.btn--lg { font-size: 1.08rem; padding: 1.05rem 1.9rem; min-height: 54px; }

/* CTA + trust badge cluster */
.cta-cluster { display: flex; flex-direction: column; align-items: center;
  gap: .85rem; }
.cta-cluster.start { align-items: flex-start; }
.trust-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: .3rem .8rem;
  box-shadow: var(--shadow-sm);
}
.trust-pill img { height: 30px; width: auto; }
.cta-note { font-size: .85rem; color: var(--muted); margin: 0; max-width: 40ch; }
.cta-cluster.on-dark .cta-note { color: var(--on-dark-soft); }

/* ---------- Topbar ------------------------------------------------------ */
.topbar {
  background: var(--deep); color: var(--on-dark-soft);
  text-align: center; font-size: .74rem; letter-spacing: .22em;
  text-transform: uppercase; font-weight: 600;
  padding: .5rem 1rem; border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar span { display: inline-flex; align-items: center; gap: .5rem; }
.topbar span::before, .topbar span::after {
  content: ""; width: 9px; height: 10px; background: var(--teal-2);
  -webkit-mask: var(--hex) center/contain no-repeat;
          mask: var(--hex) center/contain no-repeat;
}

/* ---------- Header (NOT sticky) ---------------------------------------- */
.site-header {
  background: var(--white); border-bottom: 1px solid var(--line);
  position: relative; z-index: 60;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 76px;
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 40px; width: auto; }
.brand--inner img { height: 42px; }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2rem); }
.nav-list {
  display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 1.9rem);
  list-style: none; margin: 0; padding: 0;
}
.nav-list a {
  color: var(--primary); font-weight: 600; font-size: .98rem;
  padding: .4rem .1rem; position: relative;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--teal); transform: scaleX(0); transform-origin: left;
  transition: transform .22s var(--ease);
}
.nav-list a:hover { color: var(--accent); }
.nav-list a:hover::after { transform: scaleX(1); background: var(--accent); }

.header-cta { display: inline-flex; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line-2);
  background: var(--bg-soft); border-radius: 12px; cursor: pointer;
  padding: 0; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; border-radius: 2px;
  background: var(--primary); transition: transform .25s var(--ease),
    opacity .2s var(--ease);
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after  { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (dark cinematic core) --------------------------------- */
.hero {
  position: relative; overflow: clip;
  background:
    radial-gradient(1100px 520px at 78% -10%, rgba(44,147,166,.28), transparent 60%),
    radial-gradient(760px 520px at 8% 108%, rgba(147,40,58,.24), transparent 62%),
    linear-gradient(160deg, var(--deep) 0%, var(--deep-2) 55%, var(--deep-3) 100%);
  color: var(--on-dark);
  isolation: isolate;
}
.hero::before { /* concentric-hex-rings signature pattern */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: var(--hexrings);
  background-repeat: no-repeat;
  background-position: 88% 42%;
  background-size: min(680px, 90%) auto;
  opacity: .5;
  pointer-events: none;
}
.hero::after { /* subtle grain vignette */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 100% at 50% 0%, transparent 55%, rgba(6,14,28,.55));
  pointer-events: none;
}
.hero .wrap {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
.hero-copy { max-width: 640px; }
.hero h1 {
  color: #fff; font-size: var(--fs-display); letter-spacing: -.02em;
  margin: 0 0 1.1rem; text-wrap: balance;
}
.hero .lead {
  font-size: var(--fs-lead); color: var(--on-dark-soft);
  max-width: 58ch; margin: 0 0 1.8rem;
}
.hero .cta-cluster { align-items: flex-start; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: .55rem .5rem; margin: 1.7rem 0 0;
  list-style: none; padding: 0;
}
.hero-meta li {
  display: inline-flex; align-items: center; gap: .5rem; margin: 0;
  font-size: .85rem; color: var(--on-dark-soft); font-weight: 600;
  background: rgba(255,255,255,.06); border: 1px solid var(--on-dark-line);
  padding: .4rem .8rem; border-radius: 999px;
}
.hero-meta svg { width: 16px; height: 16px; color: var(--teal-2); flex: none; }

.hero-figure { position: relative; }
.hero-figure img {
  width: 100%; height: auto; border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow-lg);
}
.hero-figure .float-card {
  position: absolute; left: -18px; bottom: -18px;
  background: rgba(12,24,44,.72); backdrop-filter: blur(8px);
  border: 1px solid var(--on-dark-line); border-radius: var(--radius);
  padding: .85rem 1.05rem; display: flex; align-items: center; gap: .7rem;
  box-shadow: var(--shadow-lg); max-width: 78%;
}
.hero-figure .float-card .ic {
  width: 38px; height: 38px; border-radius: 10px; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--teal), var(--teal-2));
  color: #fff;
}
.hero-figure .float-card .ic svg { width: 20px; height: 20px; }
.hero-figure .float-card strong { color: #fff; display: block; font-size: .92rem;
  line-height: 1.25; }
.hero-figure .float-card span { color: var(--on-dark-soft); font-size: .78rem; }

/* ---------- Article ----------------------------------------------------- */
.article-layout {
  display: grid; grid-template-columns: minmax(0,1fr) 300px;
  gap: clamp(1.8rem, 4vw, 3.2rem); align-items: start;
}
.article-main { min-width: 0; }
.article-body { max-width: var(--measure); }

.byline {
  display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1rem;
  padding-bottom: 1.3rem; margin-bottom: 1.6rem;
  border-bottom: 1px solid var(--line);
}
.byline .avatar {
  width: 46px; height: 46px; border-radius: 12px; flex: none;
  display: grid; place-items: center; color: #fff; font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--teal));
  letter-spacing: .02em;
}
.byline .who { font-weight: 700; color: var(--ink); line-height: 1.3; }
.byline .who span { display: block; font-weight: 500; color: var(--muted);
  font-size: .85rem; }
.byline .updated { margin-left: auto; font-size: .85rem; color: var(--muted);
  display: inline-flex; align-items: center; gap: .4rem; }
.byline .updated svg { width: 15px; height: 15px; color: var(--teal); }

.disclosure {
  display: flex; gap: .75rem; align-items: flex-start;
  background: var(--accent-soft); border: 1px solid #eccdd2;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm); padding: .9rem 1.1rem;
  margin: 0 0 2rem; font-size: .92rem; color: #6f2531;
}
.disclosure svg { width: 20px; height: 20px; flex: none; color: var(--accent);
  margin-top: 2px; }
.disclosure strong { color: var(--accent); }

.article-body h2 { font-size: var(--fs-h2); margin-top: 2.2rem; }
.article-body h3 { font-size: var(--fs-h3); margin-top: 1.6rem; }
.article-body h2:first-child { margin-top: 0; }
.article-body > p { font-size: var(--fs-body); }
.article-body figure { margin: 2rem 0; }
.article-body figure img {
  width: 100%; height: auto; border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.article-body figcaption {
  font-size: .85rem; color: var(--muted); margin-top: .6rem;
  padding-left: .9rem; border-left: 3px solid var(--teal);
}
.pullquote {
  margin: 2rem 0; padding: 1.4rem 1.6rem 1.4rem 2.4rem; position: relative;
  font-family: var(--serif); font-size: clamp(1.2rem, 1rem + 1vw, 1.55rem);
  line-height: 1.4; color: var(--primary); font-style: italic;
  background: var(--bg-soft); border-radius: var(--radius);
}
.pullquote::before {
  content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 5px;
  border-radius: 5px; background: linear-gradient(var(--teal), var(--accent));
}

.article-cta {
  margin: 2.4rem 0 .5rem; padding: 1.6rem; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--bg-soft), var(--teal-soft));
  border: 1px solid var(--line); text-align: center;
}
.article-cta p { margin: 0 0 1rem; color: var(--primary); font-weight: 600; }

/* Key takeaways aside */
.aside-card {
  position: sticky; top: 20px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  padding: 1.4rem 1.5rem; overflow: hidden;
}
.aside-card::before {
  content: ""; display: block; height: 4px; margin: -1.4rem -1.5rem 1.2rem;
  background: linear-gradient(90deg, var(--primary), var(--teal), var(--accent));
}
.aside-card h2 {
  font-size: 1.12rem; display: flex; align-items: center; gap: .55rem;
  margin-bottom: 1rem;
}
.aside-card h2 svg { width: 20px; height: 20px; color: var(--teal); flex: none; }
.aside-list { list-style: none; margin: 0; padding: 0; }
.aside-list li {
  position: relative; padding-left: 1.9rem; margin: 0 0 .9rem;
  font-size: .94rem; color: var(--body); line-height: 1.5;
}
.aside-list li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 22px;
  background: var(--teal);
  -webkit-mask: var(--hex-check) center/contain no-repeat;
          mask: var(--hex-check) center/contain no-repeat;
}
:root {
  --hex-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 30'%3E%3Cpath d='M13 0l11.26 6.5v13L13 30 1.74 19.5v-13z' fill='%23000' opacity='.18'/%3E%3Cpath d='M8 15l3.4 3.4L18 11.8' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ---------- Process timeline ------------------------------------------- */
.timeline { max-width: 720px; margin-inline: auto; position: relative;
  padding-left: 0; list-style: none; }
.timeline::before {
  content: ""; position: absolute; left: 27px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(var(--teal), var(--primary), var(--accent));
  opacity: .35;
}
.step { position: relative; padding: 0 0 1.9rem 4.6rem; }
.step:last-child { padding-bottom: 0; }
.step .num {
  position: absolute; left: 0; top: 0; width: 56px; height: 56px;
  border-radius: 16px; display: grid; place-items: center; z-index: 1;
  font-weight: 800; font-size: 1.25rem; color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--teal));
  box-shadow: var(--shadow-sm);
  clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0% 50%);
}
.step h3 { font-size: 1.18rem; margin: .35rem 0 .35rem; }
.step p { margin: 0; color: var(--muted); }

/* ---------- Benefits cards --------------------------------------------- */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(1rem, 2.4vw, 1.6rem);
}
.benefit {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease),
    border-color .22s var(--ease);
}
.benefit::after {
  content: ""; position: absolute; right: -30px; top: -30px; width: 120px;
  height: 120px; background: var(--teal); opacity: .05;
  -webkit-mask: var(--hex) center/contain no-repeat;
          mask: var(--hex) center/contain no-repeat;
  transition: opacity .22s var(--ease);
}
.benefit:hover {
  transform: translateY(-4px); box-shadow: var(--shadow);
  border-color: var(--teal);
}
.benefit:hover::after { opacity: .12; }
.benefit .ic {
  width: 52px; height: 52px; border-radius: 14px; display: grid;
  place-items: center; margin-bottom: 1rem; color: var(--teal);
  background: var(--teal-soft); transition: background .22s var(--ease),
    color .22s var(--ease);
}
.benefit:hover .ic { background: var(--teal); color: #fff; }
.benefit .ic svg { width: 26px; height: 26px; }
.benefit h3 { font-size: 1.14rem; margin-bottom: .5rem; }
.benefit p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ---------- Comparison table ------------------------------------------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch; }
table.compare { width: 100%; border-collapse: collapse; min-width: 520px;
  background: var(--white); }
table.compare caption { caption-side: bottom; font-size: .82rem;
  color: var(--muted); padding: .8rem 1rem; text-align: left; }
table.compare th, table.compare td { padding: .95rem 1.1rem; text-align: left;
  border-bottom: 1px solid var(--line); font-size: .96rem; vertical-align: top; }
table.compare thead th { background: var(--primary); color: #fff;
  font-size: .9rem; letter-spacing: .02em; }
table.compare thead th:first-child { background: var(--deep-2); }
table.compare tbody th { font-weight: 700; color: var(--ink);
  background: var(--bg-soft); width: 34%; }
table.compare .yes { color: var(--teal); font-weight: 700; }
table.compare tbody tr:last-child th,
table.compare tbody tr:last-child td { border-bottom: 0; }

/* ---------- FAQ --------------------------------------------------------- */
.faq { max-width: 800px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-question {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: inherit; font-size: 1.08rem; font-weight: 700; color: var(--ink);
  padding: 1.2rem 3rem 1.2rem .2rem; position: relative; line-height: 1.4;
}
.faq-question:hover { color: var(--teal); }
.faq-question .chev {
  position: absolute; right: .3rem; top: 50%; width: 30px; height: 30px;
  transform: translateY(-50%); border-radius: 50%; background: var(--bg-soft);
  display: grid; place-items: center; transition: background .2s var(--ease); flex: none;
}
.faq-question .chev::before, .faq-question .chev::after {
  content: ""; position: absolute; width: 12px; height: 2px; border-radius: 2px;
  background: var(--primary); transition: transform .25s var(--ease);
}
.faq-question .chev::after { transform: rotate(90deg); }
.faq-question[aria-expanded="true"] .chev { background: var(--teal); }
.faq-question[aria-expanded="true"] .chev::before,
.faq-question[aria-expanded="true"] .chev::after { background: #fff; }
.faq-question[aria-expanded="true"] .chev::after { transform: rotate(0); opacity: 0; }
.faq-answer { overflow: hidden;
  transition: max-height .3s var(--ease); }
/* answers open by default (readable without JS); JS collapses them */
.js .faq-answer { max-height: 0; }
.faq-answer .inner { padding: 0 3rem 1.3rem .2rem; color: var(--body);
  max-width: 72ch; }
.faq-answer .inner p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------------------------------------------------- */
.cta-band {
  position: relative; overflow: clip; isolation: isolate;
  background:
    radial-gradient(680px 420px at 82% 20%, rgba(44,147,166,.32), transparent 60%),
    radial-gradient(560px 420px at 10% 100%, rgba(147,40,58,.26), transparent 60%),
    linear-gradient(150deg, var(--deep) 0%, var(--deep-2) 60%, var(--primary) 130%);
  color: var(--on-dark); text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .4;
  background: var(--hexrings) center/min(560px,85%) no-repeat;
}
.cta-band h2 { color: #fff; font-size: var(--fs-h2); max-width: 20ch;
  margin-inline: auto; }
.cta-band p { color: var(--on-dark-soft); font-size: var(--fs-lead);
  max-width: 52ch; margin: 0 auto 1.8rem; }
.cta-band .cta-cluster { align-items: center; }

/* ---------- Advertorial disclosure block ------------------------------- */
.disclose-block { background: var(--bg-soft-2); border-top: 1px solid var(--line); }
.disclose-block .wrap { padding-block: 2.2rem; }
.disclose-inner {
  max-width: 900px; margin-inline: auto; display: flex; gap: 1rem;
  align-items: flex-start; font-size: .9rem; color: var(--muted);
}
.disclose-inner .badge {
  flex: none; width: 40px; height: 44px; display: grid; place-items: center;
  color: var(--primary);
}
.disclose-inner .badge svg { width: 40px; height: 44px; }
.disclose-inner h2 { font-size: 1rem; color: var(--ink); margin-bottom: .4rem; }
.disclose-inner a { color: var(--teal); font-weight: 600; text-decoration: underline; }
.disclose-inner a:hover { color: var(--accent); }

/* ---------- Footer ------------------------------------------------------ */
.site-footer {
  background: var(--deep); color: var(--on-dark-soft);
  padding-block: clamp(2.6rem, 5vw, 3.6rem) 1.6rem;
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--primary), var(--teal), var(--accent)) 1;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1.4fr; gap: 2rem;
  padding-bottom: 2rem; border-bottom: 1px solid var(--on-dark-line);
}
.footer-brand .logo-pill {
  display: inline-block; background: #fff; border-radius: 12px;
  padding: .55rem .8rem; margin-bottom: 1rem;
}
.footer-brand .logo-pill img { height: 34px; width: auto; }
.footer-brand p { font-size: .92rem; color: var(--on-dark-soft); max-width: 34ch;
  margin: 0; }
.footer-col h3 { color: #fff; font-size: .82rem; letter-spacing: .12em;
  text-transform: uppercase; margin-bottom: 1rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 0; }
.footer-links a {
  color: var(--on-dark-soft); display: inline-flex; align-items: center;
  gap: .5rem; padding: .42rem 0; min-height: 40px; font-size: .95rem;
}
.footer-links a::before {
  content: ""; width: 8px; height: 9px; background: var(--teal-2); flex: none;
  -webkit-mask: var(--hex) center/contain no-repeat;
          mask: var(--hex) center/contain no-repeat;
  transition: transform .2s var(--ease);
}
.footer-links a:hover { color: #fff; }
.footer-links a:hover::before { transform: translateX(3px); }
.footer-contact { font-style: normal; font-size: .95rem; line-height: 1.7; }
.footer-contact .row { display: flex; gap: .6rem; margin-bottom: .5rem; }
.footer-contact svg { width: 17px; height: 17px; color: var(--teal-2); flex: none;
  margin-top: 3px; }
.footer-contact a { color: var(--on-dark-soft); }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; justify-content: space-between;
  align-items: center; padding-top: 1.4rem; font-size: .84rem;
  color: var(--on-dark-soft);
}
.footer-bottom p { margin: 0; }
.footer-compliance { max-width: 62ch; opacity: .82; }

/* ---------- Inner page hero -------------------------------------------- */
.page-hero {
  position: relative; overflow: clip; isolation: isolate;
  background:
    radial-gradient(700px 360px at 85% -20%, rgba(44,147,166,.25), transparent 60%),
    linear-gradient(160deg, var(--deep) 0%, var(--deep-2) 70%, var(--deep-3) 120%);
  color: var(--on-dark); padding-block: clamp(2.6rem, 6vw, 4.2rem);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .4;
  background: var(--hexrings) 92% center/min(460px,70%) no-repeat;
}
.page-hero .crumb { font-size: .82rem; color: var(--on-dark-soft);
  letter-spacing: .06em; margin-bottom: .7rem; }
.page-hero .crumb a { color: var(--teal-2); }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem);
  margin: 0 0 .7rem; max-width: 20ch; }
.page-hero p { color: var(--on-dark-soft); font-size: var(--fs-lead);
  max-width: 60ch; margin: 0; }

/* ---------- Legal / prose content -------------------------------------- */
.prose { max-width: 820px; margin-inline: auto; }
.prose-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  padding: clamp(1.5rem, 4vw, 2.8rem);
}
.prose h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.7rem); margin-top: 2rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin-top: 1.5rem; }
.prose .lead { font-size: var(--fs-lead); color: var(--body); }
.prose .toc {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 1.2rem 1.4rem; margin-bottom: 2rem;
}
.prose .toc h2 { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal); margin: 0 0 .7rem; }
.prose .toc ol { margin: 0; padding-left: 1.2rem; columns: 2; column-gap: 2rem; }
.prose .toc li { margin: .3rem 0; }
.prose .toc a { color: var(--primary); font-weight: 600; }
.prose .toc a:hover { color: var(--accent); }
.updated-tag {
  display: inline-flex; align-items: center; gap: .45rem; font-size: .84rem;
  color: var(--muted); background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 999px; padding: .35rem .85rem; margin-bottom: 1.5rem;
}
.updated-tag svg { width: 15px; height: 15px; color: var(--teal); }

/* info cards for about/contact */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 1.2rem; margin: 1.5rem 0; }
.info-card {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.4rem 1.5rem;
}
.info-card .ic { width: 46px; height: 46px; border-radius: 12px; display: grid;
  place-items: center; background: var(--teal-soft); color: var(--teal);
  margin-bottom: .9rem; }
.info-card .ic svg { width: 24px; height: 24px; }
.info-card h3 { font-size: 1.08rem; margin-bottom: .4rem; }
.info-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.info-card a { font-weight: 600; word-break: break-word; }

/* ---------- Reveal on scroll ------------------------------------------- */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(22px);
  transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .benefit, .nav-list a::after { transition: none; }
}

/* ---------- Cookie consent --------------------------------------------- */
.cookie {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%);
  z-index: 120; width: min(680px, calc(100% - 24px));
  background: var(--white); border: 1px solid var(--line-2);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 1.15rem 1.3rem; display: none;
  gap: 1rem; align-items: center;
}
.cookie.show { display: flex; }
.cookie .txt { font-size: .9rem; color: var(--body); flex: 1 1 260px; margin: 0; }
.cookie .txt a { color: var(--teal); text-decoration: underline; font-weight: 600; }
.cookie .acts { display: flex; gap: .6rem; flex: none; }
.cookie .btn { padding: .7rem 1.15rem; min-height: 44px; font-size: .95rem; }
.cookie .btn--cta { background: linear-gradient(135deg, var(--cta-a), var(--cta-b)); }

/* ---------- Responsive -------------------------------------------------- */
@media (max-width: 960px) {
  .article-layout { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .aside-card { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-figure { order: -1; max-width: 560px; }
  .hero .cta-cluster, .hero-copy { max-width: 100%; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); flex-direction: column; align-items: stretch;
    gap: 0; padding: .5rem clamp(1.1rem,4vw,2.5rem) 1.2rem;
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height .3s var(--ease), visibility .3s var(--ease);
  }
  .nav.open { max-height: 420px; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-list a { display: block; padding: .95rem .2rem; min-height: 48px; }
  .nav-list a::after { display: none; }
  .nav .header-cta { display: flex; margin-top: 1rem; }
  .nav .header-cta .btn { width: 100%; }
}
@media (max-width: 620px) {
  .footer-grid { grid-template-columns: 1fr; }
  .cookie { flex-direction: column; align-items: stretch; }
  .cookie .acts { justify-content: stretch; }
  .cookie .acts .btn { flex: 1; }
  .hero-figure .float-card { position: static; max-width: 100%; margin-top: 1rem; }
  .prose .toc ol { columns: 1; }
  .byline .updated { margin-left: 0; width: 100%; }
}
@media (max-width: 400px) {
  .step { padding-left: 4rem; }
  .step .num { width: 48px; height: 48px; font-size: 1.1rem; }
  .timeline::before { left: 23px; }
}

/* concentric-hex-rings background token (derived from logo hexagon mark) */
:root {
  --hexrings: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400'%3E%3Cg fill='none' stroke='%232c93a6' stroke-width='1.4'%3E%3Cpath d='M200 40l138.6 80v160L200 360 61.4 280V120z' opacity='.55'/%3E%3Cpath d='M200 80l103.9 60v120L200 320 96.1 260V140z' opacity='.45'/%3E%3Cpath d='M200 120l69.3 40v80L200 280l-69.3-40v-80z' opacity='.38'/%3E%3Cpath d='M200 160l34.6 20v40L200 240l-34.6-20v-40z' opacity='.32'/%3E%3C/g%3E%3Cg fill='none' stroke='%23b23a4d' stroke-width='1.2' opacity='.3'%3E%3Cpath d='M200 8l166.3 96v192L200 392 33.7 296V104z'/%3E%3C/g%3E%3C/svg%3E");
}

/* === UI/UX accessibility and spacing override START === */
:root{
  --ux-focus:#ffbf47;
  --ux-radius:12px;
  --ux-tap:48px;
}

html{scroll-padding-top:24px}
body{
  line-height:1.68;
  text-rendering:optimizeLegibility;
}

body,
p,
li,
dd,
td,
figcaption,
address,
.prose,
.article-body,
.legal,
.card p,
.benefit-card p,
.faq-answer,
.faq-answer-inner,
.footer-bottom p{
  overflow-wrap:anywhere;
}

p,
li,
td,
.prose p,
.article-body p,
.legal p,
.legal li,
.card p,
.benefit-card p,
.step-body p,
.tl-body p,
.timeline-body p,
.contact-card p,
.contact-card address,
.disclose-card p,
.disclosure-card p,
.affiliate-card p,
.footer-brand p,
.footer-op address{
  line-height:1.72;
}

:is(.prose,.article-body,.legal,.legal-card) > * + *{margin-top:1rem}
:is(.prose,.article-body,.legal,.legal-card) h2{margin-top:2.35rem;margin-bottom:.85rem;line-height:1.22}
:is(.prose,.article-body,.legal,.legal-card) h3{margin-top:1.65rem;margin-bottom:.65rem;line-height:1.28}
:is(.prose,.article-body,.legal,.legal-card) ul,
:is(.prose,.article-body,.legal,.legal-card) ol{padding-left:1.35rem;margin-bottom:1.15rem}
:is(.prose,.article-body,.legal,.legal-card) li + li{margin-top:.5rem}

h1,h2,h3,h4{letter-spacing:0;text-wrap:balance}
a{text-underline-offset:3px;text-decoration-thickness:max(1px,.08em)}
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.nav-toggle:focus-visible,
.faq-question:focus-visible{
  outline:3px solid var(--ux-focus);
  outline-offset:3px;
  box-shadow:0 0 0 6px rgba(255,191,71,.18);
}

.btn,
button,
.nav-list a,
.footer-links a,
.faq-question,
.cookie .btn{
  min-height:var(--ux-tap);
}

.btn,
.nav-list a,
.faq-question{
  align-items:center;
}

.btn{
  max-width:100%;
  white-space:normal;
  line-height:1.18;
  padding-inline:clamp(1rem,2.4vw,1.55rem);
}

img{background-color:rgba(0,0,0,.03)}
.logo img,
.brand img,
.brand-logo,
.logo-pill img,
.badge-pill img,
.cta-badge img{background:transparent}

.wrap,
.container,
.wrap-narrow,
.container-narrow{
  padding-inline:max(18px, env(safe-area-inset-left));
  padding-right:max(18px, env(safe-area-inset-right));
}

.section,
.section-wrap,
.block,
.legal,
.article,
.benefits,
.process,
.faq,
.compare,
.disclose,
.disclosure-block,
.affiliate-block{
  scroll-margin-top:24px;
}

.hero,
.page-hero{
  isolation:isolate;
}

.hero :is(.lead,.hero-lead),
.page-hero p,
.section-head p,
.hero-meta,
.hero-trust,
.byline,
.legal .updated,
.cta-fine,
figcaption,
small{
  line-height:1.6;
}

.hero-actions,
.hero-cta,
.hero-cta-row,
.cta-cluster,
.cta-wrap,
.cta-stack,
.cookie-actions{
  gap:.9rem;
}

:is(.card,.benefit-card,.data-card,.keypoints-card,.contact-card,.disclose-card,.disclosure-card,.affiliate-card,.notice,.summary-card,.toc,.legal-card,.content-card,.step-body,.tl-body,.timeline-body,.faq-item){
  border-width:1px;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
}

:is(.card,.benefit-card,.data-card,.contact-card,.disclose-card,.disclosure-card,.affiliate-card,.notice,.summary-card,.toc,.legal-card,.content-card){
  padding:clamp(1.15rem,2.5vw,1.75rem);
}

.card-grid,
.cards,
.benefit-grid,
.contact-grid,
.feature-grid,
.steps-grid,
.reason-grid,
.faq-list{
  gap:clamp(1rem,2.4vw,1.45rem);
}

.keypoints-list,
.footer-links,
.reasons,
.hero-meta,
.hero-chips{
  gap:.7rem;
}

.topbar{
  line-height:1.4;
  padding-block:.65rem;
}

.site-header{
  backdrop-filter:none;
}

.header-inner,
.masthead{
  min-height:72px;
  gap:1rem;
}

.nav-list a{
  line-height:1.25;
  padding:.75rem .9rem;
}

.table-wrap,
table,
.compare-table{
  -webkit-overflow-scrolling:touch;
}

table th,
table td,
.table-wrap th,
.table-wrap td{
  line-height:1.55;
}

.cookie{
  max-height:calc(100vh - 24px);
  overflow:auto;
}

@media (prefers-contrast: more){
  :root{--ux-focus:#ffd166}
  a{text-decoration:underline}
  .btn{box-shadow:none!important}
  :is(.card,.benefit-card,.data-card,.keypoints-card,.contact-card,.disclose-card,.disclosure-card,.affiliate-card,.notice,.summary-card,.toc,.legal-card,.content-card,.faq-item){border-width:2px}
}

@media (max-width:960px){
  .hero-inner,
  .hero-grid,
  .article-grid,
  .content-grid,
  .main-grid{
    gap:clamp(1.75rem,5vw,2.75rem);
  }
  .keypoints,
  .sidebar,
  aside{
    position:static!important;
    top:auto!important;
  }
}

@media (max-width:760px){
  .wrap,
  .container,
  .wrap-narrow,
  .container-narrow{
    padding-inline:max(18px, env(safe-area-inset-left));
    padding-right:max(18px, env(safe-area-inset-right));
  }
  .header-inner,
  .masthead{
    min-height:66px;
  }
  .nav-list{
    gap:.25rem;
  }
  .nav-list a{
    display:flex;
    width:100%;
    min-height:48px;
  }
  .hero,
  .page-hero{
    text-align:left;
  }
  .hero-actions,
  .hero-cta,
  .hero-cta-row,
  .cta-cluster,
  .cta-wrap,
  .cta-stack{
    align-items:stretch;
    width:100%;
  }
  .hero-actions .btn,
  .hero-cta .btn,
  .hero-cta-row .btn,
  .cta-cluster .btn,
  .cta-wrap .btn,
  .cta-stack .btn{
    width:100%;
  }
  .badge-pill,
  .cta-badge{
    max-width:100%;
    justify-content:center;
  }
  .hero-badge,
  .hero-chip,
  .hero-float,
  .hero__floaty,
  .float-card,
  .badge-float{
    max-width:calc(100% - 24px);
  }
}

@media (max-width:520px){
  body{line-height:1.66}
  h1{font-size:clamp(2rem,11vw,3rem)}
  h2{font-size:clamp(1.45rem,7vw,2.1rem)}
  .section,
  .article,
  .benefits,
  .process,
  .faq,
  .compare,
  .disclose,
  .disclosure-block,
  .affiliate-block{
    padding-block:clamp(2.4rem,10vw,3.6rem);
  }
  :is(.card,.benefit-card,.data-card,.keypoints-card,.contact-card,.disclose-card,.disclosure-card,.affiliate-card,.notice,.summary-card,.toc,.legal-card,.content-card){
    padding:1.1rem;
  }
  .disclose-card,
  .disclosure-card,
  .affiliate-card{
    flex-direction:column;
  }
  .cookie{
    left:0;
    right:0;
    bottom:0;
    transform:none;
    width:100%;
    border-radius:var(--ux-radius) var(--ux-radius) 0 0;
  }
  .cookie-actions{
    width:100%;
    flex-direction:column;
  }
  .cookie-actions .btn,
  .cookie .btn{
    width:100%;
  }
}
/* === UI/UX accessibility and spacing override END === */


/* Cookie panels should fit content on small screens. */
.cookie p{flex:0 1 auto!important}
.cookie{align-items:stretch!important}
@media (max-width:520px){
  .cookie{max-height:min(70vh,420px)!important;padding:1rem!important}
  .cookie p{font-size:.9rem!important;line-height:1.55!important}
}

.cookie-consent{max-height:min(70vh,420px)!important;overflow:auto!important}
.cookie-inner{align-items:stretch!important}
.cookie-inner p{flex:0 1 auto!important;line-height:1.55!important}
@media (max-width:520px){
  .cookie-consent{left:.75rem!important;right:.75rem!important;bottom:.75rem!important;padding:0!important}
  .cookie-inner{gap:.85rem!important;padding:1rem!important}
}


/* === PER-SITE LAYOUT v2 START === */
/* Jernivox: H3 split reversed (media|text) · A2 single-col + sticky sidebar rail · S2 horizontal timeline · C2 icon flat cards · T3 highlighted best column. Palette & tokens unchanged. */

/* -- H3 Split reversed: media left, text right (desktop only; base stacks <=860) -- */
@media (min-width:861px){
  .hero .wrap{grid-template-columns:.95fr 1.05fr}
  .hero-figure{order:1}
  .hero-copy{order:2}
  .hero-figure .float-card{left:auto;right:-18px}
}

/* -- A2 Single column + sticky sidebar rail -- */
@media (min-width:961px){
  .article-aside{position:sticky;top:1.4rem;align-self:start}
  .article-main{max-width:var(--measure)}
}

/* -- S2 Horizontal timeline (row of steps at desktop; stacks vertically <=760) -- */
@media (min-width:761px){
  .timeline{
    display:grid;grid-template-columns:repeat(5,1fr);gap:1.2rem;max-width:none;
  }
  .timeline::before{
    left:10%;right:10%;top:28px;bottom:auto;width:auto;height:2px;
  }
  .step{padding:0 .5rem;text-align:center;display:flex;flex-direction:column;align-items:center}
  .step .num{position:static;margin:0 auto 1rem}
  .step h3{font-size:1.08rem}
}

/* -- C2 Icon flat cards (no border/shadow, prominent tinted icon chip) -- */
.benefit{background:transparent;border:1px solid transparent;box-shadow:none}
.benefit:hover{transform:none;box-shadow:none;border-color:transparent}
.benefit .ic{width:60px;height:60px;border-radius:16px}
.benefit .ic svg{width:30px;height:30px}

/* -- T3 Highlighted best (Rendezett / "tidy") column -- */
table.compare thead th:last-child{
  background:var(--teal);color:#fff;border-top:3px solid var(--accent);
}
table.compare tbody td:last-child{
  background:var(--teal-soft);color:var(--ink);font-weight:600;
}
table.compare tbody td:nth-child(2){color:var(--muted)}
/* === PER-SITE LAYOUT v2 END === */

/* Remove shadow behind step text bodies (global) */
.step-body,.tl-body,.timeline-body,.tl-step .tl-body,.step .step-body{box-shadow:none}

/* badge-link styling (Total Adblock badge is now a CTA link) */
.badge-link{display:inline-flex;align-items:center;text-decoration:none;border-radius:inherit}
.badge-link:hover{text-decoration:none;filter:brightness(.97)}


/* === Sidebar on the LEFT (network variety) === */
@media (min-width:961px){
  .article-layout{ grid-template-columns:300px minmax(0,1fr); }
  .article-layout > .article-aside{ order:-1; }
}
