/* GW Consult site styles. Tokens mirror the Figma Foundations page
   (file 7KozfaRvS6CfBfXLWn5DDv). Change tokens here, not in pages. */

@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/plex-sans-regular.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/plex-sans-medium.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/plex-sans-semibold.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/plex-mono-regular.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/plex-mono-medium.woff2") format("woff2"); }

:root {
  --navy-950: #070F1E; --navy-900: #0B1B33; --navy-800: #13284A; --navy-700: #1E3A63;
  --slate-300: #A9B8CF; --white: #FFFFFF; --paper: #F5F7FA; --line: #E1E6EE;
  --ink: #0B1B33; --ink-muted: #4A5A73; --teal-400: #2EC4B6; --teal-700: #0E7C72; --teal-50: #E6F7F5;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --gutter: 20px; --section: 56px; --radius: 12px;
}
@media (min-width: 720px) { :root { --gutter: 32px; --section: 80px; } }
@media (min-width: 1100px) { :root { --gutter: 40px; --section: 96px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 28px; color: var(--ink); background: var(--white); }
img, svg { display: block; max-width: 100%; }
a { color: var(--teal-700); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--teal-400); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--white); color: var(--ink); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 800px; }

/* type */
h1, h2, h3 { margin: 0; font-weight: 600; color: inherit; }
.display { font-size: 38px; line-height: 44px; letter-spacing: -0.02em; }
h1, .h1 { font-size: 34px; line-height: 42px; letter-spacing: -0.02em; }
h2, .h2 { font-size: 28px; line-height: 36px; letter-spacing: -0.01em; }
h3, .h3 { font-size: 22px; line-height: 30px; }
@media (min-width: 720px) { .display { font-size: 52px; line-height: 60px; } h1, .h1 { font-size: 44px; line-height: 52px; } h2, .h2 { font-size: 34px; line-height: 42px; } }
@media (min-width: 1100px) { .display { font-size: 60px; line-height: 68px; } h1, .h1 { font-size: 48px; line-height: 56px; } h2, .h2 { font-size: 36px; line-height: 44px; } }
p { margin: 0; }
.lead { font-size: 18px; line-height: 30px; color: var(--ink-muted); }
@media (min-width: 720px) { .lead { font-size: 20px; line-height: 32px; } }
.eyebrow { font-family: var(--mono); font-weight: 500; font-size: 13px; line-height: 20px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-700); margin: 0; }
.small { font-size: 14px; line-height: 22px; }
.muted { color: var(--ink-muted); }
.stack > * + * { margin-top: 16px; }
.stack-lg > * + * { margin-top: 24px; }

/* sections */
.section { padding: var(--section) 0; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--navy-900); color: var(--white); }
.section--dark .eyebrow { color: var(--teal-400); }
.section--dark .lead, .section--dark .muted { color: var(--slate-300); }
.section--dark a { color: var(--teal-400); }
.section--teal { background: var(--teal-400); color: var(--navy-900); padding: 64px 0; }
.section--teal .lead { color: var(--navy-900); }
.section-head { max-width: 780px; margin-bottom: 40px; }
.section-head > * + * { margin-top: 16px; }

/* header */
.site-header { background: var(--navy-900); color: var(--white); border-bottom: 1px solid var(--navy-700); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 24px; }
@media (min-width: 900px) { .site-header .bar { min-height: 84px; } }
.brand img { height: 32px; width: auto; }
@media (min-width: 900px) { .brand img { height: 44px; } }
.nav { display: none; align-items: center; gap: 32px; }
.nav a { color: var(--white); text-decoration: none; font-weight: 500; font-size: 16px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--teal-400); }
@media (min-width: 900px) { .nav { display: flex; } .menu { display: none; } }
.menu summary { list-style: none; cursor: pointer; color: var(--white); padding: 8px; margin-right: -8px; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] .menu-panel { display: block; }
.menu-panel { display: none; position: absolute; left: 0; right: 0; top: 64px; background: var(--navy-900); border-bottom: 1px solid var(--navy-700); padding: 8px var(--gutter) 24px; z-index: 5; }
.menu-panel a { display: block; color: var(--white); text-decoration: none; font-weight: 500; padding: 12px 0; border-top: 1px solid var(--navy-800); }
.menu-panel .btn { margin-top: 16px; border-top: 0; }
.site-header { position: relative; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 500 16px/24px var(--sans); padding: 14px 24px; border-radius: 8px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; }
.btn--primary { background: var(--teal-400); color: var(--navy-900); }
.btn--primary:hover { background: #4DD3C6; }
.btn--ghost-dark { border-color: var(--white); color: var(--white); background: transparent; }
.btn--ghost-dark:hover { background: var(--navy-800); }
.btn--ghost-light { border-color: var(--navy-900); color: var(--navy-900); background: transparent; }
.btn--ghost-light:hover { background: rgba(11, 27, 51, 0.06); }
.section--dark a.btn--primary, .menu-panel a.btn--primary { color: var(--navy-900); }
.section--dark a.btn--ghost-dark { color: var(--white); }
.actions { display: flex; flex-wrap: wrap; gap: 16px; }
@media (max-width: 559px) { .actions .btn { width: 100%; } }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.link svg { width: 20px; height: 20px; }

/* hero */
.hero { padding: 56px 0; }
@media (min-width: 1100px) { .hero { padding: 112px 0 96px; } }
.hero-row { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1100px) { .hero-row { grid-template-columns: 1fr 400px; gap: 64px; } }
.hero-art { display: none; }
@media (min-width: 1100px) { .hero-art { display: block; width: 400px; height: 400px; } }
.hero h1 { max-width: 760px; }
.hero .lead { max-width: 640px; }
.proof { display: grid; gap: 24px; margin-top: 56px; }
@media (min-width: 900px) { .proof { grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 72px; } }
.proof div { border-top: 2px solid var(--teal-400); padding-top: 16px; }
.proof strong { display: block; font-weight: 600; }
.proof span { display: block; color: var(--slate-300); font-size: 14px; line-height: 22px; margin-top: 4px; }
.page-hero { padding: 56px 0; }
@media (min-width: 1100px) { .page-hero { padding: 96px 0; } }
.page-hero h1 { max-width: 820px; }
.page-hero .lead { max-width: 700px; }

/* grids and cards */
.grid { display: grid; gap: 24px; }
@media (min-width: 720px) { .grid--2, .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .grid { gap: 40px; } .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 1100px) { .card { padding: 32px; } }
.card p { color: var(--ink-muted); }
.card .link { margin-top: auto; }
.card--dark { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.card--dark p { color: var(--slate-300); }
.icon-tile { width: 48px; height: 48px; border-radius: 10px; background: var(--teal-50); color: var(--teal-700); display: grid; place-items: center; }
.icon-tile svg { width: 24px; height: 24px; }
.icon-tile--lg { width: 56px; height: 56px; border-radius: 12px; }
.icon-tile--dark { background: var(--navy-900); color: var(--teal-400); }

/* two column feature */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .split { grid-template-columns: 1fr 1fr; gap: 80px; } }
.split--top { align-items: start; }
.points { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.points li { position: relative; padding-left: 22px; }
.points li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 2px; background: var(--teal-400); }

/* product panel (illustration) */
.panel { background: var(--navy-900); color: var(--white); border-radius: 20px; padding: 24px 24px 12px; }
@media (min-width: 720px) { .panel { padding: 28px 28px 16px; } }
.panel-head { display: flex; align-items: center; gap: 12px; font-weight: 600; padding-bottom: 16px; }
.panel-head svg { width: 24px; height: 24px; color: var(--teal-400); }
.panel-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--navy-700); padding: 14px 0; }
.panel-row small { display: block; color: var(--slate-300); font-size: 14px; line-height: 22px; }
.pill { font-size: 14px; line-height: 22px; padding: 2px 12px; border-radius: 999px; white-space: nowrap; }
.pill--blocked { background: #5C2129; } .pill--allowed { background: #124A4A; } .pill--ro { background: var(--navy-700); }
.panel-note { color: var(--slate-300); font-size: 13px; line-height: 20px; padding: 8px 0 4px; }

/* steps */
.steps { display: grid; gap: 32px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.steps .num { font-family: var(--mono); font-weight: 500; font-size: 13px; color: var(--teal-400); letter-spacing: 0.08em; }
.steps h3 { margin: 8px 0; }
.steps p { color: var(--slate-300); }
.rule-list { display: grid; gap: 24px; }
@media (min-width: 900px) { .rule-list--3 { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.rule-list > div { border-top: 2px solid var(--teal-400); padding-top: 16px; }
.rule-list p { color: var(--ink-muted); margin-top: 6px; }

/* insight cards */
.post-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.post-card:hover { border-color: var(--teal-700); }
.post-card .band { background: var(--navy-900); min-height: 150px; padding: 24px 28px; display: flex; align-items: flex-end; }
.post-card .band .eyebrow { color: var(--teal-400); }
.post-card .body { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 12px; }
.post-card .body p { color: var(--ink-muted); }
.post-card .meta { font-size: 14px; color: var(--ink-muted); }
.feature-post { display: grid; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--white); text-decoration: none; color: inherit; margin-bottom: 40px; }
@media (min-width: 1000px) { .feature-post { grid-template-columns: 440px 1fr; } }
.feature-post .band { background: var(--navy-900); padding: 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 220px; }
.feature-post .band .eyebrow { color: var(--teal-400); }
.feature-post .band img { width: 72px; height: 72px; }
.feature-post .body { padding: 32px; display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 1000px) { .feature-post .body { padding: 56px; } }
.head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 40px; }

/* article */
.article-head { background: var(--paper); padding: 56px 0 48px; }
@media (min-width: 1100px) { .article-head { padding: 80px 0 64px; } }
.crumbs { font-size: 14px; }
.crumbs a { text-decoration: none; }
.prose { font-size: 18px; line-height: 31px; }
@media (min-width: 720px) { .prose { font-size: 20px; line-height: 32px; } }
.prose > * + * { margin-top: 24px; }
.prose h2 { margin-top: 48px; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li + li { margin-top: 8px; }
.prose code { font-family: var(--mono); font-size: 0.85em; background: var(--paper); padding: 2px 6px; border-radius: 4px; }
.prose pre { background: var(--navy-900); color: var(--white); border-radius: 8px; padding: 20px 24px; overflow-x: auto; font-family: var(--mono); font-size: 14px; line-height: 24px; }
.prose pre code { background: none; padding: 0; font-size: inherit; }
.prose blockquote { margin: 0; background: var(--paper); border-left: 4px solid var(--teal-400); border-radius: 8px; padding: 20px 24px; font-size: 17px; line-height: 28px; }
.author { display: flex; align-items: center; gap: 20px; border-top: 1px solid var(--line); padding-top: 32px; margin-top: 48px; }
.author .tile { width: 64px; height: 64px; border-radius: 12px; background: var(--navy-900); display: grid; place-items: center; flex: none; }
.author .tile img { width: 36px; height: 36px; }
.sources { font-size: 15px; line-height: 24px; color: var(--ink-muted); }
.sources a { overflow-wrap: anywhere; }

/* forms */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: grid; gap: 20px; }
@media (min-width: 720px) { .form-card { padding: 48px; gap: 24px; } }
.form-pair { display: grid; gap: 20px; }
@media (min-width: 720px) { .form-pair { grid-template-columns: 1fr 1fr; gap: 24px; } }
.field label { display: block; font-weight: 600; margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; font: 400 17px/24px var(--sans); color: var(--ink); background: var(--white); border: 1.5px solid var(--line); border-radius: 8px; padding: 13px 16px; }
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-700); box-shadow: 0 0 0 3px rgba(46, 196, 182, 0.35); }
.field .hint { font-size: 14px; color: var(--ink-muted); margin-top: 6px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { border-radius: 8px; padding: 16px 20px; font-size: 16px; }
.notice--error { background: #FCEBEC; color: #7A1F2B; border: 1px solid #F2C4C9; }
.notice[hidden] { display: none; }
.next-steps { display: grid; gap: 24px; align-content: start; }
.next-steps > div { border-top: 2px solid var(--teal-400); padding-top: 16px; }
.next-steps p { color: var(--ink-muted); }
.callout-dark { background: var(--navy-900); color: var(--white); border-radius: 12px; padding: 20px 24px; }
.callout-dark p { color: var(--slate-300); font-size: 14px; line-height: 22px; margin-top: 4px; }
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 720px 1fr; gap: 64px; } }

/* legal tables */
.details { border: 1px solid var(--line); border-radius: 12px; margin: 0; }
.details div { display: grid; gap: 4px; padding: 16px 24px; }
.details div + div { border-top: 1px solid var(--line); }
@media (min-width: 720px) { .details div { grid-template-columns: 220px 1fr; gap: 24px; } }
.details dt { font-weight: 600; } .details dd { margin: 0; }
.facts { display: grid; gap: 16px; }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.facts div { background: var(--paper); border-radius: 10px; padding: 20px 24px; }
.facts strong { display: block; margin-top: 6px; }
.chips { display: grid; gap: 12px; }
.chips div { display: flex; align-items: center; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px; font-weight: 600; }
.chips svg { width: 24px; height: 24px; color: var(--teal-700); flex: none; }
.feature-tile { background: var(--paper); border-radius: 12px; padding: 28px 32px; }
.feature-tile::before { content: ""; display: block; width: 32px; height: 3px; background: var(--teal-400); margin-bottom: 16px; }
.feature-tile p { color: var(--ink-muted); margin-top: 10px; }
.band-note { display: flex; align-items: center; gap: 20px; }
.band-note img { width: 36px; height: 36px; flex: none; }

/* cta band and footer */
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-row p { margin-top: 8px; }
.site-footer { background: var(--navy-950); color: var(--white); padding: 56px 0 32px; }
@media (min-width: 1100px) { .site-footer { padding: 72px 0 40px; } }
.footer-cols { display: grid; gap: 32px; }
@media (min-width: 900px) { .footer-cols { grid-template-columns: 1.6fr 1.2fr 0.8fr 0.8fr; gap: 48px; } }
.footer-cols img { height: 44px; width: auto; }
.footer-cols p { color: var(--slate-300); font-size: 14px; line-height: 22px; margin-top: 20px; max-width: 320px; }
.footer-cols h2 { font-family: var(--mono); font-weight: 500; font-size: 13px; line-height: 20px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-400); margin-bottom: 12px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-cols a { color: var(--white); text-decoration: none; font-size: 14px; line-height: 22px; }
.footer-cols a:hover { color: var(--teal-400); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid var(--navy-700); margin-top: 48px; padding-top: 24px; color: var(--slate-300); font-size: 14px; line-height: 22px; }
.footer-legal a { color: var(--slate-300); }

/* utility classes (no inline styles: the CSP forbids them) */
.divider { border-top: 1px solid var(--line); }
.band-slim { padding: 48px 0; }
.maxw-640 { max-width: 640px; }
.section--dark .lead--white { color: var(--white); }
.section--slim { padding: 64px 0; }
.mt-32 { margin-top: 32px; }
