:root {
  --ink: #111214;
  --muted: #62666d;
  --line: #e5e6e8;
  --paper: #fff;
  --soft-paper: #f6f6f4;
  --green: #16824e;
  --green-soft: #edf5f0;
}

html { scroll-behavior: smooth; }
body { color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif; line-height: 1.7; }
a { text-decoration-thickness: .07em; text-underline-offset: .18em; }
.page { width: min(1120px, calc(100% - 48px)); padding-top: 24px; }
.crumbs { gap: 9px; margin: 8px 0 28px; font-size: 13px; font-weight: 550; }
.crumbs a { color: var(--muted); }
.back { margin-right: 12px; padding: 10px 15px; border-color: var(--line); color: var(--ink); box-shadow: none; }
.back:hover { background: #f3f3f3; }
.article-head { max-width: 820px; }
.category { background: #111214; color: #fff; font-size: 11px; letter-spacing: .045em; }
h1 { max-width: 820px; margin: 18px 0 14px; font-size: clamp(2.25rem, 5vw, 4.25rem); line-height: 1.02; letter-spacing: -.048em; font-weight: 740; }
.dek { max-width: 720px; margin: 0; color: #5c6066; font-size: clamp(1.08rem, 2vw, 1.32rem); line-height: 1.58; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 13px; margin-top: 24px; color: var(--muted); font-size: 14px; font-weight: 600; }
.byline > span:not(.avatar) { white-space: nowrap; }
.avatar { width: 36px; height: 36px; border: 1px solid var(--line); background: #f3f3f3; }
.facts { grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 28px 0 30px; border-color: var(--line); border-radius: 20px; box-shadow: 0 8px 28px rgb(0 0 0 / 3%); }
.fact { min-height: 90px; padding: 18px 16px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact-icon { color: #333; }
.fact strong { color: var(--ink); font-size: 1.25rem; letter-spacing: -.025em; }
.fact div > span { color: var(--muted); font-size: 12px; }
.hero-media { margin: 0 0 36px; border-radius: 22px; }
.hero-media img, .hero-media video { border-radius: inherit; }
.layout { grid-template-columns: minmax(0, 740px) 280px; gap: 40px; }
.content { min-width: 0; color: #27292c; font-size: 18px; line-height: 1.82; }
.content p { margin: 0 0 1.35em; }
.content h2 { margin: 2.15em 0 .55em; color: var(--ink); font-size: clamp(1.55rem, 3vw, 2rem); line-height: 1.2; letter-spacing: -.035em; }
.content h3 { margin: 1.7em 0 .45em; color: var(--ink); font-size: 1.28rem; line-height: 1.3; letter-spacing: -.02em; }
.section-kicker { color: #777; font-size: 13px; }
.callout, .quote, .takeaway { border-color: var(--line); border-radius: 18px; background: #f7f7f6; }
.callout strong, .takeaway strong { color: var(--ink); }
.cta { gap: 24px; margin-top: 48px; padding: 28px; border-color: var(--line); border-radius: 22px; box-shadow: 0 8px 28px rgb(0 0 0 / 4%); }
.cta strong { color: var(--ink); font-size: 1.16rem; line-height: 1.4; }
.cta p { margin: 8px 0 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.cta a { min-height: 48px; padding: 13px 20px; border-radius: 999px; background: #111214; color: #fff; font-size: 14px; font-weight: 700; transition: background .18s ease, transform .18s ease; }
.cta a:hover { background: #303236; transform: translateY(-1px); }
.footer-back { color: var(--ink); }
.footer-back:hover { color: var(--green); }
.side-card { border-color: var(--line); border-radius: 18px; box-shadow: 0 8px 24px rgb(0 0 0 / 3%); }
.side-card.soft { background: var(--soft-paper); }
.side-card h3 { color: var(--ink); font-size: 17px; letter-spacing: -.02em; }
.side-card p { color: var(--muted); font-size: 15px; line-height: 1.65; }
.method-list { color: #3e4145; }
.related a { border-color: var(--line); border-radius: 14px; }
.editorial-footer { margin-top: 70px; padding: 42px max(24px, calc((100% - 1120px) / 2)) 24px; background: #f5f5f3; color: var(--ink); }
.editorial-footer-inner { display: grid; grid-template-columns: minmax(220px, 1.3fr) 1fr 1fr 1fr; gap: 38px; max-width: 1120px; margin: 0 auto; }
.footer-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; color: var(--ink); font-size: 20px; font-weight: 750; letter-spacing: -.04em; }
.footer-brand img { width: 34px; height: 34px; object-fit: contain; }
.footer-description { max-width: 260px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.editorial-footer h2 { margin: 3px 0 13px; color: #777; font-size: 12px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-column a, .footer-column span { color: #303236; font-size: 14px; line-height: 1.45; }
.footer-column a:hover { color: var(--green); }
.social-links { display: flex; flex-wrap: wrap; gap: 10px; }
.social-link { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid #dedfdd; border-radius: 50%; background: #fff; color: var(--ink); }
.social-link svg { width: 17px; height: 17px; fill: currentColor; }
.social-link:hover { border-color: #111214; background: #111214; color: #fff; }
.social-coming { color: #8a8d91; cursor: default; }
.social-coming:hover { border-color: #dedfdd; background: #fff; color: #8a8d91; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; max-width: 1120px; margin: 32px auto 0; padding-top: 18px; border-top: 1px solid #dedfdd; color: #777; font-size: 12px; }
.footer-bottom a { color: #555; }

/* Editorial index */
body:has(.grid) { background: #fff; }
.page:has(.grid) { width: min(1180px, calc(100% - 48px)); padding: 24px 0 0; }
body:has(.grid) header { padding: clamp(30px, 6vw, 64px); border-radius: 32px; background: linear-gradient(145deg, #0c0c0f, #202124); box-shadow: none; }
body:has(.grid) header h1 { max-width: 740px; font-size: clamp(2.5rem, 6vw, 4.7rem); }
body:has(.grid) .badge { color: #fff; background: rgb(255 255 255 / 10%); border-color: rgb(255 255 255 / 20%); }
body:has(.grid) main { margin-top: 52px; }
body:has(.grid) .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
body:has(.grid) .article { border-color: #e7e7e5; border-radius: 22px; box-shadow: 0 4px 18px rgb(0 0 0 / 3%); }
body:has(.grid) .cover { height: auto; aspect-ratio: 1.45; padding: 0; background: #f0f0ee; }
body:has(.grid) .cover img { object-fit: cover; }
body:has(.grid) .category { top: 13px; left: 13px; background: rgb(17 18 20 / 90%); font-size: 10px; }
body:has(.grid) .content { padding: 21px; }
body:has(.grid) .meta { color: #71757a; font-size: 11px; letter-spacing: .055em; }
body:has(.grid) h3 { margin: 10px 0 9px; font-size: 20px; line-height: 1.28; letter-spacing: -.025em; }
body:has(.grid) .content p { font-size: 14px; line-height: 1.6; }
body:has(.grid) .read { margin-top: 17px; color: #111214; font-size: 13px; }
body:has(.grid) footer { align-items: center; margin-top: 36px; padding: 20px 0 24px; border-color: #e5e6e8; }
body:has(.grid) .editorial-footer { display: block; margin-top: 54px; padding: 42px max(24px, calc((100% - 1120px) / 2)) 24px; border: 0; background: #f5f5f3; color: var(--ink); font-size: inherit; }

@media (max-width: 1080px) {
  .layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .sidebar .side-card:last-child { grid-column: 1 / -1; }
  body:has(.grid) .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .page, .page:has(.grid) { width: calc(100% - 32px); padding-top: 16px; }
  .crumbs { flex-wrap: wrap; margin: 4px 0 20px; font-size: 12px; line-height: 1.5; }
  .article-head { max-width: none; }
  .category { margin-top: 22px; }
  h1 { margin: 13px 0 13px; font-size: clamp(2rem, 8.8vw, 2.55rem); line-height: 1.06; letter-spacing: -.045em; }
  .dek { font-size: 17px; line-height: 1.6; }
  .byline { gap: 7px 10px; margin-top: 19px; font-size: 12px; }
  .avatar { width: 32px; height: 32px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 22px 0 25px; border-radius: 18px; }
  .fact { min-height: 80px; padding: 14px 12px; border-bottom: 1px solid var(--line); }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-last-child(-n+2) { border-bottom: 0; }
  .fact-icon { margin-right: 7px; font-size: 15px; }
  .fact strong { font-size: 1.08rem; }
  .fact div > span { font-size: 11px; }
  .hero-media { margin-bottom: 28px; border-radius: 17px; }
  .content { font-size: 17px; line-height: 1.78; }
  .content h2 { margin-top: 1.8em; font-size: 1.55rem; }
  .content h3 { font-size: 1.2rem; }
  .callout, .quote, .takeaway { margin: 23px 0; padding: 19px; border-radius: 16px; }
  .cta { display: block; margin-top: 36px; padding: 21px; border-radius: 18px; }
  .cta a { display: flex; width: 100%; margin-top: 18px; }
  .sidebar { grid-template-columns: 1fr; }
  .sidebar .side-card:last-child { grid-column: auto; }
  body:has(.grid) header { padding: 26px 23px 29px; border-radius: 24px; }
  body:has(.grid) header h1 { margin-top: 27px; font-size: clamp(2.25rem, 10vw, 3.1rem); line-height: 1.02; }
  body:has(.grid) header p { font-size: 16px; line-height: 1.58; }
  body:has(.grid) main { margin-top: 35px; }
  body:has(.grid) .heading { margin-bottom: 16px; }
  body:has(.grid) .grid { grid-template-columns: 1fr; gap: 16px; }
  body:has(.grid) .cover { aspect-ratio: 1.58; }
  body:has(.grid) .content { padding: 18px; }
  body:has(.grid) h3 { font-size: 19px; }
  body:has(.grid) footer { align-items: flex-start; }
  .editorial-footer { margin-top: 48px; padding: 34px 20px 20px; }
  .editorial-footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; }
  .footer-brand-column { grid-column: 1 / -1; }
  .footer-description { max-width: 320px; }
  .footer-bottom { flex-direction: column; margin-top: 25px; }
}

/* Refined mobile article details and shared footer interaction states */
.fact-icon { display: inline-grid; width: 9px; height: 9px; flex: 0 0 9px; place-items: center; margin-right: 8px; color: transparent; font-size: 0; }
.fact-icon::before, .method-list span::before { content: ""; display: block; width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #aeb2b7; }
.method-list span { gap: 10px; }
.section-kicker { display: block; width: 7px; min-width: 0; height: 7px; margin: 0 0 12px; padding: 0; overflow: hidden; border: 0; border-radius: 50%; background: #aeb2b7; color: transparent; font-size: 0; line-height: 0; }
.content section { padding-top: 0; margin-top: 34px; scroll-margin-top: 24px; }
.content section:first-child { margin-top: 0; }
.footer-column a.social-link:hover, .footer-column a.social-link:focus, .footer-column a.social-link:focus-visible, .footer-column a.social-link:active { border-color: #111214; background: #111214; color: #fff; }
.footer-column a.social-link:focus-visible { outline: 2px solid #111214; outline-offset: 3px; }
@media (max-width: 620px) {
  .article-head > .back { display: table; margin-bottom: 12px; }
  .article-head > .category { display: table; margin: 0 0 13px; }
  .article-head > h1 { clear: both; margin-top: 0; }
  .content section { margin-top: 30px; }
}
