/* T6 Magazine — thebestcalltracking.com
   Palette: white #FFFFFF / cream #FFF8E8 / ink #0A0A0A / accent Royal Blue #1E40AF
   Typography: DM Sans (display) + Open Sans (body)
   Layout: two-column with sticky sidebar (magazine).
   All layout-feedback rules from memory baked in. */

:root {
  --bg: #FFFFFF;
  --bg-soft: #FFF8E8;
  --bg-tint: #F4F4F0;
  --ink: #0A0A0A;
  --ink-soft: #2A2A2A;
  --muted: #5C6470;
  --rule: #E5E2D6;
  --rule-strong: #C7BEA0;
  --card: #FFFFFF;
  --accent: #1E40AF;
  --accent-dark: #1E3A8A;
  --accent-soft: #EFF1FB;
  --good: #047857;
  --warn: #B45309;
  --bad: #B91C1C;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }

h1, h2, h3, h4 {
  font-family: 'DM Sans', 'Open Sans', sans-serif;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 1.4em 0 .5em;
  font-weight: 700;
}
h1 { font-size: 54px; line-height: 1.05; letter-spacing: -0.025em; font-weight: 800; margin-top: 0; }
h2 { font-size: 30px; line-height: 1.18; margin-top: 1.6em; }
h3 { font-size: 21px; line-height: 1.3; }
h4 { font-size: 17px; line-height: 1.35; font-weight: 700; }
p { margin: 0 0 1.1em; }
@media (max-width: 760px) {
  body { font-size: 16px; }
  h1 { font-size: 36px; }
  h2 { font-size: 24px; }
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* === Magazine masthead === */
.masthead {
  border-top: 6px solid var(--accent);
  border-bottom: 1px solid var(--rule);
  padding: 32px 0 18px;
  text-align: center;
  background: var(--bg);
}
.masthead .meta-line {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 10px;
}
.masthead .brand {
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: 44px;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  display: inline-block;
}
.masthead .strap {
  font-family: 'Open Sans', sans-serif;
  font-style: italic;
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
}
@media (max-width: 760px) {
  .masthead { padding: 22px 0 14px; }
  .masthead .brand { font-size: 30px; }
}

/* === Section nav under masthead === */
.section-nav {
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 40;
}
.section-nav .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.section-nav a {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}
.section-nav a:hover { color: var(--accent); }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--rule);
  padding: 6px 10px;
  cursor: pointer;
  font-size: 13px;
  color: var(--ink);
}
@media (max-width: 760px) {
  .section-nav .container { gap: 18px; }
  .section-nav a { font-size: 12px; letter-spacing: 0.1em; }
}

/* === Two-column main layout === */
.two-col {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  padding: 48px 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.main-col { min-width: 0; }
.aside-col { min-width: 0; }
@media (max-width: 960px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; padding: 32px 24px; }
}

/* === Article header (inside main-col) === */
.article-header { padding-bottom: 22px; border-bottom: 1px solid var(--rule); margin-bottom: 32px; }
.article-header .kicker {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 4px;
}
.article-header h1 { margin: 0 0 14px; }
.article-header .lede {
  font-family: 'DM Sans', sans-serif;
  font-size: 21px;
  line-height: 1.45;
  color: var(--ink-soft);
  font-weight: 400;
  margin-bottom: 20px;
}
.article-header .byline-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
  flex-wrap: wrap;
}
.article-header .byline-row img { width: 36px; height: 36px; border-radius: 50%; display: block; }
.article-header .byline-row strong { color: var(--ink); font-weight: 700; }
.article-header .byline-row .sep { color: var(--rule-strong); }

/* === Article body === */
.article-body { font-size: 17px; line-height: 1.7; }
.article-body p { font-size: 17px; }
.article-body ul, .article-body ol { margin: 0 0 1.2em; padding-left: 22px; }
.article-body li { margin-bottom: 6px; }
.drop-cap::first-letter {
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: 60px;
  line-height: 0.9;
  float: left;
  margin: 6px 8px 0 0;
  color: var(--accent);
}

/* === Pull-quote (magazine style) === */
.pull-quote {
  margin: 32px 0;
  padding: 18px 0;
  border-top: 2px solid var(--accent);
  border-bottom: 1px solid var(--rule);
  font-family: 'DM Sans', sans-serif;
  font-size: 22px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* === Sidebar widgets === */
.widget {
  border: 1px solid var(--rule);
  background: var(--card);
  margin-bottom: 24px;
  padding: 18px 20px;
}
.widget h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule);
}
.widget ul, .widget ol { padding-left: 22px; margin: 0; }
.widget ol { padding-left: 0; counter-reset: rank; list-style: none; }
.widget ol li {
  counter-increment: rank;
  position: relative;
  padding: 10px 0 10px 32px;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
}
.widget ol li::before {
  content: counter(rank);
  position: absolute;
  left: 0;
  top: 8px;
  font-weight: 800;
  color: var(--accent);
  font-size: 16px;
}
.widget ol li:last-child { border-bottom: none; }
.widget ol li small {
  display: block;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.widget ol li a { color: var(--ink); text-decoration: none; display: block; }
.widget ol li a:hover { color: var(--accent); }
.widget ol li.top-pick { background: var(--accent-soft); }

.aside-col .sticky {
  position: sticky;
  top: 70px;
}
.author-widget {
  text-align: center;
}
.author-widget img {
  width: 80px; height: 80px; border-radius: 50%;
  margin: 0 auto 12px; display: block;
}
.author-widget .name {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 4px;
}
.author-widget .role {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}
.author-widget p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 10px;
  text-align: left;
}

.cta-widget {
  background: var(--accent);
  color: #fff;
  padding: 22px 20px;
  border: none;
}
.cta-widget h4 {
  color: rgba(255,255,255,.85);
  border-bottom-color: rgba(255,255,255,.18);
}
.cta-widget p { font-size: 14px; color: rgba(255,255,255,.92); margin-bottom: 14px; }
.cta-widget .btn { background: #fff; color: var(--accent); }
.cta-widget .btn:hover { background: rgba(255,255,255,.92); color: var(--accent-dark); }
.cta-widget .subtext { font-size: 12px; color: rgba(255,255,255,.65); margin: 10px 0 0; }

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 2px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: background .2s ease, color .2s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; text-decoration: none; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); text-decoration: none; }
.btn-sm { padding: 8px 14px; font-size: 13px; }

/* === Author tooltip (memory rule) === */
.author-mention { position: relative; display: inline-block; }
.author-name {
  cursor: help;
  border-bottom: 1px dotted var(--accent);
  font-weight: 700; color: var(--ink);
  text-decoration: none; outline: none;
}
.author-name:hover, .author-name:focus { color: var(--accent); }
.author-card {
  position: absolute; left: 0; top: calc(100% + 6px); z-index: 30;
  width: 300px; max-width: calc(100vw - 32px);
  background: var(--card); border: 1px solid var(--rule); border-left: 3px solid var(--accent);
  padding: 12px 14px; box-shadow: 0 6px 20px rgba(10,10,10,.08);
  font-size: 13px; line-height: 1.55; color: var(--ink-soft);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
  pointer-events: none; white-space: normal;
}
.author-card strong { display: block; color: var(--ink); font-size: 14px; margin-bottom: 4px; }
.author-mention:hover .author-card,
.author-name:focus ~ .author-card,
.author-card:hover { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
@media (max-width: 600px) { .author-card { width: 260px; left: -20px; } }

/* === Breadcrumb === */
.breadcrumb { font-size: 13px; color: var(--muted); padding-top: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }

/* === TLDR + inline TLDR CTA (memory pattern) === */
.tldr {
  background: var(--bg-soft);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--accent);
  padding: 22px 24px;
  margin: 28px 0;
}
.tldr h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin: 0 0 10px;
  font-weight: 700;
}
.tldr ul { margin: 0; padding-left: 22px; }
.tldr li { margin-bottom: 6px; font-size: 16px; }
.tldr .overall { margin-top: 14px; font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 16px; color: var(--ink); }

.tldr-cta {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin: -8px 0 28px;
}
.tldr-cta .subtext { font-size: 13px; color: var(--muted); margin: 0; }

/* === Numbered review section (homepage uses these) === */
.review-section {
  margin: 48px 0;
  padding-top: 32px;
  border-top: 2px solid var(--rule-strong);
}
.review-section .review-header {
  display: flex; align-items: baseline; gap: 14px;
  margin-bottom: 8px;
}
.review-section .review-header .num {
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: 44px;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
}
.review-section .verdict {
  font-style: italic; color: var(--muted);
  font-size: 17px; margin: 0 0 18px;
}
.review-section .stat-row {
  display: flex; flex-wrap: wrap; gap: 20px;
  font-size: 14px; color: var(--muted);
  margin: 14px 0 22px; padding: 12px 16px;
  background: var(--bg-soft); border: 1px solid var(--rule);
}
.review-section .stat-row strong { color: var(--ink); font-weight: 700; }

/* === Inline CTA card (memory pattern, simplified) === */
.cta-card {
  background: var(--accent-soft);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--accent);
  padding: 24px 28px;
  text-align: left;
  margin: 32px 0;
}
.cta-card h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px; font-weight: 700;
  margin: 0 0 14px; letter-spacing: -0.01em;
  color: var(--ink);
}
.cta-card .btn { margin: 0; }
.cta-card .subtext { margin-top: 12px; margin-bottom: 0; font-size: 13px; color: var(--muted); }

/* === Pricing list === */
.pricing-list { list-style: none; padding: 0; margin: 16px 0; }
.pricing-list li {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 16px;
}
.pricing-list .plan { font-weight: 700; }
.pricing-list .price { color: var(--accent); font-weight: 700; }

/* === Pros and cons === */
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 22px 0; }
.proscons ul { padding-left: 20px; margin: 8px 0 0; }
.proscons li { margin-bottom: 6px; font-size: 16px; }
.proscons .pros h4 { color: var(--good); margin-top: 0; }
.proscons .cons h4 { color: var(--warn); margin-top: 0; }
@media (max-width: 600px) { .proscons { grid-template-columns: 1fr; } }

/* === Footer === */
.site-footer {
  background: #0F1626;
  color: #B5BCC8;
  padding: 48px 0 24px;
  margin-top: 56px;
}
.site-footer h4 {
  color: #fff; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.14em;
  margin-bottom: 14px; font-weight: 700;
  font-family: 'DM Sans', sans-serif;
}
.site-footer a { color: #B5BCC8; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 28px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; font-size: 14px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

.disclosure {
  border-top: 1px solid #1F2A40;
  padding-top: 18px;
  font-size: 12px;
  color: #6B7480;
  line-height: 1.6;
}
.disclosure a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.disclosure a:hover { color: #fff; }

/* === Utility === */
.muted { color: var(--muted); font-size: 14px; }
.divider { border: none; border-top: 1px solid var(--rule); margin: 36px 0; }

/* === Tool homepage screenshot (real captures) === */
.tool-screenshot {
  margin: 28px 0 32px;
  padding: 0;
  border: 1px solid var(--rule);
  background: var(--card);
}
.tool-screenshot img {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--rule);
}
.tool-screenshot figcaption {
  font-size: 13px;
  color: var(--muted);
  padding: 10px 14px;
  font-family: 'Open Sans', system-ui, sans-serif;
}



/* === Editor-note cross-link (replaces affiliate CTA on competitor reviews) === */
.tldr-crosslink {
  margin: 18px 0 28px;
  padding: 14px 18px;
  background: var(--bg-soft, #f5f5f3);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink);
}
.tldr-crosslink p { margin: 0; }
.tldr-crosslink strong { color: var(--ink); font-weight: 600; }
.tldr-crosslink a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; font-weight: 500; }
.tldr-crosslink a:hover { text-decoration: none; }
