:root {
  --ink: #15122b;
  --navy: #0d0c21;
  --blue: #4654a3;
  --violet: #7668e5;
  --cyan: #78e1e4;
  --ice: #eaf8f7;
  --paper: #f7f8f5;
  --muted: #686779;
  --line: rgba(21,18,43,.14);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", sans-serif; font-size: 17px; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Manrope", sans-serif; letter-spacing: -.04em; line-height: 1.12; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: white; padding: .8rem 1rem; }
.skip-link:focus { top: 1rem; }

.site-header { width: min(calc(100% - 48px), var(--max)); height: 88px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.brand { display: inline-flex; align-items: center; gap: .75rem; font-weight: 700; }
.brand-mark { width: 43px; height: 43px; display: grid; place-items: center; }
.brand-name { font-family: Georgia, serif; letter-spacing: .025em; font-size: 1rem; }
.brand-name span { color: var(--blue); }
.main-nav { display: flex; align-items: center; gap: 2rem; font-size: .9rem; font-weight: 500; }
.main-nav > a:not(.nav-cta) { color: #474657; }
.main-nav > a:not(.nav-cta):hover { color: var(--blue); }
.nav-cta { border: 1px solid var(--ink); border-radius: 999px; padding: .7rem 1.1rem; transition: .25s ease; }
.nav-cta:hover { background: var(--ink); color: white; }
.menu-toggle { display: none; background: transparent; border: 0; padding: .4rem; }
.menu-toggle > span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px; background: var(--ink); }

.knowledge-hero { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: clamp(5rem, 10vw, 9rem) 0 clamp(4rem, 8vw, 7rem); display: grid; grid-template-columns: 1.2fr .8fr; gap: 7vw; align-items: end; }
.eyebrow, .section-kicker { text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 700; color: var(--blue); }
.knowledge-hero h1 { font-size: clamp(3.4rem, 7vw, 7rem); line-height: .95; margin: 1.2rem 0 0; }
.knowledge-hero h1 em { color: var(--violet); font-style: normal; }
.knowledge-hero-copy { color: var(--muted); font-size: 1.16rem; max-width: 520px; margin: 0; }
.knowledge-list { background: white; padding: clamp(5rem, 8vw, 8rem) max(24px, calc((100% - var(--max))/2)); }
.article-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.article-card { min-height: 370px; padding: 2rem; border: 1px solid var(--line); display: flex; flex-direction: column; transition: .25s ease; }
.article-card:hover { transform: translateY(-5px); border-color: var(--blue); box-shadow: 0 24px 55px rgba(21,18,43,.08); }
.article-card h2 { font-size: 1.65rem; margin: 2.7rem 0 1rem; }
.article-card p { color: var(--muted); }
.tag { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--blue); font-weight: 700; }
.read-time { margin-top: auto; font-size: .78rem; color: var(--muted); }
.read-time b { color: var(--violet); font-size: 1rem; margin-left: .3rem; }

.article-hero { background: var(--navy); color: white; padding: clamp(5rem, 9vw, 8rem) max(24px, calc((100% - var(--max))/2)) clamp(4rem, 7vw, 6rem); position: relative; overflow: hidden; }
.article-hero::after { content: ""; position: absolute; width: min(42vw, 520px); aspect-ratio: 1; border: 1px solid rgba(120,225,228,.18); border-radius: 50%; right: -10%; top: -35%; box-shadow: 0 0 0 80px rgba(118,104,229,.04), 0 0 0 160px rgba(120,225,228,.025); }
.article-hero-inner { max-width: 970px; position: relative; z-index: 1; }
.article-hero .eyebrow { color: var(--cyan); }
.article-hero h1 { font-size: clamp(2.7rem, 6vw, 5.8rem); line-height: 1; margin: 1.5rem 0 2rem; }
.article-deck { font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: rgba(255,255,255,.7); max-width: 740px; }
.article-meta { display: flex; gap: 1.2rem; margin-top: 2rem; color: rgba(255,255,255,.55); font-size: .8rem; }

.article-layout { width: min(calc(100% - 48px), 1120px); margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) 0; display: grid; grid-template-columns: 210px minmax(0, 720px); gap: clamp(3rem, 8vw, 8rem); }
.article-aside { position: sticky; top: 2rem; align-self: start; font-size: .82rem; }
.article-aside p { color: var(--muted); margin-bottom: .7rem; }
.article-aside a { display: block; padding: .65rem 0; border-bottom: 1px solid var(--line); }
.article-aside a:hover { color: var(--blue); }
.article-body { min-width: 0; }
.article-body > p:first-child { font-size: 1.25rem; color: #454456; }
.article-body h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 4.5rem 0 1.3rem; }
.article-body h3 { font-size: 1.35rem; margin: 2.4rem 0 .7rem; }
.article-body p, .article-body li { color: #4f4e60; }
.article-body strong { color: var(--ink); }
.article-body ul, .article-body ol { padding-left: 1.25rem; }
.article-body li { margin: .7rem 0; padding-left: .35rem; }
.summary-box { padding: 1.7rem 1.8rem; background: var(--ice); border-left: 4px solid var(--cyan); margin: 0 0 3rem; }
.summary-box strong { display: block; text-transform: uppercase; letter-spacing: .13em; font-size: .72rem; color: var(--blue); margin-bottom: .65rem; }
.summary-box p { margin: 0; color: var(--ink); font-size: 1.07rem; }
.example { margin: 2.5rem 0; padding: 2rem; border: 1px solid rgba(118,104,229,.3); background: #f1f0ff; }
.example .tag { display: block; margin-bottom: .75rem; }
.checklist { list-style: none; padding-left: 0 !important; }
.checklist li { position: relative; padding: .85rem 0 .85rem 2rem; border-bottom: 1px solid var(--line); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 1.25rem; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(120,225,228,.18); }
.faq { margin-top: 5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.faq-item { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.faq-item h3 { margin: 0 0 .55rem; font-size: 1.15rem; }
.faq-item p { margin: 0; }
.article-cta { background: var(--blue); color: white; margin-top: 5rem; padding: 2.2rem; }
.article-cta h2 { margin: 0 0 .7rem; font-size: 2rem; }
.article-cta p { color: rgba(255,255,255,.75); }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; border-radius: 999px; padding: .75rem 1.25rem; font-weight: 600; background: white; color: var(--ink); transition: transform .25s ease; }
.button:hover { transform: translateY(-2px); }
.article-next { width: min(calc(100% - 48px), 1120px); margin: 0 auto 6rem; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.article-next a { padding: 2rem 0; }
.article-next a:last-child { text-align: right; }
.article-next small { display: block; color: var(--muted); margin-bottom: .35rem; }
.article-next strong { font-family: "Manrope", sans-serif; }

.legal-page { min-height: calc(100vh - 238px); }
.legal-hero { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: clamp(5rem, 9vw, 8rem) 0 clamp(3rem, 5vw, 5rem); }
.legal-hero h1 { font-size: clamp(3.5rem, 8vw, 7.5rem); line-height: .95; margin: 1rem 0 1.4rem; }
.legal-hero > p:last-child { color: var(--muted); font-size: 1.15rem; }
.legal-layout { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 0 0 clamp(5rem, 9vw, 8rem); display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.legal-card { background: white; border: 1px solid var(--line); padding: clamp(1.8rem, 4vw, 3rem); }
.legal-card h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 1.2rem 0 1.4rem; }
.legal-card address { color: var(--muted); font-style: normal; }
.company-identifiers { margin-top: 1.4rem; }
.legal-contact { margin: 0; }
.legal-contact div { display: grid; grid-template-columns: 100px 1fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.legal-contact dt { color: var(--muted); }
.legal-contact dd { margin: 0; }
.legal-contact a { border-bottom: 1px solid var(--blue); }
.preview-warning { grid-column: 1 / -1; padding: 1.4rem 1.6rem; background: #fff6dc; border-left: 4px solid #d59b16; }
.preview-warning strong { font-family: "Manrope", sans-serif; }
.preview-warning p { color: #635934; margin: .45rem 0 0; font-size: .9rem; }

footer { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; min-height: 150px; display: grid; grid-template-columns: 1fr auto auto; gap: 3rem; align-items: center; color: var(--muted); font-size: .8rem; }
footer p { margin: 0; }
footer nav { display: flex; gap: 1.4rem; }
.footer-brand .brand-mark { width: 34px; height: 34px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; } }
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--paper); padding: 1.4rem; border: 1px solid var(--line); flex-direction: column; align-items: stretch; }
  .main-nav.open { display: flex; }
  .main-nav .nav-cta { text-align: center; }
  .knowledge-hero { grid-template-columns: 1fr; align-items: start; }
  .article-cards { grid-template-columns: 1fr; }
  .article-card { min-height: 290px; }
  .article-layout { grid-template-columns: 1fr; gap: 2rem; }
  .legal-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; display: none; }
  footer { grid-template-columns: 1fr 1fr; padding: 2rem 0; }
  footer nav { justify-self: end; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .site-header, .knowledge-hero, footer { width: min(calc(100% - 32px), var(--max)); }
  .article-layout, .article-next { width: min(calc(100% - 32px), 1120px); }
  .legal-hero, .legal-layout { width: min(calc(100% - 32px), var(--max)); }
  .brand-name { font-size: .83rem; }
  .brand-mark { width: 38px; height: 38px; }
  .article-meta { flex-wrap: wrap; }
  .article-next { grid-template-columns: 1fr; }
  .article-next a:last-child { text-align: left; border-top: 1px solid var(--line); }
  footer { grid-template-columns: 1fr; gap: 1.2rem; }
  footer nav { justify-self: start; }
}
