:root {
  --primary: #365edc;
  --primary-hover: #2449bd;
  --ink: #24323c;
  --body: #52626d;
  --line: #dce4e8;
  --soft: #f4f7f8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--ink); background: #fff; font-family: Montserrat, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; }
.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 100; border-radius: 4px; background: #fff; padding: .75rem 1rem; color: var(--primary); font-weight: 700; }
.skip-link:focus { top: 1rem; }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }
.header-shell, .footer-shell { width: min(calc(100% - 2rem), 86rem); margin-inline: auto; }
.header-shell { min-height: 82px; display: flex; align-items: center; gap: 2rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand img { width: 48px; height: 48px; }
.brand span { display: grid; }
.brand strong { font-size: 1.2rem; }
.brand small { margin-top: .15rem; color: #71818a; font-size: .68rem; }
.header-shell nav { margin-left: auto; display: flex; align-items: center; gap: 1.5rem; }
.header-shell nav a { text-decoration: none; font-size: .88rem; font-weight: 700; }
.header-shell nav a:hover, .header-shell nav a[aria-current] { color: var(--primary); }
.phone { border-radius: 4px; background: var(--primary); padding: .8rem 1rem; color: #fff; text-decoration: none; font-size: .88rem; font-weight: 700; }
.phone:hover { background: var(--primary-hover); }
main { background: linear-gradient(180deg, var(--soft) 0, #fff 36rem); }
article { width: min(calc(100% - 2rem), 76rem); margin-inline: auto; padding: 2rem 0 5rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .6rem; color: #71818a; font-size: .82rem; }
.breadcrumbs a { text-underline-offset: .2em; }
.article-header { max-width: 59rem; margin-top: 4rem; }
.eyebrow { margin: 0; color: var(--primary); text-transform: uppercase; letter-spacing: .1em; font-size: .82rem; font-weight: 800; }
h1 { margin: 1rem 0 0; max-width: 58rem; font-family: Roboto, Arial, sans-serif; font-size: clamp(2.4rem, 6vw, 5.2rem); line-height: 1.03; letter-spacing: -.04em; }
.lead { margin: 1.5rem 0 0; max-width: 49rem; color: var(--body); font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.75; }
.article-header time { display: block; margin-top: 1.25rem; color: #71818a; font-size: .85rem; }
.hero-image { margin: 3rem 0 0; overflow: hidden; border-radius: 5px; background: var(--soft); }
.hero-image img { display: block; width: 100%; max-height: 650px; object-fit: cover; }
.article-grid { margin-top: 3.5rem; display: grid; grid-template-columns: minmax(0, 1fr) 18rem; align-items: start; gap: clamp(2.5rem, 7vw, 7rem); }
.article-content { max-width: 50rem; color: #364a55; font-size: 1.04rem; line-height: 1.85; }
.article-content > :first-child { margin-top: 0; }
.article-content h2, .article-content h3, .article-content h4 { margin: 2.4em 0 .75em; color: var(--ink); font-family: Roboto, Arial, sans-serif; line-height: 1.18; letter-spacing: -.02em; }
.article-content h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
.article-content h3 { font-size: clamp(1.35rem, 3vw, 1.8rem); }
.article-content p { margin: 1.1em 0; }
.article-content ul, .article-content ol { margin: 1.2em 0; padding-left: 1.45rem; }
.article-content li + li { margin-top: .55rem; }
.article-content blockquote { margin: 2rem 0; border-left: 3px solid var(--primary); background: #f6f8ff; padding: 1rem 1.4rem; color: #3d5260; }
.article-content a { color: var(--primary); text-underline-offset: .2em; }
.article-content img { display: block; height: auto; margin: 2rem auto; border-radius: 4px; }
.article-content pre { overflow-x: auto; border-radius: 4px; background: #1f2930; padding: 1rem; color: #fff; }
.article-content hr { margin: 2.5rem 0; border: 0; border-top: 1px solid var(--line); }
aside { position: sticky; top: 110px; border: 1px solid #dfe5ff; border-radius: 5px; background: #f6f8ff; padding: 1.5rem; }
aside p { margin: 0; font-family: Roboto, Arial, sans-serif; font-size: 1.2rem; font-weight: 700; line-height: 1.35; }
aside span { display: block; margin-top: .75rem; color: var(--body); font-size: .87rem; line-height: 1.55; }
aside a { display: flex; justify-content: center; margin-top: 1.25rem; border-radius: 4px; background: var(--primary); padding: .85rem 1rem; color: #fff; text-decoration: none; font-size: .88rem; font-weight: 700; }
.back-link { margin-top: 3.5rem; border-top: 1px solid var(--line); padding-top: 2rem; }
.back-link a { color: var(--primary); font-weight: 700; text-underline-offset: .2em; }
footer { border-top: 1px solid var(--line); background: #24323c; color: #fff; }
.footer-shell { min-height: 190px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.footer-shell strong { font-size: 1.25rem; }
.footer-shell p { color: #c8d2d7; font-size: .82rem; line-height: 1.6; }
.footer-shell > div:last-child { text-align: right; }
.footer-shell a { color: #fff; font-size: .82rem; }
@media (max-width: 900px) {
  .header-shell nav { display: none; }
  .phone { margin-left: auto; }
  .article-grid { grid-template-columns: 1fr; }
  aside { position: static; }
}
@media (max-width: 600px) {
  .header-shell { min-height: 70px; }
  .brand small { display: none; }
  .brand img { width: 42px; height: 42px; }
  .phone { padding: .7rem .75rem; font-size: .78rem; }
  article { padding-top: 1.5rem; }
  .article-header { margin-top: 2.5rem; }
  .hero-image { margin-top: 2rem; }
  .article-grid { margin-top: 2.5rem; }
  .footer-shell { min-height: 220px; flex-direction: column; align-items: flex-start; justify-content: center; }
  .footer-shell > div:last-child { text-align: left; }
}
