@font-face { font-family: "Inter"; src: url("../fonts/inter-latin.woff2") format("woff2"); font-display: swap; font-weight: 400 700; }
@font-face { font-family: "Inter Tight"; src: url("../fonts/inter-tight-latin.woff2") format("woff2"); font-display: swap; font-weight: 700 800; }
/* AccomStack - site styles (v2: bold dark/light editorial theme). Plain CSS, no build step. */
:root {
  --black: #0e0e0e;
  --black-2: #161616;
  --ink: #0e0e0e;
  --ink-2: #3a3a3a;
  --muted: #6b6b6b;
  --on-dark: #f8f9fa;
  --on-dark-muted: #adb5bd;
  --line: #dcdcdc;
  --line-dark: #2a2a2a;
  --light: #efefef;
  --white: #ffffff;
  --accent: #f5412c;
  --accent-dark: #d63420;
  --ok: #14833b;
  --bad: #d63420;
  --max: 1240px;
  --read: 740px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent-dark); color: #fff; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; top: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.read { max-width: var(--read); margin: 0 auto; }
h1, h2, h3 { font-family: var(--display); line-height: 1.02; margin: 0 0 .45em; font-weight: 700; }
h1 { font-size: clamp(40px, 7.4vw, 96px); letter-spacing: -0.045em; }
h2 { font-size: clamp(32px, 5.6vw, 72px); letter-spacing: -0.045em; }
h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.15; }

/* Top bar + ticker */
.topbar { background: var(--ink); color: var(--on-dark); font-size: 14px; font-weight: 600; border-bottom: 1px solid var(--line-dark); }
.topbar .wrap { display: flex; align-items: center; justify-content: center; min-height: 48px; text-align: center; }
.topbar .hl { color: var(--accent); }
.topbar a.topbar-cta { display: inline-flex; align-items: center; gap: 8px; padding: 12px 8px; color: inherit; text-decoration: none; }
.topbar a.topbar-cta:hover { color: #fff; }
.topbar a.topbar-cta .arrow { color: var(--accent); }
.topbar a.topbar-cta:hover .hl { text-decoration: underline; }
.ticker { background: var(--black); color: var(--on-dark); border-bottom: 1px solid var(--line-dark); display: flex; align-items: stretch; overflow: hidden; font-size: 13px; }
.ticker-label { flex: none; display: flex; align-items: center; gap: 8px; padding: 0 18px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; border-right: 1px solid var(--line-dark); background: var(--black); position: relative; z-index: 1; }
.ticker-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.ticker-track { display: flex; width: max-content; animation: ticker 120s linear infinite; will-change: transform; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
.ticker-item { display: flex; align-items: center; gap: 12px; padding: 12px 28px; border-right: 1px solid var(--line-dark); white-space: nowrap; text-decoration: none; }
.ticker-item small { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); font-weight: 600; }
.ticker-item strong { font-weight: 600; }
.ticker-item span.arrow { color: var(--accent); }
.ticker-item:hover strong { text-decoration: underline; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } .ticker { overflow-x: auto; } }

/* Header */
.site-header { background: var(--black); color: var(--on-dark); position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line-dark); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.05em; color: inherit; text-decoration: none; }
.logo-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--accent); display: grid; place-items: center; }
.logo-mark svg { width: 18px; height: 18px; }
.logo .dim { color: inherit; opacity: .6; }
.nav { display: flex; gap: 6px; flex-wrap: wrap; align-items: stretch; }
.nav a { color: var(--on-dark-muted); text-decoration: none; padding: 28px 10px 26px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--white); }
.nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--accent); }
.header-cta { display: flex; align-items: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 22px; border-radius: 100px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent-dark); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-white { background: var(--white); color: var(--black); min-height: 42px; font-size: 13px; padding: 8px 18px; }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.on-light .btn-ghost:hover { background: rgba(0,0,0,.05); }

/* Hero */
.hero { background: var(--black); color: var(--on-dark); text-align: center; position: relative; overflow: hidden; }
.hero .wrap { padding-top: 96px; padding-bottom: 72px; position: relative; z-index: 1; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 700; color: var(--accent); margin: 0 0 18px; }
.lead { font-size: clamp(18px, 2vw, 22px); color: var(--on-dark-muted); margin: 0 auto 32px; max-width: 760px; }
.on-light .lead, .lead.dark { color: var(--ink-2); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-media { max-width: 1100px; margin: 56px auto 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-dark); }
.hero-media img { width: 100%; aspect-ratio: 21/9; object-fit: cover; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 22px; }
.chip { display: inline-flex; align-items: center; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border: 1px solid currentColor; border-radius: 6px; opacity: .9; }
.chip.red { color: var(--accent); }

/* Sections */
.section { padding: 110px 0; }
.section.dark { background: var(--black); color: var(--on-dark); }
.section.light { background: var(--light); color: var(--ink); }
.section.white { background: var(--white); }
.section-head { text-align: center; max-width: 900px; margin: 0 auto 56px; }
.section-head p { color: var(--muted); font-size: 19px; margin: 0; }
.dark .section-head p { color: var(--on-dark-muted); }
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* Post cards: image with overlapping white panel */
.card { display: flex; flex-direction: column; position: relative; }
.card > a img, .card img.cover { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 14px; transition: transform .4s ease; }
.card > a { display: block; overflow: hidden; border-radius: 14px; }
.card:hover > a img { transform: scale(1.04); }
.card-body { background: var(--white); color: var(--ink); border-radius: 14px; padding: 22px 22px 24px; margin: -64px 16px 0; position: relative; display: flex; flex-direction: column; gap: 10px; flex: 1; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.card h3 { margin: 0; font-size: 22px; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { color: var(--accent); }
.card p { margin: 0; color: var(--ink-2); font-size: 15px; }
.meta { font-size: 13px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pill { display: inline-flex; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); }
.pill-us, .pill-uk { border-color: var(--accent); color: var(--accent); }
.card .more { margin-top: auto; padding-top: 6px; font-weight: 700; text-decoration: none; color: var(--accent); }

/* Tool cards (dark, carousel-like) */
.tool-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.tool-card { background: var(--white); color: var(--ink); border-radius: 16px; padding: 30px; display: flex; flex-direction: column; gap: 12px; min-height: 280px; position: relative; overflow: hidden; }
.tool-card .num { font-family: var(--display); font-size: 64px; font-weight: 800; letter-spacing: -0.05em; color: var(--light); position: absolute; right: 22px; top: 6px; line-height: 1; }
.tool-card h3 { font-size: 30px; letter-spacing: -0.035em; max-width: 85%; }
.tool-card h3 a { text-decoration: none; }
.tool-card p { margin: 0; color: var(--ink-2); }
.tool-card .btn { align-self: flex-start; margin-top: auto; }

/* Value cards */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value { border-radius: 16px; overflow: hidden; background: var(--black-2); border: 1px solid var(--line-dark); display: flex; flex-direction: column; }
.value img { aspect-ratio: 16/10; object-fit: cover; width: 100%; filter: grayscale(.2) contrast(1.05); }
.value div { background: var(--white); color: var(--ink); margin: -48px 18px 18px; border-radius: 12px; padding: 20px; position: relative; }
.value h3 { font-size: 30px; letter-spacing: -0.04em; margin-bottom: 6px; }
.value p { margin: 0; color: var(--ink-2); font-size: 15px; }

.who { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.who li { padding: 28px 22px; border-right: 1px solid var(--line); }
.who li:last-child { border-right: 0; }
.who strong { display: block; font-family: var(--display); font-size: 24px; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 8px; }
.who span { color: var(--ink-2); font-size: 15px; }

/* Page heads (dark band) */
.page-head { background: var(--black); color: var(--on-dark); text-align: center; padding: 80px 0 72px; }
.page-head .lead { margin-bottom: 0; }
.crumbs { font-size: 13px; color: var(--on-dark-muted); padding-top: 22px; text-align: left; }
.crumbs a { color: var(--on-dark-muted); }
.light-crumbs .crumbs, .crumbs.on-light { color: var(--muted); }

/* Article */
.article-head { background: var(--black); color: var(--on-dark); padding: 40px 0 150px; text-align: center; }
.article-head h1 { font-size: clamp(34px, 5.6vw, 68px); }
.article-head .meta { justify-content: center; color: var(--on-dark-muted); }
.article-head .pill { color: var(--on-dark); border-color: var(--line-dark); }
.article-head .pill-us, .article-head .pill-uk { color: var(--accent); border-color: var(--accent); }
.article-head .lead { margin-bottom: 18px; }
.article-hero { margin: -120px auto 24px; max-width: 1040px; padding: 0 24px; }
.article-hero img { border-radius: 16px; aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.article-hero figcaption { font-size: 12px; color: var(--muted); margin-top: 8px; text-transform: uppercase; letter-spacing: .08em; }
.prose { font-size: 18px; }
.prose h2 { font-size: clamp(28px, 3.4vw, 40px); margin-top: 1.5em; letter-spacing: -0.035em; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--accent-dark); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--black); color: var(--on-dark); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.table-scroll { overflow-x: auto; }
.tldr { background: var(--light); border-radius: 14px; padding: 22px 26px; margin: 8px 0 32px; border-left: 4px solid var(--accent); }
.tldr h2 { font-size: 12px !important; font-family: var(--font); text-transform: uppercase; letter-spacing: .14em !important; margin: 0 0 10px !important; color: var(--accent); }
.tldr ul { margin: 0; padding-left: 20px; }
.note { border: 1px solid var(--line); background: var(--white); padding: 16px 20px; border-radius: 12px; font-size: 16px; margin: 0 0 1.2em; }
sup + sup::before { content: ","; }
.sources { font-size: 15px; color: var(--ink-2); border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px; }
.sources h2 { font-size: 24px !important; }
.sources ol { padding-left: 20px; }
.sources a { word-break: break-word; }
.cta-box { background: var(--black); color: var(--on-dark); border-radius: 18px; padding: 36px; margin: 40px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.cta-box h2 { color: #fff; font-size: 30px !important; margin: 0 0 6px !important; }
.cta-box p { margin: 0; color: var(--on-dark-muted); }

/* Tools pages */
.tool-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; margin: 0 0 40px; }
.panel { background: var(--white); border-radius: 16px; padding: 28px; border: 1px solid var(--line); }
.panel.results { background: var(--black); color: var(--on-dark); border-color: var(--black); }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 700; font-size: 14px; }
.field .hint { font-size: 12px; color: var(--muted); }
.field input, .field select { font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #c9c9c9; border-radius: 10px; min-height: 48px; width: 100%; background: var(--light); color: var(--ink); }
.field input:focus { border-color: var(--ink); background: #fff; outline: none; box-shadow: 0 0 0 3px rgba(245,65,44,.25); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
fieldset { border: 0; padding: 0; margin: 0 0 10px; }
legend { font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); margin-bottom: 12px; }
.segmented { display: inline-flex; border: 1px solid var(--ink); border-radius: 100px; overflow: hidden; margin-bottom: 20px; padding: 3px; gap: 3px; }
.segmented button { font: inherit; border: 0; background: transparent; padding: 8px 18px; min-height: 40px; cursor: pointer; color: var(--ink); font-weight: 700; font-size: 14px; border-radius: 100px; }
.segmented button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.results { position: sticky; top: 100px; }
.big-number { font-family: var(--display); font-size: 64px; font-weight: 800; letter-spacing: -0.05em; margin: 0; line-height: 1.05; }
.big-number.neg { color: #ff6b57; }
.big-number.pos { color: #4ade80; }
.result-label { color: var(--on-dark-muted); font-size: 12px; margin: 0 0 6px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.results .meta { color: var(--on-dark-muted); }
.result-list { list-style: none; padding: 0; margin: 22px 0 0; border-top: 1px solid var(--line-dark); }
.result-list li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-dark); font-size: 15px; }
.result-list li span:last-child { font-weight: 700; font-variant-numeric: tabular-nums; }
.result-list li.total span { color: #fff; font-weight: 800; }
.result-list li.is-zero { display: none; }
.result-list li span:first-child { color: var(--on-dark-muted); }
.verdict { margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: var(--ink-2); color: #fff; font-size: 15px; font-weight: 600; }
.verdict.good { background: var(--ok); }
.verdict.warn { background: #b45309; }
.verdict.bad { background: var(--bad); }

/* Back to top */
.to-top { position: fixed; right: 20px; bottom: 20px; width: 44px; height: 44px; border-radius: 50%; background: var(--black); color: #fff; border: 1px solid var(--line-dark); display: grid; place-items: center; text-decoration: none; font-size: 18px; z-index: 30; box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.to-top:hover { background: var(--accent); }

/* Footer */
.site-footer { background: var(--black); color: var(--on-dark-muted); padding: 90px 0 30px; font-size: 15px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-big { font-family: var(--display); font-size: clamp(40px, 8vw, 110px); font-weight: 800; letter-spacing: -0.055em; color: var(--on-dark); line-height: .95; margin: 0 0 50px; }
.footer-big span { color: var(--accent); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; border-top: 1px solid var(--line-dark); padding-top: 36px; }
.site-footer h2 { font-family: var(--font); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--on-dark); margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer .logo { color: var(--on-dark); font-size: 22px; }
.small { font-size: 12px; color: #7d8790; margin-top: 36px; border-top: 1px solid var(--line-dark); padding-top: 20px; }

@media (max-width: 960px) {
  .tool-layout, .values, .tool-strip { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .who { grid-template-columns: 1fr 1fr; }
  .who li:nth-child(2) { border-right: 0; }
  .results { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 80px 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid-3, .grid-2, .who, .footer-grid, .field-row { grid-template-columns: 1fr; }
  .who li { border-right: 0; border-bottom: 1px solid var(--line); }
  .site-header .wrap { min-height: 60px; gap: 6px; }
  .nav a { padding: 10px 7px 12px; font-size: 11px; }
  .header-cta { display: none; }
  .hero .wrap { padding-top: 56px; padding-bottom: 48px; }
  .hero-media img { aspect-ratio: 4/3; }
  .section { padding: 64px 0; }
  .prose { font-size: 17px; }
  .big-number { font-size: 46px; }
  .to-top { bottom: 76px; }
  .topbar { display: none; }
  .article-head { padding-bottom: 110px; }
  .article-hero { margin-top: -90px; }
}

/* Audit fixes: accessible mobile results and clearer editorial hierarchy. */
.result-summary { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.input-error { display: block; font-size: 13px; line-height: 1.4; color: #a82416; min-height: 0; }
.input-error:empty { display: none; }
.field input[aria-invalid="true"] { border: 2px solid #a82416; background: #fff8f6; }
.calc-error { display: none; padding: 14px 16px; border-radius: 8px; background: #fff3ef; border: 2px solid #a82416; color: #75170c; margin: 16px 0 0; font-weight: 700; }
.calc-error:not(:empty) { display: block; }
.ticker-item { min-height: 46px; }
@media (max-width: 960px) {
  .result-summary { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; position: sticky; top: 60px; z-index: 18; background: #fff; color: #161616; box-shadow: 0 5px 16px rgba(0,0,0,.15); border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; }
  .result-summary strong { font-variant-numeric: tabular-nums; font-size: 20px; }
  .result-summary a { font-size: 13px; font-weight: 700; color: #ac2717; white-space: nowrap; }
  .results { scroll-margin-top: 82px; }
}
@media (max-width: 640px) {
  .hero .wrap { padding-top: 42px; }
  .hero h1 { font-size: clamp(34px, 10vw, 48px); }
  .article-head h1 { font-size: clamp(32px, 9vw, 46px); }
  .page-head .lead, .article-head .lead { font-size: 18px; }
}

