/* ================================================================
   Advertorial — Deep Dive Long-form v2
   Chrome:     Classic News (topbar, sitehead, nav, offerbar, footer)
   Colour:     Crimson (#be123c) — distinct from blue, green, indigo
   Typography: Sans-serif throughout (body + headings + UI chrome)
               Only h1 uses serif for editorial weight
   Container:  1080px chrome; .prose 720px for long-form readability
   ================================================================ */

/* ─── Tokens ─────────────────────────────────────────────────── */
:root{
  --bg:         #ffffff;
  --ink:        #111111;
  --muted:      #5b5b5b;
  --border:     #e5e5e5;
  --paper:      #fafafa;
  --link:       #9f1239;
  --link-hover: #881337;

  /* CTA — deep crimson */
  --cta:        #be123c;
  --cta-hover:  #9f1239;

  /* CTA box tint */
  --cta-bg:     #fff1f2;
  --cta-border: #fecdd3;

  --max:        1080px;
  --prose:      720px;
  --radius:     14px;

  --serif: ui-serif, Georgia, "Times New Roman", Times, serif;
  --sans:  ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --mono:  ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
}

/* ─── Reset ──────────────────────────────────────────────────── */
*{ box-sizing: border-box }
html, body{ height: 100% }
body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);     /* sans throughout */
  font-size: 17px;
  line-height: 1.80;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: 76px;
}
a{ color: var(--link); text-decoration: none }
a:hover{ color: var(--link-hover); text-decoration: underline }
img{ max-width: 100%; display: block }

/* Wide container for chrome */
.container{
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}
/* Prose column for article content */
.prose{
  max-width: var(--prose);
  margin-inline: auto;
}

/* ─── Topbar — Classic News ──────────────────────────────────── */
.topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  background: #111;
  color: #fff;
  border-bottom: 1px solid #222;
}
.topbar-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}
.badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
}
.badge-dot{
  width: 8px; height: 8px;
  border-radius: 99px;
  background: #ffcc00;
  display: inline-block;
  flex-shrink: 0;
}
.topbar-right{
  font-size: 12px;
  color: #cfcfcf;
  white-space: nowrap;
  font-family: var(--sans);
}
.topbar-right a{ color: #cfcfcf; text-decoration: underline; text-underline-offset: 2px }
.topbar-right a:hover{ color: #fff }
@media (max-width: 600px) { .topbar-detail { display: none } }

/* ─── Site header ────────────────────────────────────────────── */
.sitehead{
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.sitehead-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  flex-wrap: nowrap;
}
@media (max-width: 600px) { .sitehead-inner { justify-content: center } }
.brand{
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
}
@media (max-width: 600px) { .brand { flex-direction: column; align-items: center; gap: 2px } }
.brand-mark{
  display: flex;
  align-items: center;
  gap: 10px;
  /* Serif brand name for editorial credibility even in a sans page */
  font-family: var(--serif);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.brand-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 999px;
  background: rgba(0,0,0,.06);
  color: var(--cta);
  flex-shrink: 0;
}
.brand-tag{
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

/* ─── Nav ────────────────────────────────────────────────────── */
.nav{
  display: flex;
  gap: 4px;
  align-items: center;
  font-family: var(--sans);
  flex-shrink: 0;
  flex-wrap: nowrap;
}
.nav a{
  font-size: 13px;
  color: #222;
  padding: 6px 9px;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
}
.nav a:hover{
  background: var(--paper);
  color: #111;
  text-decoration: none;
}
.nav a.nav-cta{
  background: var(--cta);
  color: #fff !important;
  padding: 7px 15px;
  border-radius: 999px;
  font-weight: 750;
  margin-left: 6px;
}
.nav a.nav-cta:hover{ background: var(--cta-hover) }
@media (max-width: 600px){ .nav{ display: none } }

/* ─── Page layout ────────────────────────────────────────────── */
.main{ padding: 26px 0 0; }

.breadcrumb{
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 14px;
}
.breadcrumb span{ color: #aaa }

/* ─── Headline & subhead ─────────────────────────────────────── */
h1{
  /* Keep serif for the big headline — editorial authority */
  font-family: var(--serif);
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.10;
  font-size: clamp(30px, 3.8vw, 48px);
  margin: 8px 0 14px;
  color: #0d0d0d;
}
.subhead{
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 400;
  color: #3a3a3a;
  line-height: 1.65;
  margin: 0 0 16px;
}

/* ─── Meta chips ─────────────────────────────────────────────── */
.meta{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.meta strong{ color: #222; font-weight: 650 }
.chip{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border);
  background: var(--paper);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
}
.chip .pin{
  color: var(--cta);
  display: inline-flex;
  align-items: center;
  width: 14px; height: 14px;
}
.chip .pin svg{ display: block }

/* ─── Hero ───────────────────────────────────────────────────── */
.hero{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  margin-bottom: 26px;
}
.hero img{ width: 100%; height: auto; display: block }
.caption{
  padding: 9px 12px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
}

/* ─── Section scaffolding ────────────────────────────────────── */
.section{ padding: 4px 0 10px; }
hr.sep{
  border: 0;
  border-top: 1px solid var(--border);
  margin: 28px 0;
}

/* Section kicker label */
.h2{
  font-family: var(--sans);
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--cta);
  margin: 26px 0 4px;
}
/* Section heading */
.story-title{
  font-family: var(--sans);
  font-weight: 800;
  font-size: 24px;
  line-height: 1.22;
  letter-spacing: -.02em;
  color: #0d0d0d;
  margin: 0 0 14px;
}

/* Body paragraphs */
p{ margin: 0 0 16px; font-family: var(--sans); line-height: 1.80 }

/* ─── Callout ────────────────────────────────────────────────── */
.callout{
  border: 1px solid var(--border);
  background: var(--paper);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin: 20px 0;
}
.callout > strong:first-child,
.callout-title{
  display: block;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #222;
  font-weight: 800;
  margin-bottom: 8px;
}
.callout .note{
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}
.callout ul{
  margin: 8px 0 0;
  padding-left: 18px;
  color: #333;
  font-size: 14px;
  line-height: 1.65;
}
.callout li{ margin: 5px 0 }

/* ─── Stat callout (big number) ──────────────────────────────── */
.stat-row{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 22px 0;
}
@media (max-width: 560px){ .stat-row{ grid-template-columns: 1fr } }
.stat-card{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 16px;
  text-align: center;
}
.stat-card .num{
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  color: var(--cta);
  letter-spacing: -.02em;
}
.stat-card .label{
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.4;
}

/* ─── Pull quote ─────────────────────────────────────────────── */
.pullquote{
  border-left: 4px solid var(--cta);
  padding: 10px 0 10px 18px;
  margin: 26px 0;
  font-family: var(--sans);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.38;
  color: #111;
}
.pullquote cite{
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  color: var(--muted);
}

/* ─── Comparison table ───────────────────────────────────────── */
.compare{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 22px 0;
  font-size: 14px;
}
.compare-head{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  padding: 10px 14px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #333;
}
.compare-row{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  align-items: center;
  background: #fff;
}
.compare-row:last-child{ border-bottom: 0 }
.compare-row:nth-child(even){ background: var(--paper) }
.compare-row .criteria{ font-weight: 600; color: #222 }
.compare-row .bad{ color: #b91c1c; font-size: 13px }
.compare-row .good{ color: #166534; font-weight: 700; font-size: 13px }

/* ─── Inline images ──────────────────────────────────────────── */
.inline-img{
  margin: 22px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.inline-img img{ width: 100%; height: auto; display: block }
.inline-img .cap{
  padding: 9px 12px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
}

/* ─── Testimonial ────────────────────────────────────────────── */
.testimonials{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 22px 0;
}
@media (max-width: 560px){ .testimonials{ grid-template-columns: 1fr } }
.tcard{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 16px;
}
.tcard .quote{
  font-size: 15px;
  line-height: 1.65;
  color: #222;
  margin: 0 0 12px;
}
.tcard .author{
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.tcard .stars{
  color: var(--cta);
  font-size: 14px;
  margin-bottom: 8px;
  letter-spacing: 2px;
}

/* ─── Before / After ────────────────────────────────────────── */
.ba{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0;
}
@media (max-width: 560px){ .ba{ grid-template-columns: 1fr } }
.ba .panel{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.ba .panel img{ width: 100%; height: auto; display: block }
.ba .panel .head{
  padding: 9px 12px;
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .10em;
  color: #444;
}

/* ─── CTA box — crimson tint ─────────────────────────────────── */
.cta-box{
  border: 1px solid var(--cta-border);
  background: var(--cta-bg);
  border-radius: calc(var(--radius) + 2px);
  padding: 18px;
  margin: 24px 0;
}
.cta-box h3{
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #9f1239;
}
.cta-row{
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.cta-row > div{
  font-size: 14.5px;
  color: #333;
  line-height: 1.55;
}
.cta-row strong{ color: #111; font-size: 15px }

/* ─── Button — pill, crimson ─────────────────────────────────── */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--cta);
  color: #fff !important;
  font-family: var(--sans);
  font-weight: 750;
  font-size: 14px;
  letter-spacing: .01em;
  text-decoration: none !important;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .12s ease, transform .08s ease;
}
.btn:hover{ background: var(--cta-hover); color: #fff !important }
.btn:active{ transform: translateY(1px) }
.btn.secondary{
  background: transparent;
  color: var(--cta) !important;
  border: 1px solid var(--cta-border);
}
.btn.secondary:hover{ background: var(--cta-bg) }

/* ─── Inline link ────────────────────────────────────────────── */
.inline-link{
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.inline-link:hover{ opacity: .80 }

/* ─── Offer bar — Classic News style ────────────────────────── */
.offerbar{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,.96);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 70;
  transition: transform .22s ease;
  padding: 10px 0;
}
.offerbar.hide{ transform: translateY(100%) }
.offerbar-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.offerbar-txt{
  font-size: 13px;
  color: #333;
  line-height: 1.25;
}
.offerbar-txt strong{ color: #111 }

/* ─── Footer ─────────────────────────────────────────────────── */
.footer{
  border-top: 1px solid var(--border);
  padding: 22px 0 34px;
  color: var(--muted);
  font-size: 12px;
}
.footer .cols{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}
.footer a{ color: var(--muted); text-decoration: underline; text-underline-offset: 2px }
.footer a:hover{ color: #111 }

/* ─── Utility ────────────────────────────────────────────────── */
.small{
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

/* ─── Modal prelander (hard-coded in HTML) ───────────────────── */
.modal-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(10,12,14,.55);
  display: none;
  z-index: 80;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.modal-backdrop.open{ display: flex }
.modal{
  width: min(520px, 100%);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,.18);
  padding: 24px 22px 20px;
  font-family: var(--sans);
}
.modal-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.modal-brand{
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -.01em;
}
.modal-brand .brand-icon{ color: var(--cta) }
.modal h3{
  margin: 10px 0 6px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: #111;
}
.modal p{
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.progress{
  height: 10px;
  background: rgba(190,18,60,.10);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(190,18,60,.18);
}
.bar{
  width: 0%;
  height: 100%;
  background: var(--cta);
  border-radius: 999px;
  transition: width .08s linear;
}
.modal-steps{
  margin-top: 12px;
  font-weight: 700;
  font-size: 14px;
  color: #222;
}
.modal-actions{
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
}

/* ─── Availability page ──────────────────────────────────────── */
.av-wrap{
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.av-card{
  width: min(520px, 100%);
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--bg);
  padding: 24px 22px 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,.07);
}
