@font-face { font-family: 'Glacial Indifference'; src: url('../fonts/GlacialIndifference-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Glacial Indifference'; src: url('../fonts/GlacialIndifference-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Glacial Indifference'; src: url('../fonts/GlacialIndifference-SemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Glacial Indifference'; src: url('../fonts/GlacialIndifference-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
    --primary: #04143e;
    --secondary: #4ac2ca;
    --white: #ffffff;
    --ink: #04143e;
    --muted: #4e5d75;
    --line: #d9e2ec;
    --paper: #f5f8fb;
    --accent-strong: #116d74;
    --alert: #9b3029;
    --ok: #216c45;
    --gutter: clamp(1rem, 4vw, 3rem);
    --content-width: 75rem;
    --section-space: clamp(2.75rem, 5vw, 4.5rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
html, body { margin: 0; min-height: 100%; }
body { font-family: 'Glacial Indifference', 'Segoe UI', sans-serif; font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--white); overflow-wrap: anywhere; }
#app, .app-frame { min-height: 100vh; min-height: 100svh; }
.app-frame { display: flex; flex-direction: column; }
.app-shell-content { flex: 1 0 auto; width: 100%; min-width: 0; }
/* Grid tracks provide full-width bands without viewport-width overflow. */
.workspace { display: grid; grid-template-columns: [full-start] minmax(var(--gutter), 1fr) [content-start] minmax(0, var(--content-width)) [content-end] minmax(var(--gutter), 1fr) [full-end]; padding-bottom: var(--section-space); }
.workspace > * { grid-column: content; min-width: 0; }
.workspace > .home-hero, .workspace > .ebpiq-banner { grid-column: full; }
.workspace:focus { outline: none; }
h1, h2, h3 { color: var(--primary); font-weight: 700; line-height: 1.16; letter-spacing: -.035em; margin: 0 0 1rem; overflow-wrap: anywhere; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.4vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 2.8vw, 2.4rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-strong); }
img, svg { max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a, button, input, select, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent-strong); outline-offset: 4px; }
.home-hero :focus-visible, .ebpiq-banner :focus-visible, .site-footer :focus-visible { outline-color: #8ee5ef; }
input, select { display: block; width: 100%; min-width: 0; min-height: 3rem; border: 1px solid #8697ad; border-radius: .5rem; padding: .65rem .8rem; color: var(--ink); background: var(--white); font-size: 1rem; }
input:disabled, select:disabled { background: #edf1f5; cursor: not-allowed; }
input::placeholder { color: #5b687b; opacity: 1; }
::selection { background: #b5edef; color: var(--primary); }
.muted, .file-note { color: var(--muted); }
.text-link, .prose a:not(.button-primary), .faq-answer a { color: var(--accent-strong); text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1px; }
.text-link { font-weight: 700; }
.section-label, .hero-kicker, .eyebrow, .ebpiq-ad-kicker { font-weight: 700; font-size: .75rem; letter-spacing: .13em; text-transform: uppercase; color: var(--accent-strong); margin: 0 0 .9rem; }
.section-space { padding-block: var(--section-space); }
.lede { max-width: 45rem; font-size: clamp(1.125rem, 1.5vw, 1.25rem); line-height: 1.65; color: var(--muted); }
.skip-link { position: absolute; left: var(--gutter); top: .75rem; z-index: 1001; padding: .75rem 1rem; background: var(--primary); color: white; border-radius: .4rem; transform: translateY(-200%); }
.skip-link:focus { transform: none; color: white; outline-color: var(--secondary); }

/* Navigation stays on one row; the mobile disclosure uses native buttons. */
.topbar { position: relative; z-index: 10; background: var(--white); border-bottom: 1px solid var(--line); }
.topbar-inner { max-width: calc(var(--content-width) + 2 * var(--gutter)); min-height: 5.5rem; margin-inline: auto; padding: 1rem var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; }
.brand { display: block; flex: 0 1 14rem; min-width: 0; }
.brand-logo { display: block; width: 14rem; height: auto; }
.nav-links { display: flex; align-items: center; gap: .25rem; font-size: .95rem; }
.nav-links > a { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.75rem; padding: .5rem .8rem; border-radius: .4rem; color: var(--muted); font-weight: 600; }
.nav-links > a:hover { color: var(--primary); background: var(--paper); }
.nav-links > a.active { color: var(--primary); background: #e7f5f6; text-decoration: underline; text-underline-offset: .35em; }
.nav-links > .nav-signin { color: var(--primary); margin-left: .5rem; border: 1px solid var(--line); }
.nav-toggle { display: none; align-items: center; justify-content: center; gap: .65rem; min-height: 2.75rem; padding: .5rem .75rem; border: 1px solid #8697ad; border-radius: .4rem; color: var(--primary); background: white; font-weight: 600; }
.session-chip { display: flex; align-items: center; gap: .65rem; padding-left: .75rem; border-left: 1px solid var(--line); font-size: .85rem; }
.session-name { max-width: 9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.session-chip a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--accent-strong); text-decoration: underline; text-underline-offset: .2em; white-space: nowrap; }
.button-primary, .button-secondary, .google-button, .ebpiq-ad-cta { display: inline-flex; justify-content: center; align-items: center; gap: .7rem; min-height: 3rem; border: 1px solid transparent; border-radius: .5rem; padding: .75rem 1.2rem; font-size: 1rem; font-weight: 700; line-height: 1.5; text-align: center; text-decoration: none; overflow-wrap: anywhere; transition: background-color 150ms; }
.button-primary { color: var(--white); background: var(--primary); border-color: var(--primary); }
.button-primary:hover { color: var(--white); background: #17335f; }
.button-secondary { color: var(--primary); background: #edf7f8; border-color: #b9d9dd; }
.button-secondary:hover { color: var(--primary); background: #d9eff1; }
.button-aqua, .ebpiq-ad-cta { color: var(--primary); background: var(--secondary); border-color: var(--secondary); }
.button-aqua:hover, .ebpiq-ad-cta:hover { color: var(--primary); background: #8ee5ef; }
.button-ghost { color: var(--white); background: transparent; border-color: #8090ab; }
.button-ghost:hover { color: var(--white); background: #1c3157; }
button:disabled { opacity: .55; cursor: not-allowed; }
.hero-actions, .action-row { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; }

/* Home: two equally sized headline lines and deliberate, consistent spacing. */
.home-hero { background: var(--primary); color: var(--white); position: relative; overflow: hidden; }
.home-hero::after { content: ''; position: absolute; top: -15rem; right: -24rem; width: 55rem; height: 55rem; border: 1px solid #4ac2ca26; border-radius: 50%; box-shadow: 0 0 0 5rem #4ac2ca09, 0 0 0 10rem #4ac2ca05; pointer-events: none; }
.home-hero-inner { position: relative; z-index: 1; max-width: calc(var(--content-width) + 2 * var(--gutter)); margin-inline: auto; padding: clamp(3rem, 6vw, 5.5rem) var(--gutter) 1.75rem; }
.hero-kicker { color: #8ee5ef; }
.home-hero .hero-title { font-size: clamp(1.375rem, 6.8vw, 4rem); line-height: 1.16; margin: 0; color: var(--white); letter-spacing: -.04em; text-wrap: initial; }
.hero-title > span { display: block; font-size: inherit; }
.hero-title .hero-accent { color: #8ee5ef; margin-top: .12em; }
.hero-description { max-width: 43rem; font-size: clamp(1.0625rem, 1.7vw, 1.25rem); line-height: 1.7; color: #d5dfef; margin: 1.5rem 0 1.75rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .65rem 2.5rem; border-top: 1px solid #ffffff30; margin-top: 3rem; padding-top: 1.25rem; font-size: .9rem; color: #d5dfef; }
.hero-facts span::before { content: ''; display: inline-block; width: .4rem; height: .4rem; border-radius: 50%; background: var(--secondary); margin-right: .65rem; vertical-align: middle; }
.section-heading { display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; gap: 3rem; margin-bottom: 2rem; }
.section-heading h2 { max-width: 31rem; margin-bottom: 0; }
.section-heading > p { color: var(--muted); margin-bottom: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.feature-card { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--secondary); border-radius: .5rem; padding: clamp(1.25rem, 2.2vw, 2rem); }
.feature-card h3 { margin: 1.25rem 0 .75rem; }
.feature-card p { color: var(--muted); margin: 0; }
.card-number { font-size: .8rem; letter-spacing: .08em; font-weight: 700; color: var(--accent-strong); }
.privacy-highlight { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; padding: clamp(1.5rem, 4vw, 3rem); background: #edf8f9; border: 1px solid #cce5e8; border-radius: .75rem; margin-bottom: var(--section-space); }
.privacy-highlight h2 { max-width: 26rem; margin-bottom: 0; }
.privacy-highlight p:not(.section-label) { color: var(--muted); }
.home-closing { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding-bottom: 0; }
.home-closing > div { max-width: 43rem; }
.home-closing p:last-child { color: var(--muted); }
.home-closing .button-secondary { flex: 0 0 auto; }

/* Original ebpIQ copy with two independent clickable destinations. */
.ebpiq-banner { color: var(--white); background: var(--primary); }
.ebpiq-banner-inner { max-width: calc(var(--content-width) + 2 * var(--gutter)); margin-inline: auto; padding: var(--section-space) var(--gutter); display: grid; grid-template-columns: 11rem minmax(0, 1fr) auto; align-items: center; gap: 2.5rem; }
.ebpiq-ad-brand { display: grid; gap: 1rem; align-self: start; }
.ebpiq-ad-logo-wrap { display: flex; padding: 1rem; border-radius: .5rem; background: var(--white); }
.ebpiq-ad-logo-wrap img { display: block; width: 100%; height: auto; }
.ebpiq-ad-label { font-size: .75rem; line-height: 1.6; color: #c7d4e6; letter-spacing: .07em; text-transform: uppercase; }
.ebpiq-ad-kicker { color: #8ee5ef; }
.ebpiq-ad-copy h2 { color: var(--white); font-size: clamp(1.65rem, 2.4vw, 2.1rem); margin-bottom: 1rem; }
.ebpiq-ad-copy p:not(.ebpiq-ad-kicker) { color: #d5dfef; }
.ebpiq-ad-benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1rem; list-style: none; padding: 0; margin: 1.5rem 0 0; color: #d5dfef; font-size: .85rem; }
.ebpiq-ad-benefits li { border-left: 2px solid var(--secondary); padding-left: .65rem; }
.ebpiq-ad-cta { max-width: 15rem; }

/* Public pages. */
.page-hero { padding: var(--section-space) 0 clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 58rem; margin-bottom: 1.25rem; }
.page-hero .lede { margin-bottom: 0; }
.page-hero .button-primary { margin-top: 1.5rem; }
.content-columns { display: grid; grid-template-columns: 1fr 1.6fr; gap: 3.5rem; }
.content-columns h2 { max-width: 23rem; }
.prose { overflow-wrap: anywhere; }
.prose p, .prose li { color: var(--muted); }
.prose .button-primary { margin-top: .5rem; }
.industry-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.industry-card { padding: clamp(1.5rem, 3vw, 2.25rem); border: 1px solid var(--line); border-radius: .75rem; }
.industry-card h2 { font-size: clamp(1.45rem, 2vw, 1.75rem); margin: 1rem 0 .6rem; }
.industry-card p:last-child { color: var(--muted); }
.industry-subjects { color: var(--accent-strong); font-weight: 600; }
.workspace > .industry-grid + .privacy-highlight { margin-bottom: 0; }
.faq-list { width: min(100%, 56rem); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 1.35rem 2.5rem 1.35rem 0; list-style: none; cursor: pointer; font-size: 1.2rem; font-weight: 700; line-height: 1.5; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: .5rem; top: 1.35rem; color: var(--accent-strong); }
.faq-list details[open] summary::after { content: '−'; }
.faq-answer { padding: 0 2rem 1.5rem 0; color: var(--muted); max-width: 50rem; }
.faq-list { padding-bottom: 0; }
.contact-strip { background: var(--paper); border: 1px solid var(--line); border-radius: .75rem; padding: clamp(1.5rem, 3vw, 2.5rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; scroll-margin-top: 2rem; }
.contact-strip h2 { font-size: 1.8rem; margin-bottom: .65rem; }
.contact-strip p:last-child { color: var(--muted); }
.contact-strip > a { flex: 0 0 auto; }
.legal-hero .lede { max-width: 46rem; }
.policy-date { color: var(--muted); font-size: .9rem; margin: 1.25rem 0 0; }
.legal-content { width: min(100%, 50rem); margin-top: 2.5rem; }
.legal-content section { margin-top: 2rem; }
.legal-content section:first-child { margin-top: 0; }
.legal-content h2 { font-size: 1.5rem; line-height: 1.3; margin-bottom: .85rem; }
.legacy-policy-link { padding-top: 0; padding-bottom: 2.5rem; }

/* Screening workspace: inputs and results first; plans follow the work area. */
.screening-heading { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 2.5rem 0 1.5rem; }
.screening-heading h1 { font-size: clamp(2rem, 3.3vw, 2.75rem); margin-bottom: .75rem; }
.screening-heading p:last-child { color: var(--muted); }
.screening-heading .text-link { flex: 0 0 auto; padding-block: .65rem; }
.panel { border: 1px solid var(--line); border-radius: .75rem; padding: clamp(1.25rem, 2.5vw, 2rem); background: var(--white); min-width: 0; }
.dataset-panel { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; background: var(--paper); padding: 1.25rem 1.5rem; margin-bottom: 1.5rem; border-radius: .75rem; border: 1px solid var(--line); }
.dataset-panel p { margin: 0; }
.dataset-panel .eyebrow { margin-bottom: .4rem; }
.dataset-panel > button { flex: 0 0 auto; }
.status-line { font-size: .95rem; overflow-wrap: anywhere; }
.status-ok, .ok-callout { color: var(--ok); }
.status-warn { color: #785300; }
.status-error, .error-callout { color: var(--alert); }
.error-callout, .ok-callout { padding: 1rem; margin: 1rem 0 0; border-radius: .5rem; background: #edf7f1; overflow-wrap: anywhere; }
.error-callout { background: #fff1ef; border-left: 3px solid var(--alert); }
.workspace-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 1.5rem; align-items: start; }
.panel-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.panel-header h2 { font-size: 1.6rem; margin-bottom: 0; }
.panel-header .eyebrow { margin-bottom: .6rem; }
.panel-header .action-row { width: 100%; }
.panel-header .action-row button { flex: 1 1 10rem; }
.form-help, .field-hint { color: var(--muted); font-size: .9rem; font-weight: 400; }
.form-help { margin: 1rem 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1.25rem 0; }
.form-grid label, .file-picker { display: grid; align-content: start; gap: .4rem; font-size: .95rem; font-weight: 600; min-width: 0; }
.form-grid label input, .form-grid label select { font-weight: 400; }
.form-grid .full-width { grid-column: 1 / -1; }
.filter-options { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 1.25rem; }
.filter-options summary { padding: .85rem .15rem; min-height: 2.75rem; cursor: pointer; color: var(--primary); font-weight: 600; }
.filter-options .form-grid { margin-top: .25rem; }
.file-picker { padding: 1rem; border: 1px dashed #829eab; border-radius: .5rem; background: #f5fafb; margin-bottom: 1.25rem; }
input[type='file'] { font-size: .9rem; padding: .5rem; max-width: 100%; }
input::file-selector-button { padding: .45rem .65rem; margin-right: .6rem; border: 1px solid #a0b4c4; border-radius: .25rem; color: var(--primary); background: white; font: inherit; }
.file-note { overflow-wrap: anywhere; }
.report-note { color: var(--muted); font-size: .9rem; margin: 1rem 0 0; }
.empty-state { text-align: center; padding: 2.5rem 1.25rem; margin-top: 1.5rem; border: 1px dashed var(--line); border-radius: .5rem; background: var(--paper); }
.empty-state svg { display: block; margin: 0 auto 1rem; color: var(--accent-strong); }
.empty-state h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.empty-state p { color: var(--muted); font-size: .95rem; max-width: 25rem; margin-inline: auto; }
.summary-strip { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 1rem; }
.summary-strip span { padding: .4rem .75rem; border-radius: .3rem; background: #edf8f9; }
.result-card { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); min-width: 0; }
.result-card h3 { font-size: 1.2rem; overflow-wrap: anywhere; }
.match-card { border: 1px solid var(--line); border-radius: .5rem; padding: 1rem; margin-top: .85rem; background: var(--paper); }
.match-heading { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.match-heading h4 { font-size: 1.1rem; font-weight: 700; line-height: 1.5; margin: 0; overflow-wrap: anywhere; }
.match-score { flex: 0 0 auto; font-size: .85rem; padding: .2rem .5rem; color: #785300; background: #fff2cc; border-radius: .25rem; }
.match-details { display: grid; grid-template-columns: 5rem minmax(0, 1fr); gap: .4rem 1rem; margin: 1rem 0 0; font-size: .9rem; }
.match-details dt { font-weight: 600; color: var(--muted); }
.match-details dd { margin: 0; overflow-wrap: anywhere; }
.payment-panel { margin-top: 2rem; border-top: 3px solid var(--secondary); scroll-margin-top: 1.5rem; }
.payment-panel > p { max-width: 58rem; }
.payment-panel h2 { font-size: 1.8rem; }
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin: 1.5rem 0; }
.plan-card { display: flex; flex-direction: column; padding: 1.5rem; background: var(--paper); border: 1px solid var(--line); border-radius: .5rem; }
.plan-card h3 { margin: 0 0 .75rem; font-size: 1.2rem; }
.plan-price { display: block; font-size: 2.25rem; font-weight: 700; letter-spacing: -.04em; margin-bottom: .5rem; }
.plan-price small { display: inline-block; font-size: 1rem; font-weight: 400; letter-spacing: 0; }
.plan-card .button-primary, .plan-card .button-secondary { margin-top: auto; width: 100%; }
.plan-card p { color: var(--muted); font-size: 1rem; margin-bottom: 1.25rem; }
.plan-note { font-size: .9rem; }

/* Sign-in, footer, and application feedback. */
.auth-card, .auth-required-panel { width: min(100%, 34rem); justify-self: center; margin-block: var(--section-space) 0; padding: clamp(1.5rem, 4vw, 3rem); }
.auth-card h1, .auth-required-panel h1 { font-size: clamp(1.9rem, 3vw, 2.4rem); margin-bottom: 1.25rem; }
.auth-required-panel .button-primary { margin-top: 1rem; }
.google-button { width: 100%; margin-block: 1.75rem 1.5rem; border-color: #8697ad; color: var(--primary); background: var(--white); }
.google-button:hover { color: var(--primary); background: var(--paper); }
.google-button img { width: 1.3rem; height: 1.3rem; object-fit: contain; flex: 0 0 auto; }
.auth-footnote { font-size: .9rem; color: var(--muted); }
.auth-footnote a { text-decoration: underline; text-underline-offset: .2em; }
.site-footer { background: var(--primary); color: #d5dfef; }
.site-footer-inner { max-width: calc(var(--content-width) + 2 * var(--gutter)); margin-inline: auto; padding: 3rem var(--gutter) 1.5rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 3rem; }
.site-footer-brand img { display: block; width: 11rem; padding: .6rem; background: var(--white); border-radius: .4rem; }
.site-footer-brand p { font-size: .95rem; margin: 1rem 0 0; }
.footer-links { display: grid; width: min(100%, 24rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); column-gap: 2rem; font-size: 1rem; align-content: start; }
.footer-links a { display: flex; align-items: center; min-height: 2.75rem; }
.footer-links a:hover, .footer-bottom a:hover, .site-footer-disclosure a:hover { color: #8ee5ef; text-decoration: underline; text-underline-offset: .25em; }
.site-footer-disclosure { max-width: 58rem; font-size: .85rem; color: #b9c8de; margin: 2rem 0 1.5rem; }
.site-footer-disclosure a { text-decoration: underline; text-underline-offset: .2em; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-top: 1px solid #ffffff30; padding-top: 1rem; font-size: .85rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer-legal a { display: inline-flex; align-items: center; min-height: 2.75rem; }
#blazor-error-ui { display: none; position: fixed; bottom: 0; left: 0; width: 100%; padding: 1rem; color: var(--alert); background: #fff1ef; z-index: 1000; box-shadow: 0 -3px 20px #04143e20; }
#blazor-error-ui a { text-decoration: underline; padding: .5rem; }
#blazor-error-ui .dismiss { cursor: pointer; float: right; background: transparent; border: 0; min-width: 2.75rem; min-height: 2.75rem; color: inherit; }
#startup-error-panel { white-space: pre-wrap; overflow-wrap: anywhere; padding: 1rem; background: #fff1ef; font-size: .85rem; }

@media (max-width: 70rem) {
    .topbar-inner { flex-wrap: wrap; gap: 0; }
    .nav-toggle { display: inline-flex; }
    .nav-links { display: none; width: 100%; padding-top: .75rem; margin-top: .75rem; border-top: 1px solid var(--line); }
    .nav-links.is-open { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; }
    .nav-links > .nav-signin { margin-left: 0; }
    .session-chip { grid-column: 1 / -1; justify-content: space-between; border-left: 0; border-top: 1px solid var(--line); padding: .65rem .75rem 0; }
    .session-name { max-width: none; white-space: normal; overflow-wrap: anywhere; }
    .ebpiq-banner-inner { grid-template-columns: 10rem minmax(0, 1fr); gap: 1.75rem 2rem; }
    .ebpiq-ad-brand { grid-row: 1 / 3; }
    .ebpiq-ad-cta { grid-column: 2; justify-self: start; max-width: none; }
    .section-heading, .content-columns { gap: 2rem; }
    .feature-card { padding: 1.25rem; }
}
@media (max-width: 56rem) {
    .workspace-grid { grid-template-columns: minmax(0, 1fr); }
    .section-heading, .content-columns { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
    .section-heading h2, .content-columns h2 { max-width: 38rem; }
    .feature-grid { grid-template-columns: minmax(0, 1fr); }
    .feature-card { padding: 1.5rem; }
    .feature-card h3 { margin-top: .85rem; }
    .privacy-highlight { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
    .privacy-highlight h2 { max-width: 38rem; }
    .home-closing { flex-direction: column; align-items: flex-start; }
    .contact-strip { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
}
@media (max-width: 40rem) {
    .topbar-inner { min-height: 4.75rem; padding-block: .9rem; }
    .brand { flex-basis: 11rem; }
    .brand-logo { width: 11rem; }
    .nav-links.is-open { grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); }
    .nav-links > a { justify-content: flex-start; min-height: 3rem; }
    .hero-description { margin-top: 1.25rem; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-facts { margin-top: 2rem; flex-direction: column; gap: .6rem; }
    .ebpiq-banner-inner { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
    .ebpiq-ad-brand { grid-row: auto; max-width: 13rem; }
    .ebpiq-ad-cta { grid-column: auto; justify-self: stretch; }
    .industry-grid, .plan-grid { grid-template-columns: minmax(0, 1fr); }
    .industry-card h2 { font-size: 1.6rem; }
    .faq-list summary { font-size: 1.1rem; }
    .faq-answer { padding-right: 0; }
    .legal-content { margin-top: 2rem; }
    .screening-heading { align-items: flex-start; flex-direction: column; gap: .5rem; }
    .dataset-panel { align-items: flex-start; flex-direction: column; gap: 1rem; padding: 1.25rem; }
    .dataset-panel > button { width: 100%; }
    .form-grid { grid-template-columns: minmax(0, 1fr); }
    .match-heading { flex-direction: column; gap: .5rem; }
    .match-details { grid-template-columns: minmax(0, 1fr); gap: .15rem; }
    .match-details dd + dt { margin-top: .5rem; }
    .footer-grid, .footer-bottom { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
    .footer-links { width: 100%; column-gap: 1.5rem; }
    .footer-bottom { gap: .5rem; }
    .plan-price { font-size: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
@media (forced-colors: active) {
    .button-primary, .button-secondary, .google-button, .nav-toggle { border: 1px solid ButtonText; }
    .nav-links > a.active { outline: 1px solid LinkText; }
}
