/* MTStrat — site stylesheet. No external fonts, no inline styles (strict CSP). */
:root {
  --bg: #FAFAF6;
  --card: #FFFFFF;
  --ink: #2F2F2F;
  --ink-2: #6B6B6B;
  --muted: #9F9F9F;
  --border: #C9C9C2;
  --track: #ECEDE4;
  --lime: #D8DE70;
  --lime-dark: #8C9130;
  --lime-ink: #6F7326;   /* dark lime for small text on white: 5.05:1 */
  --lime-ink-2: #5E6220; /* dark lime for text on tint: 5.9:1 */
  --tint: #F4F6DE;
  --good: #8C9130;
  --warn: #D39B2A;
  --crit: #C4553F;
  --shadow: 0 6px 20px rgba(47, 47, 47, .08);
  --radius: 22px;
  --radius-sm: 12px;
  --wrap: 1160px;
  --font: "Ubuntu Sans", Ubuntu, "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "Ubuntu Sans Mono", "Ubuntu Mono", Consolas, "SFMono-Regular", Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; height: auto; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.25rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li + li { margin-top: .3em; }
a { color: var(--lime-ink); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
code, .mono { font-family: var(--mono); font-size: .92em; }
code { background: var(--track); padding: .08em .35em; border-radius: 6px; }
strong { font-weight: 700; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
@media (max-width: 480px) { .wrap { padding: 0 16px; } }

.topbar { height: 6px; background: linear-gradient(90deg, var(--lime), var(--lime-dark)); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none;
}
.skip:focus { top: 12px; color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 246, .96);
  border-bottom: 1px solid var(--track);
}
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: inline-flex; align-items: baseline; gap: .45em; text-decoration: none; color: var(--ink); flex: none; }
.brand img { height: 24px; width: auto; display: block; align-self: center; }
.brand-sub { color: var(--lime-ink); font-size: 1.28rem; font-weight: 400; letter-spacing: .01em; line-height: 1; }
.brand:hover .brand-sub { color: var(--ink); }

.nav-toggle {
  display: none; margin-left: auto;
  font: inherit; font-size: .95rem; font-weight: 600; color: var(--ink);
  background: var(--card); border: 1px solid var(--border); border-radius: 999px;
  padding: 8px 16px; cursor: pointer;
}
.nav-toggle-bars { display: inline-block; width: 16px; height: 10px; margin-right: 8px; vertical-align: middle;
  border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); position: relative; }
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; right: 0; top: 2px; border-top: 2px solid var(--ink); }

.site-nav { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-nav li + li { margin-top: 0; }
.nav-links a {
  display: block; padding: 8px 10px; border-radius: 10px;
  color: var(--ink); text-decoration: none; font-size: .97rem; font-weight: 500; white-space: nowrap;
}
.nav-links a:hover { background: var(--track); }
.nav-links a[aria-current="page"] { background: var(--tint); color: var(--lime-ink-2); font-weight: 700; }
.nav-tools { display: flex; align-items: center; gap: 14px; }
.lang { font-size: .9rem; }
.lang a, .lang span { display: inline-block; padding: 4px 6px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.lang a { color: var(--ink-2); }
.lang a:hover { color: var(--ink); background: var(--track); }
.lang [aria-current="true"] { color: var(--ink); }
.lang li + li::before { content: "|"; color: var(--border); margin: 0 2px; }

@media (max-width: 1120px) {
  .nav-toggle { display: inline-block; }
  .header-inner { flex-wrap: wrap; }
  .site-nav { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 12px; padding: 4px 0 18px; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: flex; }
  .site-nav ul.nav-links { flex-direction: column; }
  .nav-links a { padding: 12px 10px; font-size: 1.05rem; border-bottom: 1px solid var(--track); border-radius: 0; }
  .nav-tools { justify-content: space-between; flex-wrap: wrap; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  padding: 13px 22px; border-radius: 999px; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; text-align: center;
}
.btn-primary { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.btn-primary:hover { background: #CDD45E; color: var(--ink); border-color: var(--lime-dark); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: #000; color: #fff; }
.btn-scan { padding: 9px 16px; font-size: .93rem; background: var(--lime); color: var(--ink); border-color: var(--lime); white-space: nowrap; }
.btn-scan:hover { border-color: var(--lime-dark); color: var(--ink); }
.btn .arrow { font-weight: 400; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Sections & cards ---------- */
main { display: block; }
.section { padding: 72px 0; }
.section-tight { padding: 40px 0; }
.section-alt { background: var(--card); border-top: 1px solid var(--track); border-bottom: 1px solid var(--track); }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head p { color: var(--ink-2); font-size: 1.1rem; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--lime-ink-2); background: var(--tint); padding: 5px 12px; border-radius: 999px; margin-bottom: 18px;
}
.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--ink-2); max-width: 760px; }
.card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 28px; border: 1px solid rgba(201, 201, 194, .35);
}
.card h3 { margin-bottom: .45em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.muted { color: var(--ink-2); }
.small { font-size: .92rem; }
.link-more { font-weight: 700; text-decoration: none; display: inline-block; margin-top: 10px; }
.link-more:hover { text-decoration: underline; }

/* ---------- Page hero ---------- */
.hero { padding: 64px 0 56px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } .hero { padding: 40px 0; } }
.page-hero { padding: 56px 0 24px; }
.page-hero h1 { max-width: 900px; }

/* ---------- Score card (proof) ---------- */
.score-card { padding: 0; overflow: hidden; }
.score-card .score-bar { height: 8px; background: linear-gradient(90deg, var(--lime), var(--lime-dark)); }
.score-body { padding: 26px 28px 28px; }
.score-top { display: flex; align-items: center; gap: 22px; margin-bottom: 18px; }
.score-ring { width: 104px; height: 104px; flex: none; }
.score-ring .ring-track { stroke: var(--track); }
.score-ring .ring-value { stroke: var(--lime-dark); }
.score-ring text { fill: var(--ink); font-family: var(--font); font-weight: 700; }
.score-domain { font-family: var(--mono); font-size: 1.05rem; font-weight: 700; display: block; }
.score-label { color: var(--ink-2); font-size: .92rem; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.checks li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--track); font-size: .95rem; margin: 0; }
.checks .ck-name { font-weight: 700; display: inline-flex; align-items: center; gap: 9px; }
.checks .ck-name::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--good); flex: none; }
.checks .ck-val { color: var(--ink-2); text-align: right; }
.checks .ck-partial .ck-name::before { background: var(--warn); }
.score-note { margin: 16px 0 0; font-size: .88rem; color: var(--ink-2); }

/* ---------- Pillars ---------- */
.pillar { display: flex; flex-direction: column; }
.pillar .num {
  width: 44px; height: 44px; border-radius: 14px; background: var(--tint); color: var(--lime-ink-2);
  display: grid; place-items: center; font-weight: 700; margin-bottom: 16px;
}
.pillar ul { padding-left: 1.1em; color: var(--ink-2); font-size: .97rem; }
.pillar .link-more { margin-top: auto; padding-top: 10px; }
.foundation {
  margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  border: 1px dashed var(--border); border-radius: var(--radius); padding: 20px 28px;
}
.foundation p { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 44px; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--lime), var(--lime-dark)); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #E4E4DE; max-width: 720px; }
.cta-band .tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 18px 0 0; }
.cta-band .tags li { margin: 0; font-family: var(--mono); font-size: .85rem; border: 1px solid #5A5A5A; color: #F0F0EA; padding: 4px 10px; border-radius: 999px; }
.cta-band .btn-secondary { color: #fff; border-color: #fff; }
.cta-band .btn-secondary:hover { background: #fff; color: var(--ink); }
@media (max-width: 600px) { .cta-band { padding: 32px 22px; } }

/* ---------- Chips / client teaser ---------- */
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { margin: 0; background: var(--card); border: 1px solid var(--track); border-radius: 999px; padding: 8px 16px; font-weight: 600; box-shadow: var(--shadow); }

/* ---------- Feature list ---------- */
.ticks { list-style: none; padding: 0; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 8px;
  border-left: 3px solid var(--lime-dark); border-bottom: 3px solid var(--lime-dark); transform: rotate(-45deg);
}

/* ---------- Email stack ---------- */
.layer { margin-bottom: 48px; }
.layer:last-child { margin-bottom: 0; }
.layer-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.layer-head h3 { font-size: 1.35rem; margin: 0; }
.layer-head p { margin: 0; color: var(--ink-2); }
.control h4 { font-size: 1.15rem; margin-bottom: .2em; }
.control .full { display: block; color: var(--ink-2); font-size: .88rem; margin-bottom: .8em; }
.risk { background: #FBF0ED; border-left: 4px solid var(--crit); border-radius: 0 10px 10px 0; padding: 10px 14px; font-size: .95rem; margin: 14px 0 0; }
.risk strong { color: #A8402D; }
.control .link-more { font-size: .92rem; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.steps li { counter-increment: step; margin: 0; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; border: 1px solid rgba(201, 201, 194, .35); }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--lime); color: var(--ink); font-weight: 700; margin-bottom: 12px;
}
.steps h3 { font-size: 1.08rem; margin-bottom: .35em; }
.steps p { margin: 0; color: var(--ink-2); font-size: .96rem; }

/* ---------- Pricing ---------- */
.pricing-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-bottom: 10px; }
.pricing-head h2 { margin: 0; }
.badge {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; border: 1px solid var(--warn); color: #8A6414; background: #FBF4E6;
}
.badge-rec { border-color: var(--lime-dark); color: var(--lime-ink-2); background: var(--tint); }
.pricing { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); margin-top: 30px; }
.plan { display: flex; flex-direction: column; position: relative; }
.plan-featured { border: 2px solid var(--lime-dark); }
.plan-featured .badge-rec { position: absolute; top: -14px; left: 24px; background: var(--lime); color: var(--ink); border-color: var(--lime); }
.plan-kind { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 6px; }
.plan h3 { font-size: 1.35rem; margin-bottom: .3em; }
.price { margin: 6px 0 4px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.price .amount { font-size: 2.3rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.price .per { color: var(--ink-2); font-size: .95rem; }
.price-alt { color: var(--ink-2); font-size: .92rem; margin: 0 0 14px; }
.plan .ticks { font-size: .96rem; margin-bottom: 14px; }
.caveat { font-size: .9rem; background: var(--track); border-radius: 12px; padding: 12px 14px; margin: 0 0 16px; color: var(--ink); }
.caveat strong { display: block; margin-bottom: 2px; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.pricing-foot { margin-top: 24px; font-size: .92rem; color: var(--ink-2); }

/* ---------- Honest caveats list ---------- */
.know { counter-reset: know; list-style: none; padding: 0; display: grid; gap: 14px; }
.know li { margin: 0; padding: 18px 20px 18px 62px; position: relative; background: var(--card); border-radius: 16px; border: 1px solid var(--track); }
.know li::before {
  counter-increment: know; content: counter(know); position: absolute; left: 18px; top: 16px;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: #FBF4E6; color: #8A6414; font-weight: 700; border: 1px solid var(--warn); font-size: .9rem;
}

/* ---------- Glossary ---------- */
.toc { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 8px; }
.toc li { margin: 0; }
.toc a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--track); text-decoration: none; font-weight: 600; color: var(--ink); font-size: .93rem; }
.toc a:hover { border-color: var(--lime-dark); background: var(--tint); }
.toc-group { margin-bottom: 18px; }
.toc-group h2 { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px; }
.gloss-group { margin-top: 56px; }
.gloss-group > h2 { border-bottom: 1px solid var(--border); padding-bottom: 12px; }
.term { margin-top: 22px; scroll-margin-top: 96px; }
.term h3 { font-size: 1.3rem; margin-bottom: .1em; }
.term .full { color: var(--ink-2); font-size: .92rem; display: block; margin-bottom: .8em; }
.term .back { font-size: .88rem; }
.term:target { outline: 3px solid var(--lime); }

/* ---------- Enterprise ---------- */
.offer { scroll-margin-top: 96px; }
.offer + .offer { margin-top: 28px; }
.offer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 36px; }
@media (max-width: 900px) { .offer-grid { grid-template-columns: 1fr; gap: 12px; } }
.offer h2 { font-size: clamp(1.4rem, 1.1rem + 1.1vw, 1.9rem); }
.offer h3 { font-size: 1.02rem; margin: 1.1em 0 .4em; }
.offer h3:first-child { margin-top: 0; }
.pill-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.pill-list li { margin: 0; font-size: .85rem; font-weight: 600; background: var(--tint); color: var(--lime-ink-2); padding: 4px 12px; border-radius: 999px; }

/* ---------- Clients ---------- */
.client-year { margin-top: 44px; }
.client-year:first-of-type { margin-top: 0; }
.client-year > h2 { font-size: 1.1rem; color: var(--ink-2); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.client { display: flex; flex-direction: column; }
.client h3 { font-size: 1.2rem; margin-bottom: .25em; }
.client p { color: var(--ink-2); font-size: .97rem; }
.client .since { margin-top: auto; font-size: .88rem; font-weight: 700; color: var(--lime-ink); }

/* ---------- About ---------- */
.facts { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.fact { text-align: left; }
.fact .val { font-size: 2rem; font-weight: 700; letter-spacing: -.02em; display: block; line-height: 1.1; }
.fact .lbl { color: var(--ink-2); font-size: .95rem; }
.prose { max-width: 760px; }
.prose p { font-size: 1.08rem; }

/* ---------- Contact ---------- */
.contact-line { display: flex; flex-direction: column; gap: 2px; padding: 14px 0; border-top: 1px solid var(--track); }
.contact-line:first-of-type { border-top: 0; padding-top: 0; }
.contact-line .lbl { font-size: .85rem; color: var(--ink-2); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.contact-line .val { font-size: 1.2rem; font-weight: 700; }
.notice { background: var(--tint); border-radius: 14px; padding: 14px 18px; color: var(--ink); font-size: .96rem; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 40px; background: var(--card); border-top: 1px solid var(--track); padding: 48px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.footer-brand img { height: 56px; width: auto; display: block; margin-bottom: 12px; }
.footer-brand p { color: var(--ink-2); max-width: 380px; }
.site-footer h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .09em; color: var(--ink-2); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: 6px; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--lime-ink); text-decoration: underline; }
.footer-bottom { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--track); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--ink-2); font-size: .88rem; }
.footer-bottom p { margin: 0; }

/* ---------- Root language chooser & 404 ---------- */
.chooser { min-height: 70vh; display: grid; place-items: center; padding: 48px 0; }
.chooser .card { max-width: 560px; width: 100%; text-align: center; }
.chooser .logo { height: 96px; width: auto; margin: 0 auto 18px; display: block; }
.chooser .btn-row { justify-content: center; }

@media (prefers-reduced-motion: no-preference) {
  .btn, .nav-links a, .toc a { transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
}
@media print {
  .site-header, .topbar, .site-footer, .btn-row, .cta-band { display: none; }
  body { background: #fff; }
  .card { box-shadow: none; }
}
.score-ring .ring-sub { fill: var(--ink-2); font-weight: 400; }
.score-grade { display: inline-block; margin: 4px 0 2px; font-weight: 700; color: var(--lime-ink-2); background: var(--tint); padding: 2px 10px; border-radius: 999px; font-size: .9rem; }
.score-label { display: block; }
.h2 { font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2.1rem); }
.h3 { font-size: 1.2rem; }
ul.plain { list-style: none; padding: 0; margin: 0; }
ul.plain > li { margin: 0; }
.chooser hr { border: 0; border-top: 1px solid var(--track); margin: 28px 0; }
.steps { grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.plan-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 36px; align-items: start; }
.plan-wide > * { grid-column: 1; }
.plan-wide > .ticks { grid-column: 2; grid-row: 1 / span 5; margin-top: 8px; }
.plan-wide > .btn { grid-column: 1; margin-top: 8px; }
@media (max-width: 700px) { .plan-wide { display: flex; } }
.control { display: flex; flex-direction: column; }
.control .link-more { margin-top: auto; padding-top: 12px; }
.control .risk { margin-bottom: 4px; }
.plan-wide > .btn { justify-self: start; }
figure.score-card { margin: 0; }
.score-top > div { min-width: 0; }
.checks .ck-name { white-space: nowrap; }
@media (max-width: 400px) {
  .score-body { padding: 22px 18px 22px; }
  .score-ring { width: 84px; height: 84px; }
  .score-top { gap: 14px; }
}

/* ---------- Enterprise: Gatekeeper model ---------- */
.gk-risks { margin: 14px 0 44px; }
.gk-risk { border-top: 4px solid var(--crit); }
.gk-risk h4 { font-size: 1.05rem; margin-bottom: .4em; }
.gk-risk p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.gk-grid { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); align-items: start; }
.gk-grid .ticks li { margin-bottom: 12px; }
.gk-legend { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--ink-2); margin: -4px 0 14px; }
.gk-legend span { width: 14px; height: 14px; border-radius: 4px; background: var(--lime); }
.gk-flow { list-style: none; margin: 0; padding: 0; counter-reset: gk; }
.gk-flow li { counter-increment: gk; position: relative; padding: 0 0 18px 52px; }
.gk-flow li::before {
  content: counter(gk); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: .9rem; background: var(--card); color: var(--ink);
  border: 2px solid var(--border);
}
.gk-flow li::after { content: ""; position: absolute; left: 17px; top: 36px; bottom: 2px; width: 2px; background: var(--track); }
.gk-flow li:last-child { padding-bottom: 0; }
.gk-flow li:last-child::after { display: none; }
.gk-flow .gk-step { display: block; font-weight: 700; padding-top: 5px; }
.gk-flow .gk-note { display: block; color: var(--ink-2); font-size: .94rem; }
.gk-flow li.is-control::before { background: var(--lime); border-color: var(--lime-dark); }
.gk-flow li.is-control .gk-step { color: var(--lime-ink-2); }
.gk-flow li.is-control .gk-note { background: var(--tint); border-radius: 8px; padding: 4px 10px; margin-top: 4px; display: inline-block; color: var(--lime-ink-2); }
.gk-outcome { margin: 40px 0 0; padding: 22px 26px; background: var(--tint); border-left: 5px solid var(--lime-dark); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 1.08rem; }

/* ---------- Accessibility helper ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Risk box: plain words first, technical below ---------- */
.risk .risk-simple { margin: 0; font-size: 1rem; color: var(--ink); }
.risk .risk-tech { margin: 6px 0 0; font-size: .86rem; color: var(--ink-2); }

/* ---------- Email page: "how it works" infographic ---------- */
.ig-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ig-ic { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ig-legend { margin-bottom: 32px; }
.ig-legend h3 { margin-bottom: 14px; }
.ig-legend-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.ig-legend-list li { display: grid; grid-template-columns: 92px 1fr; gap: 12px; align-items: start; }
.ig-legend-list p { margin: 0; font-size: .96rem; color: var(--ink-2); }
.ig-legend-list strong { color: var(--ink); }
.ig-chip, .ig-lights li { display: inline-flex; align-items: center; justify-content: center; gap: 5px; font-weight: 700; letter-spacing: .02em; border-radius: 999px; white-space: nowrap; }
.ig-chip { font-size: .78rem; padding: 4px 10px; }
.ig-chip::before, .ig-lights li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; flex: none; }
.ig-chip.on, .ig-lights li.on { background: #E8EDC3; color: var(--lime-ink-2); }
.ig-chip.on::before, .ig-lights li.on::before { background: var(--good); box-shadow: 0 0 0 3px rgba(140, 145, 48, .22); }
.ig-lights li.off { background: #F8DDD6; color: #A8402D; }
.ig-lights li.off::before { background: var(--crit); box-shadow: 0 0 0 3px rgba(196, 85, 63, .22); }

.ig-scenes { display: grid; gap: 28px; }
.ig-scene { margin: 0; padding: 28px; }
.ig-scene figcaption h3 { font-size: 1.45rem; margin: 6px 0 4px; }
.ig-scene figcaption p { margin: 0 0 6px; color: var(--ink-2); }
.ig-lane { border-top: 1px solid var(--track); margin-top: 22px; padding-top: 20px; }
.ig-lane-title { display: flex; align-items: center; gap: 10px; font-weight: 700; margin: 0 0 14px; }
.ig-lane-title span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .85rem; }
.ig-row { display: grid; grid-template-columns: minmax(160px, 230px) minmax(0, 1fr) minmax(160px, 230px); gap: 18px; align-items: center; }
.ig-party { text-align: center; background: var(--bg); border: 2px solid var(--track); border-radius: 18px; padding: 14px 12px; }
.ig-party.is-green { border-color: rgba(140, 145, 48, .55); }
.ig-party.is-red { border-color: rgba(196, 85, 63, .55); }
.ig-ava { width: 52px; height: 52px; margin: 0 auto 6px; border-radius: 50%; background: var(--tint); display: grid; place-items: center; color: var(--ink); }
.ig-you .ig-ava { background: var(--lime); }
.ig-ava .ig-ic { width: 28px; height: 28px; }
.ig-name { margin: 0; font-weight: 700; }
.ig-dom { margin: 0 0 10px; font-size: .82rem; color: var(--ink-2); font-family: var(--mono); }
.ig-lights { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
.ig-lights li { font-size: .64rem; padding: 4px 2px; border-radius: 7px; }

.ig-road { display: grid; gap: 8px; justify-items: center; min-width: 0; }
.ig-threat { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 6px 8px; font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.ig-threat .ig-hk { width: 30px; height: 30px; }
.ig-threat.blocked .ig-hk { color: var(--muted); opacity: .75; }
.ig-threat.breach .ig-hk { color: var(--crit); }
.ig-tstat { display: inline-flex; align-items: center; gap: 4px; font-size: .76rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 9px 3px 7px; border-radius: 999px; }
.ig-tstat .ig-ic { stroke-width: 3; }
.ig-threat.blocked .ig-tstat { background: #E8EDC3; color: var(--lime-ink-2); }
.ig-threat.breach .ig-tstat { background: var(--crit); color: #fff; }
.ig-track { position: relative; width: 100%; height: 50px; display: flex; align-items: center; justify-content: space-evenly; }
.ig-track::before { content: ""; position: absolute; left: 0; right: 10px; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; background: var(--good); }
.ig-track::after { content: ""; position: absolute; right: 0; top: 50%; margin-top: -8px; border: 8px solid transparent; border-left: 12px solid var(--good); border-right: 0; }
.ig-road.open .ig-track::before { background: repeating-linear-gradient(90deg, var(--crit) 0 10px, transparent 10px 18px); }
.ig-road.open .ig-track::after { border-left-color: var(--crit); }
.ig-env, .ig-lockic { position: relative; z-index: 1; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 2px solid var(--good); color: var(--ink); }
.ig-env .ig-ic, .ig-lockic .ig-ic { width: 22px; height: 22px; }
.ig-road.secure .ig-lockic { background: var(--good); color: #fff; }
.ig-road.open .ig-env, .ig-road.open .ig-lockic { border-color: var(--crit); }
.ig-road.open .ig-lockic { color: var(--crit); }

.ig-notes { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.ig-notes li { padding: 12px 14px; border-radius: 12px; font-size: .95rem; border-left: 4px solid; }
.ig-notes li.blocked { background: var(--tint); border-color: var(--good); }
.ig-notes li.breach { background: #FBF0ED; border-color: var(--crit); }
.ig-nbadge { display: flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 4px; }
.ig-nbadge .ig-ic { stroke-width: 3; }
.ig-notes li.blocked .ig-nbadge { color: var(--lime-ink-2); }
.ig-notes li.breach .ig-nbadge { color: #A8402D; }
.ig-take { margin: 22px 0 0; padding: 16px 20px; background: var(--tint); border-left: 5px solid var(--lime-dark); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-weight: 600; }
.ig-cta { margin: 32px 0 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px; font-size: 1.12rem; font-weight: 600; text-align: center; }

@media (max-width: 760px) {
  .ig-scene { padding: 20px 16px; }
  .ig-row { grid-template-columns: 1fr; gap: 10px; }
  .ig-party { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; text-align: left; align-items: center; }
  .ig-ava { width: 44px; height: 44px; margin: 0; grid-row: 1 / span 2; }
  .ig-name { align-self: end; }
  .ig-dom { margin: 0; align-self: start; }
  .ig-lights { grid-column: 1 / -1; margin-top: 10px; grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .ig-lights li { font-size: .58rem; padding: 4px 1px; }
  .ig-lights li::before { display: none; }
  .ig-road { grid-template-columns: 1fr 56px 1fr; align-items: center; gap: 8px; }
  .ig-road .ig-threat { flex-direction: column; text-align: center; font-size: .8rem; }
  .ig-track { width: 56px; height: 120px; flex-direction: column; grid-column: 2; grid-row: 1; }
  .ig-road .ig-threat:first-child { grid-column: 1; grid-row: 1; }
  .ig-road .ig-threat:last-child { grid-column: 3; grid-row: 1; }
  .ig-track::before { left: 50%; right: auto; top: 0; bottom: 10px; width: 4px; height: auto; margin: 0 0 0 -2px; }
  .ig-track::after { left: 50%; right: auto; top: auto; bottom: 0; margin: 0 0 0 -8px; border: 8px solid transparent; border-top: 12px solid var(--good); border-bottom: 0; }
  .ig-road.open .ig-track::before { background: repeating-linear-gradient(180deg, var(--crit) 0 10px, transparent 10px 18px); }
  .ig-road.open .ig-track::after { border-left-color: transparent; border-top-color: var(--crit); }
  .ig-legend-list li { grid-template-columns: 84px 1fr; }
}

/* ---------- Infographic: red-light scene + "how to spot" ---------- */
.ig-chip.off { background: #F8DDD6; color: #A8402D; }
.ig-chip.off::before { background: var(--crit); box-shadow: 0 0 0 3px rgba(196, 85, 63, .22); }
.ig-red-grid { display: grid; gap: 16px; margin-top: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.ig-red-card { background: var(--bg); border: 1px solid rgba(196, 85, 63, .3); border-top: 4px solid var(--crit); border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; }
.ig-red-card header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.ig-red-card .ig-hk { width: 30px; height: 30px; color: var(--crit); }
.ig-red-card p { margin: 0 0 10px; font-size: .95rem; }
.ig-red-lbl { font-size: .74rem !important; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 4px !important; }
.ig-red-impact { margin: auto 0 0 !important; padding: 10px 12px; background: #FBF0ED; border-radius: 10px; }
.ig-red-impact strong { color: #A8402D; }
.ig-spot { margin-top: 28px; padding: 28px; }
.ig-spot h3 { font-size: 1.45rem; margin: 6px 0 6px; }
.ig-spot .lead { font-size: 1.05rem; color: var(--ink-2); }
.ig-spot-steps { list-style: none; margin: 18px 0 0; padding: 0; counter-reset: sp; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.ig-spot-steps > li { counter-increment: sp; position: relative; background: var(--bg); border-radius: 16px; padding: 18px 18px 14px; border: 1px solid var(--track); }
.ig-spot-steps > li::before { content: counter(sp); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--lime); font-weight: 700; margin-bottom: 10px; }
.ig-spot-steps h4 { font-size: 1.05rem; margin-bottom: .35em; }
.ig-spot-steps p, .ig-spot-steps .ticks li { font-size: .95rem; }
.ig-spot-steps .ticks li { margin-bottom: 8px; }
.ig-spot-steps code { font-size: .82em; }
.ig-caution { margin: 22px 0 0; padding: 16px 20px; background: #FCF3E3; border-left: 5px solid var(--warn); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

/* ---------- Infographic v3: explanation block, scene tiles + dialogs, partner check ---------- */
.ig-red { padding: 28px; margin-bottom: 36px; }
.ig-red h3 { font-size: 1.45rem; margin: 0 0 4px; }
.ig-red-sub { margin: 0; color: var(--ink-2); }
.ig-scenes-head { margin: 8px 0 16px; max-width: 760px; }
.ig-scenes-head h3 { font-size: 1.45rem; margin: 0 0 4px; }
.ig-scenes-head p { margin: 0; color: var(--ink-2); }
.ig-tiles { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.ig-tile { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); padding: 22px; border-top: 5px solid var(--good);
  transition: transform .15s ease, box-shadow .15s ease; }
.ig-tile.is-open { border-top-color: var(--crit); }
.ig-tile:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(47, 47, 47, .12); color: var(--ink); }
.ig-tile h4 { font-size: 1.2rem; margin: 0; }
.ig-tile .eyebrow { align-self: flex-start; }
.ig-tile-who { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ig-tile-who li { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .92rem; padding: 6px 10px; border-radius: 10px; }
.ig-tile-who li.on { background: #EEF1D4; }
.ig-tile-who li.off { background: #FBE7E2; }
.ig-tile-who b { font-variant-numeric: tabular-nums; }
.ig-tile-who li.on b { color: var(--lime-ink-2); }
.ig-tile-who li.off b { color: #A8402D; }
.ig-doors { display: flex; align-items: center; gap: 8px; margin: 2px 0 0; font-weight: 700; }
.ig-tile.is-safe .ig-doors { color: var(--lime-ink-2); }
.ig-tile.is-open .ig-doors { color: #A8402D; }
.ig-doors .ig-hk { width: 22px; height: 22px; }
.ig-tile.is-safe .ig-doors .ig-ic { stroke-width: 3; }
.ig-tile-more { margin-top: auto; color: var(--lime-ink); font-weight: 600; }

/* scene dialogs (JS on); without JS they are shown inline under the tiles */
.ig-scenes { display: none; }
html:not(.js) .ig-scenes { display: grid; gap: 28px; margin-top: 28px; }
html:not(.js) .ig-dialog { display: block; position: static; width: auto; max-width: none; max-height: none; margin: 0; padding: 28px;
  border: 0; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--card); color: var(--ink); }
.js .ig-scenes { display: block; }
.ig-dialog { width: min(1120px, calc(100% - 24px)); max-height: calc(100vh - 24px); margin: auto; padding: 30px; border: 0; border-radius: var(--radius);
  background: var(--card); color: var(--ink); box-shadow: 0 24px 60px rgba(0, 0, 0, .25); overflow: auto; overscroll-behavior: contain; }
.ig-dialog::backdrop { background: rgba(47, 47, 47, .55); }
.ig-dialog .ig-scene { padding: 0; box-shadow: none; }
.ig-dialog { --dpad: 30px; }
.ig-dnav { position: sticky; top: calc(-1 * var(--dpad)); z-index: 3; display: flex; align-items: center; justify-content: flex-end; gap: 8px;
  margin: calc(-1 * var(--dpad)) calc(-1 * var(--dpad)) 8px; padding: 12px var(--dpad); background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--track); backdrop-filter: blur(4px); }
.ig-pos { min-width: 3.5em; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink-2); font-size: .92rem; }
.ig-nav, .ig-close { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border); background: #fff; color: var(--ink);
  font-size: 1.6rem; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 3px; }
.ig-nav { font-size: 2rem; padding-bottom: 5px; }
.ig-nav:hover:not([disabled]), .ig-close:hover { background: var(--tint); border-color: var(--lime-dark); }
.ig-nav[disabled] { opacity: .3; cursor: default; }
.ig-close { margin-left: 10px; }
html:not(.js) .ig-dnav { display: none; }
@media (max-width: 760px) { .ig-dialog { --dpad: 14px; padding: 14px; width: calc(100% - 12px); max-height: calc(100vh - 12px); } }

/* partner check + domain box */
.ig-why { margin-top: 36px; padding: 28px; }
.ig-why h3 { font-size: 1.45rem; margin: 6px 0 6px; }
.ig-why .lead { font-size: 1.05rem; color: var(--ink-2); }
.ig-why-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.ig-why-list li { background: var(--bg); border: 1px solid var(--track); border-left: 4px solid var(--lime-dark); border-radius: 14px; padding: 16px 18px; }
.ig-why-list h4 { font-size: 1.02rem; margin: 0 0 .35em; }
.ig-why-list p { margin: 0; font-size: .95rem; color: var(--ink-2); }
.ig-why-form { margin-top: 22px; padding: 20px 22px; border-radius: 16px; background: var(--tint); }
.ig-why-form h4 { margin: 0 0 4px; font-size: 1.1rem; }
.ig-why-form p { margin: 0 0 12px; color: var(--ink-2); }
.scan-mini { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.scan-mini input { flex: 1 1 200px; min-width: 0; font: inherit; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 12px; background: #fff; color: var(--ink); }
.scan-mini input:focus { border-color: var(--lime-dark); outline: 3px solid var(--lime); outline-offset: 1px; }
.scan-mini .btn { flex: 0 0 auto; }

/* render below-the-fold sections only when they come near the screen (fast first paint, no extra requests) */
main > section ~ section { content-visibility: auto; contain-intrinsic-size: auto 900px; }
