:root {
  --bg: #F4F4F2;
  --white: #FFFFFF;
  --ink: #111111;
  --ink-soft: #2B2B2A;
  --gray: #6E6E6A;
  --gray-light: #9C9C97;
  --line: #E6E6E2;
  --ease: cubic-bezier(.22,.75,.25,1);
  color: #101013;
  background: #f4f4f2;
  font-family: Inter, Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: #f4f4f2; color: #101013; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.blog-page main { padding-top: 76px; }
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .3s, box-shadow .3s; }
.nav.scrolled { background: rgba(244,244,242,.82); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 1px 0 rgba(17,17,17,.06); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav-logo img { width: auto; height: 42px; }
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a { position: relative; color: var(--ink-soft); font-size: 14.5px; font-weight: 550; letter-spacing: -.01em; text-decoration: none; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -5px; width: 0; height: 2px; border-radius: 2px; background: var(--ink); transition: width .3s var(--ease); }
.nav-links a:hover::after { width: 100%; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 999px; padding: 18px 34px; font-size: 16.5px; font-weight: 650; letter-spacing: -.01em; cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s; will-change: transform; }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 10px 26px -8px rgba(17,17,17,.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -8px rgba(17,17,17,.45); }
.nav-links a.nav-cta { padding: 11px 22px; color: #fff; font-size: 14px; }
.nav-links a.nav-cta::after { display: none; }
.nav-links a.nav-login { border: 1.5px solid var(--ink); border-radius: 999px; padding: 10px 22px; background: transparent; color: var(--ink); font-size: 14px; font-weight: 650; transition: background .25s var(--ease), color .25s var(--ease); }
.nav-links a.nav-login:hover { background: var(--ink); color: #fff; }
.nav-links a.nav-login::after { display: none; }
.nav-mobile { display: none; align-items: center; gap: 12px; }
.nav-mobile .nav-cta-m { padding: 11px 20px; color: #fff; font-size: 14px; text-decoration: none; }
.nav-burger { display: flex; flex: 0 0 auto; flex-direction: column; align-items: center; justify-content: center; width: 44px; height: 44px; gap: 5px; border: none; border-radius: 14px; padding: 0; background: var(--ink); cursor: pointer; }
.nav-burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease), opacity .2s var(--ease); }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mmenu { position: fixed; inset: 0; z-index: 200; visibility: hidden; pointer-events: none; }
.mmenu.open { visibility: visible; pointer-events: auto; }
.mmenu-backdrop { position: absolute; inset: 0; background: rgba(17,17,17,.45); opacity: 0; transition: opacity .32s var(--ease); }
.mmenu.open .mmenu-backdrop { opacity: 1; }
.mmenu-panel { position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; width: min(86vw,360px); padding: 22px 24px calc(24px + env(safe-area-inset-bottom,0px)); background: var(--ink); color: #fff; box-shadow: -24px 0 60px -20px rgba(0,0,0,.5); transform: translateX(100%); transition: transform .36s var(--ease); }
.mmenu.open .mmenu-panel { transform: none; }
.mmenu-top { display: flex; align-items: center; justify-content: flex-end; margin-bottom: 20px; }
.mmenu-close { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: none; border-radius: 12px; background: rgba(255,255,255,.08); color: #fff; cursor: pointer; }
.mmenu-close svg { width: 20px; height: 20px; }
.mmenu-close:hover { background: rgba(255,255,255,.16); }
.mmenu-links { display: flex; flex-direction: column; gap: 2px; margin-bottom: auto; }
.mmenu-links a { border-radius: 12px; padding: 15px 8px; color: rgba(255,255,255,.92); font-size: 19px; font-weight: 600; letter-spacing: -.01em; text-align: right; text-decoration: none; transition: background .2s var(--ease), padding-right .2s var(--ease); }
.mmenu-links a:hover { padding-right: 14px; background: rgba(255,255,255,.07); }
.mmenu-actions { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; }
.mmenu-login, .mmenu-cta { display: block; border-radius: 999px; padding: 15px; font-size: 15px; font-weight: 700; letter-spacing: -.01em; text-align: center; text-decoration: none; }
.mmenu-login { border: 1.5px solid rgba(255,255,255,.35); background: transparent; color: #fff; transition: border-color .2s, background .2s; }
.mmenu-login:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.08); }
.mmenu-cta { background: #fff; color: var(--ink); }
.mmenu-cta:hover { opacity: .9; }
body.menu-open { overflow: hidden; }
.button-primary { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 8px; padding: 12px 16px; background: #101013; color: #fff; font-weight: 750; text-decoration: none; box-shadow: 0 8px 16px rgba(0, 0, 0, .15); transition: transform 180ms ease, box-shadow 180ms ease; }
.button-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 20px rgba(0, 0, 0, .18); }
.hero-kicker, .post-eyebrow { margin: 0 0 12px; color: #77777d; font-size: 12px; font-weight: 760; letter-spacing: .04em; }
.blog-index-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; width: min(1120px, calc(100% - 56px)); height: 414px; margin: 0 auto; padding: 0 28px 61px; background: #f4f4f2; }
.blog-index-hero-copy { min-width: 0; }
.blog-index-hero h1 { max-width: 720px; margin: 0; font-size: clamp(42px, 6.5vw, 88px); line-height: .96; letter-spacing: 0; font-weight: 900; }
.blog-index-hero p:last-child { max-width: 560px; margin: 22px 0 0; color: #606067; font-size: clamp(18px, 2vw, 26px); line-height: 1.32; font-weight: 560; }
.blog-index-illustration { flex: 0 0 auto; width: clamp(204px, 20.4vw, 255px); height: auto; margin: 0; transform: translateY(8px); }
.post-section { width: min(1120px, calc(100% - 56px)); margin: 0 auto; padding: 18px 28px 86px; }
.section-intro { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-intro h2, .blog-cta h2, .related-posts h2 { max-width: 620px; margin: 0; font-size: clamp(30px, 3vw, 46px); line-height: 1.04; letter-spacing: 0; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.post-card { min-width: 0; }
.post-card-link { position: relative; display: grid; align-items: end; min-height: clamp(300px, 29vw, 430px); overflow: hidden; border-radius: 8px; background-color: #222226; color: #fff; text-decoration: none; box-shadow: 0 14px 28px rgba(18, 18, 20, .1); isolation: isolate; }
.post-card-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 320ms ease; }
.post-card-link:hover .post-card-bg { transform: scale(1.045); }
.post-card-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.04) 5%, rgba(0,0,0,.24) 42%, rgba(0,0,0,.86) 100%); }
.post-card-content { display: grid; gap: 11px; min-width: 0; padding: clamp(18px, 2.6vw, 26px); }
.audience-pill { width: fit-content; max-width: 100%; overflow: hidden; border: 1px solid rgba(255,255,255,.34); border-radius: 999px; padding: 6px 10px; background: rgba(255,255,255,.16); color: rgba(255,255,255,.92); font-size: 10.5px; font-weight: 780; letter-spacing: .03em; text-overflow: ellipsis; white-space: nowrap; backdrop-filter: blur(10px); }
.audience-pill-red { background: #fde7e8; border-color: #f2c4c8; color: #bf3f49; }
.audience-pill-orange { background: #fff0df; border-color: #f0d2ad; color: #b75c1d; }
.audience-pill-pink { background: #fde8f6; border-color: #efc5df; color: #bb438e; }
.audience-pill-blue { background: #e8f1ff; border-color: #c6dafa; color: #3973bd; }
.audience-pill-violet { background: #ece9ff; border-color: #d6cdf8; color: #5c4caa; }
.audience-pill-green { background: #e7f8ee; border-color: #bee6cb; color: #29835a; }
.audience-pill-neutral { background: #ececf0; border-color: #d9d9df; color: #45464d; }
.post-card .audience-pill, .article-meta .audience-pill { border-color: rgba(255,255,255,.9); background: transparent; color: #fff; box-shadow: none; }
.post-card-content strong { max-width: 95%; font-size: clamp(20px, 1.9vw, 26px); line-height: 1.08; letter-spacing: 0; }
.empty-blog, .error-page { width: min(720px, 100%); margin: 38px auto 0; padding: clamp(30px, 5vw, 62px); background: #fff; border-radius: 8px; box-shadow: 0 12px 25px rgba(18, 18, 20, .08); }
.empty-blog h2, .error-page h1 { margin: 0; font-size: clamp(28px, 4vw, 48px); line-height: 1.05; }
.empty-blog p:not(.post-eyebrow), .error-page p { max-width: 520px; color: #65656b; line-height: 1.6; }
.empty-blog .button-primary, .error-page .button-primary { margin-top: 12px; }
.blog-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; width: min(1120px, calc(100% - 56px)); margin: 0 auto 86px; padding: clamp(28px, 4vw, 52px); border-radius: 8px; background: #e7e7e3; }
.blog-cta .post-eyebrow { margin-bottom: 10px; }
.article-shell { width: min(1120px, calc(100% - 56px)); margin: 0 auto; padding: 0 28px 100px; }
.article-header { margin: 46px 0 38px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 18px; color: rgba(255,255,255,.82); font-size: 12px; font-weight: 720; letter-spacing: .02em; }
.article-meta .audience-pill { padding: 5px 8px; font-size: 9px; backdrop-filter: none; }
.article-header h1 { margin: 0; font-size: clamp(36px, 4.5vw, 62px); line-height: .98; letter-spacing: 0; }
.article-lead { max-width: 720px; margin: 0; color: #9b7518; font-size: clamp(18px, 1.55vw, 22px); line-height: 1.58; font-weight: 700; }
.article-cover-hero { position: relative; width: 100vw; margin: 0 0 0 calc(50% - 50vw); overflow: hidden; border-radius: 0; background: #ddd; color: #fff; }
.article-cover-hero img { display: block; width: 100%; height: clamp(440px, 48vw, 640px); object-fit: cover; }
.article-cover-hero::after { content: ""; position: absolute; inset: 22% 0 0; background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.36) 44%, rgba(0,0,0,.82) 100%); }
.article-cover-hero figcaption { position: absolute; right: max(28px, calc((100vw - 1120px) / 2 + 28px)); bottom: 24px; z-index: 2; margin: 0; color: rgba(255,255,255,.68); font-size: 12px; line-height: 1.4; }
.article-cover-hero figcaption small { display: block; max-width: 480px; text-align: right; }
.article-hero-copy { position: absolute; right: max(28px, calc((100vw - 1120px) / 2 + 28px)); bottom: clamp(58px, 7vw, 92px); left: max(28px, calc((100vw - 1120px) / 2 + 28px)); z-index: 2; max-width: 780px; }
.article-hero-copy h1 { margin: 0; color: #fff; font-size: clamp(34px, 4.4vw, 62px); line-height: 1.04; letter-spacing: 0; text-wrap: balance; }
.article-reading-time { display: block; margin-top: 12px; color: rgba(255,255,255,.82); font-size: 12px; font-weight: 720; letter-spacing: .04em; }
.article-body { width: min(760px, 100%); margin: 0; color: #242428; font-size: clamp(17px, 1.25vw, 19.5px); line-height: 1.82; }
.article-body h2 { margin: 48px 0 16px; color: #151518; font-size: clamp(24px, 2.25vw, 34px); font-weight: 780; line-height: 1.14; letter-spacing: 0; }
.article-body h2:first-child { margin-top: 0; }
.article-body p { margin: 0 0 25px; }
.article-body strong { color: #101013; font-weight: 850; }
.article-body em { color: #44444a; font-style: italic; }
.article-body mark { border-radius: 4px; padding: 0 .16em; background: #f3e28f; color: #16120b; }
.editorial-color { font-weight: 780; }
.editorial-color-yellow { color: #8a6500; }
.editorial-color-green { color: #24735b; }
.editorial-color-blue { color: #315f9d; }
.editorial-color-pink { color: #a13c6f; }
.article-body ul, .article-body ol { display: grid; gap: 12px; margin: 0 0 32px; padding-left: 24px; }
.article-body li { padding-left: 4px; }
.article-body li::marker { color: #9b7518; font-weight: 760; }
.article-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(860px, 100%); margin: 56px 0 0; padding: 26px 28px; border-radius: 8px; background: #151518; color: #fff; }
.article-cta p { max-width: 440px; margin: 0; line-height: 1.5; }
.article-cta .button-primary { background: #fff; color: #111114; white-space: nowrap; }
.related-posts { width: 100%; margin: 76px 0 0; padding-top: 38px; border-top: 1px solid rgba(16,16,19,.1); }
.related-posts > div:first-child { margin-bottom: 22px; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.related-card a { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 14px; height: 100%; padding: 12px; border: 1px solid rgba(16,16,19,.08); border-radius: 8px; background: rgba(255,255,255,.42); text-decoration: none; transition: border-color 180ms ease, transform 180ms ease, background 180ms ease; }
.related-card a:hover { border-color: rgba(16,16,19,.28); background: #fff; transform: translateY(-2px); }
.related-card img { display: block; width: 86px; height: 86px; border-radius: 6px; object-fit: cover; background: #ddd; }
.related-card span { display: grid; align-content: center; gap: 8px; min-width: 0; }
.related-pill { padding: 5px 8px; font-size: 9px; letter-spacing: .05em; }
.related-card small { color: #77777d; font-size: 11px; font-weight: 720; letter-spacing: .02em; }
.related-card strong { display: -webkit-box; overflow: hidden; font-size: 16px; line-height: 1.18; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.footer { padding: clamp(70px,9vw,110px) 0 44px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; text-align: left; }
.foot-brand img { height: 32px; margin-bottom: 18px; }
.foot-brand .foot-logo-slogan { width: auto; height: 56px; }
.foot-brand p { max-width: 280px; color: var(--gray); font-size: 14.5px; line-height: 1.6; }
.foot-col h5 { margin: 0 0 18px; color: var(--gray-light); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.foot-col a { display: block; padding: 5px 0; color: var(--ink-soft); font-size: 14.5px; font-weight: 530; text-decoration: none; transition: color .2s; }
.foot-col a:hover { color: var(--ink); }
.foot-legal-id { margin: 0 0 20px; color: var(--gray-light); font-size: 13px; font-weight: 500; line-height: 1.6; }
.foot-legal-id a { color: var(--ink-soft); text-decoration: underline; }
.foot-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-top: 28px; }
.foot-bottom p { color: var(--gray-light); font-size: 13px; font-weight: 500; }
.footer-cta { padding: 11px 22px; font-size: 14px; text-decoration: none; }
.error-page { min-height: 42vh; margin: 90px auto; }
@media (max-width: 980px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-mobile { display: flex; }
  .post-grid { grid-template-columns: 1fr; }
  .post-card-link { min-height: 360px; }
  .blog-index-hero, .post-section, .article-shell { width: 100%; padding-left: 28px; padding-right: 28px; }
  .blog-index-hero { height: auto; min-height: 360px; padding-top: 48px; padding-bottom: 48px; }
  .blog-cta, .article-cta { align-items: flex-start; flex-direction: column; }
  .article-cta .button-primary { white-space: normal; }
  .article-shell { padding-top: 0; }
  .article-cover-hero img { height: 520px; }
  .article-cover-hero figcaption { align-items: flex-start; flex-direction: column; }
  .article-cover-hero figcaption small { text-align: left; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .blog-index-hero { display: grid; grid-template-columns: 1fr; gap: 0; min-height: 0; padding-top: 34px; padding-bottom: 28px; }
  .blog-index-hero h1 { max-width: none; font-size: clamp(38px, 11vw, 48px); line-height: .98; }
  .blog-index-hero p:last-child { max-width: 310px; margin-top: 14px; font-size: 18px; line-height: 1.28; }
  .blog-index-illustration { display: none; transform: none; }
}
@media (max-width: 480px) {
  .nav-links a.nav-login { padding: 9px 16px; }
}
@media (max-width: 400px) {
  .nav-mobile .nav-cta-m { padding: 11px 15px; font-size: 13px; }
}
