/* T21 CallTrackingWare — calltrackingware.com
   Palette: indigo #4F46E5 / dark #4338CA / soft #E0E7FF on cream #FFFCF5, ink #1F2030
   Typography: Manrope (display) + Inter (body).
   Layout: PERSONAL BLOG, single column. Author byline at the top under the H1.
   Numbered narrative reviews on the homepage instead of a card grid. A "Quick picks"
   decision list replaces the feature matrix. Signature visual: a friendly "quick verdict"
   callout box (.verdict-box). Flat cards, 10px radii, lots of whitespace, no sticky CTA.
   Distinct from the violet/Space Grotesk comparison layout of paypercallplatforms and the
   sky-blue geo layout of gololocal. */

:root {
  --bg: #FFFCF5;
  --bg-soft: #FBF7EE;
  --bg-soft-2: #F4EFE3;
  --bg-card: #FFFFFF;
  --ink: #1F2030;
  --ink-soft: #3A3B4C;
  --muted: #6E6F80;
  --rule: #ECE6D8;
  --rule-strong: #DAD3C2;
  --accent: #4F46E5;
  --accent-dark: #4338CA;
  --accent-soft: #E0E7FF;
  --good: #15803D;
  --good-soft: #DCFCE7;
  --warn: #B45309;
  --bad: #B91C1C;
  --max: 1080px;
  --max-narrow: 760px;
  --max-prose: 720px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }

h1, h2, h3, h4, h5 {
  font-family: 'Manrope', 'Inter', sans-serif;
  color: var(--ink);
  letter-spacing: -0.018em;
  margin: 1.5em 0 .5em;
  font-weight: 800;
}
h1 { font-size: 44px; line-height: 1.1; letter-spacing: -0.025em; margin-top: 0; font-weight: 800; }
h2 { font-size: 28px; line-height: 1.22; margin-top: 1.8em; font-weight: 800; }
h3 { font-size: 21px; line-height: 1.32; font-weight: 700; margin-top: 1.7em; }
h4 { font-size: 17px; line-height: 1.35; font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1.15em; }
strong { font-weight: 700; color: var(--ink); }
hr.divider { border: 0; border-top: 1px solid var(--rule); margin: 2.4em 0; }

@media (max-width: 760px) {
  body { font-size: 17px; }
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  h3 { font-size: 19px; }
}

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

/* === Header / brand (static, NOT sticky — personal blog feel) === */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; padding-bottom: 16px; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--accent-dark); }
.brand-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--accent);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  flex: none;
}
.brand-mark svg { width: 20px; height: 20px; }
.brand-words { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 17px; letter-spacing: -0.02em; }
.brand-tag { font-size: 10px; letter-spacing: 1.4px; color: var(--muted); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--ink-soft); text-decoration: none; }
.nav a:hover { color: var(--accent-dark); }
.nav .btn-sm { color: #fff; }
.nav-toggle {
  display: none; background: var(--bg-soft); border: 1px solid var(--rule);
  border-radius: 10px; padding: 8px 14px; font-weight: 600; cursor: pointer; color: var(--ink);
}
@media (max-width: 820px) {
  .nav-toggle { display: inline-block; }
  .nav {
    display: none; position: absolute; top: 70px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--rule);
    flex-direction: column; gap: 0; padding: 8px 22px 16px; z-index: 50;
  }
  .nav.open { display: flex; }
  .nav a { padding: 11px 0; border-bottom: 1px solid var(--rule); width: 100%; }
  .nav a:last-child { border-bottom: 0; }
}

/* === Buttons === */
.btn {
  display: inline-block; padding: 14px 24px;
  border-radius: 10px; font-weight: 700; text-decoration: none;
  font-size: 15px; letter-spacing: 0.005em; transition: transform .12s, box-shadow .12s, background .12s;
  border: 1px solid transparent; font-family: 'Manrope', sans-serif;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); }
.btn-secondary { background: var(--bg); color: var(--ink); border-color: var(--rule-strong); }
.btn-secondary:hover { background: var(--bg-soft); color: var(--accent-dark); }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 9px; }

/* === Breadcrumbs === */
.breadcrumb { font-size: 14px; color: var(--muted); padding: 18px 0 4px; font-weight: 500; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-dark); }

/* === Hero (blog-style: simple, left-aligned, no big stat band) === */
.hero {
  background: var(--bg);
  padding: 46px 0 8px;
}
.hero .container { max-width: var(--max-prose); }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-soft); color: var(--accent-dark);
  padding: 6px 13px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.03em;
  margin-bottom: 18px;
}
.hero h1 { margin-bottom: 16px; }
.hero .lede { font-size: 20px; color: var(--ink-soft); margin-bottom: 8px; }

/* Author byline at top of homepage + reviews (blog signature) */
.byline-row {
  display: flex; align-items: center; gap: 11px; flex-wrap: wrap;
  font-size: 14.5px; color: var(--muted); margin: 18px 0 6px;
}
.byline-row img { width: 42px; height: 42px; border-radius: 50%; }
.byline-row .sep { color: var(--rule-strong); }
.author-name { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px dotted var(--muted); }
.author-mention { position: relative; }
.author-card {
  display: none; position: absolute; top: 26px; left: 0; z-index: 10;
  background: var(--ink); color: #fff;
  padding: 13px 15px; border-radius: 10px; font-size: 13px;
  width: 290px; line-height: 1.55; box-shadow: 0 12px 30px rgba(31,32,48,.28);
}
.author-card strong { display: block; font-weight: 700; margin-bottom: 4px; color: #fff; }
.author-mention:hover .author-card,
.author-name:focus + .author-card { display: block; }

.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0 6px; }

/* === Main article column === */
main { padding-bottom: 8px; }
.post { max-width: var(--max-prose); margin: 0 auto; padding: 0 22px; }
.post p, .post ul, .post ol { margin-bottom: 1.2em; }
.post > p:first-of-type { font-size: 19px; }

/* Article header for reviews + support pages */
.article-header { padding: 26px 0 4px; max-width: var(--max-prose); margin: 0 auto; }
.article-header .kicker {
  display: inline-block; font-size: 12px; font-weight: 800;
  color: var(--accent-dark); letter-spacing: 0.09em; text-transform: uppercase; margin-bottom: 12px;
}
.article-header .lede { font-size: 20px; color: var(--ink-soft); margin-bottom: 6px; }
.article-body { max-width: var(--max-prose); margin: 0 auto; }
.article-body p, .article-body ul, .article-body ol, .article-body table { margin-bottom: 1.2em; }

/* === Signature visual: friendly "quick verdict" callout box === */
.verdict-box {
  background: var(--bg-card); border: 1px solid var(--rule-strong);
  border-radius: 10px; padding: 22px 24px; margin: 26px auto;
  box-shadow: 0 2px 0 var(--accent-soft);
  max-width: var(--max-prose);
}
.verdict-box .vb-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 800; color: var(--accent-dark);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px;
}
.verdict-box .vb-tag::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 4px var(--accent);
}
.verdict-box h4 { margin: 0 0 8px; font-size: 19px; }
.verdict-box p { margin: 0 0 8px; color: var(--ink-soft); font-size: 16px; }
.verdict-box .vb-score {
  display: inline-block; margin-top: 6px;
  font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 14px;
  color: var(--accent-dark); background: var(--accent-soft);
  padding: 4px 12px; border-radius: 999px; letter-spacing: 0.02em;
}

/* === TL;DR box (used on review pages) === */
.tldr {
  background: var(--bg-soft); border: 1px solid var(--rule);
  border-left: 4px solid var(--accent);
  border-radius: 10px; padding: 20px 24px; margin: 26px auto; max-width: var(--max-prose);
}
.tldr h4 {
  margin: 0 0 10px; font-size: 11px; color: var(--accent-dark);
  letter-spacing: 0.12em; text-transform: uppercase; font-weight: 800;
}
.tldr ul { margin: 0; padding-left: 20px; }
.tldr li { margin: 7px 0; color: var(--ink-soft); }
.tldr .overall {
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--rule);
  font-weight: 800; color: var(--accent-dark); font-size: 14px; letter-spacing: 0.02em;
}

/* === Inline TL;DR CTA (CallScaler review only) === */
.tldr-cta {
  background: var(--accent-soft);
  border: 1px solid #C7D0F5;
  border-radius: 10px; padding: 22px; margin: 24px auto; text-align: center; max-width: var(--max-prose);
}
.tldr-cta .btn { margin-bottom: 8px; }
.tldr-cta .subtext { font-size: 13px; color: var(--ink-soft); margin: 0; font-weight: 500; }

/* === Soft crosslink (competitor reviews) === */
.tldr-crosslink {
  background: var(--bg-soft); border: 1px solid var(--rule);
  border-left: 3px solid var(--good);
  border-radius: 10px; padding: 15px 20px; margin: 22px auto; max-width: var(--max-prose);
  font-size: 15px; color: var(--ink-soft);
}
.tldr-crosslink p { margin: 0; }
.tldr-crosslink strong { color: var(--ink); }

/* === CTA card (flat, on-brand) === */
.cta-card {
  background: var(--accent-soft);
  border: 1px solid #C7D0F5;
  border-left: 4px solid var(--accent);
  border-radius: 10px; padding: 26px 26px; margin: 32px auto; text-align: center;
  max-width: var(--max-prose);
}
.cta-card h4 { font-family: 'Manrope', sans-serif; color: var(--ink); margin: 0 0 14px; font-size: 19px; font-weight: 800; }
.cta-card .btn-primary { background: var(--accent); color: #fff; }
.cta-card .btn-primary:hover { background: var(--accent-dark); color: #fff; }
.cta-card .subtext { color: var(--muted); font-size: 13px; margin: 12px 0 0; }

/* === Numbered narrative review list (homepage) — replaces card grid === */
.pick-list { list-style: none; counter-reset: pick; padding: 0; margin: 8px auto; max-width: var(--max-prose); }
.pick-item {
  counter-increment: pick; position: relative;
  padding: 24px 0 26px; border-bottom: 1px solid var(--rule);
}
.pick-item:last-child { border-bottom: 0; }
.pick-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pick-num {
  font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 22px;
  color: var(--accent); flex: none;
}
.pick-num::before { content: counter(pick); }
.pick-item h3 { margin: 0; display: inline; }
.pick-item .pick-flag {
  display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; color: #fff; background: var(--accent);
  padding: 3px 9px; border-radius: 6px; vertical-align: middle;
}
.pick-meta { display: flex; gap: 18px; flex-wrap: wrap; margin: 6px 0 4px; font-size: 13.5px; color: var(--muted); }
.pick-meta strong { color: var(--ink); font-family: 'Manrope', sans-serif; }
.pick-item p { margin: 8px 0 10px; }
.pick-item .read { font-weight: 700; font-size: 14.5px; }

/* === Quick picks decision list (replaces feature matrix) === */
.quick-picks { list-style: none; padding: 0; margin: 14px auto; max-width: var(--max-prose); }
.quick-picks li {
  display: grid; grid-template-columns: 1fr; gap: 4px;
  padding: 16px 18px; background: var(--bg-card); border: 1px solid var(--rule);
  border-radius: 10px; margin: 10px 0;
}
.quick-picks .if { font-size: 13px; color: var(--muted); font-weight: 700; letter-spacing: 0.03em; }
.quick-picks .then { font-size: 16px; }
.quick-picks .then strong { font-family: 'Manrope', sans-serif; color: var(--accent-dark); }

/* === Pricing list === */
.pricing-list { list-style: none; padding: 0; margin: 18px auto; max-width: var(--max-prose); }
.pricing-list li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 13px 18px; background: var(--bg-soft); border: 1px solid var(--rule);
  border-radius: 10px; margin: 9px 0;
}
.pricing-list .plan { font-weight: 700; }
.pricing-list .price { font-family: 'Manrope', sans-serif; font-weight: 800; color: var(--accent-dark); font-size: 15px; }

/* === Pros / cons === */
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 22px auto; max-width: var(--max-prose); }
.proscons .pros, .proscons .cons {
  border: 1px solid var(--rule); border-radius: 10px; padding: 18px 20px; background: var(--bg-card);
}
.proscons .pros { border-left: 3px solid var(--good); }
.proscons .cons { border-left: 3px solid var(--warn); }
.proscons h4 { margin: 0 0 10px; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.proscons ul { padding-left: 20px; margin: 0; }
.proscons li { margin: 6px 0; font-size: 14.5px; }
@media (max-width: 600px) { .proscons { grid-template-columns: 1fr; } }

/* === Rating row (simple, friendly — used in reviews) === */
.rating-row {
  display: grid; grid-template-columns: 150px 1fr 44px; gap: 14px; align-items: center;
  margin: 11px 0; font-size: 14.5px;
}
.rating-row .lbl { color: var(--ink-soft); font-weight: 600; }
.rating-row .bar { background: var(--bg-soft-2); height: 8px; border-radius: 999px; overflow: hidden; }
.rating-row .bar span { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.rating-row .num { font-family: 'Manrope', sans-serif; font-weight: 800; color: var(--accent-dark); text-align: right; font-size: 14px; }
@media (max-width: 560px) { .rating-row { grid-template-columns: 1fr 44px; } .rating-row .bar { grid-column: 1 / -1; } }

/* === Screenshots / figures === */
.tool-screenshot {
  margin: 28px auto; border: 1px solid var(--rule); border-radius: 10px; overflow: hidden;
  background: var(--bg-soft); max-width: var(--max-prose);
}
.tool-screenshot img { width: 100%; display: block; }
.tool-screenshot figcaption {
  font-size: 13px; color: var(--muted); padding: 11px 16px;
  background: var(--bg-card); border-top: 1px solid var(--rule);
}

/* === Section spacing on homepage === */
.section { padding: 18px 0; }
.section-head { margin: 36px auto 8px; max-width: var(--max-prose); }
.section-head .kicker {
  display: inline-block; font-size: 11px; font-weight: 800;
  color: var(--accent-dark); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px;
}
.section-head h2 { margin-top: 0; }

/* === About block at the bottom (newsletter style) === */
.about-block {
  max-width: var(--max-prose); margin: 40px auto 0; padding: 26px 24px;
  background: var(--bg-soft); border: 1px solid var(--rule); border-radius: 10px;
}
.about-block .ab-grid { display: grid; grid-template-columns: 84px 1fr; gap: 18px; align-items: center; }
.about-block img { width: 84px; height: 84px; border-radius: 50%; }
.about-block h4 { margin: 0 0 6px; font-size: 17px; }
.about-block p { margin: 0; font-size: 15px; color: var(--ink-soft); }
@media (max-width: 520px) { .about-block .ab-grid { grid-template-columns: 1fr; text-align: center; } .about-block img { margin: 0 auto; } }

/* === References === */
.references { font-size: 14px; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 14px; margin-top: 30px; max-width: var(--max-prose); margin-left: auto; margin-right: auto; }
.references a { color: var(--ink-soft); }

.muted { color: var(--muted); }

/* === Footer === */
.site-footer {
  background: var(--ink); color: #C3C4D4; padding: 50px 0 26px; margin-top: 56px;
}
.site-footer h4 { font-family: 'Manrope', sans-serif; color: #fff; font-size: 14px; margin: 0 0 14px; letter-spacing: 0.03em; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 30px; padding-bottom: 26px;
  border-bottom: 1px solid #34354A;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer ul { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.site-footer ul li { margin: 7px 0; }
.site-footer a { color: #C3C4D4; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.disclosure { padding-top: 22px; font-size: 13px; color: #9092A6; line-height: 1.6; }
.disclosure strong { color: #fff; }

/* === Reviews dropdown === */
.nav-dropdown { position: relative; }
.nav-dropdown > .dropdown-trigger {
  cursor: pointer; display: inline-flex; align-items: center; gap: 4px; text-decoration: none;
}
.nav-dropdown > .dropdown-trigger::after {
  content: "\25BE"; font-size: 0.72em; margin-left: 3px; opacity: 0.6; color: currentColor;
  transition: opacity .15s ease, color .15s ease;
}
.nav-dropdown:hover > .dropdown-trigger,
.nav-dropdown:focus-within > .dropdown-trigger { color: var(--accent-dark); }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: var(--bg-card); border: 1px solid var(--rule); border-radius: 10px;
  box-shadow: 0 16px 36px rgba(79, 70, 229, .12);
  min-width: 270px; padding: 8px 0;
  opacity: 0; visibility: hidden;
  transition: opacity .15s ease, transform .15s ease, visibility .15s; z-index: 60;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 18px; font-size: 14px; color: var(--ink); text-decoration: none; font-weight: 500;
}
.nav-dropdown-menu a:hover { background: var(--accent-soft); color: var(--accent-dark); }
.nav-dropdown-menu .pick-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--good); background: var(--good-soft); padding: 2px 8px; border-radius: 999px; margin-left: 12px;
}
@media (max-width: 820px) {
  .nav-dropdown { width: 100%; }
  .nav-dropdown-menu {
    position: static; transform: none; opacity: 1; visibility: visible;
    border: none; box-shadow: none; background: transparent;
    padding: 4px 0 0 14px; min-width: 0; margin-top: 4px; border-left: 2px solid var(--rule);
  }
  .nav-dropdown-menu a { padding: 8px 0; font-size: 13px; color: var(--muted); }
  .nav-dropdown-menu a:hover { background: transparent; color: var(--accent); }
}
