/* ============================================================================
   Tornelax â€” corporate-clinical-clean advertorial
   Palette sampled from images/logo.png (teal leaf mark + slate-teal wordmark)
   ============================================================================ */

:root {
  /* Brand palette */
  --primary: #2E7C8A;
  --primary-600: #256A77;
  --primary-700: #1D5764;
  --deep: #143C46;
  --deep-2: #0E2C34;
  --tint: #DCEAEC;
  --tint-2: #EAF3F4;
  --ink: #17282E;
  --muted: #4F6167;
  --bg: #FFFFFF;
  --bg-soft: #F5F8F9;
  --line: #DBE5E7;
  --line-strong: #C6D5D8;
  --accent: #C2410C;
  --accent-600: #9A3412;
  --accent-tint: #F7EBE3;

  /* On-dark */
  --on-dark: #EAF3F4;
  --on-dark-muted: #B4CBCF;

  /* Type */
  --font-sans: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SFMono-Regular", "Cascadia Code", ui-monospace, "Consolas", "Liberation Mono", Menlo, monospace;

  --fs-display: clamp(2.1rem, 1.35rem + 3.3vw, 3.6rem);
  --fs-h2: clamp(1.55rem, 1.15rem + 1.75vw, 2.35rem);
  --fs-h3: clamp(1.16rem, 1.05rem + 0.5vw, 1.4rem);
  --fs-body: clamp(1rem, 0.965rem + 0.16vw, 1.125rem);
  --fs-small: 0.875rem;
  --fs-kicker: 0.75rem;

  /* Layout */
  --wrap: 1160px;
  --gutter: clamp(1.15rem, 0.6rem + 2.4vw, 2.5rem);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  /* Shadow â€” restrained, clinical */
  --shadow-sm: 0 1px 2px rgba(20, 60, 70, 0.06), 0 1px 3px rgba(20, 60, 70, 0.05);
  --shadow-md: 0 8px 24px rgba(20, 60, 70, 0.09), 0 2px 6px rgba(20, 60, 70, 0.06);
  --shadow-lg: 0 24px 60px rgba(14, 44, 52, 0.16), 0 6px 18px rgba(14, 44, 52, 0.08);

  /* Signature halftone-newsprint dot field (derived from the round leaf mark) */
  --halftone: radial-gradient(circle at center, rgba(46, 124, 138, 0.16) 1.15px, transparent 1.6px);
  --halftone-size: 15px 15px;
}

/* ---------- 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; } }

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-700); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent); }
h1, h2, h3 { color: var(--deep); line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.015em; }
h1 { font-size: var(--fs-display); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; }
strong { color: var(--deep); }

::selection { background: var(--primary); color: #fff; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

::-webkit-scrollbar { height: 10px; width: 10px; }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 20px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Reveal on scroll (hidden state only when JS is present) ---------- */
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.in-view { opacity: 1; transform: none; }
}

/* ---------- Kicker / hexagon motif ---------- */
.kicker {
  font-family: var(--font-mono);
  font-size: var(--fs-kicker);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--primary-700);
  font-weight: 600;
  margin: 0 0 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.center-kicker { justify-content: center; }
.hex-mark {
  width: 12px; height: 13px; flex: 0 0 auto;
  background: var(--accent);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.1;
  text-decoration: none;
  padding: 0.85rem 1.5rem;
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(194, 65, 12, 0.28);
}
.btn-primary:hover { background: var(--accent-600); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(194, 65, 12, 0.34); }
.btn-primary:active { transform: translateY(0); }
.btn-lg { font-size: 1.06rem; padding: 1rem 1.9rem; min-height: 54px; }
.btn-sm { padding: 0.6rem 1.1rem; min-height: 40px; font-size: 0.9rem; }
.btn-ghost {
  background: transparent; color: var(--deep);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--tint-2); color: var(--deep); border-color: var(--primary); }

/* CTA badge pill */
.cta-wrap { margin-top: 1.6rem; }
.badge-pill {
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px;
  margin-top: 0.9rem;
  box-shadow: var(--shadow-sm);
}
.badge-pill img { height: 30px; width: auto; display: block; }
.badge-pill.on-dark { border-color: rgba(255,255,255,0.5); }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--deep-2);
  color: var(--on-dark);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  padding: 7px 0;
}
.topbar .wrap { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; }
.topbar-mark {
  width: 8px; height: 9px; display: inline-block; background: var(--primary);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

/* ---------- Header (NOT sticky) ---------- */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 1rem;
  padding-block: 0.85rem;
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand-logo { height: 42px; width: auto; }
.main-nav { margin-left: auto; }
.nav-list {
  list-style: none; display: flex; align-items: center; gap: 1.7rem;
  margin: 0; padding: 0;
}
.nav-list a {
  color: var(--deep);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.4rem 0;
  position: relative;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--accent); transition: right .25s ease;
}
.nav-list a:hover { color: var(--accent); }
.nav-list a:hover::after { right: 0; }
.header-cta { flex: 0 0 auto; }
.nav-toggle {
  display: none;
  background: transparent; border: 1px solid var(--line-strong);
  border-radius: 10px; width: 46px; height: 44px; cursor: pointer;
  padding: 0; align-items: center; justify-content: center; flex-direction: column; gap: 4px;
}
.nav-toggle-bar { width: 20px; height: 2px; background: var(--deep); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Section head ---------- */
.section-head { margin-bottom: clamp(1.6rem, 1rem + 2vw, 2.8rem); }
.section-head.center { text-align: center; max-width: 720px; margin-inline: auto; }
.section-intro { color: var(--muted); font-size: 1.05rem; margin: 0.4rem 0 0; }

/* ---------- Hero (floating-tile) ---------- */
.hero { position: relative; padding-block: clamp(2.4rem, 1.4rem + 4vw, 4.6rem); overflow: clip; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    var(--halftone),
    linear-gradient(180deg, var(--tint-2) 0%, var(--bg-soft) 60%, var(--bg) 100%);
  background-size: var(--halftone-size), auto;
}
.hero-bg::after {
  content: ""; position: absolute; right: -8%; top: -20%;
  width: 46%; height: 80%;
  background: radial-gradient(circle, rgba(46,124,138,0.10), transparent 68%);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(1.5rem, 0.5rem + 3vw, 3rem);
  align-items: center;
}
.hero-tile {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1rem + 2.4vw, 2.8rem);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-tile::before {
  content: ""; position: absolute; left: 0; top: 26px; bottom: 26px; width: 4px;
  background: linear-gradient(var(--primary), var(--accent));
  border-radius: 4px;
}
.hero-title { margin-bottom: 0.7rem; }
.hero-lead { color: var(--muted); font-size: 1.1rem; margin-bottom: 0; }
.hero-note { font-size: var(--fs-small); color: var(--muted); margin: 1.1rem 0 0; }
.hero-media {
  margin: 0; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-md);
  background: var(--tint);
}
.hero-media img { width: 100%; height: auto; aspect-ratio: 1199 / 672; object-fit: cover; }

/* ---------- Article ---------- */
.article-section { padding-block: clamp(2.6rem, 1.6rem + 4vw, 5rem); }
.article-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(1.5rem, 0.5rem + 3vw, 3.4rem);
  align-items: start;
}
.article-body { max-width: 72ch; }
.article-body h2 { margin-top: 2.1em; scroll-margin-top: 90px; }
.article-body h2:first-of-type { margin-top: 1em; }
.article-body p, .article-body li { color: var(--ink); }
.article-head { margin-bottom: 1.8rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.byline {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;
  font-size: 0.92rem; color: var(--muted); margin-bottom: 1rem;
}
.byline-name { font-weight: 700; color: var(--deep); }
.byline-sep { color: var(--line-strong); }
.disclosure-inline {
  background: var(--accent-tint);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  font-size: 0.9rem; color: #5b2c12; margin: 0;
}

.article-figure { margin: 2rem 0; }
.article-figure img {
  width: 100%; border-radius: var(--radius);
  border: 1px solid var(--line); aspect-ratio: 1200 / 800; object-fit: cover;
}
.article-figure figcaption {
  font-size: 0.9rem; color: var(--muted); margin-top: 0.7rem;
  padding-left: 0.9rem; border-left: 3px solid var(--tint); font-style: italic;
}

.pullquote {
  margin: 2.2rem 0; padding: 1.4rem 1.6rem 1.4rem 2rem;
  background: var(--deep);
  color: var(--on-dark);
  border-radius: var(--radius); position: relative; overflow: hidden;
}
.pullquote::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px;
  background: var(--accent);
}
.pullquote::after {
  content: ""; position: absolute; right: -20px; bottom: -20px; width: 90px; height: 100px;
  background: rgba(46,124,138,0.18);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.pullquote p { margin: 0; font-size: 1.2rem; line-height: 1.5; font-weight: 600; color: #fff; position: relative; z-index: 1; }

.check-list { list-style: none; padding: 0; margin: 0 0 1.3em; }
.check-list li {
  position: relative; padding-left: 2rem; margin-bottom: 0.75rem;
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.28em;
  width: 15px; height: 16px; background: var(--primary);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.check-list li::after {
  content: ""; position: absolute; left: 4px; top: 0.55em;
  width: 7px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.inline-cta { margin: 2rem 0 0; }

/* Key takeaways aside */
.keypoints { position: sticky; top: 24px; }
.keypoints-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.6rem;
  box-shadow: var(--shadow-sm);
}
.keypoints-title {
  font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.14em;
  font-family: var(--font-mono); color: var(--primary-700);
  display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem;
}
.keypoints-card ul { list-style: none; padding: 0; margin: 0; }
.keypoints-card li {
  position: relative; padding-left: 1.6rem; margin-bottom: 0.85rem;
  font-size: 0.94rem; line-height: 1.5; color: var(--ink);
}
.keypoints-card li:last-child { margin-bottom: 0; }
.keypoints-card li::before {
  content: ""; position: absolute; left: 0; top: 0.42em;
  width: 10px; height: 11px; background: var(--accent);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

/* ---------- Process timeline ---------- */
.process { background: var(--bg-soft); padding-block: clamp(2.6rem, 1.6rem + 4vw, 5rem); position: relative; }
.timeline {
  list-style: none; margin: 0 auto; padding: 0; max-width: 680px;
  position: relative;
}
.timeline::before {
  content: ""; position: absolute; left: 23px; top: 12px; bottom: 12px; width: 2px;
  background: linear-gradient(var(--primary), var(--tint));
}
.step {
  position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 1.2rem;
  padding: 0 0 1.9rem 0;
}
.step:last-child { padding-bottom: 0; }
.step-num {
  position: relative; z-index: 1;
  width: 48px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--primary); color: #fff; font-weight: 700; font-size: 1.15rem;
  font-family: var(--font-mono);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  box-shadow: 0 6px 16px rgba(46,124,138,0.30);
}
.step-body { padding-top: 0.3rem; }
.step-body h3 { margin-bottom: 0.3rem; }
.step-body p { margin: 0; color: var(--muted); }

/* ---------- Benefits ---------- */
.benefits { padding-block: clamp(2.6rem, 1.6rem + 4vw, 5rem); }
.benefit-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem;
}
.benefit-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.benefit-icon {
  width: 46px; height: 50px; margin-bottom: 1rem;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--tint); color: var(--primary-700);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  transition: background-color .2s ease, color .2s ease;
}
.benefit-card:hover .benefit-icon { background: var(--accent); color: #fff; }
.benefit-card h3 { margin-bottom: 0.35rem; }
.benefit-card p { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* ---------- Capability table ---------- */
.capability { background: var(--bg-soft); padding-block: clamp(2.6rem, 1.6rem + 4vw, 5rem); }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg); box-shadow: var(--shadow-sm); }
.table-wrap:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.cap-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.cap-table th, .cap-table td { text-align: left; padding: 0.95rem 1.2rem; vertical-align: top; }
.cap-table thead th {
  background: var(--deep); color: var(--on-dark);
  font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em;
  font-weight: 700;
}
.cap-table tbody tr { border-top: 1px solid var(--line); }
.cap-table tbody tr:nth-child(even) { background: var(--bg-soft); }
.cap-table td:first-child { font-weight: 600; color: var(--deep); }
.cap-table td { color: var(--ink); font-size: 0.96rem; }
.tag {
  display: inline-block; font-size: 0.78rem; font-weight: 700;
  padding: 0.2rem 0.65rem; border-radius: 999px; letter-spacing: 0.02em;
  white-space: nowrap;
}
.tag-yes { background: #D6EEE7; color: #14513C; }
.tag-often { background: var(--tint); color: var(--primary-700); }
.tag-part { background: #FBEFD6; color: #7A4E00; }
.tag-no { background: #F4DED4; color: #8A3210; }

/* ---------- FAQ ---------- */
.faq { padding-block: clamp(2.6rem, 1.6rem + 4vw, 5rem); }
.faq-wrap { max-width: 820px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  width: 100%; text-align: left; background: transparent; border: 0; cursor: pointer;
  font-family: var(--font-sans); font-weight: 700; font-size: 1.06rem; color: var(--deep);
  padding: 1.15rem 2.6rem 1.15rem 0.2rem; position: relative;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  min-height: 44px;
}
.faq-question:hover { color: var(--accent); }
.faq-icon { position: absolute; right: 0.3rem; top: 50%; width: 15px; height: 15px; flex: 0 0 auto; transform: translateY(-50%); }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; background: var(--primary); border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.faq-icon::before { left: 0; top: 6.5px; width: 15px; height: 2px; }
.faq-icon::after { left: 6.5px; top: 0; width: 2px; height: 15px; }
.faq-question[aria-expanded="true"] .faq-icon::after { transform: scaleY(0); opacity: 0; }
.faq-question[aria-expanded="true"] .faq-icon::before { background: var(--accent); }
.faq-answer { overflow: hidden; max-height: 0; transition: max-height .3s ease; }
.faq-answer-inner { padding: 0 0.2rem 1.2rem; color: var(--muted); }
.faq-answer-inner p { margin: 0; }
/* No-JS fallback: answers open */
.no-js .faq-answer { max-height: none; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; color: var(--on-dark); padding-block: clamp(2.8rem, 1.8rem + 4vw, 5rem); overflow: clip; }
.cta-band-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.05) 1.15px, transparent 1.6px),
    linear-gradient(135deg, var(--deep) 0%, var(--deep-2) 100%);
  background-size: 15px 15px, auto;
}
.cta-band-inner { position: relative; z-index: 1; text-align: center; max-width: 720px; }
.cta-band-inner h2 { color: #fff; }
.cta-band-inner > p { color: var(--on-dark-muted); font-size: 1.08rem; margin-bottom: 1.6rem; }
.cta-band-inner .badge-pill { margin-top: 1rem; }
.cta-disclaimer { font-size: var(--fs-small); color: var(--on-dark-muted); margin: 1.4rem auto 0; max-width: 560px; }

/* ---------- Disclosure block ---------- */
.disclosure-block { background: var(--bg-soft); border-top: 1px solid var(--line); padding-block: 2rem; }
.disclosure-block p { max-width: 900px; margin: 0 auto; font-size: 0.88rem; color: var(--muted); text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep-2); color: var(--on-dark-muted); padding-block: clamp(2.4rem, 1.6rem + 2vw, 3.4rem) 1.6rem; }
.footer-inner {
  display: grid; grid-template-columns: 1.4fr 1fr 1.4fr; gap: clamp(1.6rem, 1rem + 2vw, 3rem);
  padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-logo-pill {
  display: inline-flex; background: #fff; border-radius: 12px; padding: 10px 16px; box-shadow: var(--shadow-sm);
}
.footer-logo-pill img { height: 38px; width: auto; }
.footer-tagline { margin: 1rem 0 0; font-size: 0.92rem; color: var(--on-dark-muted); max-width: 34ch; }
.footer-h {
  color: #fff; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em;
  font-family: var(--font-mono); margin: 0 0 1rem;
}
.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 0.55rem; }
.footer-links a, .footer-operator a {
  color: var(--on-dark-muted); text-decoration: none; font-size: 0.94rem;
  display: inline-flex; align-items: center; min-height: 40px; padding: 2px 0;
}
.footer-links a:hover, .footer-operator a:hover { color: #fff; text-decoration: underline; }
.footer-operator address { font-style: normal; font-size: 0.94rem; line-height: 1.9; }
.op-company { color: #fff; font-weight: 700; }
.footer-operator a { display: inline; min-height: 0; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem;
  padding-top: 1.4rem;
}
.footer-copy, .footer-compliance { margin: 0; font-size: 0.82rem; color: var(--on-dark-muted); }
.footer-compliance { max-width: 62ch; }

/* ---------- Cookie consent ---------- */
.cookie-consent {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: 18px; z-index: 60;
  width: min(680px, calc(100% - 24px));
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.1rem 1.3rem;
  display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap;
}
.cookie-consent[hidden] { display: none; }
.cookie-text { margin: 0; font-size: 0.9rem; color: var(--ink); flex: 1 1 300px; }
.cookie-actions { display: flex; gap: 0.6rem; flex: 0 0 auto; }

/* ---------- Inner pages ---------- */
.inner-header { background: var(--bg); border-bottom: 1px solid var(--line); }
.inner-header .header-inner { justify-content: center; padding-block: 1rem; }
.inner-header .brand { margin: 0; }
.page-hero { position: relative; padding-block: clamp(2.2rem, 1.4rem + 3vw, 3.8rem); overflow: clip; }
.page-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: var(--halftone), linear-gradient(180deg, var(--tint-2), var(--bg));
  background-size: var(--halftone-size), auto;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero-inner { max-width: 760px; }
.page-hero .kicker { margin-bottom: 0.7rem; }
.page-hero p { color: var(--muted); font-size: 1.08rem; margin: 0.4rem 0 0; max-width: 62ch; }
.page-main { padding-block: clamp(2.2rem, 1.4rem + 3vw, 4rem); }
.page-narrow { max-width: 820px; margin-inline: auto; }
.page-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.4rem, 1rem + 2vw, 2.6rem); box-shadow: var(--shadow-sm);
  margin-bottom: 1.4rem;
}
.page-card:last-child { margin-bottom: 0; }
.page-card h2 { margin-top: 0; }
.page-card h2:not(:first-child), .page-card h3 { margin-top: 1.6em; }
.page-card h3 { color: var(--primary-700); }
.page-card ul, .page-card ol { padding-left: 1.3rem; margin: 0 0 1.1em; }
.page-card li { margin-bottom: 0.5rem; }
.legal-meta { font-size: 0.9rem; color: var(--muted); font-family: var(--font-mono); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin: 1.2rem 0; }
.contact-item {
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.1rem 1.2rem; background: var(--bg-soft);
}
.contact-item h3 { margin: 0 0 0.3rem; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; font-family: var(--font-mono); color: var(--primary-700); }
.contact-item p { margin: 0; }
.contact-item a { word-break: break-word; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .article-grid { grid-template-columns: 1fr; }
  .keypoints { position: static; order: -1; }
  .article-body { max-width: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .benefit-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: inline-flex; }
  .main-nav { margin-left: auto; position: relative; }
  .header-cta { display: none; }
  .nav-list {
    position: absolute; top: calc(100% + 12px); right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-lg); padding: 0.4rem; min-width: 210px;
    max-height: 0; overflow: hidden; opacity: 0; visibility: hidden;
    transition: max-height .28s ease, opacity .2s ease, visibility .2s;
  }
  .nav-list.open { max-height: 360px; opacity: 1; visibility: visible; }
  .nav-list li { width: 100%; }
  .nav-list a { display: block; padding: 0.75rem 0.9rem; border-radius: var(--radius-sm); }
  .nav-list a::after { display: none; }
  .nav-list a:hover { background: var(--tint-2); }
}

@media (max-width: 560px) {
  .benefit-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .cookie-consent { flex-direction: column; align-items: stretch; }
  .cookie-actions { justify-content: stretch; }
  .cookie-actions .btn { flex: 1; }
  .btn-lg { width: 100%; }
  .cta-wrap .btn-lg { width: 100%; }
  .brand-logo { height: 36px; }
}

/* ---------- Mobile stacked table ---------- */
@media (max-width: 620px) {
  .cap-table { min-width: 0; }
  .cap-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .cap-table, .cap-table tbody, .cap-table tr, .cap-table td { display: block; width: 100%; }
  .cap-table tr { border-top: 0; border-bottom: 1px solid var(--line); padding: 0.9rem 1rem; }
  .cap-table tbody tr:nth-child(even) { background: var(--bg-soft); }
  .cap-table td { padding: 0.28rem 0; border: 0; display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
  .cap-table td::before {
    content: attr(data-label); font-weight: 700; color: var(--muted);
    font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; flex: 0 0 auto;
  }
  .cap-table td:first-child { font-size: 1.02rem; }
}

/* ============================================================
   PHASE 2 REFINEMENTS â€” branding detail + UI/UX polish
   ============================================================ */

/* Anchor buffer for in-page smooth scroll (header is not sticky) */
#article, #process, #benefits, #faq { scroll-margin-top: 20px; }

/* Editorial lead: first article paragraph reads a touch larger */
.article-body > p:first-of-type {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--deep);
}
.article-body > p:first-of-type::first-letter {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 3.1rem;
  line-height: 0.8;
  float: left;
  margin: 0.06em 0.5rem 0 0;
  color: var(--accent);
}

/* Signature hexagon watermark on the CTA band */
.cta-band-bg::before,
.cta-band-bg::after {
  content: ""; position: absolute; z-index: 0;
  background: rgba(46, 124, 138, 0.12);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.cta-band-bg::before { width: 190px; height: 210px; left: -70px; bottom: -60px; }
.cta-band-bg::after { width: 130px; height: 145px; right: -46px; top: -46px; background: rgba(194, 65, 12, 0.16); }

/* Faint halftone cohesion behind the benefits band (cards keep text on solid ground) */
.benefits { position: relative; }
.benefits::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: var(--halftone); background-size: var(--halftone-size);
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.benefits .wrap { position: relative; z-index: 1; }

/* Section-head hexagon underline flourish */
.section-head.center h2 { position: relative; padding-bottom: 0.6rem; }
.section-head.center h2::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 46px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

/* Header: subtle brand hairline accent */
.site-header { position: relative; }
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 45%, transparent 82%);
  opacity: 0.55;
}

/* Inline article CTA gets a light divider + centering for rhythm */
.inline-cta {
  padding-top: 1.6rem; margin-top: 2rem;
  border-top: 1px solid var(--line);
  display: flex; justify-content: flex-start;
}

/* Benefit icon subtle inner ring for depth */
.benefit-icon svg { position: relative; z-index: 1; }

/* Refined link underline for in-content links */
.article-body a, .page-card a, .disclosure-block a {
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  transition: text-decoration-color .2s ease, color .2s ease;
}
.article-body a:hover, .page-card a:hover, .disclosure-block a:hover {
  text-decoration-color: var(--accent);
}

/* Reduced-motion: neutralise transforms/hover lifts */
@media (prefers-reduced-motion: reduce) {
  .btn, .benefit-card, .btn-primary:hover, .benefit-card:hover { transition: none; }
  .btn-primary:hover, .benefit-card:hover { transform: none; }
}

/* === 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 === */
/* tornelax.com — H8 floating-tile/offset hero · A6 margin-note sidebar
   · S3 connected step cards · C3 bordered cards · T5 minimal borderless table */

/* H8 — the white copy tile floats OVER the featured image tile (offset + slight
   tilt), an asymmetric composition. Section already has overflow:clip. */
@media (min-width: 961px){
  .hero-inner{ align-items: center; }
  .hero-tile{ position: relative; z-index: 3; margin-right: -3.5rem; }
  .hero-media{
    position: relative; z-index: 1;
    transform: rotate(1.4deg) translateY(-6px);
    box-shadow: var(--shadow-lg);
  }
}

/* A6 — ASYMMETRIC OFFSET: narrow text measure with the key points sitting in a
   wide right margin as a light, left-ruled "margin note" (not a heavy card). */
@media (min-width: 961px){
  .article-grid{
    grid-template-columns: minmax(0, 62ch) 264px;
    column-gap: clamp(2.5rem, 5vw, 4.5rem);
  }
  .article-body{ max-width: none; }
  .keypoints{ top: 32px; }
  .keypoints-card{
    background: transparent; border: 0; border-left: 3px solid var(--primary);
    border-radius: 0; box-shadow: none; padding: .1rem 0 .1rem 1.35rem;
  }
  .keypoints-card li{ font-size: .9rem; }
}

/* S3 — CONNECTED STEP CARDS (equal-height grid of numbered cards w/ connectors) */
@media (min-width: 761px){
  .timeline{
    max-width: none; display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .timeline::before{ display: none; }
  .step{
    display: block; padding: 1.6rem 1.4rem;
    background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: none;
  }
  .step-num{ margin-bottom: 1rem; }
  .step-body{ padding-top: 0; }
}
@media (min-width: 961px){
  .timeline{ grid-template-columns: repeat(4, 1fr); align-items: stretch; }
  .step{ position: relative; }
  .step:not(:last-child)::after{
    content: ""; position: absolute; right: -.8rem; top: 42px;
    width: .8rem; height: 2px; background: var(--line-strong); z-index: 2;
  }
}
/* below 761px the original vertical numbered timeline is retained */

/* C3 — BORDERED CARDS (clear border, no shadow, crisp corners) */
.benefit-grid .benefit-card{
  box-shadow: none; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
}
.benefit-grid .benefit-card:hover{
  box-shadow: none; transform: none; border-color: var(--primary);
}

/* T5 — MINIMAL BORDERLESS TABLE (horizontal rules only, light header, roomy) */
@media (min-width: 621px){
  .capability .table-wrap{ border: 0; box-shadow: none; background: transparent; border-radius: 0; }
  .cap-table thead th{
    background: transparent; color: var(--deep);
    border-bottom: 2px solid var(--line-strong);
  }
  .cap-table tbody tr{ border-top: 1px solid var(--line); }
  .cap-table tbody tr:nth-child(even){ background: transparent; }
  .cap-table th, .cap-table td{ padding: 1.15rem 1.25rem; }
  .cap-table td:first-child{ padding-left: 0; }
  .cap-table th:first-child{ padding-left: 0; }
}
/* === 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)}
