@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Open+Sans:wght@400;600;700&display=swap');

:root {
  --navy: #1E3A8A;
  --blue: #3B82F6;
  --sky: #60A5FA;
  --sky-light: #BFDBFE;
  --orange: #F97316;
  --slate: #1E2937;
  --grey: #64748B;
  --line: #E2E8F0;
  --bg-light: #F8FAFC;
  --yellow-bg: #FFF8E7; --yellow-border: #F5B92E;
  --green-bg: #EBF5EE; --green-border: #3A9B5C;
  --blue-bg: #EAF1FB; --blue-border: #2E5796;
  --orange-bg: #FEF0E7; --orange-border: #E26B1A;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--slate); background: #fff; font: 16px/1.65 'Open Sans', Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; color: var(--navy); font-family: Inter, Arial, sans-serif; line-height: 1.18; }
h1 { font-size: clamp(2.35rem, 5vw, 4rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.45rem); letter-spacing: -0.03em; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1rem; }
.wrap { width: min(1080px, calc(100% - 48px)); margin: 0 auto; }
.section { padding: 88px 0; }
.eyebrow { margin: 0 0 12px; color: var(--blue); font: 700 .76rem/1 Inter, Arial, sans-serif; letter-spacing: .11em; text-transform: uppercase; }
.lede { max-width: 680px; color: var(--grey); font-size: 1.08rem; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; padding: 10px 14px; background: var(--navy); color: #fff; }
.skip-link:focus { left: 12px; top: 12px; }

.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.94); backdrop-filter: blur(12px); }
.nav { display: flex; min-height: 68px; align-items: center; justify-content: space-between; gap: 22px; }
.brand { color: var(--navy); font: 700 1.16rem/1 Inter, Arial, sans-serif; text-decoration: none; white-space: nowrap; }
.brand span { color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: var(--slate); font: 600 .88rem/1 Inter, Arial, sans-serif; text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current='page'] { color: var(--blue); }
.nav-cta { padding: 10px 16px; border-radius: 7px; background: var(--orange); color: #fff !important; }

.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; border: 1px solid transparent; border-radius: 7px; font: 700 .9rem/1 Inter, Arial, sans-serif; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 18px rgba(249,115,22,.22); }
.button-secondary { border-color: var(--blue); color: var(--navy); background: #fff; }
.button-secondary:hover { background: var(--blue-bg); }
.button-small { min-height: 40px; padding: 10px 14px; font-size: .82rem; }

.hero { position: relative; overflow: hidden; padding: 102px 0 84px; background: var(--bg-light); }
.hero::before, .hero::after { position: absolute; content: ''; border-radius: 50%; pointer-events: none; }
.hero::before { top: -170px; right: -130px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(59,130,246,.18), transparent 68%); }
.hero::after { bottom: -250px; left: -120px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(96,165,250,.16), transparent 68%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); align-items: center; gap: 64px; }
.hero-copy p { margin-top: 23px; max-width: 640px; color: var(--grey); font-size: 1.1rem; }
.hero-note { margin-top: 18px; color: var(--grey); font-size: .82rem; }
.canvas-visual { position: relative; padding: 20px; border-radius: 20px; background: linear-gradient(145deg, var(--navy), #2949a3); box-shadow: 0 24px 52px rgba(30,58,138,.22); transform: rotate(2deg); }
.canvas-sheet { display: grid; grid-template-columns: .85fr 2.25fr .85fr; grid-template-rows: 1fr 1fr 52px; gap: 5px; min-height: 290px; padding: 13px; border-radius: 8px; background: #fff; transform: rotate(-2deg); }
.canvas-cell { display: flex; flex-direction: column; justify-content: space-between; padding: 15px 12px; border-radius: 4px; color: #fff; font: 700 .8rem/1.22 Inter, Arial, sans-serif; }
.canvas-cell small { display: block; font: 400 .67rem/1.35 'Open Sans', Arial, sans-serif; opacity: .85; }
.canvas-customer { grid-row: 1 / 3; background: var(--yellow-border); color: #5C4400; }
.canvas-solution { grid-row: 1 / 3; background: var(--green-border); }
.canvas-risk { grid-row: 1 / 3; background: var(--blue-border); }
.canvas-value { grid-column: 1 / 4; background: var(--orange-border); }
.canvas-caption { margin: 13px 0 0; color: #DCE6FA; text-align: center; font: 700 .66rem/1 Inter, Arial, sans-serif; letter-spacing: .09em; }

.statement { background: #fff; }
.statement-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 70px; align-items: start; }
.statement-copy h2 { margin-bottom: 18px; }
.statement-copy p { color: var(--grey); }
.decision-list { display: grid; gap: 14px; }
.decision-item { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-light); }
.decision-number { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--navy); background: var(--sky-light); font: 700 .8rem/1 Inter, Arial, sans-serif; }
.decision-item strong { display: block; margin-bottom: 2px; color: var(--navy); font-family: Inter, Arial, sans-serif; }
.decision-item span { color: var(--grey); font-size: .88rem; }

.domains { background: var(--bg-light); }
.section-intro { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 34px; }
.domain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.domain-card { min-height: 255px; padding: 22px 19px; border-top: 4px solid; border-radius: 10px; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.domain-card:hover { transform: translateY(-4px); box-shadow: 0 14px 25px rgba(30,58,138,.1); }
.domain-card.yellow { background: var(--yellow-bg); border-color: var(--yellow-border); }
.domain-card.green { background: var(--green-bg); border-color: var(--green-border); }
.domain-card.blue { background: var(--blue-bg); border-color: var(--blue-border); }
.domain-card.orange { background: var(--orange-bg); border-color: var(--orange-border); }
.domain-card .domain-label { display: block; margin-bottom: 12px; color: var(--grey); font: 700 .7rem/1 Inter, Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.domain-card h3 { margin-bottom: 10px; font-size: 1rem; }
.domain-card .question { margin: 0 0 13px; color: var(--slate); font-size: .87rem; font-weight: 700; line-height: 1.45; }
.domain-card p:last-child { margin: 0; color: #4B5563; font-size: .82rem; line-height: 1.55; }

.guide-teaser { background: #fff; }
.guide-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.guide-card { display: flex; flex-direction: column; min-height: 198px; padding: 22px; border: 1px solid var(--line); border-radius: 11px; background: #fff; text-decoration: none; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.guide-card:hover { border-color: var(--sky); transform: translateY(-3px); box-shadow: 0 14px 28px rgba(30,58,138,.1); }
.guide-card .guide-number { margin-bottom: 15px; color: var(--blue); font: 700 .72rem/1 Inter, Arial, sans-serif; letter-spacing: .08em; }
.guide-card h3 { margin-bottom: 10px; font-size: 1rem; }
.guide-card p { margin: 0; color: var(--grey); font-size: .83rem; line-height: 1.55; }
.guide-card .read-more { margin-top: auto; padding-top: 16px; color: var(--blue); font: 700 .78rem/1 Inter, Arial, sans-serif; }

.download-band { background: linear-gradient(135deg, var(--navy), #2949a3); scroll-margin-top: 96px; }
.download-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, .7fr); gap: 65px; align-items: center; }
.download-band h2 { color: #fff; }
.download-band .eyebrow { color: var(--sky-light); }
.download-band p { color: #DCE6FA; }
.download-note { color: #DCE6FA; font-size: .8rem; }
.lead-form { padding: 28px; border-radius: 12px; background: #fff; box-shadow: 0 20px 40px rgba(10,30,90,.25); }
.field { margin-bottom: 15px; }
.field label { display: block; margin-bottom: 6px; color: var(--slate); font: 700 .78rem/1 Inter, Arial, sans-serif; }
.field input { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #CBD5E1; border-radius: 6px; color: var(--slate); font: 16px/1.2 'Open Sans', Arial, sans-serif; }
.field input:focus { border-color: var(--blue); outline: 2px solid var(--sky-light); outline-offset: 1px; }
.honeypot { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 14px 0 0; color: var(--grey); font-size: .72rem; line-height: 1.5; }
.form-note a { color: var(--navy); }
.error-banner { display: none; margin: 0 0 16px; padding: 10px 12px; border: 1px solid #FCA5A5; border-radius: 7px; background: #FEF2F2; color: #991B1B; font-size: .84rem; }
.error-banner.show { display: block; }

.accountability { background: #fff; }
.accountability-grid { display: grid; grid-template-columns: 180px 1fr; gap: 48px; align-items: center; }
.accountability-mark { display: grid; width: 150px; height: 150px; place-items: center; border-radius: 50%; background: var(--blue-bg); color: var(--navy); font: 700 1.1rem/1.25 Inter, Arial, sans-serif; text-align: center; }
.accountability h2 { margin-bottom: 13px; }
.accountability p { max-width: 700px; color: var(--grey); }

.author { background: var(--bg-light); }
.author-grid { display: grid; grid-template-columns: 190px 1fr; align-items: center; gap: 38px; }
.author-photo { overflow: hidden; width: 190px; height: 190px; border-radius: 12px; background: var(--navy); }
.author-photo img { width: 100%; height: 100%; object-fit: cover; }
.article-photo { margin: 0 0 30px; }
.author h2 { margin-bottom: 10px; }
.author p { max-width: 680px; color: var(--grey); }

.site-footer { padding: 38px 0; background: var(--navy); color: #B9C7EC; font-size: .81rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; align-items: start; }
.site-footer a { color: #fff; }
.footer-license { max-width: 580px; text-align: right; }

.page-hero { padding: 68px 0 55px; background: var(--bg-light); border-bottom: 1px solid var(--line); }
.breadcrumb { margin-bottom: 20px; color: var(--grey); font: 600 .77rem/1 Inter, Arial, sans-serif; }
.breadcrumb a { color: var(--blue); text-decoration: none; }
.page-hero h1 { max-width: 900px; font-size: clamp(2.1rem, 4.1vw, 3.5rem); }
.page-hero .page-summary { max-width: 740px; margin: 18px 0 0; color: var(--grey); font-size: 1.05rem; }
.article-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 60px; padding: 56px 0 80px; }
.toc { position: sticky; top: 94px; align-self: start; }
.toc h2 { margin-bottom: 12px; font-size: .82rem; letter-spacing: .07em; text-transform: uppercase; }
.toc a { display: block; padding: 6px 0; color: var(--grey); font-size: .8rem; line-height: 1.35; text-decoration: none; }
.toc a:hover { color: var(--blue); }
.toc a.level-3 { padding-left: 11px; font-size: .75rem; }
.prose { min-width: 0; font-size: .98rem; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin: 2.7rem 0 1rem; font-size: clamp(1.5rem, 2.5vw, 2rem); scroll-margin-top: 96px; }
.prose h3 { margin: 1.8rem 0 .8rem; font-size: 1.15rem; scroll-margin-top: 96px; }
.prose p { margin-bottom: 1.12rem; }
.prose a { color: #1D4ED8; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.prose ul, .prose ol { margin: 0 0 1.3rem; padding-left: 1.35rem; }
.prose li { margin: .43rem 0; }
.prose blockquote { margin: 1.6rem 0; padding: 18px 21px; border-left: 4px solid var(--blue); background: var(--blue-bg); color: #334155; }
.prose blockquote p { margin: 0; }
.prose code { padding: .12rem .32rem; border-radius: 4px; background: #EEF2FF; font-size: .86em; }
.prose pre { overflow-x: auto; margin: 1.4rem 0; padding: 16px; border-radius: 8px; background: #0F172A; color: #E2E8F0; }
.prose pre code { padding: 0; background: transparent; }
.table-wrap { overflow-x: auto; margin: 1.45rem 0 1.7rem; border: 1px solid var(--line); border-radius: 8px; }
table { width: 100%; border-collapse: collapse; font-size: .85rem; }
th, td { padding: 12px 13px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--bg-light); color: var(--navy); font-family: Inter, Arial, sans-serif; font-size: .76rem; }
tr:last-child td { border-bottom: none; }
.article-after { margin-top: 56px; padding: 28px; border-radius: 12px; background: var(--blue-bg); }
.article-after h2 { margin-bottom: 9px; font-size: 1.35rem; }
.article-after p { color: #334155; }
.prev-next { display: flex; justify-content: space-between; gap: 16px; margin-top: 22px; }
.prev-next a { max-width: 48%; color: var(--blue); font: 700 .82rem/1.35 Inter, Arial, sans-serif; text-decoration: none; }
.prev-next a:last-child { text-align: right; margin-left: auto; }
.guide-index-hero { padding: 74px 0 44px; background: var(--bg-light); }
.guide-index-hero h1 { max-width: 800px; }
.guide-index-hero p { max-width: 700px; margin-top: 18px; color: var(--grey); }
.guide-index-section { padding: 58px 0 80px; }
.guide-index-section .guide-card-grid { grid-template-columns: repeat(3, 1fr); }
.privacy { max-width: 760px; padding: 60px 0 80px; }
.privacy h1 { margin-bottom: 20px; }
.privacy h2 { margin: 34px 0 12px; font-size: 1.4rem; }
.privacy p, .privacy li { color: #475569; }

@media (max-width: 900px) {
  .hero-grid, .statement-grid, .download-grid { grid-template-columns: 1fr; gap: 38px; }
  .canvas-visual { max-width: 520px; margin: 0 auto; }
  .domain-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-card-grid, .guide-index-section .guide-card-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; padding: 18px; border: 1px solid var(--line); border-radius: 8px; }
  .toc details { display: block; }
  .toc nav { columns: 2; column-gap: 24px; }
  .toc a { break-inside: avoid; }
}

@media (max-width: 620px) {
  .wrap { width: min(100% - 32px, 1080px); }
  .section { padding: 60px 0; }
  .nav { min-height: 60px; }
  .nav-links { gap: 14px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { padding: 70px 0 60px; }
  .hero-grid { gap: 36px; }
  .canvas-sheet { min-height: 240px; padding: 9px; }
  .canvas-cell { padding: 10px 8px; font-size: .66rem; }
  .section-intro { display: block; }
  .section-intro .button { margin-top: 18px; }
  .domain-grid, .guide-card-grid, .guide-index-section .guide-card-grid { grid-template-columns: 1fr; }
  .domain-card { min-height: auto; }
  .accountability-grid, .author-grid { grid-template-columns: 1fr; gap: 24px; }
  .accountability-mark { width: 120px; height: 120px; }
  .author-photo { width: 140px; height: 140px; }
  .footer-grid { display: block; }
  .footer-license { margin-top: 18px; text-align: left; }
  .page-hero { padding: 48px 0 38px; }
  .article-layout { padding: 38px 0 58px; }
  .toc nav { columns: 1; }
  .prev-next { flex-direction: column; }
  .prev-next a, .prev-next a:last-child { max-width: 100%; margin: 0; text-align: left; }
}
