/* The IT Seller — clean data-journalism theme.
   Fonts: Plus Jakarta Sans (headings) + Inter (body). Accent: cobalt. */
:root {
  --bg: #ffffff;
  --soft: #f6f7fb;
  --ink: #0b1220;
  --text: #4b5563;
  --muted: #6b7280;
  --rule: #e6e8ef;
  --accent: #2f54eb;
  --accent-mid: #8fa6ff;
  --accent-soft: #e9eeff;
  --head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1180px;
}
* { box-sizing: border-box; min-width: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 18px/1.85 var(--body); overflow-x: clip; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 20; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.logo { font: 800 24px/1 var(--head); color: var(--ink); letter-spacing: -0.8px; }
.logo:hover { text-decoration: none; }
.logo span { color: var(--accent); }
.nav { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; font: 500 15px/1 var(--head); }
.nav a { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--accent); }
.btn, .nav .cta { display: inline-block; background: var(--accent); color: #fff; padding: 11px 18px; border-radius: 8px; font: 600 15px/1 var(--head); border: 0; cursor: pointer; }
.btn:hover, .nav .cta:hover { background: var(--ink); color: #fff; text-decoration: none; }

/* Home */
.hero { padding: 72px 0 48px; border-bottom: 1px solid var(--rule); }
.kicker { font: 600 13px/1 var(--head); letter-spacing: 1.2px; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.hero h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.06; letter-spacing: -1.6px; font-weight: 700; margin: 0 0 18px; max-width: 17ch; text-wrap: balance; }
.hero .lead { font-size: 20px; line-height: 1.6; max-width: 60ch; margin: 0 0 26px; }
.signup { display: flex; gap: 8px; flex-wrap: wrap; max-width: 500px; }
.signup input { flex: 1 1 220px; padding: 12px 14px; font: 16px var(--body); border: 1px solid #cfd4e2; border-radius: 8px; }
.signup input:focus, .btn:focus-visible { outline: 3px solid var(--accent-mid); outline-offset: 1px; }
.fine { font-size: 13px; line-height: 1.5; color: var(--muted); margin: 10px 0 0; }
.section { padding: 56px 0; }
.section-title { font-size: 28px; letter-spacing: -0.6px; font-weight: 700; margin: 0 0 6px; }
.section-sub { margin: 0 0 28px; }
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card { border: 1px solid var(--rule); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; background: #fff; transition: border-color .15s; }
.card:hover { border-color: var(--accent-mid); }
.card .tag { font: 600 12px/1 var(--head); letter-spacing: 1px; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.card h3 { font-size: 21px; line-height: 1.3; letter-spacing: -0.3px; margin: 0 0 10px; font-weight: 700; }
.card h3 a { color: var(--ink); }
.card p { font-size: 16px; line-height: 1.6; margin: 0 0 14px; flex: 1; }
.card .meta { font-size: 13.5px; color: var(--muted); }
.pillars { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.pillar { background: var(--soft); border-radius: 12px; padding: 20px; }
.pillar h3 { font-size: 18px; margin: 0 0 6px; font-weight: 700; }
.pillar p { font-size: 15px; line-height: 1.55; margin: 0; }

/* Article layout: sticky sidebar + reading column */
.post { display: grid; grid-template-columns: 230px minmax(0, 760px); gap: 56px; padding-top: 40px; justify-content: center; }
.sidebar { position: sticky; top: 92px; align-self: start; font-size: 14px; line-height: 1.5; }
.side-box { border: 1px solid var(--rule); border-radius: 10px; padding: 14px 16px; margin-bottom: 16px; }
.side-box strong { display: block; font: 600 12px/1 var(--head); letter-spacing: 1px; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; }
.side-toc ol { list-style: none; margin: 0; padding: 0; }
.side-toc li { margin: 0 0 8px; }
.side-toc a { color: var(--text); }
.side-toc a:hover { color: var(--accent); }
.side-sponsor { background: var(--accent-soft); border: 0; font-size: 13.5px; }
.side-sponsor a { font-weight: 600; }
.side-sub input { width: 100%; padding: 9px 10px; font: 14px var(--body); border: 1px solid #cfd4e2; border-radius: 7px; margin-bottom: 8px; }
.side-sub button { width: 100%; padding: 9px; font-size: 14px; }
.share { display: flex; gap: 8px; align-items: center; }
.share a { display: inline-block; border: 1px solid var(--rule); border-radius: 6px; padding: 4px 9px; font: 600 12px/1.4 var(--head); color: var(--ink); }

.post-meta { font: 500 14px/1.4 var(--head); color: var(--muted); display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.post-tag { color: var(--accent); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; font-size: 13px; }
.post h1 { font-size: clamp(32px, 4.2vw, 44px); line-height: 1.12; letter-spacing: -1.2px; font-weight: 700; margin: 6px 0 14px; text-wrap: balance; }
.dek { font-size: 20px; line-height: 1.6; margin: 0 0 18px; }
.byline { font: 500 14.5px/1.5 var(--head); color: var(--muted); padding: 14px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin-bottom: 8px; }
.byline a { color: var(--ink); font-weight: 600; }
.article-body h2 { font-size: 27px; line-height: 1.3; letter-spacing: -0.5px; font-weight: 700; margin: 52px 0 10px; }
.article-body h3 { font-size: 21px; line-height: 1.35; letter-spacing: -0.3px; font-weight: 600; margin: 32px 0 6px; color: #2b3240; }
.article-body p, .article-body li { font-size: 18px; }
.article-body strong { color: var(--ink); font-weight: 600; }
.article-body li { margin-bottom: 6px; }
.article-body ul, .article-body ol { padding-left: 22px; }
.tldr { background: var(--soft); border-radius: 12px; padding: 20px 24px; margin: 26px 0; }
.tldr p { margin: 0; line-height: 1.7; }
.tldr strong { color: var(--accent); }
.template { border: 1px solid var(--rule); border-radius: 12px; padding: 18px 22px; margin: 18px 0 24px; }
.template .label { display: block; font: 600 12px/1 var(--head); letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.template p { font-size: 16.5px; line-height: 1.7; margin: 0 0 8px; }
.template p:last-child { margin: 0; }
.why { font-size: 16px !important; color: var(--muted); margin-top: -8px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; margin: 20px 0 28px; font-size: 15.5px; line-height: 1.55; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font: 600 13px/1.4 var(--head); color: var(--ink); background: var(--soft); }

/* Chart cards */
.chart { border: 1px solid var(--rule); border-radius: 16px; padding: 26px 28px 20px; margin: 30px 0 34px; background: #fff; }
.chart h4 { font-size: 23px; line-height: 1.25; letter-spacing: -0.5px; font-weight: 700; margin: 0 0 4px; }
.chart .chart-sub, .article-body .chart-sub { font-size: 13.5px; line-height: 1.5; color: var(--muted); margin: 0 0 20px; }
.chart-body { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 28px; align-items: start; }
.chart-body > .hbars, .chart-body > div:first-child { padding-top: 6px; }
.chart-body.full { grid-template-columns: minmax(0, 1fr); }
.hbars { display: grid; gap: 14px; }
.hbar { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; align-items: center; }
.hbar-label { font: 600 13.5px/1.3 var(--head); color: var(--ink); text-align: right; }
.hbar-track { display: flex; align-items: center; gap: 8px; }
.hbar-fill { height: 30px; border-radius: 3px; flex: none; max-width: calc(100% - 72px); }
.hbar-val { font: 700 14px/1 var(--head); color: var(--ink); white-space: nowrap; }
.f-ink { background: var(--ink); }
.f-accent { background: var(--accent); }
.f-mid { background: var(--accent-mid); }
.f-soft { background: #c9d4ff; }
.vbars { display: flex; align-items: flex-end; gap: 18px; height: 230px; border-bottom: 1px solid #cfd4e2; padding: 0 6px; }
.vcol { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.vcol .v { font: 700 14px/1 var(--head); color: var(--ink); margin-bottom: 6px; white-space: nowrap; }
.vcol .bar { width: 100%; max-width: 92px; border-radius: 3px 3px 0 0; }
.vlabels { display: flex; gap: 18px; padding: 8px 6px 0; }
.vlabels span { flex: 1; text-align: center; font: 500 12.5px/1.3 var(--head); color: var(--muted); }
.kpis { display: grid; gap: 0; }
.kpi { padding: 12px 0; border-top: 1px solid var(--rule); }
.kpi:first-child { border-top: 0; padding-top: 0; }
.kpi b { display: block; font: 700 34px/1.05 var(--head); letter-spacing: -1px; color: var(--ink); }
.kpi b.hi { color: var(--accent); }
.kpi span { display: block; font-size: 12.5px; line-height: 1.4; color: var(--muted); margin-top: 4px; }
.checks { list-style: none; padding: 0 !important; margin: 0; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 8px; align-items: start; font: 500 16px/1.45 var(--head) !important; color: var(--ink); margin: 0 !important; }
.checks li::before { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 13px; margin-top: 1px; }
.stack { display: flex; height: 44px; border-radius: 6px; overflow: hidden; }
.stack div { display: flex; align-items: center; justify-content: center; font: 700 13px/1 var(--head); color: #fff; white-space: nowrap; }
.stack-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; }
.stack-legend span { font: 500 13px/1.4 var(--head); color: var(--text); }
.stack-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: 0; }
.chart-source, .article-body .chart-source { font-size: 12px; line-height: 1.5; color: var(--muted); margin: 18px 0 0; padding-top: 12px; border-top: 1px solid var(--rule); }
.chart-source a { color: var(--muted); text-decoration: underline; }

/* Bottom line + sources */
.bottom-line { background: var(--ink); color: #d7dcea; border-radius: 16px; padding: 28px 30px; margin: 48px 0 28px; }
.bottom-line h2 { color: #fff; margin: 0 0 14px !important; font-size: 24px !important; }
.bottom-line ol { margin: 0; padding-left: 20px; }
.bottom-line li { font-size: 17px !important; line-height: 1.6; margin-bottom: 10px; }
.bottom-line strong { color: #fff !important; }
.sources { font-size: 14px; line-height: 1.6; }
.sources h2 { font-size: 18px !important; margin-top: 32px !important; }
.sources li { font-size: 14px !important; }
.disclaimer { font-size: 13px !important; line-height: 1.6; color: var(--muted); font-style: italic; }
.newsletter-box { background: var(--accent-soft); border-radius: 16px; padding: 30px; margin: 40px 0; }
.newsletter-box h2 { font-size: 24px; letter-spacing: -0.4px; margin: 0 0 6px !important; }
.newsletter-box p { font-size: 16.5px !important; line-height: 1.6; margin: 0 0 16px; }
.related h2 { font-size: 20px !important; }
.related li { font-size: 16.5px !important; }

/* Ads: reserved space avoids layout shift */
.ad-slot { min-height: 280px; margin: 32px 0; }

/* Static pages */
.page { max-width: 760px; margin: 0 auto; padding: 48px 24px 24px; }
.page h1 { font-size: clamp(32px, 4.2vw, 44px); letter-spacing: -1.2px; line-height: 1.12; margin: 0 0 12px; font-weight: 700; }
.page h2 { font-size: 24px; letter-spacing: -0.4px; margin: 40px 0 8px; }
.page p, .page li { font-size: 17.5px; }
.packages { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); margin: 18px 0 28px; }
.package { background: var(--soft); border-radius: 12px; padding: 18px; }
.package h3 { font-size: 17px; margin: 0 0 6px; }
.package p { font-size: 15px !important; line-height: 1.55; margin: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); padding: 36px 0; margin-top: 56px; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

@media (max-width: 1000px) {
  .post { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .sidebar { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .chart { padding: 20px 18px 16px; }
  .chart-body { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .kpis { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; }
  .kpi, .kpi:first-child { border-top: 1px solid var(--rule); padding-top: 10px; }
  .kpi b { font-size: 26px; }
  .hbar { grid-template-columns: 96px minmax(0, 1fr); }
  .hbar-label { font-size: 12.5px; }
  .vbars { gap: 8px; height: 190px; }
  .vlabels { gap: 8px; }
  .bottom-line { padding: 22px; }
  .nav { gap: 14px; font-size: 14px; }
}
.signup button { background: var(--accent); color: #fff; border: 0; border-radius: 8px; padding: 12px 20px; font: 600 15px/1 var(--head); cursor: pointer; }
.signup button:hover { background: var(--ink); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: center; }
.stat-card { border: 1px solid var(--rule); border-radius: 16px; padding: 26px; }
.stat-card .kicker { margin-bottom: 10px; }
.stat-card b { display: block; font: 700 64px/1 var(--head); letter-spacing: -2px; color: var(--accent); }
.stat-card p { font-size: 16.5px; line-height: 1.55; color: var(--ink); margin: 10px 0 14px; }
.stat-card .src { font-size: 12.5px; color: var(--muted); margin: 0 0 14px; }
.stat-card a.more { font: 600 15px/1 var(--head); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
