:root {
  --ink: #161a35;
  --body: #4c5269;
  --muted: #686e85;
  --brand: #5856d9;
  --brand-deep: #4543b7;
  --brand-tint: #f0efff;
  --paper: #ffffff;
  --soft: #f7f8fc;
  --line: #e4e7f0;
  --grid-line: rgba(76,82,105,.07);
  --highlight: #c7cfff;
  --accent-soft: #dfe5ff;
  --lilac: #e8e4ff;
  --sky: #dce7ff;
  --soft-blue: #f1f4ff;
  --error: #aa283c;
  --error-tint: #fff0f2;
  --night: #161b39;
  --night-card: #22294b;
  --night-line: #39415f;
  --night-body: #c6cbe0;
  --shadow: 0 16px 40px -12px rgba(22,26,53,.14), 0 5px 15px -8px rgba(22,26,53,.10);
  --shadow-large: 0 35px 70px -15px rgba(22,26,53,.18), 0 15px 35px -18px rgba(22,26,53,.16);
  --backdrop: rgba(22,26,53,.4);
  --glass: rgba(255,255,255,.9);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --radius: 10px;
  --max: 1120px;
}

/* Newsletter components share the site's existing colour and spacing tokens. */
.newsletter-card { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; padding: 48px; border-radius: 20px; color: var(--paper); background: var(--night); }
.newsletter-card h2 { color: var(--paper); font-size: clamp(32px, 4vw, 48px); }
.newsletter-card > div > p:not(.eyebrow):not(.newsletter-promise) { color: var(--night-body); max-width: 48ch; }
.newsletter-card .eyebrow, .newsletter-card .newsletter-promise { color: var(--highlight); }
.newsletter-invitation { padding: 28px; background: var(--night-card); border: 1px solid var(--night-line); border-radius: 14px; align-self: center; }
.newsletter-invitation .icon-tile { background: var(--night); color: var(--highlight); margin-bottom: 18px; }
.newsletter-invitation h3 { color: var(--paper); }
.newsletter-invitation .button { background: var(--highlight); color: var(--night); }
.newsletter-invitation .button:hover { background: var(--paper); }
.newsletter-invitation > .small { display: block; margin-top: 14px; color: var(--night-body); }
.newsletter-promise { color: var(--brand-deep); font-weight: 650; }
.newsletter-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 64px; padding-top: 15px; padding-bottom: 64px; }
.newsletter-benefits { padding-top: 28px; }
.newsletter-benefits ul { list-style: none; padding: 0; margin: 30px 0; display: grid; gap: 24px; }
.newsletter-benefits li { display: flex; gap: 16px; align-items: flex-start; color: var(--body); }
.newsletter-benefits li > .icon { flex-shrink: 0; color: var(--brand); margin-top: 3px; }
.newsletter-benefits strong { color: var(--ink); display: block; }
.newsletter-signup-card { padding: 32px; border: 1px solid var(--highlight); border-radius: 16px; background: var(--brand-tint); }
.newsletter-signup-card h2 { font-size: 28px; }
.newsletter-form > label:first-child { display: block; font-size: 14px; color: var(--ink); font-weight: 650; margin-bottom: 8px; }
.newsletter-form input[type="email"] { width: 100%; background: var(--paper); color: var(--ink); border: 1px solid var(--muted); border-radius: 6px; padding: 13px 14px; font-size: 16px; }
.newsletter-consent { display: flex; align-items: flex-start; gap: 12px; margin: 20px 0 14px; font-size: 14px; line-height: 1.6; color: var(--ink); cursor: pointer; }
.newsletter-consent input { flex-shrink: 0; width: 19px; height: 19px; margin: 3px 0 0; accent-color: var(--brand); }
.newsletter-form-help { margin-top: 14px; }
.newsletter-form a, .newsletter-signup-card > .small a, .newsletter-withdraw a { text-decoration: underline; text-underline-offset: 3px; }
.newsletter-status { font-size: 14px; margin: 16px 0; color: var(--brand-deep); }
.newsletter-status:empty { margin: 0; }
.newsletter-status.is-error { color: var(--error); }
.newsletter-form button:disabled { opacity: .6; cursor: wait; transform: none; }
.newsletter-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); pointer-events: none; }
.newsletter-withdraw { padding-bottom: 72px; }
.newsletter-withdraw details { max-width: 640px; border-top: 1px solid var(--line); padding-top: 24px; }
.newsletter-withdraw summary { color: var(--ink); font-weight: 650; margin-bottom: 18px; }
.newsletter-withdraw summary .icon { vertical-align: middle; margin-left: 8px; }
.footer-newsletter { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-bottom: 38px; margin-bottom: 38px; border-bottom: 1px solid var(--line); }
.footer-newsletter .eyebrow { font-size: 11px; margin-bottom: 8px; }
.footer-newsletter h2 { font-size: clamp(21px, 3vw, 28px); margin-bottom: 10px; }
.footer-newsletter p:last-child { margin-bottom: 0; font-size: 14px; }
.footer-newsletter .button { flex-shrink: 0; }
@media (max-width: 700px) {
  .newsletter-card { grid-template-columns: 1fr; gap: 24px; padding: 28px 24px; }
  .newsletter-layout { grid-template-columns: 1fr; gap: 24px; }
  .newsletter-signup-card { padding: 24px; }
  .footer-newsletter { flex-direction: column; align-items: flex-start; }
}

/* Barry shares the site's palette and renders from the same data as the charts. */
.barry-panel { padding: 30px; margin: 26px 0 32px; border: 1px solid var(--highlight); border-radius: 18px; background: linear-gradient(120deg, var(--brand-tint), var(--paper) 70%); box-shadow: var(--shadow); }
.barry-heading { display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; align-items: center; gap: 24px; margin-bottom: 24px; }
.barry-heading .eyebrow { margin-bottom: 8px; font-size: 12px; }
.barry-heading h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 10px; }
.barry-heading p { margin-bottom: 0; }
.barry-avatar { display: block; width: 160px; max-width: 100%; height: auto; object-fit: contain; }
.barry-badge { margin-left: auto; padding: 6px 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; color: var(--brand-deep); font-size: 12px; white-space: nowrap; }
#barry-form > label { display: block; font-size: 14px; font-weight: 650; color: var(--ink); margin-bottom: 9px; }
.barry-input-row { display: flex; align-items: stretch; gap: 12px; }
.barry-input-row textarea { flex: 1; min-width: 0; resize: vertical; font: inherit; line-height: 1.5; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); }
.barry-input-row .button { min-width: 135px; align-self: stretch; }
.barry-suggestions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0; }
.barry-example { text-align: left; font: inherit; font-size: 12px; padding: 7px 10px; color: var(--brand-deep); background: var(--paper); border: 1px solid var(--line); border-radius: 8px; }
.barry-example:hover { background: var(--brand-tint); border-color: var(--brand); }
.barry-panel button:disabled { opacity: .6; cursor: wait; transform: none; }
.barry-panel .small { line-height: 1.6; }
.barry-panel a { text-decoration: underline; text-underline-offset: 3px; }
.barry-status { margin-bottom: 0; }
.barry-conversation { display: grid; gap: 18px; max-height: 650px; overflow: auto; overflow-wrap: anywhere; }
.barry-conversation:not(:empty) { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.barry-user-question { color: var(--body); font-size: 14px; padding: 12px 16px; margin-bottom: 10px; background: var(--soft); border-radius: 10px; }
.barry-user-question strong { margin-right: 8px; }
.barry-answer { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.barry-answer p { margin-bottom: 12px; font-size: 15px; }
.barry-answer .eyebrow { font-size: 12px; margin-bottom: 8px; }
.barry-answer .barry-answer-title { font-size: 19px; color: var(--ink); font-weight: 650; }
.barry-answer .barry-answer-count { color: var(--brand-deep); font-size: 23px; font-weight: 650; }
.barry-answer .small { font-size: 12px; }
.barry-evidence { margin-top: 16px; font-size: 13px; }
.barry-evidence p { font-size: 13px; margin-top: 10px; }
.barry-clear { margin-top: 16px; background: transparent; }
.barry-comparison-bars { display: grid; gap: 24px; list-style: none; padding: 0; }
.barry-comparison-bars li { display: grid; grid-template-columns: 1fr auto; gap: 7px 16px; }
.barry-comparison-bars li > span { grid-column: 1; font-size: 13px; overflow-wrap: anywhere; }
.barry-comparison-bars b { grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--brand-deep); }
.barry-comparison-bars meter { grid-column: 1 / -1; width: 100%; height: 18px; accent-color: var(--brand); }
.barry-comparison-bars meter::-webkit-meter-bar { background: var(--brand-tint); border: 0; }
.barry-comparison-bars meter::-webkit-meter-optimum-value { background: var(--brand); }
.barry-comparison-bars meter::-moz-meter-bar { background: var(--brand); }
@media (max-width: 650px) {
  .barry-panel { padding: 20px; }
  .barry-heading { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
  .barry-avatar { width: 96px; }
  .barry-heading > div { min-width: 0; }
  .barry-badge { grid-column: 1 / -1; justify-self: start; margin-left: 0; }
  .barry-input-row { flex-direction: column; }
  .barry-answer { padding: 16px; }
  .barry-comparison-bars li { grid-template-columns: 1fr; }
  .barry-comparison-bars b { grid-column: 1; grid-row: auto; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--body); background: var(--paper); font: 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
body:has(dialog[open]) { overflow: hidden; }
button, input { font: inherit; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
button { color: inherit; }
a { color: var(--brand-deep); text-decoration: none; }
a:hover { color: var(--ink); }
button, a { touch-action: manipulation; }
button { border: 0; }
input { min-width: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 5px; border-radius: 3px; }
::selection { background: var(--lilac); color: var(--ink); }
[hidden] { display: none !important; }
.container { width: min(var(--max), calc(100% - 64px)); margin-inline: auto; }
.narrow { max-width: 760px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.16; margin: 0; letter-spacing: -.035em; }
h1 { font-size: clamp(42px, 5.3vw, 66px); font-weight: 650; }
h2 { font-size: clamp(30px, 3.2vw, 42px); font-weight: 650; }
h3 { font-size: 22px; font-weight: 650; }
p { margin: 0 0 22px; }
strong { font-weight: 650; color: var(--ink); }
.icon { width: 21px; height: 21px; flex-shrink: 0; vertical-align: middle; }
.eyebrow { color: var(--brand-deep); font-size: 15px; font-weight: 650; letter-spacing: .02em; margin-bottom: 23px; }
.lead { font-size: 20px; line-height: 1.65; max-width: 700px; margin-top: 25px; }
.small { font-size: 13px; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -80px; left: 20px; padding: 10px 20px; z-index: 50; background: var(--paper); color: var(--ink); }
.skip-link:focus { top: 12px; }
.button-group { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.button { display: inline-flex; gap: 12px; align-items: center; justify-content: center; padding: 10px 19px; min-height: 44px; border-radius: 6px; color: var(--paper); background: var(--brand); font-size: 15px; font-weight: 600; line-height: 1.4; transition: background .18s, transform .18s, box-shadow .18s; }
.button .icon, .text-link .icon { width: 17px; height: 17px; transition: transform .18s; }
.button:hover { background: var(--ink); color: var(--paper); box-shadow: var(--shadow); transform: translateY(-1px); }
.button:hover .icon, .text-link:hover .icon { transform: translateX(3px); }
.button.secondary { color: var(--ink); background: transparent; padding-inline: 0; box-shadow: none; }
.button.secondary:hover { color: var(--brand); }
.text-link { display: inline-flex; gap: 10px; align-items: center; color: var(--brand-deep); font-size: 15px; font-weight: 650; }
.site-header { position: relative; z-index: 10; height: 86px; border-bottom: 1px solid var(--grid-line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; height: 100%; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; min-height: 44px; color: var(--ink); line-height: 1; }
.brand-wordmark { display: block; width: 200px; height: auto; }
.primary-nav { display: flex; gap: 25px; align-items: center; }
.primary-nav a, .nav-dropdown > summary { font-size: 14px; color: var(--ink); font-weight: 550; white-space: nowrap; }
.primary-nav a:hover, .primary-nav a[aria-current] { color: var(--brand); }
.primary-nav > a, .nav-dropdown > summary { min-height: 44px; display: flex; align-items: center; }
.nav-dropdown { position: relative; }
.nav-dropdown > summary { gap: 7px; list-style: none; }
.nav-dropdown > summary::-webkit-details-marker { display: none; }
.nav-dropdown > summary .icon { width: 14px; height: 14px; transition: transform .18s; }
.nav-dropdown[open] > summary .icon { transform: rotate(180deg); }
.nav-dropdown > summary:hover, .nav-dropdown[open] > summary, .nav-dropdown.is-current > summary { color: var(--brand); }
.nav-submenu { position: absolute; top: calc(100% + 8px); left: -16px; width: 300px; margin: 0; padding: 8px; list-style: none; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.nav-dropdown:last-child .nav-submenu { left: auto; right: -16px; }
.nav-submenu a { display: flex; flex-direction: column; gap: 3px; padding: 12px; border-radius: 6px; white-space: normal; line-height: 1.4; }
.nav-submenu a > span { font-weight: 650; }
.nav-submenu a small { font-size: 12px; color: var(--muted); font-weight: 400; }
.nav-submenu a:hover, .nav-submenu a:focus-visible, .nav-submenu a[aria-current] { background: var(--brand-tint); }
.header-actions { display: flex; align-items: center; gap: 22px; }
.search-trigger { padding: 6px 0; display: flex; align-items: center; gap: 7px; background: transparent; font-size: 13px; color: var(--body); }
.search-trigger .icon { width: 17px; height: 17px; }
kbd { font: 11px var(--font); border: 1px solid var(--line); border-radius: 4px; padding: 2px 5px; background: var(--glass); }
.header-start { color: var(--ink); background: var(--glass); padding: 7px 12px; border-radius: 5px; font-size: 13px; font-weight: 650; white-space: nowrap; }
.header-start .icon { width: 16px; height: 16px; }
.menu-toggle { display: none; background: var(--soft); padding: 10px; border-radius: 6px; }
.hero { position: relative; padding: 62px 0 34px; isolation: isolate; overflow: clip; }
.hero-glow { position: absolute; z-index: -1; right: max(25px, calc((100vw - var(--max)) / 2 - 45px)); top: 36px; width: min(53%, 660px); height: 470px; border-radius: 48px 120px 48px 48px; background: radial-gradient(ellipse at 90% 10%, var(--lilac), transparent 48%), radial-gradient(ellipse at 5% 95%, var(--accent-soft), transparent 55%), linear-gradient(125deg, var(--soft-blue), var(--highlight)); }
.hero-glow::after { content: ''; position: absolute; inset: 28px; border: 1px solid var(--glass); border-radius: inherit; }
.hero-grid { display: grid; grid-template-columns: 1.04fr 1fr; gap: 52px; align-items: center; }
.hero-copy { z-index: 2; padding-bottom: 16px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--brand-deep); background: var(--brand-tint); border: 1px solid var(--line); padding: 5px 12px; border-radius: 20px; font-size: 12px; font-weight: 650; margin-bottom: 27px; }
.hero-eyebrow .icon { width: 16px; height: 16px; }
.hero-topics { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 38px; padding-top: 23px; border-top: 1px solid var(--line); }
.hero-topics a { display: flex; align-items: center; gap: 9px; color: var(--body); font-size: 13px; }
.hero-topics .icon { width: 15px; height: 15px; color: var(--brand); }
.hero h1 { font-size: clamp(58px, 6.5vw, 82px); line-height: 1.035; letter-spacing: -.055em; font-weight: 690; }
.hero h1 span { color: var(--brand-deep); }
.hero-description { font-size: 19px; line-height: 1.6; max-width: 460px; margin: 29px 0 28px; }
.hero-note { font-size: 12px; color: var(--muted); margin-top: 20px; margin-bottom: 0; }
.inbox-demo { position: relative; margin: 0; padding: 28px 0 0; min-width: 0; }
.inbox-window { position: relative; z-index: 1; background: var(--paper); box-shadow: var(--shadow-large); border: 1px solid var(--line); border-radius: 13px; transform: rotate(-1.5deg); overflow: hidden; }
.inbox-toolbar { padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); font-size: 11px; color: var(--muted); background: var(--soft); }
.inbox-toolbar > .icon { width: 15px; height: 15px; }
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--lilac); }
.window-dots i:nth-child(2) { background: var(--accent-soft); }
.window-dots i:nth-child(3) { background: var(--sky); }
.inbox-heading { display: flex; justify-content: space-between; align-items: center; padding: 22px 22px 20px; }
.inbox-greeting { display: block; font-size: 10px; color: var(--muted); margin-bottom: 3px; }
.inbox-heading strong { font-size: 16px; letter-spacing: -.02em; }
.inbox-count { font-size: 9px; color: var(--brand-deep); background: var(--brand-tint); padding: 3px 7px; border-radius: 10px; }
.mail-row { display: flex; gap: 13px; align-items: center; margin: 0 12px; padding: 17px 10px; border-bottom: 1px solid var(--line); }
.mail-row.featured { background: var(--soft-blue); border-radius: 6px; border: 1px solid var(--line); }
.sender-avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }
.northstar { color: var(--paper); background: var(--brand); font-size: 35px; }
.bloom { color: var(--brand-deep); background: var(--brand-tint); font-size: 28px; font-family: Georgia, serif; font-weight: bold; }
.atlas { color: var(--paper); background: var(--ink); font-size: 30px; font-family: Georgia, serif; font-style: italic; }
.initial { display: none; font: 500 20px var(--font); }
.mail-copy { flex: 1; min-width: 0; font-size: 11px; }
.sender-line { display: flex; gap: 5px; align-items: center; font-size: 12px; font-weight: 650; color: var(--ink); margin-bottom: 2px; }
.sender-line time { margin-left: auto; font-size: 9px; font-weight: 450; color: var(--muted); }
.demo-check { display: flex; align-items: center; justify-content: center; color: var(--paper); background: var(--brand); border-radius: 50%; width: 12px; height: 12px; }
.demo-check .icon { width: 9px; height: 9px; stroke-width: 3; }
.mail-copy strong { font-size: 11px; }
.mail-copy p { font-size: 10px; margin: 3px 0 0; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inbox-bottom { padding: 13px 21px; display: flex; gap: 7px; align-items: center; font-size: 9px; color: var(--muted); }
.inbox-bottom .icon { width: 13px; height: 13px; color: var(--brand-deep); }
.authentication-card { position: absolute; z-index: 3; bottom: 125px; left: -35px; display: flex; gap: 12px; align-items: center; padding: 15px 19px; background: var(--paper); border: 1px solid var(--line); border-radius: 9px; box-shadow: var(--shadow); transform: rotate(-3deg); }
.authentication-symbol { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 8px; color: var(--brand-deep); background: var(--brand-tint); }
.authentication-card strong { display: block; font-size: 12px; }
.authentication-card div > span { display: block; font: 10px/1.9 var(--mono); color: var(--muted); }
.tiny-check { color: var(--brand-deep); margin-left: 4px; }
.tiny-check .icon { width: 16px; height: 16px; }
.logo-float { position: absolute; top: -20px; right: 26px; width: 88px; height: 88px; display: grid; place-items: center; background: var(--paper); border-radius: 20px; box-shadow: var(--shadow); z-index: 3; transform: rotate(9deg); }
.logo-float > span { color: var(--brand); font-size: 67px; line-height: 1; }
.logo-float i { position: absolute; bottom: -5px; right: -4px; width: 25px; height: 25px; display: grid; place-items: center; border: 3px solid var(--paper); border-radius: 50%; background: var(--brand-deep); color: var(--paper); }
.logo-float .icon { width: 13px; height: 13px; stroke-width: 3; }
.inbox-demo figcaption { display: flex; flex-direction: column; align-items: center; gap: 10px; position: relative; margin-top: 45px; font-size: 10px; color: var(--muted); text-align: center; }
.inbox-demo .demo-tip { max-width: 330px; margin: 0; font-size: 11px; line-height: 1.5; }
.demo-switch { display: inline-flex; border: 1px solid var(--line); background: var(--soft); border-radius: 30px; padding: 3px; }
.demo-switch button { border-radius: 20px; background: transparent; padding: 6px 15px; font-size: 11px; color: var(--muted); }
.demo-switch button[aria-pressed="true"] { color: var(--ink); background: var(--paper); box-shadow: 0 2px 5px var(--line); font-weight: 600; }
.without-bimi .brand-art, .without-bimi .demo-check { display: none; }
.without-bimi .initial { display: block; }
.without-bimi .sender-avatar { background: var(--line); color: var(--muted); }
.foundation-strip { border-block: 1px solid var(--line); background: var(--paper); }
.foundation-inner { display: grid; grid-template-columns: 240px minmax(0, 1fr); align-items: center; gap: 28px; padding-block: 28px; }
.foundation-intro { display: flex; align-items: center; gap: 14px; padding-right: 26px; border-right: 1px solid var(--line); margin: 0; line-height: 1.5; }
.foundation-intro strong { display: block; color: var(--ink); font-size: 16px; font-weight: 650; }
.foundation-intro > span > span { display: block; color: var(--muted); font-size: 12px; }
.foundation-mark { display: grid; place-items: center; flex-shrink: 0; width: 46px; height: 46px; border: 1px solid var(--highlight); border-radius: 13px; background: var(--brand-tint); color: var(--brand-deep); }
.foundation-mark .icon { width: 25px; height: 25px; }
.foundation-equation { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }
.foundation-step { display: flex; gap: 9px; align-items: center; min-height: 48px; border-radius: 9px; color: var(--body); font-size: 15px; font-weight: 600; white-space: nowrap; }
.foundation-icon { display: grid; place-items: center; flex-shrink: 0; width: 34px; height: 38px; color: var(--brand-deep); }
.foundation-icon .icon { width: 21px; height: 21px; }
.foundation-step:hover { color: var(--brand-deep); background: var(--soft); }
.foundation-operator { color: var(--muted); font-size: 16px; font-weight: 400; }
.foundation-result { padding-inline: 12px 16px; color: var(--brand-deep); background: var(--brand-tint); border: 1px solid var(--highlight); }
.foundation-result:hover { background: var(--accent-soft); }
.section { padding-block: 100px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.intro-copy { font-size: 18px; padding-top: 40px; }
.intro-copy p { margin-bottom: 20px; }
.learning-section { background: var(--soft); padding-bottom: 100px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 25px; margin-bottom: 45px; }
.section-heading > .text-link { flex-shrink: 0; padding-bottom: 6px; }
.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.path-card { background: var(--paper); border-radius: var(--radius); overflow: hidden; padding: 0 27px 28px; box-shadow: var(--shadow); transition: transform .2s; color: var(--body); display: flex; flex-direction: column; }
.path-card:hover { transform: translateY(-5px); }
.path-art { position: relative; height: 170px; margin: 0 -27px 25px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.path-basics .path-art { background: linear-gradient(135deg, var(--soft-blue), var(--lilac)); }
.path-build .path-art { background: linear-gradient(135deg, var(--soft-blue), var(--accent-soft)); }
.path-solve .path-art { background: linear-gradient(135deg, var(--brand-tint), var(--sky)); }
.art-mail { z-index: 1; color: var(--brand); display: grid; place-items: center; width: 105px; height: 81px; background: var(--paper); border-radius: 13px; box-shadow: var(--shadow); transform: rotate(-9deg); }
.art-mail .icon { width: 57px; height: 57px; stroke-width: 1; }
.art-badge { z-index: 2; position: absolute; left: 57%; top: 56%; color: var(--paper); background: var(--brand); display: grid; place-items: center; width: 37px; height: 37px; border: 3px solid var(--paper); border-radius: 50%; }
.art-orbit { position: absolute; width: 200px; height: 200px; border: 1px solid var(--paper); border-radius: 50%; }
.art-code { font: 12px/2 var(--mono); background: var(--night); color: var(--accent-soft); padding: 15px 22px; border-radius: 8px; transform: rotate(-5deg); box-shadow: var(--shadow); }
.art-code span { display: block; }
.art-code b { color: var(--highlight); font-weight: normal; }
.art-code i { color: var(--paper); font-style: normal; }
.art-checks { background: var(--paper); border-radius: 8px; box-shadow: var(--shadow); padding: 12px 20px; font-size: 11px; transform: rotate(4deg); }
.art-checks span { display: flex; align-items: center; gap: 9px; padding: 5px; color: var(--ink); }
.art-checks .icon { width: 16px; height: 16px; color: var(--brand); }
.path-label { font: 10px/1.5 var(--mono); color: var(--brand-deep); letter-spacing: .06em; margin-bottom: 14px; }
.path-card h3 { font-size: 24px; margin-bottom: 15px; }
.path-card p { font-size: 15px; }
.path-card .text-link { margin-top: auto; }
.mechanics-section { background: var(--night); color: var(--night-body); padding: 90px 0 70px; }
.mechanics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.mechanics-section .eyebrow { color: var(--highlight); }
.mechanics-section h2, .mechanics-section h3 { color: var(--paper); }
.mechanics-section h2 { margin-bottom: 25px; }
.mechanics-section p { font-size: 17px; max-width: 440px; }
.mechanics-section .button { color: var(--ink); background: var(--highlight); }
.flow-list { list-style: none; padding: 0; margin: 0; }
.flow-list li { display: flex; gap: 18px; align-items: center; padding: 21px 0; border-bottom: 1px solid var(--night-line); }
.flow-list li > .icon { margin-left: auto; color: var(--highlight); width: 25px; height: 25px; }
.flow-list h3 { font-size: 18px; letter-spacing: -.015em; margin-bottom: 6px; }
.flow-list p { font-size: 13px; margin: 0; }
.step-number { font: 12px var(--mono); color: var(--highlight); border: 1px solid var(--night-line); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }
.mechanics-note { border-top: 1px solid var(--night-line); display: flex; gap: 9px; align-items: center; margin-top: 50px; padding-top: 23px; font-size: 12px; }
.mechanics-note .icon { width: 16px; height: 16px; color: var(--highlight); }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 23px; }
.guide-grid.four { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.guide-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 25px; display: flex; flex-direction: column; color: var(--body); background: var(--paper); transition: box-shadow .2s, transform .2s; }
.guide-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 24px; }
.card-category { font-size: 10px; color: var(--muted); }
.icon-tile { display: inline-grid; place-items: center; width: 43px; height: 43px; border-radius: 10px; background: var(--brand-tint); color: var(--brand); flex-shrink: 0; }
.guide-card h3 { font-size: 21px; line-height: 1.28; margin-bottom: 15px; }
.guide-card p { font-size: 14px; line-height: 1.6; }
.guide-card .text-link { font-size: 13px; margin-top: auto; }
.four .guide-card { padding: 22px; }
.four .card-category { max-width: 85px; text-align: right; }
.four .guide-card h3 { font-size: 20px; }
.tools-feature { background: var(--soft); }
.tools-feature h2 { margin-bottom: 24px; }
.tools-feature .split { align-items: center; }
.tool-preview { padding: 26px; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); }
.tool-preview-label { font: 10px var(--mono); color: var(--muted); letter-spacing: .08em; }
.tool-preview > a { display: flex; align-items: center; gap: 15px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.tool-preview > a:last-child { border-bottom: 0; padding-bottom: 6px; }
.tool-preview > a > .icon { margin-left: auto; width: 17px; height: 17px; }
.tool-preview strong { font-size: 15px; display: block; }
.tool-preview small { color: var(--muted); font-size: 12px; display: block; margin-top: 3px; }
.home-faq h2 { margin-bottom: 27px; }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { display: flex; justify-content: space-between; gap: 20px; list-style: none; padding: 21px 0; color: var(--ink); font-size: 16px; font-weight: 600; line-height: 1.5; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .icon { width: 16px; height: 16px; margin-top: 5px; transform: rotate(90deg); }
.accordion details[open] summary .icon { transform: rotate(-90deg); }
.accordion details > p, .faq-answer { font-size: 15px; padding-right: 25px; }
.closing-cta { background: linear-gradient(120deg, var(--brand-tint), var(--soft) 70%); padding-block: 65px; border-top: 1px solid var(--line); }
.cta-inner { display: flex; justify-content: space-between; gap: 30px; align-items: center; }
.cta-inner h2 { font-size: 32px; }
.cta-inner .eyebrow { font-size: 13px; margin-bottom: 15px; }
.cta-inner p:last-child { margin: 15px 0 0; font-size: 15px; }
.cta-inner .button-group { flex-direction: column; align-items: flex-start; gap: 10px; }
.site-footer { padding: 65px 0 25px; background: var(--soft); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 35px; }
.footer-grid p { font-size: 14px; margin: 20px 0; }
.footer-grid nav { display: flex; flex-direction: column; gap: 9px; }
.footer-grid h2 { font-size: 13px; letter-spacing: 0; margin-bottom: 8px; }
.footer-grid nav a { color: var(--body); font-size: 13px; }
.footer-grid nav a:hover { color: var(--brand); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; font-size: 11px; margin-top: 55px; border-top: 1px solid var(--line); padding-top: 22px; color: var(--muted); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-legal a, .footer-legal button { text-decoration: underline; text-underline-offset: 3px; }
.footer-legal button { padding: 0; background: none; color: var(--brand-deep); font: inherit; }
.cookie-banner { position: fixed; inset: auto 20px 20px auto; z-index: 40; width: min(550px, calc(100% - 40px)); max-height: calc(100dvh - 40px); overflow: auto; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow-large); }
.cookie-banner h2 { font-size: 21px; margin-bottom: 12px; }
.cookie-banner p { font-size: 14px; line-height: 1.6; margin-bottom: 16px; }
.cookie-banner a { text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cookie-actions .button { flex: 1 1 180px; }
.cookie-close { background: var(--soft); border-radius: 6px; min-height: 44px; padding: 10px 19px; }
.privacy-settings { margin-bottom: 22px; }
@media print { .cookie-banner { display: none !important; } }
.inner-page .site-header { background: var(--paper); }
.inner-page .header-start { background: var(--brand); color: var(--paper); }
.page-intro { padding: 65px 0 55px; position: relative; background: linear-gradient(115deg, var(--soft), var(--paper) 60%, var(--brand-tint)); border-bottom: 1px solid var(--line); }
.page-intro .lead { max-width: 680px; margin-bottom: 0; }
.library-section { padding-block: 45px 80px; }
.editorial-tabs { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.editorial-tabs a { padding: 10px 18px; border-radius: 7px; color: var(--body); background: var(--soft); font-size: 14px; }
.editorial-tabs a[aria-current="page"] { background: var(--brand); color: var(--paper); }
.editorial-tabs span { margin-left: 7px; font-size: 12px; }
.editorial-grid { margin-top: 20px; }
.editorial-grid .guide-card { min-width: 0; }
.editorial-next-step { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); margin-block: 40px; background: var(--soft); }
.editorial-spotlight { background: var(--soft); }
.editorial-question-link { margin-top: 30px; }
.learning-start { display: flex; gap: 19px; align-items: center; padding: 23px 28px; background: var(--brand-tint); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 40px; }
.learning-start .icon-tile { background: var(--paper); }
.learning-start strong, .learning-start small { display: block; }
.learning-start small { color: var(--body); margin-top: 4px; }
.learning-start > .icon { margin-left: auto; }
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; padding-bottom: 25px; }
.filter-button { background: var(--paper); border: 1px solid var(--line); color: var(--body); padding: 9px 16px; border-radius: 30px; font-size: 13px; }
.filter-button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filter-button span { font-size: 10px; margin-left: 6px; }
.library-bottom { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 25px; margin-top: 40px; font-size: 14px; }
.library-bottom span { display: flex; align-items: center; gap: 10px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 40px; font-size: 12px; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }
.article-header { padding-bottom: 38px; border-bottom: 1px solid var(--line); }
.article-header h1 { max-width: 850px; }
.article-header .lead { max-width: 740px; font-size: 21px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 24px; font-size: 12px; color: var(--muted); }
.article-meta span { display: flex; align-items: center; gap: 7px; }
.article-meta .icon { width: 15px; height: 15px; }
.article-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 75px; padding: 45px 0 65px; }
.article-sidebar { align-self: start; position: sticky; top: 28px; }
.article-sidebar nav { display: flex; flex-direction: column; gap: 13px; border-left: 1px solid var(--line); padding-left: 20px; }
.toc-title { color: var(--ink); font-size: 10px; letter-spacing: .06em; font-weight: 650; margin-bottom: 7px; }
.article-sidebar nav a { font-size: 13px; line-height: 1.5; color: var(--muted); }
.article-sidebar nav a:hover { color: var(--brand); }
.sidebar-help { display: block; margin-top: 30px; padding: 18px; background: var(--soft); border-radius: 7px; font-size: 12px; color: var(--muted); }
.sidebar-help strong { font-size: 12px; color: var(--brand); }
.sidebar-help .icon { width: 13px; height: 13px; }
.article-body { min-width: 0; max-width: 760px; font-size: 17px; line-height: 1.8; }
.article-body p { margin-bottom: 21px; }
.article-body a:not(.button) { text-decoration: underline; text-underline-offset: 3px; }
.at-a-glance { background: var(--brand-tint); padding: 28px 32px; border-left: 3px solid var(--brand); border-radius: 0 8px 8px 0; margin-bottom: 50px; }
.at-a-glance .eyebrow { display: block; margin-bottom: 12px; font-size: 13px; }
.at-a-glance > p { color: var(--ink); line-height: 1.7; }
.at-a-glance ul { padding: 0; list-style: none; margin: 18px 0 0; }
.at-a-glance li { display: flex; gap: 10px; font-size: 14px; margin-bottom: 9px; }
.at-a-glance li .icon { width: 16px; height: 16px; color: var(--brand); margin-top: 5px; }
.article-section { margin-bottom: 48px; scroll-margin-top: 30px; }
.article-body h2 { font-size: 28px; margin: 0 0 22px; letter-spacing: -.025em; }
.article-body ul, .article-body ol { padding-left: 23px; }
.article-body li { margin-bottom: 12px; padding-left: 4px; }
.article-body code { background: var(--soft); color: var(--brand-deep); padding: 2px 5px; border-radius: 4px; font: .85em var(--mono); overflow-wrap: anywhere; }
pre { background: var(--night); color: var(--accent-soft); border-radius: 8px; padding: 25px; font: 13px/1.8 var(--mono); overflow-x: auto; white-space: pre-wrap; overflow-wrap: anywhere; }
.article-body pre code { background: transparent; color: inherit; padding: 0; font-size: 13px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; margin: 25px 0; }
table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.6; min-width: 440px; }
caption { text-align: left; padding: 15px 18px; background: var(--soft); font-size: 12px; color: var(--muted); }
th, td { text-align: left; padding: 16px 18px; border-top: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--soft); color: var(--ink); font-weight: 600; }
tbody th { color: var(--ink); font-weight: 600; }
.article-sources { margin-top: 50px; padding: 25px 28px; background: var(--soft); border-radius: 8px; font-size: 14px; }
.article-sources h2 { font-size: 21px; }
.article-sources ul { margin-bottom: 0; }
.article-next { margin-top: 30px; padding: 20px 0; border-block: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 15px; font-size: 14px; }
.get-bimi-page .breadcrumbs { margin-block: 20px 24px; }
.get-bimi-page .article-header { padding-bottom: 24px; }
.get-bimi-page .article-header .eyebrow { margin-bottom: 12px; }
.get-bimi-page .article-header h1 { font-size: 52px; }
.get-bimi-page .article-header .lead { margin: 18px 0 0; font-size: 18px; max-width: 880px; }
.get-bimi-page .article-meta { display: none; }
.get-bimi-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.get-bimi-option { display: flex; flex-direction: column; align-items: flex-start; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.get-bimi-option .eyebrow { margin-bottom: 16px; }
.get-bimi-option h2 { font-size: 28px; margin-bottom: 18px; }
.get-bimi-option > p:not(.eyebrow) { font-size: 16px; margin-bottom: 24px; }
.get-bimi-option .button { margin-top: auto; }
.get-bimi-cost-note { grid-column: 1 / -1; font-size: 13px; color: var(--muted); margin: 0; max-width: 900px; }
.get-bimi-cost-note a { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 3px; }
.related-section { border-top: 1px solid var(--line); padding: 50px 0 80px; }
.related-section h2 { font-size: 32px; margin-bottom: 28px; }
.checklist-item { display: flex; gap: 13px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); cursor: pointer; font-size: 15px; }
.checklist-item input { width: 18px; height: 18px; flex-shrink: 0; margin-top: 5px; accent-color: var(--brand); }
.checklist-item:has(input:checked) { color: var(--muted); }
.checklist-progress { font-size: 13px; font-weight: 600; }
progress { display: block; width: 100%; height: 8px; accent-color: var(--brand); margin-bottom: 15px; }
[data-print] { margin-top: 20px; }
.reference-section { padding-block: 45px 80px; }
.search-field { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); background: var(--paper); border-radius: 8px; padding: 12px 18px; }
.search-field input { width: 100%; border: 0; outline: none; background: transparent; color: var(--ink); font-size: 16px; }
.search-field:focus-within { outline: 2px solid var(--brand); outline-offset: 2px; }
.glossary-search { max-width: 650px; margin-bottom: 18px; }
.glossary-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 55px; }
.glossary-entry { border-top: 1px solid var(--line); padding: 30px 0; }
.glossary-entry h2 { font-size: 23px; margin-bottom: 14px; }
.glossary-entry p { font-size: 15px; margin-bottom: 14px; }
.faq-layout { display: grid; grid-template-columns: 210px minmax(0,1fr); gap: 80px; padding-block: 55px 85px; }
.faq-nav { position: sticky; top: 30px; align-self: start; display: flex; flex-direction: column; gap: 15px; }
.faq-nav a { color: var(--body); font-size: 14px; }
.faq-group { margin-bottom: 50px; }
.faq-group h2 { font-size: 28px; margin-bottom: 25px; }
.faq-answer { padding-bottom: 24px; }
.resource-notice { display: flex; gap: 20px; padding: 25px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; margin-bottom: 30px; }
.resource-notice p { margin: 0; }
.resource-notice > .icon { color: var(--brand); margin-top: 3px; }
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 35px; }
.resource-card { display: flex; flex-direction: column; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); }
.resource-card:hover { box-shadow: var(--shadow); }
.resource-domain { font-size: 11px; color: var(--muted); margin-bottom: 20px; }
.resource-card h2 { font-size: 21px; margin-bottom: 20px; line-height: 1.4; }
.resource-card .text-link { margin-top: auto; font-size: 13px; }
.ca-introduction { display: flex; gap: 24px; padding-block: 45px; border-bottom: 1px solid var(--line); }
.ca-introduction > div { max-width: 880px; }
.ca-introduction h2 { font-size: 27px; margin-bottom: 18px; }
.ca-introduction p { font-size: 16px; margin-bottom: 15px; }
.ca-introduction p:last-child { margin-bottom: 0; }
.ca-introduction p a { text-decoration: underline; text-underline-offset: 3px; }
.ca-introduction p .icon { width: 15px; height: 15px; }
.ca-directory { padding-block: 45px 80px; }
.ca-directory .section-heading { margin-bottom: 22px; }
.ca-directory .section-heading .eyebrow { margin-bottom: 14px; }
.ca-reviewed { font-size: 12px; color: var(--muted); margin: 0; }
.ca-pricing-context { max-width: 870px; font-size: 15px; margin-bottom: 30px; }
.ca-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.ca-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 27px; background: var(--paper); box-shadow: var(--shadow); }
.ca-card-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 22px; }
.ca-card-heading h3 { font-size: 26px; }
.ca-description { font-size: 14px; margin-bottom: 22px; min-height: 70px; }
.ca-prices { margin: 0; border-top: 1px solid var(--line); }
.ca-price { padding: 21px 0; border-bottom: 1px solid var(--line); }
.ca-price dt { color: var(--brand-deep); font-size: 12px; font-weight: 650; margin-bottom: 8px; }
.ca-price abbr { text-decoration: none; }
.ca-price dd { margin: 0; }
.ca-amount { display: block; color: var(--ink); font-size: 32px; line-height: 1.25; font-weight: 650; letter-spacing: -.035em; }
.ca-amount small { font-size: 14px; font-weight: 450; letter-spacing: 0; }
.ca-amount > span { color: var(--muted); font-size: 13px; font-weight: 400; letter-spacing: 0; }
.ca-term { display: block; font-size: 12px; color: var(--muted); margin-top: 8px; }
.ca-price .text-link { margin-top: 15px; font-size: 12px; }
.ca-price-note { color: var(--muted); font-size: 12px; line-height: 1.7; margin: 23px 0; }
.ca-card > .button { margin-top: auto; justify-content: flex-start; }
.ca-sources-note { margin-top: 25px; }
.ca-buying { display: grid; grid-template-columns: 1.3fr 1fr; gap: 75px; padding-top: 55px; margin-top: 45px; border-top: 1px solid var(--line); }
.ca-buying h2 { font-size: 31px; }
.ca-buying ul { padding-left: 21px; margin-block: 25px; }
.ca-buying li { font-size: 15px; padding-left: 4px; margin-bottom: 17px; }
.ca-next { align-self: start; border: 1px solid var(--line); background: var(--brand-tint); border-radius: var(--radius); padding: 30px; }
.ca-next h3 { font-size: 23px; margin-block: 22px 17px; }
.ca-next > p { font-size: 15px; }
.ca-next > .small { font-size: 12px; margin: 20px 0 0; }
.about-body { padding-block: 60px 90px; }
.about-body h2:not(:first-child) { margin-top: 40px; }
.tools-content { padding-block: 30px 80px; }
.tool-jumps { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.tool-jumps a { font-size: 14px; display: flex; gap: 12px; align-items: center; }
.tool-jumps .icon { width: 16px; height: 16px; }
.tool-section { padding-top: 60px; padding-bottom: 60px; border-bottom: 1px solid var(--line); }
.tool-section-heading { display: flex; align-items: start; gap: 20px; margin-bottom: 30px; }
.tool-section-heading .eyebrow { font-size: 12px; margin: 0 0 12px; }
.tool-section-heading h2 { font-size: 34px; margin-bottom: 15px; }
.tool-section-heading p:last-child { margin-bottom: 0; }
.free-tools-reviewed { margin-top: 22px; }
.free-tool-section .tool-section-heading { max-width: 850px; }
.free-tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.free-tool-grid-single { grid-template-columns: minmax(0, 600px); }
.free-tool-card { display: flex; flex-direction: column; align-items: flex-start; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.free-tool-badge { font-size: 11px; font-weight: 650; color: var(--brand-deep); background: var(--brand-tint); border-radius: 5px; padding: 5px 9px; margin-bottom: 22px; }
.free-tool-card h3 { font-size: 24px; margin-bottom: 6px; }
.free-tool-card .free-tool-provider { font-size: 13px; color: var(--brand-deep); margin-bottom: 20px; }
.free-tool-card > p, .free-tool-card dd { font-size: 14px; line-height: 1.7; }
.free-tool-card > p:not(.free-tool-provider) { min-height: 120px; margin-bottom: 0; }
.free-tool-card dl { padding-top: 20px; margin: 20px 0 24px; border-top: 1px solid var(--line); }
.free-tool-card dt { font-size: 12px; font-weight: 650; color: var(--ink); margin-bottom: 6px; }
.free-tool-card dd { margin: 0 0 18px; }
.free-tool-card dd:last-child { margin-bottom: 0; }
.free-tool-card > .text-link { margin-top: auto; font-size: 14px; }
.free-tool-source { font-size: 12px; margin-top: 16px; text-decoration: underline; text-underline-offset: 3px; }
.free-tool-grid-single .free-tool-card > p { min-height: 0; }
.free-tool-note { margin: 24px 0 0; max-width: 850px; font-size: 13px; }
.free-tool-note a, .free-tool-helpers a { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 3px; }
.free-tool-helpers { padding: 40px 0 0; max-width: 850px; }
.free-tool-helpers .eyebrow { margin-bottom: 14px; }
.free-tool-helpers h2 { font-size: 28px; margin-bottom: 18px; }
.free-tool-helpers > p:last-child { margin-bottom: 0; font-size: 16px; }
.requirements-content { padding-block: 45px 80px; }
.requirements-overview h2 { font-size: 34px; margin-bottom: 16px; }
.requirements-overview > p:not(.eyebrow) { max-width: 800px; }
.requirements-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.requirements-grid > a { display: flex; align-items: center; gap: 16px; border: 1px solid var(--line); padding: 19px 22px; border-radius: var(--radius); }
.requirements-grid > a:hover { background: var(--soft); border-color: var(--brand); }
.requirements-grid > a > span:nth-child(2) { flex: 1; }
.requirements-grid small { display: block; font-size: 11px; color: var(--muted); margin-bottom: 4px; }
.requirements-grid strong { font-size: 16px; }
.requirements-grid > a > .icon { width: 16px; color: var(--brand); }
.requirements-note { font-size: 14px; margin: 24px 0 0; }
.requirements-reviewed { border-block: 1px solid var(--line); padding-block: 20px; margin: 32px 0 0; }
.requirement-section { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 64px; padding-block: 60px; border-bottom: 1px solid var(--line); }
.requirement-copy h2 { font-size: 32px; margin-bottom: 20px; }
.requirement-copy .eyebrow { font-size: 12px; margin-bottom: 15px; }
.requirement-summary { font-size: 19px; line-height: 1.65; color: var(--ink); }
.requirement-detail { font-size: 16px; line-height: 1.8; }
.requirement-detail ul { padding-left: 22px; }
.requirement-detail li { margin-bottom: 12px; }
.requirement-detail code { font: .85em var(--mono); background: var(--soft); color: var(--brand-deep); padding: 2px 4px; border-radius: 3px; overflow-wrap: anywhere; }
.requirement-ready { font-size: 14px; background: var(--brand-tint); border-left: 3px solid var(--brand); padding: 17px 20px; margin: 24px 0; }
.requirement-sources { margin-top: 24px; font-size: 12px; }
.requirement-sources summary { cursor: pointer; color: var(--muted); }
.requirement-sources nav { display: flex; flex-direction: column; gap: 9px; margin-top: 12px; }
.requirement-sources a { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 3px; }
.requirement-tools { align-self: start; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.requirement-tools .free-tool-badge { display: inline-block; margin-bottom: 14px; }
.requirement-tools h3 { font-size: 22px; margin-bottom: 20px; }
.requirement-tools ul { list-style: none; padding: 0; margin: 0; }
.requirement-tools li { border-bottom: 1px solid var(--line); margin-bottom: 18px; padding-bottom: 18px; }
.requirement-tools li > a { display: inline-flex; gap: 9px; align-items: center; color: var(--brand-deep); font-size: 14px; font-weight: 650; }
.requirement-tools li .icon { width: 15px; }
.requirement-tools li > span { display: block; font-size: 11px; margin-top: 4px; }
.requirement-tools li > p { font-size: 13px; line-height: 1.7; margin: 9px 0 0; }
.requirement-tool-note { font-size: 12px; margin: 0; }
.requirement-tools > .text-link { margin-top: 18px; font-size: 13px; }
.requirements-next { padding-top: 50px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 850px; }
.requirements-next h2 { font-size: 34px; margin-bottom: 20px; }
#readiness-form { max-width: 800px; }
.readiness-question { padding: 20px 0 25px; margin: 0 0 18px; border: 0; border-bottom: 1px solid var(--line); }
.readiness-question legend { color: var(--ink); font-size: 17px; font-weight: 600; }
.readiness-question legend span { font: 11px var(--mono); color: var(--brand); margin-right: 8px; }
.readiness-question p { font-size: 14px; margin-bottom: 14px; }
.radio-options { display: flex; flex-wrap: wrap; gap: 12px; }
.radio-options label { border: 1px solid var(--line); border-radius: 6px; padding: 9px 16px; display: flex; align-items: center; gap: 7px; font-size: 13px; cursor: pointer; }
.radio-options label:has(input:checked) { background: var(--brand-tint); border-color: var(--brand); color: var(--brand-deep); }
.radio-options input { accent-color: var(--brand); }
.tool-disclaimer { color: var(--muted); font-size: 12px; margin: 17px 0 0; }
.tool-result { margin-top: 30px; background: var(--brand-tint); padding: 28px; border: 1px solid var(--accent-soft); border-radius: var(--radius); }
.tool-result h3 { margin-bottom: 15px; }
.tool-result p { font-size: 15px; }
.tool-result li { margin-bottom: 10px; }
.builder-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; align-items: start; }
#record-form label { display: flex; justify-content: space-between; gap: 10px; color: var(--ink); font-size: 14px; font-weight: 600; margin-bottom: 8px; }
#record-form label span { color: var(--muted); font-size: 11px; font-weight: 400; }
#record-form input { display: block; padding: 12px; width: 100%; border: 1px solid var(--line); border-radius: 6px; font-size: 14px; background: var(--paper); color: var(--ink); }
#record-form small { display: block; margin: 8px 0 22px; font-size: 12px; line-height: 1.6; color: var(--muted); }
.record-preview { background: var(--night); color: var(--night-body); border-radius: var(--radius); padding: 30px; min-height: 355px; }
.code-label { font: 10px var(--mono); letter-spacing: .09em; color: var(--highlight); }
#record-placeholder { font-size: 16px; margin-top: 35px; }
.record-preview dl { margin: 25px 0 20px; font-size: 13px; }
.record-preview dt { color: var(--night-body); font-size: 10px; margin: 17px 0 5px; letter-spacing: .05em; }
.record-preview dd { margin: 0; color: var(--accent-soft); font-family: var(--mono); overflow-wrap: anywhere; }
.record-preview pre { padding: 0; font-size: 12px; margin: 0; }
.record-footnote { border-top: 1px solid var(--night-line); padding-top: 20px; font-size: 11px; margin: 30px 0 0; }
.copy-button { font-size: 12px; background: var(--night-card); color: var(--paper); border: 1px solid var(--night-line); }
#copy-status { font-size: 12px; margin: 14px 0 0; }
.form-error { background: var(--error-tint); color: var(--error); border-radius: 6px; padding: 12px; font-size: 13px; }
.notice { background: var(--soft); border-left: 3px solid var(--brand); padding: 18px 22px; font-size: 13px; margin-top: 30px; }
.search-dialog { border: 1px solid var(--line); border-radius: 15px; width: min(660px, calc(100% - 30px)); max-height: 80vh; padding: 25px; color: var(--body); background: var(--paper); box-shadow: var(--shadow-large); }
.search-dialog::backdrop { background: var(--backdrop); backdrop-filter: blur(4px); }
.search-dialog-top { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 22px; }
.search-dialog-top h2 { font-size: 21px; }
.search-dialog-top button { background: var(--soft); border-radius: 5px; padding: 8px; display: flex; }
.search-meta { font-size: 12px; margin: 18px 0 10px; color: var(--muted); }
.search-results { max-height: 45vh; overflow-y: auto; padding: 3px; }
.search-results a { display: flex; flex-direction: column; border-radius: 7px; padding: 13px 15px; color: var(--body); border-bottom: 1px solid var(--line); }
.search-results a:hover { background: var(--soft); }
.search-results a > span { color: var(--brand); font-size: 10px; }
.search-results strong { font-size: 16px; }
.search-results small { color: var(--muted); font-size: 12px; line-height: 1.5; margin-top: 4px; }
.search-help { font-size: 11px; color: var(--muted); margin: 20px 0 0; }
@media (min-width: 1450px) { :root { --max: 1200px; } .hero { padding-top: 90px; padding-bottom: 70px; } .hero h1 { font-size: 86px; } .inbox-demo { margin-right: 0; } }
@media (max-width: 1100px) {
  .header-start { display: none; }
  .requirement-section { gap: 35px; }
  .primary-nav { gap: 16px; }
  .header-actions { gap: 13px; }
  .search-trigger span, .search-trigger kbd { display: none; }
  .free-tool-card { padding: 22px; }
  .ca-card { padding: 22px; }
  .ca-buying { gap: 40px; }
  .hero-grid { gap: 22px; }
  .hero h1 { font-size: 70px; }
  .inbox-demo { margin-right: 0; }
  .foundation-inner { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .foundation-intro { justify-content: center; padding: 0; border: 0; }
  .foundation-equation { width: 100%; max-width: 820px; margin-inline: auto; }
  .foundation-step { font-size: 14px; }
  .split { gap: 55px; }
  .path-card { padding-inline: 22px; }
  .path-art { margin-inline: -22px; }
  .path-card h3 { font-size: 21px; }
  .guide-grid.four { grid-template-columns: repeat(2, 1fr); }
  .article-layout { gap: 45px; grid-template-columns: 190px minmax(0,1fr); }
}
@media (max-width: 850px) {
  .requirements-grid, .requirement-section { grid-template-columns: 1fr; }
  .requirement-section { gap: 26px; padding-block: 40px; }
  .requirement-tools { padding: 24px; }
  .requirements-overview h2, .requirement-copy h2, .requirements-next h2 { font-size: 28px; }
  .free-tool-grid { grid-template-columns: 1fr; }
  .free-tool-card > p:not(.free-tool-provider) { min-height: 0; }
  .container { width: calc(100% - 48px); }
  .site-header { height: 75px; }
  .brand-wordmark { width: 180px; }
  .primary-nav { display: none; position: absolute; top: 74px; left: 0; right: 0; max-height: calc(100dvh - 75px); overflow-y: auto; background: var(--paper); box-shadow: var(--shadow); padding: 16px 24px; flex-direction: column; gap: 4px; align-items: stretch; }
  .primary-nav.is-open { display: flex; }
  .primary-nav > a, .nav-dropdown > summary { padding: 12px 0; }
  .nav-dropdown > summary { justify-content: space-between; }
  .nav-submenu, .nav-dropdown:last-child .nav-submenu { position: static; width: auto; margin: 0 0 8px; padding: 0 0 0 10px; border: 0; border-left: 2px solid var(--line); border-radius: 0; box-shadow: none; }
  .menu-toggle { display: flex; }
  .header-actions { gap: 18px; }
  .search-trigger { min-width: 30px; min-height: 42px; justify-content: center; }
  .hero { padding-top: 48px; }
  .hero h1 { font-size: 58px; }
  .hero-glow { top: 65px; right: 15px; height: 390px; border-radius: 35px 85px 35px 35px; }
  .hero-description { font-size: 17px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .hero .button-group { gap: 9px; align-items: flex-start; flex-direction: column; }
  .inbox-demo { margin-top: 45px; }
  .inbox-heading { padding: 17px 14px; }
  .inbox-heading strong { font-size: 13px; }
  .inbox-count { display: none; }
  .mail-row { gap: 9px; margin-inline: 7px; padding: 14px 8px; }
  .sender-avatar { width: 34px; height: 34px; }
  .sender-line { font-size: 10px; }
  .sender-line time { display: none; }
  .mail-copy strong { font-size: 9px; }
  .mail-copy p { font-size: 8px; }
  .authentication-card { left: -12px; bottom: 135px; padding: 10px 13px; gap: 8px; }
  .authentication-card strong { font-size: 10px; }
  .authentication-card div > span { font-size: 8px; }
  .tiny-check { display: none; }
  .foundation-equation { gap: 8px; }
  .foundation-step { gap: 6px; font-size: 13px; }
  .foundation-icon { width: 26px; }
  .section { padding-block: 70px; }
  .split { gap: 35px; }
  .intro-copy { font-size: 16px; padding-top: 25px; }
  .path-grid { gap: 15px; }
  .path-card { padding: 0 18px 24px; }
  .path-art { margin-inline: -18px; height: 145px; }
  .path-card h3 { font-size: 19px; }
  .path-card p, .path-card .text-link { font-size: 13px; }
  .path-label { font-size: 9px; }
  .art-code { font-size: 9px; padding: 14px; }
  .art-checks { font-size: 9px; padding: 8px 12px; }
  .mechanics-section { padding-block: 85px 65px; margin-top: 0; }
  .mechanics-grid { gap: 35px; }
  .mechanics-section p { font-size: 15px; }
  .flow-list li { gap: 10px; }
  .flow-list li > .icon { display: none; }
  .flow-list h3 { font-size: 16px; }
  .flow-list p { font-size: 12px; }
  .guide-grid { grid-template-columns: repeat(2,1fr); }
  .tool-preview { padding: 20px; }
  .tool-preview small { font-size: 10px; }
  .tool-preview strong { font-size: 12px; }
  .tool-preview > a { gap: 10px; }
  .tool-preview .icon-tile { width: 35px; height: 35px; }
  .tool-preview > a > .icon { display: none; }
  .footer-grid { grid-template-columns: repeat(2,1fr); row-gap: 40px; }
  .footer-bottom { flex-wrap: wrap; }
  .article-layout { grid-template-columns: 1fr; gap: 35px; }
  .get-bimi-option { padding: 24px; }
  .get-bimi-option h2 { font-size: 25px; }
  .article-sidebar { position: static; }
  .article-sidebar nav { display: grid; grid-template-columns: repeat(2,1fr); gap: 9px 25px; }
  .toc-title { grid-column: 1/-1; }
  .sidebar-help { display: none; }
  .faq-layout { grid-template-columns: 150px minmax(0,1fr); gap: 35px; }
  .resource-grid { grid-template-columns: repeat(2,1fr); }
  .ca-grid { grid-template-columns: 1fr; }
  .ca-description { min-height: 0; }
  .ca-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
  .ca-buying { grid-template-columns: 1fr; }
  .builder-layout { gap: 25px; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 40px); }
  .header-inner { gap: 12px; }
  .header-start { display: none; }
  .header-actions { gap: 10px; }
  .hero { padding: 35px 0 28px; }
  .hero-glow { top: 530px; right: 10px; width: calc(100% - 20px); height: 390px; border-radius: 30px 75px 30px 30px; }
  .hero-topics { gap: 15px 20px; margin-top: 6px; }
  .hero-topics a { font-size: 12px; }
  .hero-grid { grid-template-columns: 1fr; gap: 16px; }
  .hero h1 { font-size: clamp(57px, 14vw, 76px); max-width: 480px; }
  .hero-description { max-width: 420px; font-size: 17px; margin: 25px 0 22px; }
  .hero .button-group { flex-direction: row; align-items: center; gap: 18px; }
  .hero-note { font-size: 11px; margin-top: 15px; }
  .inbox-demo { max-width: 460px; width: calc(100% - 12px); margin: 30px auto 0; padding-bottom: 25px; }
  .inbox-heading { padding: 20px; }
  .inbox-heading strong { font-size: 16px; }
  .mail-row { padding: 16px 12px; margin-inline: 10px; gap: 12px; }
  .sender-avatar { width: 40px; height: 40px; }
  .sender-line { font-size: 12px; }
  .sender-line time { display: inline; }
  .mail-copy strong { font-size: 10px; }
  .mail-copy p { font-size: 9px; }
  .authentication-card { bottom: 145px; left: -5px; padding: 13px 15px; }
  .authentication-card strong { font-size: 11px; }
  .authentication-card div > span { font-size: 9px; }
  .logo-float { width: 66px; height: 66px; top: -12px; right: 20px; border-radius: 15px; }
  .logo-float > span { font-size: 52px; }
  .inbox-demo figcaption { margin-top: 40px; }
  .foundation-inner { padding-block: 24px; gap: 22px; }
  .foundation-equation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .foundation-step { flex-direction: column; justify-content: center; gap: 6px; min-height: 96px; padding: 12px; border: 1px solid var(--line); background: var(--soft); }
  .foundation-result { border-color: var(--highlight); background: var(--brand-tint); }
  .foundation-icon { width: 30px; height: 30px; }
  .foundation-operator { display: none; }
  .section { padding-block: 60px; }
  .split, .mechanics-grid { grid-template-columns: 1fr; gap: 30px; }
  h2 { font-size: 33px; }
  .eyebrow { font-size: 13px; margin-bottom: 18px; }
  .intro-copy { padding-top: 0; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 20px; margin-bottom: 30px; }
  .path-grid { grid-template-columns: 1fr; gap: 25px; }
  .path-card { padding: 0 25px 27px; }
  .path-art { height: 180px; margin-inline: -25px; }
  .path-card h3 { font-size: 26px; }
  .path-card p { font-size: 16px; }
  .path-card .text-link { font-size: 15px; }
  .path-label { font-size: 11px; }
  .art-code { font-size: 13px; padding: 18px 25px; }
  .art-checks { font-size: 12px; padding: 12px 23px; }
  .mechanics-section { padding-block: 65px; }
  .mechanics-section h2 { font-size: 35px; }
  .mechanics-grid { gap: 35px; }
  .flow-list h3 { font-size: 18px; }
  .flow-list p { font-size: 13px; }
  .flow-list li { gap: 15px; }
  .flow-list li > .icon { display: block; width: 20px; height: 20px; }
  .mechanics-note { margin-top: 30px; font-size: 11px; align-items: flex-start; }
  .mechanics-note .icon { margin-top: 4px; }
  .guide-grid, .guide-grid.four { grid-template-columns: 1fr; }
  .guide-card { padding: 25px; }
  .guide-card h3, .four .guide-card h3 { font-size: 23px; }
  .guide-card p { font-size: 15px; }
  .guide-card .text-link { font-size: 14px; }
  .card-top { margin-bottom: 20px; }
  .tool-preview { padding: 25px; }
  .tool-preview strong { font-size: 14px; }
  .tool-preview small { font-size: 11px; }
  .tool-preview > a { gap: 13px; }
  .tool-preview > a > .icon { display: block; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-inner .button-group { flex-direction: row; align-items: center; gap: 20px; }
  .footer-grid { gap: 35px 25px; }
  .footer-grid > div { grid-column: 1/-1; }
  .footer-grid h2 { font-size: 12px; }
  .footer-grid nav a { font-size: 12px; }
  .footer-bottom { flex-direction: column; gap: 8px; margin-top: 35px; }
  .page-intro { padding: 45px 0 40px; }
  .page-intro h1 { font-size: 43px; }
  .page-intro .lead { font-size: 17px; margin-top: 20px; }
  .learning-start { padding: 20px; gap: 12px; }
  .learning-start strong { font-size: 15px; }
  .learning-start small { font-size: 12px; }
  .learning-start > .icon { display: none; }
  .learning-start .icon-tile { width: 35px; height: 35px; }
  .filter-button { padding: 9px 13px; font-size: 12px; }
  .library-bottom { flex-direction: column; gap: 15px; }
  .breadcrumbs { font-size: 10px; margin: 25px 0 30px; }
  .article-header h1 { font-size: 42px; }
  .article-header .lead { font-size: 18px; }
  .article-meta { gap: 10px 20px; font-size: 11px; }
  .article-layout { padding-top: 30px; }
  .article-sidebar nav { gap: 10px 18px; }
  .article-sidebar nav a { font-size: 11px; }
  .article-body { font-size: 16px; line-height: 1.8; }
  .get-bimi-options { grid-template-columns: 1fr; gap: 20px; }
  .get-bimi-option > p:not(.eyebrow) { font-size: 15px; }
  .article-body h2 { font-size: 25px; }
  .at-a-glance { padding: 23px 21px; margin-bottom: 35px; }
  .article-body .at-a-glance ul { padding-left: 0; }
  .at-a-glance li { font-size: 13px; }
  .article-section { margin-bottom: 35px; }
  .article-sources { padding: 22px; }
  .article-next { flex-direction: column; align-items: flex-start; }
  .glossary-grid, .resource-grid { grid-template-columns: 1fr; }
  .faq-layout { grid-template-columns: 1fr; gap: 35px; }
  .faq-nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 10px 20px; }
  .faq-nav a { font-size: 12px; background: var(--soft); padding: 7px 10px; border-radius: 5px; }
  .resource-notice { padding: 20px; gap: 12px; }
  .resource-notice > .icon { display: none; }
  .ca-introduction { gap: 15px; padding-block: 32px; }
  .ca-introduction > .icon-tile { display: none; }
  .ca-introduction h2 { font-size: 25px; }
  .ca-directory { padding-block: 35px 60px; }
  .ca-directory .section-heading { gap: 15px; }
  .ca-card { padding: 24px; }
  .ca-prices { grid-template-columns: 1fr; gap: 0; }
  .ca-buying { padding-top: 35px; margin-top: 30px; }
  .ca-next { padding: 24px; }
  .search-field { padding: 12px; }
  .search-field input { font-size: 14px; }
  .tools-content { padding-top: 25px; }
  .tool-jumps { flex-direction: column; gap: 12px; }
  .tool-jumps a { font-size: 13px; }
  .tool-section { padding-top: 40px; padding-bottom: 45px; }
  .tool-section-heading { gap: 13px; }
  .tool-section-heading h2 { font-size: 28px; }
  .tool-section-heading p:last-child { font-size: 14px; }
  .tool-section-heading .icon-tile { width: 35px; height: 35px; }
  .readiness-question legend { font-size: 16px; }
  .radio-options { gap: 8px; }
  .radio-options label { padding: 9px 12px; }
  .builder-layout { grid-template-columns: 1fr; gap: 30px; }
  .record-preview { padding: 23px; }
  .search-dialog { padding: 18px; }
  .search-dialog-top h2 { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
@media print {
  .site-header, .site-footer, .article-sidebar, .related-section, .breadcrumbs, .search-dialog, .article-next, [data-print] { display: none !important; }
  body { color: var(--ink); background: var(--paper); font-size: 11pt; }
  .container { width: 100%; }
  .article-layout { display: block; }
  .article-body { max-width: none; }
  .article-header h1 { font-size: 28pt; }
  .article-body h2 { font-size: 18pt; }
  .article-section, .at-a-glance, .checklist-item { break-inside: avoid; }
  .article-header { padding-bottom: 15px; }
  a { color: var(--ink); }
}

/* BIMI observatory: reuse the site's colour and spacing tokens. */
.data-dashboard { padding-bottom: 70px; }
.data-status { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; padding: 16px 0; border-block: 1px solid var(--line); font-size: 13px; }
.data-status p { margin: 0; flex: 1; min-width: 250px; }
.data-status a { font-weight: 650; }
.data-status-tag, .data-kind { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 5px; background: var(--brand-tint); color: var(--brand-deep); font-size: 12px; font-weight: 650; white-space: nowrap; }
.data-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.data-metric { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--paper); }
.data-metric h2 { font-size: 14px; line-height: 1.5; letter-spacing: 0; color: var(--body); min-height: 42px; }
.data-metric strong { display: block; font-size: clamp(32px, 3.5vw, 46px); line-height: 1.3; letter-spacing: -.04em; margin: 10px 0; }
.data-metric p { font-size: 12px; line-height: 1.6; margin: 0; color: var(--muted); }
.data-scope { font-size: 13px; color: var(--muted); margin: 16px 0 32px; max-width: 920px; }
.data-charts { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; }
.data-panel { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.data-panel h2 { font-size: 26px; margin-bottom: 12px; }
.data-panel p:not(.eyebrow) { font-size: 14px; margin-bottom: 18px; }
.data-panel .eyebrow { font-size: 12px; margin-bottom: 8px; }
.data-panel svg { display: block; width: 100%; }
.data-bar { fill: var(--brand); }
.data-chart-line { stroke: var(--line); stroke-width: 1; }
.data-panel svg text { font: 11px var(--font); fill: var(--muted); }
.data-chart-values { font-size: 12px; margin-top: 8px; }
.data-chart-values summary { color: var(--brand-deep); }
.data-chart-values table { width: 100%; text-align: left; }
.data-issuer-list { list-style: none; padding: 0; margin: 22px 0 0; }
.data-issuer-list li + li { margin-top: 15px; }
.data-issuer-list li > div { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; margin-bottom: 4px; }
.data-issuer-list meter { width: 100%; height: 8px; display: block; border: 0; background: var(--line); border-radius: 4px; }
.data-issuer-list meter::-webkit-meter-bar { background: var(--line); border: 0; border-radius: 4px; }
.data-issuer-list meter::-webkit-meter-optimum-value { background: var(--brand); border-radius: 4px; }
.data-issuer-list meter::-moz-meter-bar { background: var(--brand); border-radius: 4px; }
.data-explorer { margin-top: 64px; }
.data-explorer .section-heading { align-items: end; gap: 20px; }
.data-explorer .section-heading p { margin-top: 16px; }
.data-search { display: flex; flex-wrap: wrap; align-items: end; gap: 14px; padding: 22px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); margin: 24px 0 16px; }
.data-search label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 650; }
.data-search-query { flex: 1 1 240px; }
.data-search input, .data-search select { min-height: 44px; border: 1px solid var(--line); border-radius: 5px; padding: 8px 10px; background: var(--paper); color: var(--ink); font: 14px var(--font); max-width: 100%; }
.data-search select { max-width: 195px; }
.data-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.data-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; min-width: 780px; }
.data-table th { font-size: 11px; font-weight: 650; letter-spacing: .03em; background: var(--soft); color: var(--muted); }
.data-table th, .data-table td { padding: 17px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table td:first-child { width: 37%; }
.data-table td small { display: block; font-size: 10px; color: var(--muted); white-space: nowrap; }
.data-record summary { color: var(--ink); }
.data-record summary strong { font-size: 14px; }
.data-record summary > span { display: block; color: var(--muted); font-size: 11px; overflow-wrap: anywhere; padding-top: 3px; }
.data-record dl { margin: 18px 0 0; font-size: 11px; max-width: 340px; }
.data-record dt { font-weight: 650; color: var(--ink); margin-top: 12px; }
.data-record dd { margin: 3px 0 0; overflow-wrap: anywhere; }
.data-code { font-family: var(--mono); font-size: 10px; }
.data-kind-cmc { background: var(--sky); color: var(--ink); }
.data-pagination { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 18px; }
.data-outline { background: var(--paper); border: 1px solid var(--line); color: var(--ink); font-size: 13px; }
.data-outline:disabled { opacity: .45; cursor: default; box-shadow: none; transform: none; background: var(--soft); color: var(--muted); }
.data-empty { padding: 40px !important; text-align: center; }
.data-explainer { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding: 36px; background: var(--brand-tint); border-radius: var(--radius); margin-top: 64px; }
.data-explainer > div { max-width: 630px; }
.data-explainer h2 { font-size: 30px; }
.data-explainer p:last-child { margin: 18px 0 0; font-size: 15px; }
.data-explainer .button { flex-shrink: 0; }
@media (max-width: 1000px) { .data-metrics { grid-template-columns: repeat(2, 1fr); } .data-explainer { align-items: start; flex-direction: column; } }
@media (max-width: 700px) { .data-charts { grid-template-columns: 1fr; } .data-metric { padding: 18px; } .data-panel { padding: 22px; } .data-search { padding: 18px; } .data-search label { flex: 1 1 40%; } .data-search .data-search-query { flex-basis: 100%; } .data-search select { width: 100%; max-width: none; } .data-status { align-items: start; } .data-explainer { padding: 26px; } .data-explorer { margin-top: 44px; } }

/* Interactive charts use the established BIMI World palette. */
.data-update-note { font-size: 12px; margin: 10px 0 28px; color: var(--muted); }
.data-filter-panel { margin-top: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); padding: 24px; }
.data-filter-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.data-filter-heading h2 { font-size: 25px; }
.data-filter-heading .eyebrow { font-size: 11px; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .09em; }
.data-filter-heading p, .data-filter-panel > p { margin-bottom: 0; }
.data-filter-panel .data-search { padding: 0; border: 0; margin-block: 24px 14px; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); }
.data-filter-panel select { width: 100%; max-width: 100%; }
.data-filter-panel .data-search-query { grid-column: span 3; }
.data-filter-actions { grid-column: span 2; display: flex; gap: 10px; }
#data-filter-status { margin-top: 10px; font-weight: 600; color: var(--ink); }
.data-insight { border-left: 3px solid var(--brand); padding: 12px 18px; margin-bottom: 30px; background: var(--brand-tint); font-size: 13px; }
.chart-toolbar { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 20px; margin: 30px 0 20px; }
.chart-options, .chart-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.chart-options label { font-size: 11px; font-weight: 650; display: flex; flex-direction: column; gap: 5px; }
.chart-options select { color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 5px; padding: 10px; font: 13px var(--font); min-height: 44px; max-width: 220px; }
.data-charts-expanded { grid-template-columns: repeat(2,minmax(0,1fr)); }
.data-charts-expanded .data-panel { background: var(--paper); min-width: 0; }
.data-panel-wide { grid-column: 1 / -1; }
.chart-legend { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 11px; }
.chart-legend li { display: inline-flex; gap: 6px; align-items: center; }
.chart-swatch { width: 10px; height: 10px; display: inline-block; flex: 0 0 10px; border: 1px solid var(--line); border-radius: 2px; }
.chart-fill-0 { fill: var(--brand); background: var(--brand); }
.chart-fill-1 { fill: var(--highlight); background: var(--highlight); }
.chart-fill-2 { fill: var(--muted); background: var(--muted); }
.chart-fill-3 { fill: var(--night); background: var(--night); }
.chart-fill-4 { fill: var(--sky); background: var(--sky); }
.chart-fill-5 { fill: var(--lilac); background: var(--lilac); }
.chart-stroke-0 { stroke: var(--brand); }
.chart-stroke-1 { stroke: var(--highlight); }
.chart-stroke-2 { stroke: var(--muted); }
.chart-growth-line { fill: none; stroke: var(--brand); stroke-width: 2.5; stroke-linejoin: round; }
.chart-donut { display: flex; align-items: center; gap: 22px; }
.chart-donut > svg { flex: 0 0 45%; width: 45%; }
.chart-donut-track { stroke: var(--line); }
.data-panel .chart-donut-value { font-size: 23px; font-weight: 700; fill: var(--ink); }
.chart-ranks { padding: 0; list-style: none; width: 100%; margin: 16px 0; }
.chart-ranks li + li { margin-top: 10px; }
.chart-ranks button { width: 100%; border: 1px solid transparent; border-radius: 5px; padding: 7px; background: transparent; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; text-align: left; font-size: 12px; }
.chart-ranks button:hover { background: var(--brand-tint); border-color: var(--line); }
.chart-ranks strong { margin-left: auto; }
.chart-ranks small { color: var(--muted); }
.chart-ranks meter { display: block; width: 100%; height: 7px; border: 0; background: var(--line); }
.chart-ranks meter::-webkit-meter-bar { border: 0; background: var(--line); border-radius: 4px; }
.chart-ranks meter::-webkit-meter-optimum-value { background: var(--brand); }
.chart-ranks meter::-moz-meter-bar { background: var(--brand); }
.chart-table-scroll { max-height: 320px; overflow: auto; margin-top: 10px; }
.chart-table-scroll td, .chart-table-scroll th { padding: 5px 10px; white-space: nowrap; border-bottom: 1px solid var(--line); }
.heat-cell { stroke: var(--paper); stroke-width: 1; }
.heat-level-0 { fill: var(--soft); }
.heat-level-1 { fill: var(--sky); }
.heat-level-2 { fill: var(--highlight); }
.heat-level-3 { fill: var(--brand); }
.heat-level-4 { fill: var(--night); }
@media (max-width:1000px) { .data-filter-panel .data-search { grid-template-columns: repeat(3,minmax(0,1fr)); } .data-filter-panel .data-search-query { grid-column: span 2; } .data-filter-actions { grid-column: 1 / -1; } }
@media (max-width:700px) { .data-filter-panel { padding: 18px; } .data-filter-heading { display: block; } .data-filter-heading > p { margin-top: 10px; } .data-filter-panel .data-search { grid-template-columns: repeat(2,minmax(0,1fr)); } .data-charts-expanded { grid-template-columns: minmax(0,1fr); } .data-panel-wide { grid-column: auto; } .data-filter-panel input { width: 100%; } .chart-options { display: grid; grid-template-columns: 1fr 1fr; width: 100%; } .chart-options select { max-width: 100%; width: 100%; } .chart-donut { gap: 10px; } .chart-toolbar { align-items: stretch; } }
.page-intro:has(+ .data-dashboard) { padding: 30px 0; }
.page-intro:has(+ .data-dashboard) h1 { font-size: clamp(34px,4vw,48px); }
.page-intro:has(+ .data-dashboard) .eyebrow { font-size: 12px; margin-bottom: 13px; }
.page-intro:has(+ .data-dashboard) .lead { font-size: 17px; max-width: 820px; margin-top: 14px; }
.chart-plot { width: 100%; overflow-x: auto; }
.chart-scroll-hint { display: none; }
@media (max-width:700px) { .chart-plot svg { min-width: 560px; } .data-panel .chart-scroll-hint { display: block; font-size: 11px; margin: 8px 0; color: var(--muted); } }

/* Homepage observatory promotion: finite, decorative motion. */
.live-data-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: inline-block; flex-shrink: 0; animation: data-beacon-pulse 1.2s ease-out 3; }
.home-data-feature { padding: 18px 0 48px; }
.home-data-card { display: grid; grid-template-columns: 1.65fr 1fr; gap: 36px; align-items: center; padding: 42px 46px; border-radius: 18px; background: radial-gradient(ellipse at 100% 0,var(--night-card),transparent 65%),var(--night); color: var(--night-body); border: 1px solid var(--night-line); overflow: hidden; }
.home-data-copy .eyebrow { display: flex; align-items: center; gap: 10px; color: var(--highlight); font-size: 12px; margin-bottom: 18px; letter-spacing: .06em; text-transform: uppercase; }
.home-data-copy h2 { color: var(--paper); font-size: clamp(30px,3.5vw,42px); }
.home-data-copy > p:not(.eyebrow) { max-width: 570px; margin: 20px 0 25px; font-size: 16px; }
.home-data-card .button { background: var(--highlight); color: var(--night); }
.home-data-card .button:hover { background: var(--paper); }
.home-data-method { color: var(--night-body); display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.home-data-method:hover { color: var(--paper); }
.home-data-method .icon { width: 15px; height: 15px; }
.home-data-copy > .home-data-note { font-size: 11px !important; color: var(--night-body); margin: 18px 0 0 !important; }
.home-data-art svg { display: block; width: 100%; max-width: 340px; margin-inline: auto; overflow: visible; }
.data-orbit { stroke: var(--night-line); stroke-dasharray: 3 8; }
.data-globe-outline { stroke: var(--highlight); stroke-width: 1.5; }
.data-globe-grid { stroke: var(--night-line); stroke-width: 1.5; }
.data-signal { stroke: var(--highlight); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; animation: data-signal-draw 2.8s ease-out both; }
.data-globe-nodes { fill: var(--paper); }
.data-beacon { stroke: var(--highlight); transform-origin: 267px 103px; animation: data-globe-beacon 1.2s ease-out 3; }
.home-data-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; }
.home-data-tags span { padding: 4px 9px; border: 1px solid var(--night-line); border-radius: 20px; color: var(--night-body); font-size: 10px; }
@keyframes data-signal-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes data-globe-beacon { from { transform: scale(.65); opacity: .9; } to { transform: scale(1.5); opacity: 0; } }
@keyframes data-beacon-pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
@media (max-width:1000px) { .home-data-card { padding: 32px; gap: 20px; } .home-data-art { min-width: 0; } }
@media (max-width:700px) { .home-data-feature { padding: 12px 0 30px; } .home-data-card { grid-template-columns: 1fr; padding: 28px 24px; } .home-data-art { max-width: 280px; margin-inline: auto; } .home-data-card .button-group { gap: 16px; } .home-data-copy > p:not(.eyebrow) { font-size: 15px; } }
@media (prefers-reduced-motion: reduce) { .live-data-dot, .data-signal, .data-beacon { animation: none !important; } }
