:root {
  color-scheme: light;
  --paper: #f1f1f1;
  --white: #fff;
  --ink: #090909;
  --black: #101010;
  --muted: #565656;
  --line: #d7d7d7;
  --yellow: #f8ef39;
  --pale: #e9e9e9;
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif; letter-spacing: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
.wrap { width: min(1180px, calc(100% - 72px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--line); background: rgba(241,241,241,.96); backdrop-filter: blur(16px); }
.header-inner { min-height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 22px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; width: fit-content; text-decoration: none; white-space: nowrap; }
.wordmark-mark { display: grid; flex: 0 0 auto; place-items: center; width: 44px; height: 44px; border: 2px solid currentColor; border-radius: 50%; background: var(--yellow); color: var(--ink); font-size: 1rem; font-weight: 700; line-height: 1; }
.wordmark-text { font-size: .98rem; font-weight: 700; line-height: .92; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: #3f3f3f; font-size: .88rem; text-decoration: none; transition: color .2s ease; }
.nav-links a:hover { color: var(--ink); }
.header-contact { justify-self: end; padding: 10px 14px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: .88rem; font-weight: 700; text-decoration: none; }

.blog-hero { padding: 92px 0 68px; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .88rem; font-weight: 700; }
.eyebrow::before { content: ""; width: 13px; height: 13px; border: 2px solid currentColor; border-radius: 50%; background: var(--yellow); }
.blog-hero h1 { max-width: 960px; margin: 24px auto 20px; font-size: clamp(3.1rem, 6vw, 6rem); line-height: 1.02; font-weight: 700; }
.blog-hero h1 span { color: #707070; }
.blog-hero p { max-width: 650px; margin: 0 auto; color: var(--muted); font-size: 1.05rem; line-height: 1.65; }
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 0 0 120px; }
.post-card { min-height: 395px; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 22px 42px rgba(0,0,0,.12); }
.post-card:nth-child(2) { background: var(--yellow); border-color: var(--yellow); }
.post-card:nth-child(3) { background: var(--black); border-color: var(--black); color: var(--white); }
.post-card__meta { color: var(--muted); font-size: .74rem; font-weight: 700; text-transform: uppercase; }
.post-card:nth-child(3) .post-card__meta { color: var(--yellow); }
.post-card h2 { margin: auto 0 15px; font-size: clamp(1.7rem, 3vw, 2.8rem); line-height: 1.08; font-weight: 700; }
.post-card p { color: #505050; line-height: 1.62; }
.post-card:nth-child(3) p { color: #d2d2d2; }
.post-card__read { margin-top: 24px; font-size: .91rem; font-weight: 700; }

.article-hero { padding: 76px 0 44px; }
.article-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 54px; align-items: end; }
.article-hero h1 { margin: 24px 0 20px; font-size: clamp(2.75rem, 6vw, 5.65rem); line-height: 1.03; font-weight: 700; }
.article-hero p { max-width: 760px; color: var(--muted); font-size: 1.08rem; line-height: 1.65; }
.article-aside { padding: 24px; border-radius: 8px; background: var(--yellow); }
.article-aside strong { display: block; margin-bottom: 13px; font-size: 1.15rem; }
.article-aside p { color: #222; font-size: .9rem; line-height: 1.55; }
.article-body { display: grid; grid-template-columns: minmax(0, 760px) 280px; gap: 54px; padding: 36px 0 110px; align-items: start; }
.article-content { padding: 44px; border-radius: 8px; background: var(--white); }
.article-content h2 { margin: 42px 0 14px; font-size: clamp(1.7rem, 3vw, 2.55rem); line-height: 1.12; }
.article-content h2:first-child { margin-top: 0; }
.article-content h3 { margin: 28px 0 10px; font-size: 1.28rem; line-height: 1.2; }
.article-content p, .article-content li { color: #3f3f3f; font-size: 1rem; line-height: 1.74; }
.article-content p + p { margin-top: 16px; }
.article-content ul, .article-content ol { display: grid; gap: 10px; margin: 14px 0 0; padding-left: 22px; }
.article-content a { font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.pullout { margin: 34px 0; padding: 24px; border-radius: 8px; background: var(--black); color: var(--white); }
.pullout p { color: #ededed; }
.sources { margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--line); }
.sources p, .sources a { font-size: .86rem; color: var(--muted); }
.article-nav { position: sticky; top: 98px; display: grid; gap: 12px; }
.article-nav a { display: block; padding: 16px; border-radius: 8px; background: var(--white); color: var(--ink); font-size: .88rem; font-weight: 700; text-decoration: none; }
.article-nav a.is-cta { background: var(--yellow); }

.final-cta { padding: 92px 0 100px; background: var(--black); color: var(--white); text-align: center; }
.final-cta h2 { max-width: 840px; margin: 0 auto 20px; font-size: clamp(2.3rem, 4.8vw, 5rem); line-height: 1.05; }
.final-cta p { max-width: 560px; margin: 0 auto 28px; color: #d0d0d0; line-height: 1.65; }
.split-cta { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-size: .95rem; font-weight: 700; }
.split-cta__text { display: inline-grid; place-items: center; min-height: 46px; padding: 0 21px; border-radius: 999px; background: var(--yellow); color: var(--ink); }
.split-cta__arrow { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--white); color: var(--ink); font-size: 1.55rem; line-height: 1; }

.footer { padding: 35px 0 20px; background: var(--yellow); }
.footer-top { display: flex; justify-content: space-between; gap: 25px; padding-bottom: 50px; }
.footer-top p { max-width: 340px; margin-top: 20px; color: var(--muted); font-size: .88rem; line-height: 1.6; }
.footer-links { display: flex; gap: 55px; }
.footer-links div { display: grid; align-content: start; gap: 10px; }
.footer-links strong { margin-bottom: 4px; font-size: .85rem; }
.footer-links a { color: var(--muted); font-size: .82rem; text-decoration: none; }
.footer-big { color: var(--ink); font-size: 8.7vw; line-height: .95; font-weight: 700; white-space: nowrap; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid rgba(0,0,0,.25); color: #393939; font-size: .72rem; }

@media (max-width: 820px) {
  .wrap { width: min(100% - 30px, 1180px); }
  .header-inner { grid-template-columns: 1fr auto; min-height: 68px; }
  .nav-links { display: none; }
  .header-contact { justify-self: end; }
  .blog-hero { padding-top: 58px; }
  .blog-grid, .article-hero__grid, .article-body { grid-template-columns: 1fr; }
  .post-card { min-height: 285px; }
  .article-content { padding: 28px; }
  .article-aside, .article-nav { position: static; }
  .article-body { padding-bottom: 75px; }
  .footer-top, .footer-bottom { display: grid; }
}

@media (max-width: 480px) {
  .wordmark-mark { width: 39px; height: 39px; font-size: .9rem; }
  .wordmark-text { font-size: .84rem; }
  .header-contact { padding: 9px 12px; font-size: .78rem; }
  .blog-hero h1, .article-hero h1 { font-size: 2.75rem; }
  .blog-hero p, .article-hero p { font-size: .96rem; }
  .post-card { padding: 23px; }
  .footer-links { gap: 26px; }
}


.legal-page { padding: 76px 0 110px; }
.legal-layout { display: grid; grid-template-columns: minmax(0, 760px) 280px; gap: 54px; align-items: start; }
.legal-content { padding: 44px; border-radius: 8px; background: var(--white); }
.legal-content h1 { margin-bottom: 18px; font-size: clamp(2.65rem, 5vw, 5rem); line-height: 1.03; }
.legal-content h2 { margin: 38px 0 13px; font-size: clamp(1.45rem, 2.5vw, 2.25rem); line-height: 1.12; }
.legal-content p, .legal-content li { color: #3f3f3f; font-size: 1rem; line-height: 1.72; }
.legal-content p + p { margin-top: 14px; }
.legal-content ul { display: grid; gap: 9px; margin: 14px 0 0; padding-left: 22px; }
.legal-meta { margin-bottom: 28px; color: var(--muted); font-weight: 700; }
.legal-note { margin: 28px 0; padding: 18px; border-radius: 8px; background: var(--yellow); color: var(--ink); }
.legal-note p { color: var(--ink); }
.legal-nav { position: sticky; top: 98px; display: grid; gap: 12px; }
.legal-nav a { display: block; padding: 16px; border-radius: 8px; background: var(--white); color: var(--ink); font-size: .88rem; font-weight: 700; text-decoration: none; }
.legal-nav a.is-active { background: var(--yellow); }

.legal-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 14px; }
.legal-links a { color: inherit; text-decoration: none; }
.legal-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner { position: fixed; z-index: 120; left: 18px; right: 18px; bottom: 18px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; max-width: 920px; margin: 0 auto; padding: 18px; border: 1px solid rgba(0,0,0,.18); border-radius: 10px; background: rgba(255,255,255,.96); color: var(--ink); box-shadow: 0 18px 50px rgba(0,0,0,.18); backdrop-filter: blur(16px); }
.cookie-banner[hidden] { display: none; }
.cookie-banner strong { display: block; margin-bottom: 5px; font-size: .96rem; }
.cookie-banner p { max-width: 610px; color: var(--muted); font-size: .86rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.cookie-btn { min-height: 38px; padding: 0 14px; border: 1px solid var(--ink); border-radius: 999px; background: var(--yellow); color: var(--ink); font-weight: 700; }
.cookie-btn--ghost { background: var(--white); }
.cookie-banner__settings { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; padding-top: 14px; border-top: 1px solid var(--line); color: #333; font-size: .84rem; }
.cookie-banner__settings[hidden] { display: none; }
.cookie-banner__settings a { font-weight: 700; text-underline-offset: 3px; }

@media (max-width: 820px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-content { padding: 28px; }
  .legal-nav { position: static; }
  .legal-links { justify-content: flex-start; }
  .cookie-banner { grid-template-columns: 1fr; }
  .cookie-banner__actions { justify-content: flex-start; }
}
