/* MMD Solutions â€” responsive theme matching the homepage concept.
   Use with the accompanying index.html or map these classes to your templates. */
:root {
  --background: #f8fafc;
  --surface: #ffffff;
  --navy: #0f172a;
  --text: #475569;
  --red: #dc2626;
  --brand-accent: #ff2d2c;
  --red-hover: #b91c1c;
  --green: #15803d;
  --green-soft: #dcfce7;
  --border: #e2e8f0;
  --radius: 16px;
  --shadow: 0 12px 36px rgb(15 23 42 / 7%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; }
img, svg { max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--navy); line-height: 1.12; }
h1 { font-size: clamp(2.5rem, 4.1vw, 3.85rem); letter-spacing: -.045em; font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -.03em; }
h3 { font-size: 1.25rem; letter-spacing: -.02em; }
.container { width: min(1280px, calc(100% - 64px)); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--border); }
.header-inner { min-height: 72px; padding-block: 8px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 2px; text-decoration: none; white-space: nowrap; line-height: 1; }
.brand img { flex-shrink: 0; width: 96px; height: auto; margin-right: -5px; display: block; }
.brand span { font-family: Arial, Helvetica, sans-serif; font-size: 1.4rem; font-weight: 300; letter-spacing: .015em; line-height: 1; }
.nav { display: flex; align-items: center; justify-content: flex-end; margin-inline-start: auto; }
.nav a { color: var(--navy); text-decoration: none; font-size: .95rem; }
.nav a:hover { text-decoration: underline; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 13px 24px; border: 1px solid transparent;
  border-radius: 8px; text-decoration: none; font-weight: 650; line-height: 1.3;
  cursor: pointer; transition: background-color .15s, border-color .15s;
}
.button-primary { background: var(--red); color: white; }
.button-primary:hover { background: var(--red-hover); }
.button-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.button-outline:hover { background: #e2e8f0; }
.button:disabled { opacity: .55; cursor: not-allowed; }
.button-wide { width: 100%; }
:where(a, button, input, textarea, select):focus-visible { outline: 3px solid #2563eb; outline-offset: 4px; }
.hero { padding-block: 20px 24px; }
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; gap: clamp(24px, 3vw, 40px); }
.hero-copy { min-width: 0; }
.eyebrow { margin-bottom: 18px; font-size: .8rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.hero-description { max-width: 660px; margin-top: 20px; font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.5; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 24px; }
.hero-actions .button { min-height: 52px; padding-inline: 24px; font-size: 1rem; }
.text-link { color: var(--navy); font-weight: 650; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.helper { margin-top: 14px; font-size: .88rem; }
.demo-card { min-width: 0; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); scroll-margin-top: 24px; }
.demo-card h2 { font-size: 1.75rem; }
.demo-intro { margin-top: 8px; font-size: .95rem; }
.demo-form { display: grid; gap: 10px; margin-top: 16px; }
/* Reserve the callback controls before the asynchronous demo config arrives.
   Content may still grow for privacy details, errors and completed transcripts. */
.demo-form { position: relative; min-height: 240px; align-content: start; }
.demo-intro { min-height: 3em; }
.demo-loading > * { visibility: hidden; }
.demo-loading::before { content: 'Loading demo…'; position: absolute; top: 0; left: 0; color: var(--text); font-size: .85rem; }
@media (max-width: 760px) {
  .demo-form { min-height: 320px; }
  .demo-intro { min-height: 4.5em; }
}
.demo-form .form-input { min-height: 46px; padding: 10px 12px; }
.demo-form .helper { margin-top: 0; font-size: .8rem; }
.field-label { color: var(--navy); font-weight: 600; font-size: .95rem; }
.form-input { width: 100%; min-height: 52px; padding: 12px 16px; background: white; border: 1px solid #94a3b8; border-radius: 7px; color: var(--navy); }
.form-input::placeholder { color: #64748b; }
.form-input[aria-invalid="true"] { border-color: var(--red); }
.form-error { color: var(--red-hover); font-size: .9rem; }
.divider { height: 1px; background: var(--border); margin-block: 14px; border: 0; }
.enquiry-card { background: var(--background); border-radius: 10px; padding: 16px; overflow-wrap: anywhere; }
.enquiry-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.card-label { font-size: .7rem; letter-spacing: .06em; font-weight: 750; text-transform: uppercase; }
.status { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; background: var(--green-soft); color: #166534; font-size: .75rem; font-weight: 700; border-radius: 999px; }
.status-pending { background: #fef3c7; color: #92400e; }
.transcript { margin-top: 8px; font-size: .95rem; line-height: 1.45; white-space: pre-wrap; }
.enquiry-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.meta { font-size: .8rem; }
.task-tag { padding: 7px 12px; border: 1px solid var(--navy); border-radius: 6px; color: var(--navy); font-size: .8rem; font-weight: 600; }
.how-it-works { padding-block: 20px; background: white; scroll-margin-top: 24px; }
.how-it-works h2 { font-size: 2rem; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 20px; }
.step { display: grid; grid-template-columns: 84px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; align-content: start; }
.step + .step { border-left: 1px solid var(--border); padding-left: 24px; }
.step-icon { grid-column: 1; grid-row: 1 / span 3; align-self: center; display: inline-grid; place-items: center; width: 84px; height: 84px; color: var(--navy); }
.step-icon svg { display: block; width: 80px; height: 80px; }
.icon-accent { stroke: var(--brand-accent); }
.step-number { grid-column: 2; color: #64748b; font-size: .9rem; font-weight: 650; line-height: 1.2; }
.step h3, .step p { grid-column: 2; }
.step p { font-size: .9rem; line-height: 1.4; }
@media (min-width: 961px) {
  /* Allow the tagline to begin below the initial screen, after the steps. */
  #main { min-height: calc(100vh - 16px); min-height: calc(100dvh - 16px); display: grid; grid-template-rows: minmax(auto, 1fr) auto auto; }
  .hero { display: grid; align-items: center; }
  .how-it-works { padding-block: 28px 40px; }
  .steps { margin-top: 24px; }
  .step { row-gap: 8px; }
}
@media (min-width: 961px) and (max-height: 800px) {
  .hero { padding-block: 8px; }
  .hero h1 { font-size: clamp(2.5rem, 3.7vw, 3.35rem); }
  .hero .eyebrow { margin-bottom: 12px; }
  .hero-description { margin-top: 16px; }
  .hero-actions { margin-top: 18px; }
  .demo-card { padding: 18px; }
  .demo-card h2 { font-size: 1.5rem; }
  .demo-intro { margin-top: 6px; font-size: .88rem; }
  .demo-form { margin-top: 8px; gap: 8px; }
  .demo-form .field-label { font-size: .85rem; line-height: 1.4; }
  .demo-form .form-input { min-height: 44px; padding: 7px 10px; }
  .demo-form .button { min-height: 44px; padding-block: 8px; }
  .demo-form .helper { font-size: .75rem; line-height: 1.35; }
  .demo-card .divider { margin-block: 12px; }
  .enquiry-card { padding: 14px; }
  .enquiry-top { margin-bottom: 6px; }
  .enquiry-card .status { padding: 3px 8px; font-size: .7rem; line-height: 1.4; }
  .enquiry-card h3 { font-size: 1.125rem; }
  .transcript { margin-top: 6px; font-size: .875rem; line-height: 1.4; }
  .enquiry-bottom { margin-top: 8px; }
  .enquiry-card .meta { font-size: .75rem; }
  .enquiry-card .task-tag { padding: 4px 8px; font-size: .75rem; }
  .how-it-works { padding-block: 24px 32px; }
  .how-it-works h2 { font-size: 1.6rem; }
  .steps { margin-top: 20px; }
  .step h3 { font-size: 1.05rem; }
  .step p { font-size: .85rem; }
  .step { grid-template-columns: 76px minmax(0, 1fr); }
  .step-icon { width: 76px; height: 76px; }
  .step-icon svg { width: 72px; height: 72px; }
}
.credibility { padding-block: 10px; background: var(--navy); color: #cbd5e1; text-align: center; }
.credibility h2 { color: white; font-size: 1rem; letter-spacing: 0; line-height: 1.4; }
.credibility p { margin-top: 8px; font-size: .9rem; }
.site-footer { padding-block: 40px 24px; font-size: .85rem; text-align: left; }
.footer-details { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 40px; align-items: start; }
.footer-company { margin-bottom: 12px; color: #fff; font-size: 1.1rem; font-weight: 700; }
.footer-details address { font-style: normal; line-height: 1.8; }
.footer-kicker { margin-bottom: 12px; color: #fff; font-weight: 650; }
.footer-contact { text-align: right; overflow-wrap: anywhere; }
.footer-contact > p + p { margin-top: 8px; }
.footer-description { max-width: 320px; margin-inline-start: auto; color: #94a3b8; }
.footer-cta { align-self: center; justify-self: center; min-width: 200px; min-height: 60px; padding: 16px 32px; color: #fff; font-size: 1.15rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px 32px; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / 15%); color: #94a3b8; font-size: .8rem; }
.footer-legal { display: grid; gap: 4px; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.footer-links a, .footer-links .cookie-settings { min-height: 44px; display: inline-flex; align-items: center; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 960px) {
  .footer-details { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
  .footer-cta { grid-column: 1 / -1; grid-row: 2; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .step + .step { border-left: 0; border-top: 1px solid var(--border); padding: 24px 0 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-copy { max-width: 720px; }
  .demo-card { width: 100%; max-width: 640px; }
  .hero { padding-block: 28px; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .header-inner { min-height: 64px; flex-wrap: nowrap; gap: 10px; padding-block: 8px; }
  .brand span { font-size: 1.1rem; }
  .nav { flex-shrink: 0; }
  .nav a { font-size: .85rem; }
  .nav .button { min-height: 44px; padding: 10px 12px; }
  h1 { font-size: clamp(2.5rem, 9vw, 3.3rem); }
  .eyebrow { font-size: .7rem; margin-bottom: 18px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-actions .button { width: 100%; }
  .demo-card { padding: 20px; }
  .demo-card h2 { font-size: 1.6rem; }
  .enquiry-card { padding: 16px; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .step { grid-template-columns: 72px minmax(0, 1fr); column-gap: 14px; }
  .step-icon { width: 72px; height: 72px; }
  .step-icon svg { width: 64px; height: 64px; }
  .step + .step { border-left: 0; border-top: 1px solid var(--border); padding: 24px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
/* Navy framing for the one-page site. */
.site-header { background: var(--navy); border-bottom: 0; }
.site-header .brand, .site-header .nav a { color: #fff; }
.site-header .button-outline { color: #fff; border-color: #fff; }
.site-header .button-outline:hover { background: rgb(255 255 255 / 12%); }
.credibility, .site-footer { background: var(--navy); color: #cbd5e1; }
.site-footer { border-top: 1px solid rgb(255 255 255 / 15%); }
.modal-open { overflow: hidden; }
.consent-open { overflow: hidden; }
/* Editorial pages: lightweight, readable and independent of the home layout. */
#main.content-main { display: block; min-height: calc(100dvh - 72px); padding-block: 28px 80px; background: #f8fafc; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 40px; color: #64748b; font-size: .8rem; line-height: 1.5; }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 32px; color: var(--navy); text-underline-offset: 4px; }
.content-heading { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 20px 48px; margin-bottom: 40px; }
.content-heading > .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.content-heading > .content-lead { margin-top: 0; font-size: 1.05rem; }
.content-heading .eyebrow, .article-heading .eyebrow { color: #a63028; }
.content-heading h1, .article-heading h1 { font-size: clamp(2.1rem, 1.3rem + 2.4vw, 3.3rem); line-height: 1.08; letter-spacing: -.04em; text-wrap: balance; }
.content-lead { max-width: 65ch; margin-top: 22px; color: #475569; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.7; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 20px; }
.section-heading h2 { font-size: 1.2rem; letter-spacing: -.02em; }
.section-heading p, .section-heading a { font-size: .88rem; color: #475569; }
.guide-cards { display: grid; grid-template-columns: 1.12fr 1fr; gap: 20px; }
.guide-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0; padding: 28px 32px; background: white; border: 1px solid #dbe1e9; border-radius: 16px; }
.guide-card .card-label, .related-card .card-label { color: #a63028; font-size: .7rem; line-height: 1.6; letter-spacing: .08em; }
.guide-card h2, .guide-card h3 { max-width: 26ch; font-size: clamp(1.25rem, 1.1rem + .4vw, 1.5rem); line-height: 1.25; letter-spacing: -.025em; }
.guide-card h2 a, .guide-card h3 a, .related-card h3 a { color: var(--navy); text-decoration: none; }
.guide-card h2 a:hover, .guide-card h3 a:hover, .related-card h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.guide-card p:not(.card-label) { max-width: 51ch; color: #475569; font-size: .95rem; line-height: 1.7; }
.guide-card .guide-reading-time { margin-top: auto; padding-top: 8px; font-size: .78rem; }
.guide-reading-time span { margin-inline: 6px; }
.guide-card > .text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 44px; font-size: .9rem; }
.guide-card-featured { grid-row: span 2; justify-content: center; padding: clamp(28px, 4vw, 52px); background: var(--navy); border-color: var(--navy); }
.guide-card-featured::before { content: ''; width: 48px; height: 4px; margin-bottom: 16px; background: var(--brand-accent); border-radius: 2px; }
.guide-card-featured h2 { font-size: clamp(1.8rem, 1.3rem + 1.5vw, 2.5rem); line-height: 1.15; }
.guide-card-featured h2 a, .guide-card-featured > .text-link { color: white; }
.guide-card-featured .card-label { color: #ffa79c; }
.guide-card-featured p:not(.card-label) { color: #cbd5e1; font-size: 1rem; }
.guide-card-featured .guide-reading-time { margin-top: 22px; font-size: .8rem; }
.guide-callout { margin-top: 40px; padding: 32px; background: #fff2ee; border: 1px solid #f0d3ca; border-radius: 16px; }
.guide-callout h2 { max-width: 32ch; font-size: 1.5rem; line-height: 1.3; letter-spacing: -.02em; }
.guide-callout p { max-width: 72ch; margin-block: 14px 20px; color: #475569; line-height: 1.75; }
.guide-callout .button { min-height: 48px; white-space: normal; }
.article-layout { max-width: 780px; }
.article-heading { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--border); }
.article-heading h1 { font-size: clamp(2.1rem, 1.4rem + 2.5vw, 3.3rem); }
.article-meta { margin-top: 22px; color: #64748b; font-size: .8rem; line-height: 1.8; }
.article-layout > p, .article-layout section > p { margin-block: 18px; color: #334155; font-size: 1.0625rem; line-height: 1.85; }
.article-layout > .content-lead { font-size: 1.2rem; line-height: 1.75; }
.article-layout section { margin-top: 44px; scroll-margin-top: 28px; }
.article-layout h2 { margin-bottom: 16px; font-size: clamp(1.4rem, 1.2rem + .6vw, 1.75rem); line-height: 1.3; letter-spacing: -.025em; text-wrap: balance; }
.article-layout ul, .article-layout ol { padding-left: 24px; color: #334155; line-height: 1.85; }
.article-layout li + li { margin-top: 10px; }
.article-layout p a, .article-layout li a, .section-heading a { text-underline-offset: 4px; text-decoration-thickness: 1px; }
.article-contents { margin-top: 28px; padding: 24px 28px; background: white; border: 1px solid var(--border); border-radius: 12px; }
.article-contents .card-label { margin-bottom: 10px; color: #64748b; }
.article-contents ol { list-style: none; padding: 0; }
.article-contents li + li { margin-top: 0; }
.article-contents a { display: inline-flex; align-items: center; min-height: 44px; color: var(--navy); font-size: .95rem; line-height: 1.5; }
.message-example { margin-block: 24px; padding: 22px 26px; border-left: 4px solid var(--brand-accent); border-radius: 0 12px 12px 0; background: white; color: var(--navy); font-size: 1.0625rem; line-height: 1.85; }
.related-guides { padding-top: 32px; border-top: 1px solid var(--border); }
.related-guides .section-heading h2 { margin-bottom: 0; font-size: 1.35rem; }
.related-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.related-card { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 24px; border: 1px solid var(--border); border-radius: 12px; background: white; }
.related-card h3 { font-size: 1.1rem; line-height: 1.4; letter-spacing: -.015em; }
.related-card > p:last-child { display: flex; justify-content: space-between; margin-top: auto; padding-top: 8px; color: #64748b; font-size: .8rem; }
.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: 10px; }
.comparison-table { width: 100%; border-collapse: collapse; font-size: .9rem; line-height: 1.65; background: white; }
.comparison-table th, .comparison-table td { padding: 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.comparison-table td + td, .comparison-table th + th { border-left: 1px solid var(--border); }
.comparison-table thead { background: var(--navy); color: white; }
.comparison-table tbody th { min-width: 130px; }
.comparison-table tbody tr:last-child > * { border-bottom: 0; }
@media (max-width: 760px) {
  .content-heading { grid-template-columns: 1fr; gap: 18px; }
  .guide-cards { grid-template-columns: 1fr; }
  .guide-card-featured { grid-row: auto; }
  .guide-card-featured h2 { max-width: 24ch; }
}
@media (max-width: 600px) {
  #main.content-main { padding-block: 18px 48px; }
  .breadcrumbs { margin-bottom: 28px; font-size: .75rem; }
  .content-heading { margin-bottom: 32px; }
  .content-heading .eyebrow, .article-heading .eyebrow { font-size: .7rem; }
  .content-lead { margin-top: 18px; }
  .section-heading { gap: 6px; }
  .guide-card, .guide-card-featured, .guide-callout { padding: 24px; }
  .guide-card-featured::before { margin-bottom: 8px; }
  .guide-card-featured .guide-reading-time { margin-top: 8px; }
  .article-layout > p, .article-layout section > p { font-size: 1rem; line-height: 1.8; }
  .article-layout > .content-lead { font-size: 1.1rem; }
  .article-heading { padding-bottom: 22px; }
  .article-contents { padding: 20px; }
  .article-layout section { margin-top: 34px; }
  .message-example { padding: 18px; font-size: 1rem; }
  .related-cards { grid-template-columns: 1fr; }
  .related-card { padding: 22px; }
  .guide-callout .button { width: 100%; text-align: center; }
}
.consent-dialog { width: min(560px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--text); box-shadow: 0 24px 80px rgb(0 0 0 / 30%); overflow-y: auto; }
.consent-dialog::backdrop { background: rgb(15 23 42 / 72%); }
.consent-dialog h2 { color: var(--navy); font-size: 1.6rem; }
.consent-dialog p { margin-top: 14px; font-size: .95rem; line-height: 1.6; }
.consent-details { margin-top: 16px; font-size: .9rem; }
.consent-details summary { cursor: pointer; min-height: 36px; }
.consent-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.consent-actions .button { padding-inline: 12px; }
.cookie-settings { padding: 0; border: 0; background: none; color: #fff; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 24px; }
@media (max-width: 420px) {
  .consent-dialog { padding: 22px 18px; }
  .consent-actions { grid-template-columns: 1fr; }
}
.contact-dialog { width: min(760px, calc(100% - 32px)); max-width: none; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); background: var(--surface); box-shadow: 0 24px 80px rgb(0 0 0 / 30%); overflow-y: auto; overscroll-behavior: contain; overflow-wrap: anywhere; }
.contact-dialog::backdrop { background: rgb(15 23 42 / 72%); }
.dialog-header { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 24px; border-bottom: 1px solid var(--border); background: var(--surface); }
.dialog-header h2 { font-size: 1.65rem; }
.dialog-header h2:focus { outline: none; }
.dialog-close { flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 8px; background: var(--background); color: var(--navy); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.dialog-close:hover { background: var(--border); }
.dialog-content { padding: 20px 24px; }
.contact-intro { margin-bottom: 18px; }
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; min-width: 0; align-items: start; }
.contact-form > :not(.field) { grid-column: 1 / -1; }
.contact-form .helper { margin: 0; }
.contact-privacy { font-size: .85rem; }
.contact-privacy summary { min-height: 32px; cursor: pointer; }
.contact-privacy p { margin-block: 8px 12px; }
.contact-email { margin-top: 12px; font-size: .85rem; }
.field { display: grid; gap: 8px; min-width: 0; }
.form-input { min-width: 0; font-size: 1rem; }
textarea.form-input { resize: vertical; }
.optional { color: var(--text); font-weight: 400; }
.form-status:empty { display: none; }
.form-status { overflow-wrap: anywhere; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.skip-link { position: absolute; top: 8px; left: 16px; transform: translateY(-150%); background: white; color: var(--navy); padding: 12px; z-index: 10; }

/* Shared WhatsApp contact link; normal navigation works without JavaScript. */
.whatsapp-contact {
  position: fixed; z-index: 5;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 12px 18px; border: 1px solid #146b3b;
  border-radius: 999px; background: #146b3b; color: #fff;
  box-shadow: 0 4px 18px rgb(15 23 42 / 20%);
  font-size: .9rem; font-weight: 650; line-height: 1.25; text-decoration: none;
}
.whatsapp-contact:hover { background: #0f542e; border-color: #0f542e; }
.whatsapp-contact svg { width: 22px; height: 22px; flex: 0 0 auto; }
body:has(.whatsapp-contact) .site-footer { padding-bottom: 92px; }
@media (max-width: 600px) {
  .whatsapp-contact { right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); padding: 12px 15px; }
}
@media print { .whatsapp-contact { display: none; } }
.skip-link:focus { transform: none; }
@media (max-width: 600px) {
  .brand img { width: 76px; }
  .nav a:not(.button) { display: inline-flex; align-items: center; min-height: 44px; }
  .site-footer { padding-top: 28px; }
  .footer-details { grid-template-columns: 1fr; gap: 24px; }
  .contact-dialog { width: calc(100% - 16px); max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); border-radius: 12px; }
  .dialog-header { padding: 12px 16px; }
  .dialog-content { padding: 16px; }
  .contact-intro { font-size: .9rem; margin-bottom: 14px; }
  .contact-form { gap: 12px; }
  .contact-form .field:nth-child(n + 3) { grid-column: 1 / -1; }
  .contact-form .field { gap: 4px; }
  .contact-form .field-label { font-size: .85rem; }
  .contact-form .form-input { min-height: 44px; padding: 8px 10px; }
  .contact-form textarea.form-input { height: 88px; }
  .contact-form .helper { font-size: .8rem; }
  .contact-email { overflow-wrap: anywhere; }
}

.newsletter-choice { border-top: 1px solid #dce2e9; margin-top: 24px; padding-top: 20px; }
.newsletter-choice h3 { margin: 0 0 8px; font-size: 1.2rem; line-height: 1.3; }
.newsletter-choice form { display: grid; gap: 12px; margin-top: 16px; }
.marketing-opt-in { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; line-height: 1.5; cursor: pointer; }
.marketing-opt-in input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--red); }
.website-terms { margin-top: 18px; }

.consent-dialog { width: min(640px, calc(100% - 32px)); }
.newsletter-choice { border-top: 0; margin-top: 18px; padding-top: 0; }
.privacy-choice { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.privacy-choice h3 { font-size: 1.1rem; margin: 0; }

/* Analytics preference alignment. */
.consent-dialog .privacy-choice .consent-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 10px;
  margin-top: 16px;
}
.consent-dialog .privacy-choice .consent-actions .button {
  width: 100%;
  margin: 0;
  white-space: normal;
}
.consent-dialog .privacy-choice > [data-analytics-exclude-browser] {
  display: flex;
  width: fit-content;
  max-width: 100%;
  min-height: 32px;
  margin-top: 12px;
  padding: 4px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font-size: .78rem;
  font-weight: 500;
  line-height: 1.45;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
  box-shadow: none;
}
.consent-dialog .privacy-choice > [data-analytics-exclude-browser]:hover { color: var(--navy); background: transparent; }
.consent-dialog .privacy-choice > .helper { margin-top: 4px; font-size: .78rem; line-height: 1.5; }
/* End analytics preference alignment. */

/* Ungated practical resource: useful on screen and on a single printed sheet. */
.resource-banner { display: flex; align-items: center; justify-content: space-between; gap: 24px 36px; margin-top: 24px; padding: 28px 32px; border: 1px solid #cbd5e1; border-left: 4px solid var(--brand-accent); border-radius: 12px; background: white; }
.resource-banner .card-label { color: #a63028; margin-bottom: 8px; }
.resource-banner h2 { font-size: 1.5rem; line-height: 1.3; letter-spacing: -.02em; }
.resource-banner p:last-child { margin-top: 8px; color: #475569; font-size: .95rem; }
.resource-banner .button { flex: none; gap: 16px; white-space: normal; text-align: center; }
.resource-link { padding: 20px 24px; border: 1px solid var(--border); border-radius: 12px; background: white; }
.print-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-bottom: 28px; }
.print-actions p { max-width: 36ch; font-size: .85rem; color: #64748b; }
.checklist-sheet { padding: 28px; border: 1px solid #cbd5e1; border-radius: 16px; background: white; }
.article-layout .callback-checklist { padding: 0; list-style: none; }
.callback-checklist li { padding-block: 16px; border-top: 1px solid var(--border); }
.callback-checklist label { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; cursor: pointer; font-size: 1rem; line-height: 1.7; }
.callback-checklist input { width: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--red); }
.callback-checklist strong { display: block; color: var(--navy); }
.checklist-sheet .message-example { margin-bottom: 12px; background: #f8fafc; }
.article-layout .checklist-footnote { margin-bottom: 0; font-size: .85rem; line-height: 1.6; }
.print-credit { display: none; }
@media (max-width: 760px) {
  .resource-banner { flex-direction: column; align-items: stretch; padding: 24px; }
  .resource-banner .button { align-self: flex-start; }
}
@media (max-width: 600px) {
  .checklist-sheet { padding: 20px; }
  .resource-banner .button { width: 100%; }
  .print-actions .button { width: 100%; }
}
@media print {
  @page { size: A4; margin: 12mm; }
  .resource-page { background: white; color: #111; font: 10pt/1.35 system-ui, sans-serif; }
  .resource-page .site-header, .resource-page .site-footer, .resource-page dialog,
  .resource-page .breadcrumbs, .resource-page .print-actions, .resource-page .checklist-next,
  .resource-page .guide-callout, .resource-page .article-meta, .resource-page .eyebrow,
  .resource-page .skip-link { display: none !important; }
  .resource-page #main.content-main { display: block; min-height: 0; padding: 0; background: white; }
  .resource-page .article-layout { width: 100%; max-width: none; margin: 0; }
  .resource-page .article-heading { margin: 0 0 14pt; padding: 0; border: 0; }
  .resource-page .article-heading h1 { font-size: 21pt; line-height: 1.1; color: #111; }
  .resource-page .content-lead { max-width: none; margin-top: 8pt; font-size: 10pt; line-height: 1.4; color: #111; }
  .resource-page .checklist-sheet { margin: 0; padding: 0; border: 0; border-radius: 0; }
  .resource-page .checklist-sheet h2 { font-size: 12pt; margin-bottom: 7pt; }
  .resource-page .callback-checklist li { margin: 0; padding: 7pt 0; break-inside: avoid; }
  .resource-page .callback-checklist label { grid-template-columns: 12pt 1fr; gap: 8pt; font-size: 10pt; line-height: 1.4; }
  .resource-page .callback-checklist input { width: 11pt; height: 11pt; margin-top: 2pt; }
  .resource-page .message-example { margin: 8pt 0; padding: 9pt 12pt; border-left: 2pt solid #555; font-size: 10pt; line-height: 1.4; break-inside: avoid; }
  .resource-page .checklist-footnote { margin: 6pt 0; font-size: 8pt; line-height: 1.35; }
  .resource-page .print-credit { display: block; margin-top: 12pt; padding-top: 6pt; border-top: 1px solid #aaa; font-size: 8pt; }
}

.pricing-layout { display: grid; grid-template-columns: minmax(280px, .85fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.standard-price-card { padding: clamp(24px, 4vw, 40px); background: white; border: 1px solid var(--border); border-top: 5px solid var(--red); border-radius: var(--radius); box-shadow: 0 10px 40px rgb(15 23 42 / 5%); }
.standard-price-card h2 { margin: 12px 0; font-size: 1.8rem; }
.standard-price { margin: 14px 0; }
.standard-price strong { color: var(--navy); font-size: clamp(3.5rem, 7vw, 5rem); line-height: 1; letter-spacing: -.05em; }
.standard-price span { color: var(--muted); }
.pricing-features { padding-left: 22px; margin: 26px 0; line-height: 1.7; }
.pricing-features li + li { margin-top: 12px; }
.standard-price-card .button { width: 100%; }
.standard-price-card .helper { margin-top: 14px; }
.pricing-explanation { display: grid; gap: 30px; }
.pricing-explanation h2 { font-size: 1.4rem; margin: 0 0 12px; line-height: 1.3; }
.pricing-explanation p, .pricing-explanation ol { line-height: 1.75; margin: 12px 0; }
.pricing-explanation ol { padding-left: 22px; }
.pricing-explanation li + li { margin-top: 10px; }
.pricing-offer { padding: 24px; background: #fff4f1; border: 1px solid #f1d4ce; border-radius: var(--radius); }
@media (max-width: 760px) { .pricing-layout { grid-template-columns: 1fr; } .pricing-main .content-heading h1 { font-size: clamp(2rem, 8vw, 3.4rem); } }

/* Pricing: put the plan, scope and next step in a clear reading order. */
.pricing-main > .container { max-width: 1120px; }
.pricing-main .content-heading { gap: 20px 40px; margin-bottom: 36px; }
.pricing-main .content-heading h1 { font-size: clamp(2.1rem, 1.3rem + 2.2vw, 3.1rem); }
.pricing-layout { grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr); gap: 32px; }
.pricing-main .standard-price-card { background: var(--navy); color: #cbd5e1; box-shadow: none; border-color: var(--navy); border-top-color: var(--brand-accent); }
.standard-price-card h2, .standard-price-card .standard-price strong { color: white; }
.standard-price-card > .eyebrow { display: inline-flex; padding: 5px 10px; border: 1px solid #745058; border-radius: 999px; color: #ffb1a6; font-size: .7rem; letter-spacing: .06em; }
.standard-price-card .standard-price span, .standard-price-card .helper { color: #cbd5e1; }
.standard-price-card .helper { line-height: 1.65; }
.standard-price-card .pricing-features { margin-block: 24px; font-size: 1rem; }
.standard-price-card .pricing-features li::marker { color: #ff9a8c; }
.standard-price-card .button { min-height: 52px; }
.pricing-explanation { gap: 24px; }
.pricing-explanation > section:not(.pricing-offer) { padding: 24px 28px; border: 1px solid var(--border); border-radius: 14px; background: white; }
.pricing-explanation p { color: #475569; font-size: .95rem; }
.pricing-offer { padding: 24px 28px; }
.pricing-offer h2 { max-width: 30ch; }
.pricing-offer .helper { font-size: .8rem; line-height: 1.65; }
.pricing-questions { max-width: 900px; margin: 56px auto 0; padding-top: 36px; border-top: 1px solid var(--border); }
.pricing-questions > .eyebrow { color: #a63028; margin-bottom: 12px; }
.pricing-questions h2 { color: var(--navy); font-size: clamp(1.6rem, 1.4rem + .5vw, 2rem); line-height: 1.25; letter-spacing: -.025em; }
.pricing-questions-intro { margin-block: 14px 24px; max-width: 65ch; color: #475569; }
.pricing-questions details { margin-top: 12px; border: 1px solid #dbe1e9; border-radius: 12px; background: white; }
.pricing-questions summary { min-height: 58px; padding: 18px 24px; color: var(--navy); font-size: 1rem; font-weight: 650; line-height: 1.5; cursor: pointer; }
.pricing-questions summary::marker { color: #a63028; }
.pricing-questions details[open] summary { border-bottom: 1px solid var(--border); }
.pricing-questions details > div { padding: 18px 24px 22px; }
.pricing-questions details p { max-width: 72ch; color: #475569; font-size: .95rem; line-height: 1.8; }
.pricing-questions-next { margin-top: 24px; line-height: 1.7; }
.pricing-questions-next a { color: var(--navy); font-weight: 650; text-underline-offset: 4px; }
@media (max-width: 760px) {
  .pricing-layout { grid-template-columns: 1fr; gap: 24px; }
  .pricing-explanation > section:not(.pricing-offer), .pricing-offer { padding: 22px; }
  .pricing-questions { margin-top: 36px; padding-top: 28px; }
  .pricing-questions summary { padding: 16px 18px; }
  .pricing-questions details > div { padding: 16px 18px 20px; }
}

/* Compact, independent newsletter and analytics choices. */
.consent-dialog { width: min(540px, calc(100% - 24px)); padding: 26px; }
.consent-close { position: absolute; top: 10px; right: 10px; }
.consent-dialog .newsletter-choice { margin: 0; }
.consent-dialog .eyebrow { margin: 0 40px 8px 0; font-size: .75rem; }
.consent-dialog h2 { margin: 0; padding-right: 16px; font-size: clamp(1.4rem, 4vw, 1.8rem); line-height: 1.2; }
.consent-dialog .offer-summary { margin-top: 10px; color: var(--muted); font-size: .85rem; line-height: 1.5; }
.consent-dialog .newsletter-choice form { gap: 9px; margin-top: 18px; }
.consent-dialog .newsletter-permission { margin: 1px 0 3px; font-size: .85rem; line-height: 1.5; }
.consent-dialog .helper { margin: 0; font-size: .78rem; line-height: 1.5; }
.consent-dialog .form-status:empty { display: none; }
.consent-dialog .privacy-choice { margin-top: 20px; padding-top: 18px; }
.consent-dialog .privacy-choice h3 { font-size: 1rem; }
.consent-dialog #consent-description { margin: 7px 0 12px; font-size: .85rem; line-height: 1.5; }
.consent-dialog .consent-actions { margin-top: 0; gap: 10px; }
.consent-dialog .consent-actions .button { flex: 1; min-width: 0; padding-inline: 10px; }
.consent-full-notice { margin-top: 14px; font-size: .8rem; }
.consent-full-notice summary { min-height: 36px; display: list-item; align-content: center; }
@media (max-width: 480px) { .consent-dialog { padding: 22px 18px; } .consent-dialog .consent-actions { display: flex; flex-direction: row; } .consent-dialog .consent-actions .button { font-size: .8rem; } }

/* REUSABLE COMPONENTS
   Compose ui-panel with --dark, --accent or --subtle. Use ui-stack for rhythm,
   ui-disclosure for FAQs and ui-dialog for modal shells. Page classes own layout;
   these classes own surfaces, spacing, type and interactive states.
   Reference markup: static-site/components/patterns.html (not published). */
:root {
  --space-1: .5rem; --space-2: .75rem; --space-3: 1rem;
  --space-4: 1.5rem; --space-5: 2rem; --space-6: 3rem;
  --panel-padding: clamp(22px, 2.5vw, 32px);
  --panel-radius: 16px; --control-radius: 9px;
  --surface-muted: #f1f4f8; --surface-accent: #fff4ef;
  --border-accent: #efd6cc; --ink: #142137;
  --text-on-dark: #d2dbe8; --accent-on-dark: #ffb1a1;
}
.ui-stack { display: grid; gap: var(--space-4); }
.ui-panel {
  --panel-bg: var(--surface); --panel-border: #dce3eb; --panel-ink: var(--ink);
  padding: var(--panel-padding); border: 1px solid var(--panel-border);
  border-radius: var(--panel-radius); background: var(--panel-bg);
  color: var(--text); box-shadow: 0 3px 12px rgb(15 23 42 / 3%);
  min-width: 0;
}
.ui-panel h2, .ui-panel h3 { color: var(--panel-ink); line-height: 1.25; }
.ui-panel > .eyebrow, .ui-panel > .card-label { font-size: .7rem; letter-spacing: .09em; }
.ui-panel p { text-wrap: pretty; }
.ui-panel--subtle { --panel-bg: var(--surface-muted); box-shadow: none; }
.ui-panel--accent { --panel-bg: var(--surface-accent); --panel-border: var(--border-accent); box-shadow: none; }
.ui-panel--dark {
  --panel-bg: var(--navy); --panel-border: var(--navy); --panel-ink: #fff;
  color: var(--text-on-dark); box-shadow: none;
}
.ui-panel--dark h2, .ui-panel--dark h3, .ui-panel--dark strong { color: #fff; }
.ui-panel--dark p:not(.eyebrow):not(.card-label), .ui-panel--dark .helper { color: var(--text-on-dark); }
.ui-panel--dark > .eyebrow, .ui-panel--dark > .card-label { color: var(--accent-on-dark); }
.ui-panel--dark a:not(.button) { color: #fff; }
.ui-section-header h1 { text-wrap: balance; }
.ui-section-header h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.25; }
.ui-section-header > .eyebrow { color: #9f302b; }
.ui-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }
.button { border-radius: var(--control-radius); min-height: 46px; font-weight: 650; line-height: 1.35; text-align: center; transition: background-color .15s, border-color .15s; }
.button:focus-visible, summary:focus-visible, .dialog-close:focus-visible { outline: 3px solid #a63028; outline-offset: 4px; }
.button:disabled { cursor: not-allowed; }
.form-input { border-color: #bac5d3; border-radius: var(--control-radius); background: #fff; color: var(--ink); min-height: 48px; }
.form-input:focus { border-color: #9f302b; outline: 3px solid rgb(159 48 43 / 15%); outline-offset: 1px; }
.field-label { color: var(--ink); font-size: .9rem; font-weight: 650; }
.ui-dialog { border-color: #d5dde8; border-radius: 18px; box-shadow: 0 24px 80px rgb(15 23 42 / 24%); }
.ui-dialog .dialog-close { width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 10px; color: var(--ink); background: #f8fafc; }
.ui-dialog .dialog-header { padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.ui-dialog .contact-intro { color: var(--text); line-height: 1.6; }
.ui-dialog .contact-privacy { font-size: .85rem; }
.ui-dialog .consent-actions .button { border-color: #7b8797; color: var(--ink); background: #fff; }
.ui-dialog .consent-actions .button:hover { background: var(--surface-muted); }
.pricing-explanation > section.ui-panel { padding: var(--panel-padding); border-radius: var(--panel-radius); }
.pricing-main .standard-price-card.ui-panel { border-top: 4px solid var(--brand-accent); }
.pricing-offer.ui-panel { border-color: var(--panel-border); }
/* Reusable paired cards: equal widths and matching heights within each row.
   Keep panels as direct children so extra content never creates a tall side stack. */
.ui-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.pricing-layout.ui-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.guide-cards.ui-card-grid, .related-cards.ui-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.ui-card-grid > .ui-panel { min-width: 0; height: auto; }
.guide-cards.ui-card-grid > .guide-card-featured { grid-row: auto; }
@media (min-width: 761px) {
  /* An unpaired card gets a complete row instead of leaving an empty column. */
  .ui-card-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.ui-card-content { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.ui-card-content > h2 { margin: 0; font-size: 1.5rem; line-height: 1.25; }
.ui-card-content > p, .ui-card-content > .helper { margin: 0; }
.ui-card-content > ul, .ui-card-content > ol { margin: 0; padding-left: 22px; line-height: 1.75; }
.ui-card-content li + li { margin-top: 10px; }
.ui-card-content > .button { margin-top: auto; }
.pricing-layout .ui-card-content { padding: var(--panel-padding); }
@media (max-width: 760px) {
  .ui-card-grid, .pricing-layout.ui-card-grid, .guide-cards.ui-card-grid, .related-cards.ui-card-grid { grid-template-columns: minmax(0, 1fr); }
}
.pricing-questions { width: min(900px, calc(100% - 48px)); }
.billing-management { padding: var(--panel-padding); background: var(--surface-muted); border: 1px solid var(--border); border-radius: var(--panel-radius); }
.billing-management > p { margin: 12px 0 20px; max-width: 65ch; }
.billing-management > .helper { font-size: .85rem; margin-block: 14px 24px; }
.pricing-questions .ui-disclosure { border-color: #dce3eb; border-radius: 12px; box-shadow: none; overflow: clip; }
.ui-disclosure summary { position: relative; list-style: none; padding-right: 56px; }
.ui-disclosure summary::-webkit-details-marker { display: none; }
.ui-disclosure summary::after { content: '+' / ''; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: #a63028; font-size: 1.5rem; font-weight: 400; }
.ui-disclosure[open] summary::after { content: '\2212' / ''; }
.ui-disclosure summary:hover { background: #f8fafc; }
.ui-disclosure[open] summary { background: #f8fafc; }
.guide-card.ui-panel, .related-card.ui-panel { transition: border-color .15s, box-shadow .15s; }
.guide-card.ui-panel:focus-within, .related-card.ui-panel:focus-within { outline: 2px solid #9f302b; outline-offset: 4px; }
.guide-card.ui-panel:not(.ui-panel--dark):hover, .related-card.ui-panel:hover { border-color: #a8b5c6; box-shadow: 0 6px 20px rgb(15 23 42 / 6%); }
.article-contents.ui-panel { padding: 22px 26px; }
.guide-callout.ui-panel h2, .resource-banner.ui-panel h2 { font-size: clamp(1.4rem, 2vw, 1.75rem); }
@media (max-width: 600px) {
  .ui-panel { --panel-padding: 22px; }
  .pricing-questions { width: calc(100% - 32px); }
  .billing-management > .button { width: 100%; }
  .ui-disclosure summary { padding-right: 48px; }
  .ui-disclosure summary::after { right: 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button, .guide-card.ui-panel, .related-card.ui-panel { transition: none; } }
@media print { .resource-page .ui-panel { box-shadow: none; } .resource-page .checklist-sheet.ui-panel { padding: 0; border: 0; border-radius: 0; background: white; } }

.hero .demo-card.ui-panel { --panel-padding: 24px; }
.hero .enquiry-card.ui-panel { --panel-padding: 18px; }

.ui-panel--dark :focus-visible { outline-color: var(--accent-on-dark); }
.guide-card.ui-panel--dark:focus-within { outline-color: #a63028; }

.guide-card-featured.ui-panel { justify-content: flex-start; }
.guide-card-featured.ui-panel::before { margin-bottom: 8px; }
.guide-card-featured.ui-panel .guide-reading-time { margin-top: auto; padding-top: 24px; }
.guide-cards-even .guide-card-featured { grid-row: auto; padding: 28px 32px; }
.guide-cards-even .guide-card-featured h2 { font-size: clamp(1.25rem, 1.1rem + .4vw, 1.5rem); line-height: 1.25; }
@media (max-width: 600px) { .guide-cards-even .guide-card-featured { padding: 24px; } }

.pilot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.pilot-grid ul { padding-left: 22px; line-height: 1.8; }
.pilot-grid li + li { margin-top: 8px; }
.ui-stack > .button { justify-self: start; }
@media (max-width: 760px) { .pilot-grid { grid-template-columns: 1fr; } }

/* Shared phone layouts: wrap content rather than hiding horizontal overflow. */
.demo-call-button { width: 100%; margin-block: 12px; font-size: 1.15rem; overflow-wrap: anywhere; }
.demo-call-code { display: block; padding: 10px 12px; margin-top: 6px; border-radius: 8px; background: var(--surface-muted); text-align: center; font-size: clamp(1.5rem, 5vw, 2rem); letter-spacing: .16em; color: var(--navy); }
.demo-code-label { text-align: center; font-size: .9rem; }
.demo-details { font-size: .8rem; }
.demo-details summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; text-decoration: underline; text-underline-offset: 3px; }
.demo-details p { padding-bottom: 10px; }
.demo-form #demo-note:empty { display: none; }
.demo-trial-notice { color: #92400e; }
.demo-form label { min-height: 44px; }
.demo-form input[type="checkbox"] { flex: 0 0 auto; width: 20px; height: 20px; }
.ui-stack, .pricing-explanation, .article-layout > * { min-width: 0; }
@media (max-width: 600px) {
  .contact-form { grid-template-columns: minmax(0, 1fr); }
  .contact-form .field { grid-column: 1 / -1; }
  .form-input { font-size: 16px; }
  .footer-bottom { display: grid; gap: 24px; }
  .footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .footer-links a, .footer-links .cookie-settings { padding: 12px; border: 1px solid rgb(255 255 255 / 16%); border-radius: 8px; background: rgb(255 255 255 / 4%); text-align: left; text-decoration: none; line-height: 1.45; }
  .footer-links a:hover, .footer-links .cookie-settings:hover { background: rgb(255 255 255 / 10%); }
  .footer-links .cookie-settings { grid-column: 1 / -1; }
  .footer-bottom a, .footer-bottom .cookie-settings, .footer-contact a { display: inline-flex; align-items: center; min-height: 44px; }
  .contact-privacy summary, .consent-details summary { min-height: 44px; display: flex; align-items: center; }
  .ui-panel .button { max-width: 100%; white-space: normal; }
  .content-heading h1, .article-header h1, .ui-panel h2 { overflow-wrap: anywhere; }
}
@media (max-width: 359px) {
  .brand img { width: 64px; }
  .brand span { font-size: .95rem; }
  .header-inner { gap: 6px; }
  .nav .button { padding-inline: 10px; }
  .hero .demo-card.ui-panel, .ui-panel { --panel-padding: 18px; }
}

/* Audit illustrations: scoped to editorial content; preserve the site layout. */
.brand img[srcset] { aspect-ratio: 461 / 223; object-fit: contain; }
.article-illustration { margin: 32px 0; }
.article-illustration img { display: block; width: 100%; height: auto; border-radius: 16px; }
.article-illustration figcaption { margin-top: 10px; color: #475569; font-size: .875rem; line-height: 1.6; }
@media print { .resource-page .article-illustration { display: none; } }

/* Requested phone demo call. */
.demo-phone-row { display: grid; gap: 5px; margin: 0; font-size: .8rem; font-weight: 600; }
.demo-phone-row[hidden] { display: none; }
.demo-phone-row input { width: 100%; min-height: 44px; box-sizing: border-box; padding: 9px 12px; border: 1px solid var(--border); border-radius: 8px; background: #fff; color: var(--text); font: inherit; font-size: .9rem; font-weight: 400; }
.demo-form .consent-label { display: flex; align-items: flex-start; gap: 8px; min-height: 28px; margin: 0; padding: 2px 0; font-size: .78rem; line-height: 1.45; }
.demo-form .consent-label input[type="checkbox"] { width: 16px; height: 16px; margin: 1px 0 0; }
.demo-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px; }
.demo-footer .demo-details { margin: 0; font-size: .75rem; }
.demo-footer .demo-details summary { min-height: 32px; }
.demo-footer .demo-details[open] { flex-basis: 100%; order: 1; }
.demo-flow-switch { display: block; min-height: 32px; margin: 0; padding: 3px 0; border: 0; background: transparent; color: #475569; font: inherit; font-size: .75rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.demo-flow-switch[hidden] { display: none; }
.demo-flow-switch:disabled { opacity: .5; cursor: default; }

/* Practical guide resources. */
.guide-topics { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 36px; }
.guide-topics a { padding: 9px 14px; border: 1px solid var(--border); border-radius: 999px; color: var(--navy); background: white; font-size: .9rem; text-underline-offset: 3px; }
.enquiry-calculator { padding: 24px; margin-block: 24px; }
.calculator-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 24px; }
.calculator-fields label { display: flex; flex-direction: column; gap: 8px; font-weight: 600; line-height: 1.5; }
.calculator-fields input { min-width: 0; width: 100%; border: 1px solid #94a3b8; border-radius: 8px; padding: 12px; background: white; font: inherit; color: var(--navy); }
.calculator-fields input:focus-visible { outline: 3px solid var(--brand-accent); outline-offset: 2px; }
.calculator-result { font-weight: 650; line-height: 1.7; }
@media (max-width: 560px) { .calculator-fields { grid-template-columns: 1fr; } .enquiry-calculator { padding: 18px; } }
/* End practical guide resources. */

/* Shared narrow-screen safeguards for editorial, pricing and demo templates. */
.table-scroll { max-width: 100%; min-width: 0; overscroll-behavior-x: contain; }
.table-scroll:focus-visible { outline: 3px solid #a63028; outline-offset: 3px; }
@media (max-width: 760px) {
  .ui-card-grid > * { grid-column: auto; grid-row: auto; }
  .ui-card-grid > .ui-panel { height: auto; }
  .ui-card-content > .button { margin-top: 0; }
  .ui-panel, .article-layout { overflow-wrap: anywhere; }
  .article-heading h1 { overflow-wrap: anywhere; }
  .table-scroll .comparison-table th, .table-scroll .comparison-table td { padding: 12px; }
}
@media (max-width: 600px) {
  .ui-card-content > .button, .guide-callout > .button { width: 100%; }
  .guide-card > .text-link { width: 100%; }
  .guide-topics a { display: inline-flex; align-items: center; min-height: 44px; }
  .calculator-fields input, .demo-phone-row input { min-height: 48px; font-size: 16px; }
  .demo-form .consent-label { min-height: 44px; align-items: center; font-size: .85rem; }
  .demo-form .consent-label input[type="checkbox"] { width: 20px; height: 20px; }
  .demo-footer .demo-details summary, .demo-flow-switch { min-height: 44px; }
}

/* Homepage business outcomes, using the shared card and spacing system. */
.admin-benefits { padding-block: 28px 40px; }
.admin-benefits .ui-section-header .eyebrow { margin-bottom: 12px; }
.admin-benefits .ui-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.admin-benefits .ui-card-grid > :last-child { grid-column: auto; }
@media (max-width: 760px) { .admin-benefits .ui-card-grid { grid-template-columns: minmax(0, 1fr); } }

/* Nonmodal analytics choice. */
.analytics-notice { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: max(12px, env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 14px; width: min(960px, calc(100% - 32px)); margin-inline: auto; padding: 14px 16px; border: 1px solid #94a3b8; border-radius: 12px; background: #fff; color: #334155; box-shadow: 0 8px 24px rgb(15 23 42 / 12%); }
.analytics-notice[hidden] { display: none; }
.analytics-notice > p { max-width: 460px; font-size: .82rem; line-height: 1.6; }
.analytics-notice-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; flex-shrink: 0; }
.analytics-notice-actions button { min-height: 44px; padding: 8px 12px; border: 1px solid #64748b; border-radius: 7px; background: #fff; color: #0f172a; font: inherit; font-size: .78rem; font-weight: 600; cursor: pointer; }
.analytics-notice-actions button:hover { background: #f1f5f9; }
.analytics-notice-actions .analytics-notice-options { border-color: transparent; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1100px) { .analytics-notice-visible .whatsapp-contact { visibility: hidden; } }
@media (max-width: 700px) { .analytics-notice { display: block; padding: 12px; } .analytics-notice-actions { margin-top: 8px; gap: 6px; } .analytics-notice-actions button { flex: 1 1 auto; } .analytics-notice-visible .site-footer { padding-bottom: 200px; } }
@media print { .analytics-notice { display: none; } }
/* End nonmodal analytics choice. */

/* Homepage regions: consistent spacing and clear offer / services / workflow boundaries. */
.home-page #main { display: block; min-height: auto; }
.home-page .nav { gap: 24px; flex-wrap: wrap; }
.home-page .hero { padding-block: clamp(40px, 5vw, 72px); }
.home-page .hero-copy { max-width: 680px; }
.home-page .demo-card > .card-label { color: #9f302b; margin-bottom: 12px; }
.home-page .admin-benefits { padding-block: clamp(48px, 6vw, 80px); background: #fff; border-block: 1px solid var(--border); scroll-margin-top: 24px; }
.home-page .admin-benefits .ui-panel { background: var(--background); box-shadow: none; }
.home-page .admin-benefits .helper { max-width: 85ch; }
.home-page .customer-flow-section { padding-block: clamp(48px, 6vw, 80px); background: var(--background); }
.home-page .homepage-contact { padding-block: clamp(48px, 6vw, 72px); }
.home-page .homepage-contact .container { justify-items: center; }
.home-page .homepage-contact .eyebrow { margin: 0; color: #cbd5e1; font-size: .74rem; }
.home-page .homepage-contact h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); max-width: 28ch; }
.home-page .homepage-contact p:not(.eyebrow) { max-width: 60ch; }
.home-page .homepage-contact .button { margin-top: 4px; justify-self: center; }
@media (max-width: 760px) {
  .home-page .header-inner { align-items: flex-start; }
  .home-page .nav { gap: 10px 16px; max-width: 60%; }
  .home-page .nav a:not(.button) { font-size: .82rem; min-height: 44px; display: inline-flex; align-items: center; }
  .home-page .nav .button { min-height: 44px; padding: 10px 16px; }
}
@media (max-width: 480px) {
  .home-page .header-inner { flex-wrap: wrap; }
  .home-page .nav { max-width: none; width: 100%; margin: 0; justify-content: space-between; gap: 8px; }
}

/* Company homepage: a family of solutions with a dedicated demo. */
.home-page .site-header { position: sticky; top: 0; z-index: 40; box-shadow: 0 4px 20px rgb(15 23 42 / 8%); }
.home-page .header-inner { min-height: 86px; }
.home-page .company-nav { gap: 12px; max-width: none; }
.home-page .company-nav a { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 11px 15px; font-size: .88rem; font-weight: 600; border-radius: 9px; text-decoration: none; }
.home-page .company-nav a:not(.button):hover { background: rgb(255 255 255 / 9%); }
.home-page .company-nav .solutions-nav-link { background: rgb(255 255 255 / 8%); border: 1px solid rgb(255 255 255 / 18%); }
.home-page .solutions-nav-link svg { width: 17px; height: 17px; flex-shrink: 0; }
.home-page .company-nav .button { background: #b91c1c; border-color: #b91c1c; color: #fff; padding-inline: 20px; }
.home-page .company-nav .button:hover { background: #991b1b; }
.home-page .company-nav :focus-visible { outline-color: #fca5a5; }
.home-page .hero { padding-block: clamp(48px, 6vw, 88px); }
.home-page .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); }
.home-page .hero h1 { font-size: clamp(2.7rem, 5.1vw, 4.6rem); line-height: 1.06; letter-spacing: -.05em; }
.home-page .hero h1 > span { color: #b91c1c; }
.home-page .hero-description { max-width: 52ch; font-size: clamp(1.05rem, 1.5vw, 1.17rem); line-height: 1.7; }
.home-page .hero .helper { max-width: 54ch; }
.home-page .hero-actions { gap: 18px 24px; }
.home-page .business-overview { background: #fff; padding: clamp(24px, 3vw, 38px); border-top: 3px solid #b91c1c; box-shadow: 0 16px 50px rgb(15 23 42 / 6%); }
.home-page .business-overview > .card-label { color: #9f302b; margin-bottom: 18px; }
.home-page .business-overview h2 { font-size: clamp(1.65rem, 2.8vw, 2.35rem); line-height: 1.18; letter-spacing: -.035em; }
.home-page .business-overview-list { list-style: none; margin: 24px 0 0; padding: 0; }
.home-page .business-overview-list li { display: flex; gap: 15px; padding-block: 17px; border-top: 1px solid var(--border); }
.home-page .business-overview-list li > span { color: #9f302b; font-size: .72rem; font-weight: 700; padding-top: 4px; }
.home-page .business-overview-list strong { color: var(--navy); font-size: .96rem; }
.home-page .business-overview-list p { font-size: .85rem; margin-top: 4px; line-height: 1.65; }
.home-page .business-overview-note { margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--border); font-size: .78rem; }
.home-page .solutions-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 12px; }
.home-page .solutions-heading h2 { font-size: clamp(2rem, 3vw, 2.65rem); line-height: 1.14; }
.home-page .solutions-heading .eyebrow { color: #9f302b; margin-bottom: 14px; }
.home-page .solutions-heading > p { max-width: 43ch; line-height: 1.8; }
.home-page .admin-benefits .solutions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.home-page .solutions-grid .ui-panel { padding: clamp(24px, 3vw, 36px); background: #fff; border-color: #d8e0ea; }
.home-page .solution-number { color: #9f302b; font-size: .7rem; letter-spacing: .08em; font-weight: 750; }
.home-page .solutions-grid h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); letter-spacing: -.025em; }
.home-page .solutions-grid p { max-width: 57ch; line-height: 1.8; font-size: .96rem; }
.home-page .solutions-grid .text-link { margin-top: auto; padding-top: 8px; font-size: .86rem; display: inline-flex; align-items: center; gap: 20px; min-height: 44px; }
.home-page .solutions-scope { margin-top: 0; }
.home-page .our-approach { background: #f8fafc; padding-block: clamp(48px, 6vw, 80px); }
.home-page #services, .home-page #our-approach, .home-page #how-it-works, .home-page #demo { scroll-margin-top: 110px; }
.home-page .approach-steps { list-style: none; padding: 0; margin: 4px 0 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.home-page .approach-steps li { border-top: 1px solid #cbd5e1; padding-top: 20px; }
.home-page .approach-steps span { color: #9f302b; font-size: .8rem; font-weight: 700; }
.home-page .approach-steps h3 { font-size: 1.15rem; margin: 14px 0 10px; line-height: 1.35; }
.home-page .approach-steps p { font-size: .93rem; line-height: 1.8; }
.home-page .workflow-example { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 28px; background: #fff; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--border); border-radius: 16px; }
.home-page .workflow-example .card-label { color: #9f302b; margin-bottom: 12px; }
.home-page .workflow-example h3 { font-size: 1.14rem; line-height: 1.35; margin-bottom: 10px; }
.home-page .workflow-example p { font-size: .86rem; line-height: 1.8; }
.home-page .example-label { display: block; font-size: .75rem; font-weight: 750; color: var(--navy); margin-bottom: 10px; }
.home-page .workflow-example > div + div { border-left: 1px solid var(--border); padding-left: 24px; }
.home-page .customer-flow-section { background: #fff; border-block: 1px solid var(--border); }
.home-page .solution-demo { padding-block: clamp(48px, 6vw, 80px); background: var(--background); }
.home-page .solution-demo-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 6vw, 80px); }
.home-page .solution-demo-copy > .eyebrow { color: #9f302b; }
.home-page .solution-demo-copy > h2 { font-size: clamp(2rem, 3vw, 2.65rem); line-height: 1.16; }
.home-page .solution-demo-copy > p:not(.eyebrow) { margin-top: 20px; max-width: 50ch; line-height: 1.8; }
.home-page .solution-demo-copy > .text-link { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; margin-top: 16px; }
@media (max-width: 960px) {
  .home-page .hero-grid { grid-template-columns: 1fr; }
  .home-page .hero-copy { max-width: 720px; }
  .home-page .business-overview { max-width: 720px; }
  .home-page .solutions-heading { align-items: start; flex-direction: column; gap: 20px; }
  .home-page .solutions-heading > p { max-width: 65ch; }
}
@media (max-width: 760px) {
  .home-page .header-inner { position: relative; display: block; padding-block: 14px 8px; }
  .home-page .company-nav { display: grid; grid-template-columns: auto auto auto; width: 100%; margin-top: 14px; justify-content: space-between; gap: 4px; }
  .home-page .company-nav a:not(.button) { font-size: .78rem; padding: 8px 10px; min-height: 44px; }
  .home-page .company-nav .button { position: absolute; right: 0; top: 12px; min-height: 44px; padding: 10px 14px; font-size: .82rem; }
  .home-page .admin-benefits .solutions-grid, .home-page .approach-steps, .home-page .workflow-example, .home-page .solution-demo-grid { grid-template-columns: minmax(0, 1fr); }
  .home-page .workflow-example > div + div { border-left: 0; border-top: 1px solid var(--border); padding: 20px 0 0; }
  .home-page #services, .home-page #our-approach, .home-page #how-it-works, .home-page #demo { scroll-margin-top: 140px; }
}

.home-page .solution-demo #demo-title { font-size: 1.5rem; line-height: 1.25; }

/* Quieter homepage: one message, compact solutions, one workflow example. */
.home-page.home-simple { --home-header-height: 86px; }
.home-page.home-simple .header-inner { min-height: var(--home-header-height); }
.home-page.home-simple .hero { min-height: calc(100vh - var(--home-header-height)); min-height: calc(100dvh - var(--home-header-height)); display: grid; align-content: center; padding-block: clamp(44px, 5vw, 68px); }
.home-page.home-simple .hero-grid { grid-template-columns: minmax(0, 1fr); }
.home-page.home-simple .hero-copy { max-width: 980px; margin-inline: auto; text-align: center; }
.home-page.home-simple .hero h1 { font-size: clamp(2.6rem, 4.8vw, 4.1rem); line-height: 1.1; }
.home-page.home-simple .hero-description { max-width: 62ch; margin: 24px auto 0; }
.home-page.home-simple .hero-actions { justify-content: center; margin-top: 28px; }
.home-page.home-simple .admin-benefits, .home-page.home-simple .our-approach { padding-block: clamp(40px, 5vw, 64px); }
.home-page.home-simple .solutions-heading { align-items: center; margin-bottom: 8px; }
.home-page.home-simple .solutions-heading .eyebrow { margin-bottom: 10px; }
.home-page.home-simple .solutions-heading h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.home-page.home-simple .solutions-heading > p { font-size: .94rem; max-width: 44ch; }
.home-page.home-simple .solutions-grid { column-gap: 48px; row-gap: 28px; }
.home-page.home-simple .solutions-grid .ui-panel { padding: 24px 0 0; border: 0; border-top: 1px solid #d8e0ea; border-radius: 0; background: transparent; box-shadow: none; gap: 10px; }
.home-page.home-simple .solutions-grid h3 { font-size: 1.25rem; }
.home-page.home-simple .solutions-grid p { font-size: .94rem; line-height: 1.7; }
.home-page.home-simple .solutions-grid .text-link { padding-top: 0; }
.home-page.home-simple .approach-steps { margin-bottom: 8px; }
.home-page.home-simple .workflow-example { box-shadow: none; border-radius: 10px; padding: 24px; gap: 24px; }
.homepage-resources { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 28px; border-top: 1px solid var(--border); padding-top: 20px; margin-top: 4px; scroll-margin-top: 110px; }
.homepage-resources > span { font-size: .78rem; color: #64748b; }
.homepage-resources a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: .86rem; color: var(--navy); font-weight: 600; text-underline-offset: 4px; }
.demo-breadcrumb { padding-top: 28px; font-size: .86rem; }
.demo-breadcrumb a { min-height: 44px; display: inline-flex; align-items: center; }
.demo-page .solution-demo-copy h1 { font-size: clamp(2.2rem, 3.8vw, 3.3rem); }
@media (max-width: 760px) {
  .home-page.home-simple .solutions-heading { align-items: flex-start; gap: 14px; }
  .home-page.home-simple .hero .eyebrow { font-size: .7rem; letter-spacing: .08em; }
  .home-page.home-simple .hero-actions { align-items: center; }
  .home-page.home-simple .hero-actions .button { width: auto; }
  .home-page.home-simple .workflow-example { padding: 20px; gap: 20px; }
  .homepage-resources { align-items: flex-start; flex-direction: column; gap: 4px; scroll-margin-top: 140px; }
}

.home-page.home-simple .footer-details { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.home-page.home-simple .footer-contact { justify-self: end; }
@media (max-width: 760px) { .home-page.home-simple .footer-details { grid-template-columns: minmax(0, 1fr); } .home-page.home-simple .footer-contact { justify-self: start; text-align: left; } }

/* Research invitation, with the same quiet homepage hierarchy. */
@media (max-width: 760px) { .home-page.home-simple { --home-header-height: 122px; } }
.home-page.home-simple .research-invitation { margin-top: 18px; color: #64748b; font-size: .85rem; }
.research-note { padding: 24px 28px; border-left: 3px solid #94a3b8; background: #fff; scroll-margin-top: 110px; }
.research-note h3 { font-size: 1.12rem; line-height: 1.4; margin-bottom: 10px; }
.research-note p { max-width: 80ch; font-size: .94rem; line-height: 1.75; }
.research-note .helper { font-size: .83rem; color: #64748b; }
@media (max-width: 760px) { .research-note { padding: 20px; scroll-margin-top: 140px; } }

/* Keep About visible alongside the contact action on every page. */
.site-header .nav:not(.company-nav) { gap: 16px; }
.site-header .nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 760px) {
  .home-page .company-nav { grid-template-columns: repeat(5, auto); }
  .home-page .company-nav a:not(.button) { padding-inline: 4px; }
}
@media (max-width: 420px) {
  body:not(.home-page) .header-inner { flex-wrap: wrap; }
  body:not(.home-page) .site-header .nav { width: 100%; justify-content: flex-end; }
}

/* Shared header: identical navigation and responsive layout on every page. */
.site-header.shared-header { position: sticky; top: 0; z-index: 40; background: var(--navy); box-shadow: 0 4px 20px rgb(15 23 42 / 8%); }
.site-header.shared-header .header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; flex-wrap: nowrap; gap: 16px; padding-block: 8px; }
.site-header.shared-header .brand { gap: 2px; }
.site-header.shared-header .brand img { width: 96px; }
.site-header.shared-header .brand span { font-size: 1.4rem; }
.site-header.shared-header .header-inner .company-nav { display: flex; align-items: center; justify-content: flex-end; flex-wrap: nowrap; width: auto; max-width: none; margin: 0 0 0 auto; gap: 12px; }
.site-header.shared-header .header-inner .company-nav a { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 11px 15px; font-size: .88rem; font-weight: 600; border-radius: 9px; text-decoration: none; white-space: nowrap; color: #fff; }
.site-header.shared-header .header-inner .company-nav a:not(.button):hover, .site-header.shared-header .header-inner .company-nav a[aria-current="page"] { background: rgb(255 255 255 / 9%); }
.site-header.shared-header .solutions-nav-link { background: rgb(255 255 255 / 8%); border: 1px solid rgb(255 255 255 / 18%); }
.site-header.shared-header .solutions-nav-link svg { width: 17px; height: 17px; flex-shrink: 0; }
.site-header.shared-header .header-inner .company-nav .button { position: static; background: #b91c1c; border-color: #b91c1c; color: #fff; padding-inline: 20px; }
.site-header.shared-header .header-inner .company-nav .button:hover { background: #991b1b; }
.site-header.shared-header .header-inner .company-nav :focus-visible { outline-color: #fca5a5; }
@media (max-width: 1000px) {
  .site-header.shared-header .header-inner { position: relative; display: block; min-height: 122px; padding-block: 14px 8px; }
  .site-header.shared-header .header-inner .company-nav { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; width: 100%; margin-top: 14px; gap: 4px; }
  .site-header.shared-header .header-inner .company-nav a:not(.button) { font-size: .78rem; padding: 8px 4px; min-height: 44px; gap: 5px; }
  .site-header.shared-header .header-inner .company-nav .button { position: absolute; right: 0; top: 12px; min-height: 44px; padding: 10px 14px; font-size: .82rem; }
  .site-header.shared-header .brand span { font-size: 1.1rem; }
  .site-header.shared-header .brand img { width: 80px; }
  .site-header.shared-header .solutions-nav-link svg { width: 14px; height: 14px; }
  .home-page.home-simple { --home-header-height: 122px; }
}

@media (max-width: 380px) {
  .site-header.shared-header .header-inner .company-nav a:not(.button) { font-size: .72rem; padding-inline: 2px; }
  .site-header.shared-header .solutions-nav-link svg { display: none; }
}

/* Research invitation replaces newsletter acquisition; analytics stays independent. */
.research-offer-choice { display: grid; gap: 14px; }
.research-offer-choice .button { justify-self: start; white-space: normal; }
.research-offer-choice > a:not(.button) { font-size: .85rem; }

/* Callback homepage: retain the existing navy, red, panels and type system. */
.callback-home .solution-demo { padding-block: clamp(36px, 5vw, 72px); }
.callback-home .solution-demo-copy h1 { font-size: clamp(2.4rem, 4.6vw, 4rem); line-height: 1.1; letter-spacing: -.03em; }
.callback-home .solution-demo-copy h1 span, .report-copy h2 span { color: var(--red, #b91c1c); }
.callback-home #demo, .callback-home #services, .callback-home #how-it-works, .callback-home #report, .anchor-target { scroll-margin-top: 140px; }
.anchor-target { display: block; }
.admin-report { padding-block: clamp(40px, 6vw, 80px); border-top: 1px solid var(--border); background: var(--background); }
.report-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.report-copy h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.12; }
.report-copy > p { margin-top: 20px; max-width: 54ch; }
.report-copy .eyebrow { margin-top: 0; color: #9f302b; }
.report-stat { font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.5; }
.report-copy .helper { font-size: .8rem; color: #64748b; }
.report-card { padding: clamp(20px, 3vw, 32px); min-width: 0; }
.report-card h3 { font-size: 1.5rem; }
.report-card > p { margin-top: 12px; }
.report-form { display: grid; gap: 16px; margin-top: 24px; }
.report-form .form-status:empty { display: none; }
.about-research { margin-block: 48px; max-width: 82ch; }
.about-research h2 { margin-block: 12px 20px; }
.about-research li { margin-block: 14px; }
@media (max-width: 960px) { .report-grid { grid-template-columns: minmax(0, 1fr); } }


/* Tracker navigation: six links plus the separate contact button. */
@media(max-width:1000px){.site-header.shared-header .header-inner .company-nav{grid-template-columns:repeat(6,auto)}}
@media(max-width:600px){.site-header.shared-header .header-inner .company-nav{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 8px}.site-header.shared-header .header-inner .company-nav a:not(.button){justify-content:center;white-space:normal;text-align:center}.home-page.home-simple{--home-header-height:170px}}
