:root {
    --brand-950: #17163f;
    --brand-900: #252158;
    --brand-800: #312e81;
    --brand-700: #3730a3;
    --brand-600: #4f46e5;
    --brand-100: #e0e7ff;
    --brand-50: #f5f7ff;
    --ink-950: #111827;
    --ink-800: #1f2937;
    --ink-700: #344054;
    --ink-600: #475467;
    --ink-500: #667085;
    --surface-page: #f7f8fc;
    --surface-subtle: #eef1f7;
    --surface-raised: #ffffff;
    --border-subtle: #d8deea;
    --color-primary: var(--brand-700);
    --color-primary-hover: var(--brand-800);
    --color-primary-soft: var(--brand-50);
    --color-text: var(--ink-950);
    --color-muted: var(--ink-600);
    --color-border: var(--border-subtle);
    --color-surface: var(--surface-raised);
    --color-background: var(--surface-page);
    --color-focus: #fbbf24;
    --focus-ring: #2563eb;
    --color-success: #047857;
    --color-danger: #b42318;
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        Helvetica, Arial, sans-serif;
    --text-xs: 0.8125rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
    --text-xl: clamp(1.25rem, 1.1rem + 0.55vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 1.2rem + 1vw, 2rem);
    --text-3xl: clamp(1.875rem, 1.35rem + 1.8vw, 2.75rem);
    --text-4xl: clamp(2.25rem, 1.45rem + 3vw, 4rem);
    --leading-body: 1.65;
    --leading-heading: 1.15;
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-7: 3rem;
    --space-8: 4rem;
    --space-9: 6rem;
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1.125rem;
    --radius-pill: 999px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
    --shadow-card: 0 12px 30px rgba(31, 41, 55, 0.08);
    --shadow-raised: 0 20px 48px rgba(15, 23, 42, 0.14);
    --shadow-menu: 0 18px 42px rgba(15, 23, 42, 0.22);
    --duration-fast: 120ms;
    --duration-base: 180ms;
    --duration-slow: 240ms;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --content-wide: 75rem;
    --content-reading: 48rem;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
}

body {
    margin: 0;
    padding: 0;
    color: var(--color-text);
    background: var(--surface-page);
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: var(--leading-body);
    text-rendering: optimizeLegibility;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: var(--brand-700);
}

.language-list-link {
    color: inherit;
    text-decoration-line: underline;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

.language-list-link:hover {
    color: var(--brand-700);
}

.core-hero .language-list-link:hover {
    color: #ffffff;
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline: 3px solid var(--focus-ring);
    outline-offset: 3px;
    box-shadow: 0 0 0 2px #ffffff;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 1000;
    padding: 0.75rem 1rem;
    color: var(--color-primary);
    background: #ffffff;
    border: 2px solid var(--color-primary);
    border-radius: 0.375rem;
    font-weight: 700;
    text-decoration: none;
    transform: translateY(-200%);
    transition: transform 0.15s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.main-content-anchor {
    height: 0;
    scroll-margin-top: 6rem;
}

.main-content-anchor:focus {
    outline: none;
}

.site-container {
    width: 100%;
    max-width: var(--content-wide);
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2rem);
}

.container {
    width: 100%;
    max-width: 1024px;
    margin-inline: auto;
}

/* Public header and navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    padding-block: 0.5rem;
    color: #ffffff;
    background-color: var(--color-primary);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.16);
}

.site-header .site-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-block {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.125rem;
}

.logo-link {
    display: inline-block;
    border-radius: 0.25rem;
}

.logo-img {
    display: block;
    width: auto;
    height: 48px;
}

.tagline {
    color: #e0e7ff;
    font-size: 0.75rem;
    line-height: 1.25;
}

.header-menu {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    min-width: 0;
}

.site-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0.125rem;
}

.nav-item,
.dropdown-item {
    position: relative;
}

.nav-item-row {
    display: flex;
    align-items: center;
}

.nav-link,
.dropdown-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    border-radius: 0.375rem;
    font-weight: 600;
    line-height: 1.25;
    text-decoration: none;
}

.nav-link {
    padding: 0.625rem 0.5rem;
    color: #f8fafc;
    font-size: 0.875rem;
}

.nav-link:hover,
.nav-link.active,
.current-section > .nav-item-row > .nav-link {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

.nav-link.active,
.current-section > .nav-item-row > .nav-link {
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 0.35rem;
}

.submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0;
    color: #ffffff;
    background: transparent;
    border: 0;
    border-radius: 0.375rem;
}

.submenu-toggle:hover,
.submenu-toggle[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.16);
}

.submenu-icon {
    width: 0.5rem;
    height: 0.5rem;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    transform: translateY(-0.125rem) rotate(45deg);
    transition: transform 0.15s ease;
}

.submenu-toggle[aria-expanded="true"] .submenu-icon {
    transform: translateY(0.125rem) rotate(225deg);
}

html:not(.js) .submenu-toggle {
    display: none;
}

.site-nav .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
    min-width: 13rem;
    padding-block: 0.5rem;
    color: var(--color-text);
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-menu);
}

.site-nav .dropdown-item.has-dropdown > .dropdown {
    top: 0;
    left: 100%;
}

.site-nav .has-dropdown:hover > .dropdown,
.site-nav .has-dropdown.submenu-open > .dropdown {
    display: block;
}

.dropdown-link {
    width: 100%;
    padding: 0.625rem 1rem;
    color: #273449;
    font-size: 0.875rem;
    white-space: nowrap;
}

.dropdown-link:hover,
.dropdown-link.active {
    color: var(--color-primary);
    background: var(--color-primary-soft);
}

.dropdown-link.active {
    font-weight: 700;
}

.dropdown-item .submenu-toggle {
    color: #273449;
}

.dropdown-item .submenu-toggle:hover,
.dropdown-item .submenu-toggle[aria-expanded="true"] {
    background: var(--color-primary-soft);
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    min-height: 44px;
    padding: 0.5rem 0.75rem;
    color: #ffffff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 0.375rem;
    font-weight: 700;
}

.nav-toggle:hover,
.nav-toggle[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.14);
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
    display: block;
    width: 1.25rem;
    height: 2px;
    background: currentColor;
    transition: transform 0.15s ease;
}

.nav-toggle-icon {
    position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
    position: absolute;
    left: 0;
    content: "";
}

.nav-toggle-icon::before {
    top: -0.4rem;
}

.nav-toggle-icon::after {
    top: 0.4rem;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
    top: 0;
    transform: rotate(-45deg);
}

.header-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.5rem;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.5rem 0.875rem;
    border: 2px solid transparent;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
}

.nav-cta-primary {
    color: var(--color-primary);
    background: #ffffff;
}

.nav-cta-primary:hover {
    background: #eef2ff;
}

.nav-cta-primary[aria-current="page"] {
    box-shadow: 0 0 0 3px var(--color-focus);
}

.nav-cta-secondary {
    color: #ffffff;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.8);
}

.nav-cta-secondary:hover {
    color: var(--color-primary);
    background: #ffffff;
}

/* Buttons and content components */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.75rem 1.5rem;
    border: 2px solid transparent;
    border-radius: 0.375rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
    color: #ffffff;
    background: #1d4ed8;
}

.btn-primary:hover {
    background: #1e40af;
}

.btn-secondary {
    color: #1f2937;
    background: #e5e7eb;
}

.btn-secondary:hover {
    background: #d1d5db;
}

.hero {
    position: relative;
    padding: 4rem 1rem;
    color: #ffffff;
    text-align: center;
    background-position: center;
    background-size: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.7);
}

.hero h1,
.hero p {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.hero > * {
    position: relative;
    z-index: 2;
}

.features {
    padding: 2rem 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: 1.5rem;
}

.feature-card {
    padding: 1.5rem;
    text-align: left;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.section-title {
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
}

.page-hero-img,
.feature-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.responsive-picture {
    display: block;
}

.hero > .responsive-picture,
.core-hero > .responsive-picture,
.page-hero > .responsive-picture {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
}

.split-feature__media > .responsive-picture {
    height: 100%;
}

.page-hero-img {
    max-height: 400px;
    object-position: top;
}

.feature-img {
    border-radius: 0.5rem;
}

/* Contact */
.contact-page {
    padding: clamp(2rem, 5vw, 4rem) 1rem;
}

.contact-heading,
.contact-form,
.status-message {
    max-width: 42rem;
    margin-inline: auto;
}

.contact-eyebrow {
    margin: 0 0 0.25rem;
    color: var(--color-primary);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.contact-intro {
    margin: 0 0 1.5rem;
    color: var(--color-muted);
    font-size: 1.0625rem;
}

.contact-form {
    padding: clamp(1rem, 4vw, 2rem);
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.required-note {
    margin: 0 0 1rem;
    color: var(--color-muted);
    font-size: 0.875rem;
}

.required-note span,
.required-marker {
    color: #b91c1c;
}

.form-field + .form-field {
    margin-top: 1rem;
}

.form-label {
    display: inline-block;
    margin-bottom: 0.375rem;
    color: #1f2937;
    font-weight: 700;
}

.form-control {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 0.625rem 0.75rem;
    color: var(--color-text);
    background: #ffffff;
    border: 1px solid #9ca3af;
    border-radius: 0.375rem;
}

textarea.form-control {
    min-height: 9rem;
    resize: vertical;
}

.form-control:hover {
    border-color: #6b7280;
}

.form-control:focus-visible {
    border-color: var(--color-primary);
    outline: 3px solid #c7d2fe;
    outline-offset: 1px;
}

.form-control[aria-invalid="true"] {
    border-color: #b91c1c;
}

.field-error {
    margin: 0.375rem 0 0;
    color: #b91c1c;
    font-size: 0.875rem;
    font-weight: 600;
}

.contact-privacy {
    margin: 1.25rem 0;
    padding: 0.75rem 1rem;
    color: #374151;
    background: #f3f4f6;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
}

.status-message {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid;
    border-radius: 0.5rem;
    font-weight: 600;
}

.status-success {
    color: #065f46;
    background: #d1fae5;
    border-color: #6ee7b7;
}

.status-error {
    color: #991b1b;
    background: #fee2e2;
    border-color: #fca5a5;
}

/* Footer */
.site-footer {
    margin-top: auto;
    color: #374151;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    padding-block: 1rem;
}

.footer-company {
    margin: 0;
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #374151;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.2rem;
}

.footer-links a:hover {
    color: var(--color-primary);
}

/* Admin interfaces */
.toolbar {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.toolbar button {
    padding: 0.5rem 0.75rem;
    color: #1a202c;
    background: #e5e7eb;
    border: 0;
    border-radius: 0.375rem;
    font-size: 0.875rem;
}

.toolbar button:hover {
    background: #d1d5db;
}

.content-editor {
    min-height: 200px;
    padding: 0.75rem;
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
}

.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-nav {
    width: 240px;
    padding: 1rem;
    background: #f9fafb;
    border-right: 1px solid #e2e8f0;
}

.admin-nav a {
    display: block;
    padding-block: 0.5rem;
    margin-bottom: 0.5rem;
    color: #1a202c;
    font-weight: 500;
    text-decoration: none;
}

.admin-nav a:hover {
    color: #2563eb;
}

.admin-content {
    flex: 1;
    width: 100%;
    padding: 1rem;
}

/* Legacy utility classes still used by existing templates. */
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { inset: 0; }
.z-10 { z-index: 10; }
.border { border: 1px solid #e2e8f0; }
.border-t { border-top: 1px solid #e2e8f0; }
.border-collapse { border-collapse: collapse; }
.shadow { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06); }
.shadow-sm { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }
.rounded { border-radius: 0.25rem; }
.block { display: block; }
.flex { display: flex; }
.grid { display: grid; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.grid-cols-1 { grid-template-columns: minmax(0, 1fr); }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.w-full { width: 100%; }
.min-w-full { min-width: 100%; }
.max-w-sm { max-width: 24rem; }
.max-w-xl { max-width: 36rem; }
.max-h-64 { max-height: 16rem; }
.min-h-screen { min-height: 100vh; }
.overflow-x-auto {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.object-cover { object-fit: cover; }
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.px-4 { padding-inline: 1rem; }
.py-3 { padding-block: 0.75rem; }
.py-4 { padding-block: 1rem; }
.py-8 { padding-block: 2rem; }
.py-12 { padding-block: 3rem; }
.pl-4 { padding-left: 1rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-auto { margin-top: auto; }
.ml-6 { margin-left: 1.5rem; }
.mx-auto { margin-inline: auto; }
.my-4 { margin-block: 1rem; }
.my-6 { margin-block: 1.5rem; }
.my-8 { margin-block: 2rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; line-height: 1.15; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.leading-relaxed { line-height: 1.625; }
.italic { font-style: italic; }
.list-decimal { list-style-type: decimal; }
.list-disc { list-style-type: disc; }
.underline { text-decoration: underline; }
.hover\:underline:hover { text-decoration: underline; }
.bg-white { background-color: #ffffff; }
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-100 { background-color: #f7fafc; }
.bg-green-50 { background-color: #ecfdf5; }
.bg-green-100 { background-color: #d1fae5; }
.bg-red-100 { background-color: #fee2e2; }
.bg-blue-600 { background-color: #2563eb; }
.bg-blue-700 { background-color: #1d4ed8; }
.text-white { color: #ffffff; }
.text-blue-600 { color: #2563eb; }
.text-green-700 { color: #047857; }
.text-red-700 { color: #b91c1c; }
.text-gray-500 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-gray-900 { color: #1a202c; }
.border-gray-300 { border-color: #d1d5db; }
.border-green-300 { border-color: #6ee7b7; }
.border-red-300 { border-color: #fca5a5; }

.conversion-callout {
    background: var(--color-primary-soft);
    border: 1px solid #c7d2fe;
}

/* Public marketing design system. Legacy utilities above remain available to
   admin and CMS templates while these semantic components define the public UI. */
.marketing-main {
    width: 100%;
    overflow: clip;
    color: var(--ink-950);
    background: var(--surface-page);
}

.marketing-main :where(h1, h2, h3),
.content-page :where(h1, h2, h3),
.contact-page :where(h1, h2, h3) {
    color: var(--ink-950);
    font-weight: 750;
    line-height: var(--leading-heading);
    letter-spacing: -0.025em;
}

.eyebrow {
    margin: 0 0 var(--space-3);
    color: var(--brand-700);
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0.11em;
    line-height: 1.3;
    text-transform: uppercase;
}

.eyebrow--light {
    color: #c7d2fe;
}

.section-shell,
.features {
    padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 2rem);
}

.section-shell--soft {
    background: var(--brand-50);
}

.section-shell--compact {
    padding-block: clamp(2.5rem, 5vw, 4rem);
}

.section-shell > .site-container,
.proof-strip > .site-container {
    padding-inline: 0;
}

.section-shell > .cta-panel {
    max-width: var(--content-wide);
    margin-inline: auto;
}

.section-heading {
    max-width: 66rem;
    margin: 0 auto var(--space-7);
    text-align: center;
}

.section-heading > h2,
.section-title {
    max-width: 22ch;
    margin: 0 auto var(--space-4);
    color: var(--ink-950);
    font-size: var(--text-3xl);
    font-weight: 750;
    line-height: var(--leading-heading);
    letter-spacing: -0.03em;
    text-align: center;
}

.section-heading .section-intro {
    margin-bottom: 0;
}

.section-intro {
    max-width: 66ch;
    margin: 0 auto var(--space-7);
    color: var(--ink-600);
    font-size: var(--text-lg);
    text-align: center;
}

.button-group,
.cta-panel__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-3);
}

.cta-panel__actions {
    justify-content: center;
}

.hero .button-group {
    justify-content: flex-start;
}

.btn-primary,
.btn-secondary,
.nav-cta,
.card-link {
    min-height: 48px;
    border-radius: var(--radius-sm);
    font-weight: 750;
    transition: color var(--duration-base) var(--ease-out),
        background-color var(--duration-base) var(--ease-out),
        border-color var(--duration-base) var(--ease-out),
        box-shadow var(--duration-base) var(--ease-out),
        transform var(--duration-fast) var(--ease-out);
}

.btn-primary,
.btn-secondary {
    padding: 0.8125rem 1.375rem;
}

.btn-primary {
    color: #ffffff;
    background: var(--brand-700);
    border-color: var(--brand-700);
    box-shadow: 0 6px 16px rgba(55, 48, 163, 0.22);
}

.btn-primary:hover {
    color: #ffffff;
    background: var(--brand-800);
    border-color: var(--brand-800);
    box-shadow: 0 9px 22px rgba(49, 46, 129, 0.28);
}

.btn-secondary {
    color: var(--brand-800);
    background: #ffffff;
    border-color: #a5b4fc;
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    color: var(--brand-950);
    background: var(--brand-50);
    border-color: var(--brand-600);
}

.btn-primary:active,
.btn-secondary:active,
.nav-cta:active,
.card-link:active {
    transform: translateY(1px);
}

:is(.btn-primary, .btn-secondary, .nav-cta, .card-link):focus-visible {
    outline: 3px solid transparent;
    outline-offset: 3px;
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 5px var(--focus-ring);
}

.site-header {
    padding-block: 0.625rem;
    background: linear-gradient(105deg, var(--brand-950), var(--brand-800));
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.18);
}

.site-header .site-container {
    gap: clamp(0.75rem, 2vw, 1.5rem);
}

.logo-block {
    gap: var(--space-1);
}

.logo-link {
    border-radius: var(--radius-sm);
}

.logo-img {
    height: 44px;
}

.tagline {
    color: #c7d2fe;
    font-size: 0.6875rem;
    letter-spacing: 0.025em;
}

.header-menu {
    gap: var(--space-3);
}

.nav-list {
    gap: var(--space-1);
}

.nav-link,
.dropdown-link {
    min-height: 48px;
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    font-weight: 700;
    transition: color var(--duration-fast) var(--ease-out),
        background-color var(--duration-fast) var(--ease-out);
}

.nav-link {
    padding-inline: 0.625rem;
}

.nav-link:hover,
.nav-link.active,
.current-section > .nav-item-row > .nav-link {
    background: rgba(255, 255, 255, 0.14);
}

.submenu-toggle,
.nav-toggle {
    width: 48px;
    min-width: 48px;
    height: 48px;
    min-height: 48px;
    border-radius: var(--radius-sm);
}

.site-nav .dropdown {
    display: block;
    min-width: 15rem;
    padding: var(--space-2);
    visibility: hidden;
    opacity: 0;
    background: #ffffff;
    border-color: var(--border-subtle);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-menu);
    pointer-events: none;
    transform: translateY(0.5rem);
    transition: visibility 0s linear var(--duration-base),
        opacity var(--duration-base) var(--ease-out),
        transform var(--duration-base) var(--ease-out);
}

.site-nav .dropdown-item.has-dropdown > .dropdown {
    transform: translateX(0.5rem);
}

.site-nav .has-dropdown:hover > .dropdown,
.site-nav .has-dropdown.submenu-open > .dropdown {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translate(0);
    transition-delay: 0s;
}

.dropdown-link {
    padding-inline: var(--space-4);
    color: var(--ink-700);
}

.dropdown-link:hover,
.dropdown-link.active {
    color: var(--brand-800);
    background: var(--brand-50);
}

.nav-toggle {
    width: auto;
    padding-inline: var(--space-4);
}

.nav-cta {
    padding: 0.6875rem 1rem;
    border-radius: var(--radius-sm);
}

.nav-cta-primary {
    color: var(--brand-900);
    background: #ffffff;
    border-color: #ffffff;
}

.nav-cta-primary:hover {
    color: var(--brand-950);
    background: var(--brand-100);
    border-color: var(--brand-100);
}

.nav-cta-secondary {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.62);
}

.nav-cta-secondary:hover {
    color: var(--brand-950);
    background: #ffffff;
    border-color: #ffffff;
}

.hero {
    display: grid;
    min-height: clamp(30rem, 68vh, 42rem);
    padding: clamp(5rem, 11vw, 8rem) clamp(1rem, 5vw, 3rem);
    place-items: center;
    isolation: isolate;
    overflow: hidden;
    background-color: var(--brand-950);
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 38%;
}

.hero-overlay {
    z-index: 1;
    background: linear-gradient(
        105deg,
        rgba(23, 22, 63, 0.94) 0%,
        rgba(37, 33, 88, 0.82) 48%,
        rgba(17, 24, 39, 0.68) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(100%, var(--content-wide));
    margin-inline: auto;
    text-align: left;
}

.hero .site-container {
    padding-inline: 0;
}

.hero h1,
.hero-content h1 {
    max-width: 19ch;
    margin: 0 0 var(--space-5);
    color: #ffffff;
    font-size: var(--text-4xl);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.hero-lead,
.hero-content > p:not(.eyebrow):not(.hero-proof) {
    max-width: 62ch;
    margin: 0 0 var(--space-6);
    color: #e5e7eb;
    font-size: var(--text-lg);
    text-wrap: pretty;
}

.hero-proof {
    margin: var(--space-5) auto 0;
    color: #c7d2fe;
    font-size: var(--text-sm);
    font-weight: 650;
}

.hero-cues {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: var(--space-2) var(--space-5);
    max-width: 54rem;
    margin: var(--space-6) 0 0;
    padding: 0;
    color: #dbe4ff;
    font-size: var(--text-sm);
    font-weight: 700;
    list-style: none;
}

.hero-cues li {
    position: relative;
    padding-left: 1rem;
}

.hero-cues li::before {
    position: absolute;
    top: 0.62em;
    left: 0;
    width: 0.4rem;
    height: 0.4rem;
    background: #a5b4fc;
    border-radius: 50%;
    content: "";
}

.hero .btn-primary {
    color: var(--brand-900);
    background: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.hero .btn-primary:hover {
    color: var(--brand-950);
    background: var(--brand-100);
    border-color: var(--brand-100);
}

.hero .btn-secondary {
    color: #ffffff;
    background: rgba(23, 22, 63, 0.38);
    border-color: rgba(255, 255, 255, 0.72);
}

.hero .btn-secondary:hover {
    color: var(--brand-950);
    background: #ffffff;
    border-color: #ffffff;
}

.proof-strip {
    position: relative;
    z-index: 3;
    background: #ffffff;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
}

.proof-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr));
    gap: var(--space-4);
    max-width: var(--content-wide);
    margin: 0 auto;
    padding: var(--space-5) clamp(1rem, 4vw, 2rem);
    list-style: none;
}

.proof-list li {
    color: var(--ink-700);
    font-size: var(--text-sm);
    font-weight: 700;
    text-align: center;
}

.proof-list strong,
.proof-list span {
    display: block;
}

.proof-list strong {
    margin-bottom: var(--space-1);
    color: var(--brand-900);
    font-size: var(--text-base);
}

.proof-list span {
    color: var(--ink-600);
    font-weight: 500;
    line-height: 1.45;
}

.workflow-grid,
.audience-grid,
.decision-grid,
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr));
    gap: clamp(1rem, 2.5vw, 1.5rem);
    width: min(100%, var(--content-wide));
    margin-inline: auto;
}

.workflow-grid {
    padding: 0;
    list-style: none;
}

.workflow-card,
.audience-card,
.decision-card,
.feature-card {
    height: 100%;
    padding: clamp(1.25rem, 3vw, 2rem);
    color: var(--ink-700);
    text-align: left;
    background: var(--surface-raised);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.workflow-card h3,
.audience-card h3,
.decision-card h3,
.feature-card h3 {
    margin: 0 0 var(--space-3);
    color: var(--ink-950);
    font-size: var(--text-xl);
    font-weight: 750;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.workflow-card p:last-child,
.audience-card p:last-child,
.decision-card p:last-child,
.feature-card p:last-child {
    margin-bottom: 0;
}

.step-number {
    display: inline-grid;
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: var(--space-5);
    color: #ffffff;
    background: var(--brand-700);
    border-radius: var(--radius-pill);
    font-size: var(--text-sm);
    font-weight: 800;
    place-items: center;
    box-shadow: 0 6px 14px rgba(55, 48, 163, 0.22);
}

.decision-card:focus-within {
    border-color: var(--brand-600);
    box-shadow: 0 0 0 3px var(--brand-100), var(--shadow-card);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-3);
    color: var(--brand-700);
    text-underline-offset: 0.2em;
}

.card-link::after {
    content: "\2192";
    transition: transform var(--duration-fast) var(--ease-out);
}

.card-link:hover {
    color: var(--brand-900);
}

.card-link:hover::after,
.card-link:focus-visible::after {
    transform: translateX(0.2rem);
}

.button-group--centered {
    justify-content: center;
    margin-top: var(--space-6);
}

.about-panel {
    display: grid;
    gap: var(--space-6);
    align-items: center;
    max-width: var(--content-wide);
    margin-inline: auto;
    padding: clamp(1.5rem, 5vw, 3rem);
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.about-panel__content h2 {
    margin: 0 0 var(--space-4);
    font-size: var(--text-2xl);
}

.about-panel__content p:last-child {
    margin-bottom: 0;
    color: var(--ink-600);
}

.about-panel__action {
    justify-self: center;
}

.cta-panel,
.conversion-callout {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(115deg, var(--brand-950), var(--brand-700));
    border: 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-raised);
}

.cta-panel::after,
.conversion-callout::after {
    position: absolute;
    right: -6rem;
    bottom: -8rem;
    width: 18rem;
    height: 18rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.cta-panel__content {
    position: relative;
    z-index: 1;
    max-width: 58rem;
    margin-inline: auto;
    padding: clamp(2rem, 6vw, 4rem) clamp(2rem, 6vw, 4rem) var(--space-5);
    text-align: center;
}

.cta-panel > .cta-panel__actions {
    position: relative;
    z-index: 1;
    justify-content: center;
    padding: 0 clamp(2rem, 6vw, 4rem) clamp(2rem, 6vw, 4rem);
}

.cta-panel h2,
.conversion-callout h2 {
    color: #ffffff;
}

.cta-panel p,
.conversion-callout p {
    color: #e0e7ff;
}

.cta-panel .btn-primary,
.conversion-callout .btn-primary {
    color: var(--brand-900);
    background: #ffffff;
    border-color: #ffffff;
}

.cta-panel .btn-primary:hover,
.conversion-callout .btn-primary:hover {
    color: var(--brand-950);
    background: var(--brand-100);
    border-color: var(--brand-100);
}

.cta-panel .btn-secondary,
.conversion-callout .btn-secondary {
    color: #ffffff;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.72);
    box-shadow: none;
}

.cta-panel .btn-secondary:hover,
.conversion-callout .btn-secondary:hover {
    color: var(--brand-950);
    background: #ffffff;
    border-color: #ffffff;
}

.content-page {
    width: 100%;
    max-width: none;
    padding: 0 0 clamp(3rem, 7vw, 6rem);
    background: var(--surface-page);
}

.page-hero {
    position: relative;
    display: grid;
    min-height: clamp(18rem, 42vw, 30rem);
    place-items: end start;
    isolation: isolate;
    overflow: hidden;
    background: var(--brand-950);
}

.page-hero .page-hero-img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(23, 22, 63, 0.92), rgba(23, 22, 63, 0.48));
}

.page-hero-content {
    position: relative;
    z-index: 2;
    width: min(100%, var(--content-wide));
    margin-inline: auto;
    padding: clamp(2rem, 7vw, 5rem) clamp(1rem, 4vw, 2rem);
    color: #ffffff;
}

.page-hero-content h1 {
    max-width: 20ch;
    margin: 0;
    color: #ffffff;
    font-size: var(--text-4xl);
    line-height: 1.08;
}

.page-hero-intro {
    max-width: 62ch;
    margin: var(--space-4) 0 0;
    color: #e0e7ff;
    font-size: var(--text-lg);
    text-wrap: pretty;
}

.page-hero-content .eyebrow {
    color: #c7d2fe;
}

.page-hero--without-image {
    min-height: 18rem;
    background: linear-gradient(115deg, var(--brand-950), var(--brand-700));
}

.page-title-band {
    padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 4vw, 2rem);
    color: #ffffff;
    background: linear-gradient(105deg, var(--brand-950), var(--brand-800));
}

.page-title-band > * {
    width: min(100%, var(--content-wide));
    margin-inline: auto;
}

.page-title-band :where(h1, h2) {
    margin-block: 0;
    color: #ffffff;
}

.content-page__body {
    width: min(100% - 2rem, var(--content-reading));
    margin-inline: auto;
    padding-top: clamp(2rem, 5vw, 4rem);
}

.prose {
    color: var(--ink-700);
    font-size: var(--text-lg);
}

.prose > * {
    max-width: 68ch;
}

.prose > * + *,
.prose-block + .prose-block {
    margin-top: var(--space-5);
}

.prose :where(h2, h3, h4, h5, h6),
.prose-heading {
    margin-top: var(--space-7);
    margin-bottom: var(--space-3);
    color: var(--ink-950);
    font-weight: 750;
    line-height: var(--leading-heading);
    letter-spacing: -0.02em;
}

.prose h2,
.prose-heading--2 {
    font-size: var(--text-2xl);
}

.prose h3,
.prose-heading--3 {
    font-size: var(--text-xl);
}

.prose-paragraph,
.prose p {
    margin-block: 0 var(--space-4);
}

.prose-list,
.prose :where(ul, ol) {
    padding-left: 1.4em;
}

.prose :where(li + li) {
    margin-top: var(--space-2);
}

.prose a {
    font-weight: 650;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

.prose-quote,
.prose blockquote {
    margin: var(--space-6) 0;
    padding: var(--space-5);
    color: var(--ink-700);
    background: var(--brand-50);
    border: 1px solid var(--brand-100);
    border-radius: var(--radius-md);
}

.prose-divider,
.prose hr {
    margin-block: var(--space-7);
    border: 0;
    border-top: 1px solid var(--border-subtle);
}

.prose-html,
.prose-table-wrap {
    max-width: 100%;
    overflow-x: auto;
}

.feature-stack {
    display: grid;
    gap: clamp(2.5rem, 7vw, 5rem);
    width: min(100%, var(--content-wide));
    margin-inline: auto;
}

.split-feature {
    display: grid;
    gap: clamp(1.5rem, 5vw, 4rem);
    align-items: center;
}

.split-feature__media {
    overflow: hidden;
    background: var(--surface-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.split-feature__media img,
.split-feature__media .feature-img {
    width: 100%;
    height: 100%;
    min-height: 16rem;
    max-height: none;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 0;
}

.split-feature__content {
    max-width: 34rem;
}

.split-feature__content h2 {
    margin: 0 0 var(--space-4);
    font-size: var(--text-2xl);
}

.split-feature__content p {
    color: var(--ink-600);
    font-size: var(--text-lg);
}

.split-feature__content .eyebrow {
    margin-bottom: var(--space-3);
    color: var(--brand-700);
    font-size: var(--text-xs);
}

.contact-page {
    width: 100%;
    max-width: none;
    margin-inline: auto;
    padding: 0;
}

.contact-expectations {
    margin-top: var(--space-7);
    padding: clamp(1.25rem, 4vw, 2rem);
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.contact-expectations h2 {
    margin: 0 0 var(--space-4);
    font-size: var(--text-xl);
}

.contact-expectations ul {
    display: grid;
    gap: var(--space-4);
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-expectations li {
    position: relative;
    display: grid;
    gap: var(--space-1);
    padding-left: 1.5rem;
}

.contact-expectations li::before {
    position: absolute;
    top: 0.5rem;
    left: 0;
    width: 0.5rem;
    height: 0.5rem;
    background: var(--brand-600);
    border-radius: 50%;
    content: "";
}

.contact-expectations strong {
    color: var(--ink-950);
}

.contact-expectations span {
    color: var(--ink-600);
}

.contact-layout {
    display: grid;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
    width: min(100%, var(--content-wide));
    margin-inline: auto;
}

.contact-pitch {
    max-width: 34rem;
}

.contact-pitch h1 {
    margin: 0 0 var(--space-4);
    font-size: var(--text-3xl);
}

.contact-benefits {
    display: grid;
    gap: var(--space-3);
    margin: var(--space-6) 0 0;
    padding: 0;
    list-style: none;
}

.contact-benefits li {
    position: relative;
    padding-left: 1.75rem;
    color: var(--ink-700);
}

.contact-benefits li::before {
    position: absolute;
    top: 0.62em;
    left: 0;
    width: 0.55rem;
    height: 0.55rem;
    background: var(--brand-600);
    border-radius: 50%;
    content: "";
}

.contact-form-shell,
.contact-form {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.contact-form-shell {
    padding: clamp(1.25rem, 4vw, 2.25rem);
}

.contact-form-shell > h2 {
    margin: 0 0 var(--space-2);
    font-size: var(--text-xl);
}

.contact-form-shell > h2 + p {
    margin: 0 0 var(--space-5);
    color: var(--ink-600);
}

.contact-form-shell .contact-form {
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.contact-form__grid {
    display: grid;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.contact-form__grid .form-field + .form-field {
    margin-top: 0;
}

.form-optional {
    color: var(--ink-500);
    font-size: 0.875rem;
    font-weight: 500;
}

.form-help {
    margin: -0.125rem 0 var(--space-2);
    color: var(--ink-500);
    font-size: 0.875rem;
}

.contact-form textarea.form-control {
    min-height: 7rem;
}

.contact-form__submit {
    justify-content: center;
    width: 100%;
}

.contact-form-heading {
    margin-bottom: var(--space-5);
}

.contact-form-heading h2 {
    margin: 0 0 var(--space-2);
    font-size: var(--text-xl);
}

.form-label {
    color: var(--ink-800);
}

.form-control {
    min-height: 48px;
    border-color: #98a2b3;
    border-radius: var(--radius-sm);
    transition: border-color var(--duration-fast) var(--ease-out),
        box-shadow var(--duration-fast) var(--ease-out);
}

.form-control:focus-visible {
    border-color: var(--brand-600);
    outline: 3px solid var(--focus-ring);
    outline-offset: 2px;
    box-shadow: 0 0 0 2px #ffffff;
}

.contact-privacy {
    background: var(--surface-subtle);
    border-color: var(--border-subtle);
    border-radius: var(--radius-sm);
}

.contact-privacy strong {
    color: var(--ink-800);
}

.site-footer {
    color: #cbd5e1;
    background: var(--brand-950);
    border-top-color: rgba(255, 255, 255, 0.1);
}

.footer-inner {
    padding-block: clamp(2rem, 5vw, 3.5rem);
}

.footer-grid {
    display: grid;
    gap: var(--space-7);
    width: 100%;
    padding-block: clamp(2rem, 5vw, 3.5rem);
}

.footer-brand {
    max-width: 28rem;
}

.footer-logo {
    width: min(15rem, 100%);
    height: auto;
    margin-bottom: var(--space-4);
}

.footer-brand > p {
    max-width: 38ch;
    color: #cbd5e1;
}

.footer-brand .btn-primary {
    color: var(--brand-900);
    background: #ffffff;
    border-color: #ffffff;
}

.footer-brand .btn-primary:hover {
    color: var(--brand-950);
    background: var(--brand-100);
    border-color: var(--brand-100);
}

.footer-brand :where(h2, h3),
.footer-nav-group h2,
.footer-nav-group h3,
.footer-nav h2,
.footer-nav h3,
.footer-cta :where(h2, h3) {
    margin: 0 0 var(--space-3);
    color: #ffffff;
    font-size: var(--text-base);
    letter-spacing: -0.01em;
}

.footer-nav-group ul,
.footer-nav ul,
.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-nav-group a,
.footer-nav a,
.footer-links a {
    color: #e0e7ff;
    text-decoration-color: rgba(224, 231, 255, 0.5);
}

.footer-nav-group a:hover,
.footer-nav a:hover,
.footer-links a:hover {
    color: #ffffff;
}

.footer-nav .footer-links {
    display: grid;
    gap: var(--space-2);
}

.footer-nav .footer-links a {
    min-height: 40px;
}

.footer-cta {
    padding: var(--space-5);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-md);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--space-3);
    width: 100%;
    padding-top: var(--space-5);
    padding-bottom: var(--space-5);
    color: #aab4c5;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: var(--text-sm);
}

.footer-company {
    color: #aab4c5;
}

.footer-bottom a {
    color: #e0e7ff;
    font-weight: 700;
}

.error-page {
    width: min(100% - 2rem, 52rem);
    margin-inline: auto;
    min-height: 34rem;
    display: grid;
    align-content: center;
    justify-items: center;
}

@media (min-width: 640px) {
    .sm\:flex-row { flex-direction: row; }
}

@media (min-width: 768px) {
    .md\:flex { display: flex; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:items-center { align-items: center; }
    .md\:w-1\/2 { width: 50%; }
    .md\:order-first { order: -9999; }
    .md\:order-last { order: 9999; }
    .md\:mb-0 { margin-bottom: 0; }
    .md\:pl-8 { padding-left: 2rem; }
    .md\:pr-8 { padding-right: 2rem; }
    .md\:text-xl { font-size: 1.25rem; }
    .md\:text-5xl { font-size: 3rem; line-height: 1.1; }

    .about-panel {
        grid-template-columns: minmax(0, 1.25fr) minmax(12rem, 0.75fr);
    }

    .about-panel__action {
        justify-self: end;
    }

    .contact-layout {
        grid-template-columns: minmax(0, 0.82fr) minmax(24rem, 1.18fr);
    }

    .footer-grid {
        grid-template-columns: minmax(16rem, 1.5fr) repeat(2, minmax(9rem, 0.75fr));
    }
}

@media (min-width: 960px) {
    .contact-form__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .split-feature {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .split-feature--reverse .split-feature__media {
        order: 2;
    }

    .split-feature--reverse .split-feature__content {
        order: 1;
        justify-self: end;
    }
}

@media (min-width: 1101px) {
    .nav-list > .has-dropdown > .nav-item-row {
        border-radius: var(--radius-sm);
        transition: background-color var(--duration-fast) var(--ease-out);
    }

    .nav-list > .has-dropdown:hover > .nav-item-row,
    .nav-list > .has-dropdown:focus-within > .nav-item-row,
    .nav-list > .has-dropdown.submenu-open > .nav-item-row,
    .nav-list > .has-dropdown.current-section > .nav-item-row {
        background: rgba(255, 255, 255, 0.14);
    }

    .nav-list > .has-dropdown > .nav-item-row > .nav-link,
    .nav-list > .has-dropdown > .nav-item-row > .nav-link:hover,
    .nav-list > .has-dropdown > .nav-item-row > .nav-link.active,
    .nav-list > .has-dropdown.current-section > .nav-item-row > .nav-link {
        padding-right: 0.25rem;
        background: transparent;
    }

    .nav-list > .has-dropdown > .nav-item-row > .submenu-toggle {
        width: 2rem;
        min-width: 2rem;
        padding: 0 0.625rem 0 0.25rem;
        background: transparent;
    }

    .nav-list > .has-dropdown > .nav-item-row > .submenu-toggle:hover,
    .nav-list > .has-dropdown > .nav-item-row > .submenu-toggle[aria-expanded="true"] {
        background: transparent;
    }
}

@media (max-width: 1100px) {
    .site-header .site-container {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 0.5rem 1rem;
    }

    .js .nav-toggle {
        display: inline-flex;
    }

    .header-menu {
        display: grid;
        grid-column: 1 / -1;
        grid-template-columns: 1fr;
        align-items: stretch;
        gap: 0.75rem;
        width: 100%;
        padding-top: 0.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.25);
    }

    .js .header-menu {
        display: none;
    }

    .js .header-menu.is-open {
        display: grid;
        max-height: calc(100vh - 5.5rem);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .site-nav,
    .nav-list {
        width: 100%;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0.125rem;
    }

    .nav-item-row {
        justify-content: space-between;
    }

    .nav-link {
        flex: 1 1 auto;
        min-height: 48px;
        padding: 0.75rem;
    }

    .submenu-toggle {
        min-width: 48px;
        height: 48px;
    }

    .site-nav .dropdown,
    .site-nav .dropdown-item.has-dropdown > .dropdown {
        display: none;
        position: static;
        min-width: 0;
        margin: 0.25rem 0 0.5rem 1rem;
        padding-block: 0.25rem;
        visibility: visible;
        opacity: 1;
        background: #312e81;
        border-color: rgba(255, 255, 255, 0.24);
        box-shadow: none;
        pointer-events: auto;
        transform: none;
        transition: none;
    }

    .site-nav .has-dropdown:hover > .dropdown {
        display: none;
    }

    .site-nav .has-dropdown.submenu-open > .dropdown,
    html:not(.js) .site-nav .dropdown {
        display: block;
    }

    .dropdown-link {
        min-height: 48px;
        padding: 0.75rem 1rem;
        color: #ffffff;
        white-space: normal;
    }

    .dropdown-link:hover,
    .dropdown-link.active {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.14);
    }

    .dropdown-item .submenu-toggle {
        color: #ffffff;
    }

    .dropdown-item .submenu-toggle:hover,
    .dropdown-item .submenu-toggle[aria-expanded="true"] {
        background: rgba(255, 255, 255, 0.14);
    }

    .header-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        padding-bottom: 0.5rem;
    }

    .nav-cta {
        min-height: 48px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 520px) {
    .logo-img {
        max-width: 180px;
        height: auto;
        max-height: 42px;
    }

    .tagline {
        max-width: 15rem;
    }

    .header-actions {
        grid-template-columns: 1fr;
    }

    .button-group,
    .cta-panel__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .button-group :where(.btn-primary, .btn-secondary),
    .cta-panel__actions :where(.btn-primary, .btn-secondary) {
        width: 100%;
    }

    .hero {
        min-height: 34rem;
    }

    .proof-list li {
        text-align: left;
    }

    .footer-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Homepage operational story
   These rules are intentionally scoped to .home-page so the purpose-built
   homepage can use a quieter, more structured visual language without
   changing CMS and internal-page components. */
.home-page {
    background: #ffffff;
}

.home-page :where(
    .home-hero__content,
    .home-hero__scrim,
    .home-proof__list,
    .reporting-flow__list,
    .reporting-flow__step,
    .team-outcomes__grid,
    .team-outcomes__card,
    .process-comparison__grid,
    .before-after-card,
    .pricing-story__layout,
    .pricing-story__content,
    .pricing-story__example,
    .pricing-story__table-wrap,
    .product-preview-section__layout,
    .product-preview-section__content,
    .product-preview,
    .product-preview__window,
    .home-faq__layout,
    .home-faq__list
) {
    min-width: 0;
}

.home-page .section-shell {
    padding: clamp(3.75rem, 8vw, 6.25rem) clamp(1rem, 4vw, 2rem);
}

.home-page .section-shell--compact {
    padding-block: clamp(3rem, 6vw, 4.75rem);
}

.home-page .section-heading {
    margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
}

.home-page .section-heading > h2 {
    max-width: 21ch;
}

/* The scrim lives on the parent rather than an empty overlay element. This
   keeps contrast deterministic even when the photograph is cropped over its
   lightest region on narrow screens. */
.home-hero {
    position: relative;
    min-height: 38rem;
    padding: clamp(3.5rem, 12vw, 5rem) 1rem;
    isolation: isolate;
    overflow: hidden;
    background: var(--brand-950);
}

.home-hero::before {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(15, 23, 42, 0.8);
    content: "";
    pointer-events: none;
}

.home-hero .hero-media {
    z-index: 0;
    object-position: 60% 45%;
}

.feature-img--phone {
    object-position: 75% center;
}

.home-hero__content {
    position: relative;
    z-index: 2;
    width: min(100%, var(--content-wide));
    padding-inline: 0;
}

.home-hero__scrim {
    width: min(100%, 48rem);
    padding: clamp(1rem, 5vw, 1.5rem);
    background: rgba(23, 22, 63, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-md);
}

.home-page .home-hero :where(h1, p) {
    text-shadow: none;
}

.home-page .home-hero h1 {
    max-width: 17ch;
    margin-bottom: var(--space-5);
    color: #ffffff;
    font-size: clamp(2.25rem, 9.5vw, 3.25rem);
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.home-page .home-hero .eyebrow,
.home-page .home-hero .hero-lead {
    color: #ffffff;
}

.home-page .home-hero .eyebrow {
    margin-bottom: var(--space-3);
}

.home-page .home-hero .hero-lead {
    max-width: 58ch;
    margin-bottom: var(--space-3);
    font-size: clamp(1rem, 2.5vw, 1.1875rem);
    line-height: 1.62;
}

.home-hero__proof {
    margin: 0 0 var(--space-6);
    color: #ffffff;
}

.home-hero__actions {
    margin-top: var(--space-2);
}

.home-hero :where(a, button):focus-visible {
    outline: 3px solid transparent;
    outline-offset: 3px;
    box-shadow: 0 0 0 2px var(--brand-950), 0 0 0 5px var(--color-focus);
}

/* Proof is a compact operational fact bar, not a row of cards. */
.home-proof {
    background: #ffffff;
    border-block: 1px solid var(--border-subtle);
    box-shadow: none;
}

.home-proof__list.proof-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: var(--space-4) clamp(1rem, 4vw, 2rem);
}

.home-proof__list li {
    min-width: 0;
    padding: var(--space-4) 0;
    text-align: left;
}

.home-proof__list li + li {
    border-top: 1px solid var(--border-subtle);
}

.home-proof__list.proof-list strong {
    margin-bottom: 0.2rem;
    color: var(--brand-900);
    font-size: 1.125rem;
    line-height: 1.25;
}

.home-proof__list.proof-list span {
    max-width: 28ch;
    color: var(--ink-600);
    line-height: 1.45;
}

/* Four-step reporting flow: a connected sequence on small screens and a
   horizontal process diagram when there is room for all four steps. */
.reporting-flow__list.workflow-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    width: min(100%, var(--content-wide));
    padding: 0;
}

.reporting-flow__step.workflow-card {
    position: relative;
    min-height: 0;
    padding: 0 0 2.5rem 4rem;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.reporting-flow__step.workflow-card:last-child {
    padding-bottom: 0;
}

.reporting-flow__step:not(:last-child)::after {
    position: absolute;
    top: 2.5rem;
    bottom: 0;
    left: calc(1.25rem - 1px);
    width: 2px;
    background: #c7d2fe;
    content: "";
}

.reporting-flow__step .step-number {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 2.5rem;
    height: 2.5rem;
    margin: 0;
    background: var(--brand-700);
    box-shadow: none;
}

.reporting-flow__step.workflow-card h3 {
    margin-bottom: var(--space-2);
    font-size: clamp(1.125rem, 2vw, 1.25rem);
}

.reporting-flow__step.workflow-card p {
    max-width: 48rem;
    margin: 0;
    color: var(--ink-600);
    line-height: 1.6;
}

.reporting-flow .button-group--centered {
    margin-top: clamp(2.25rem, 5vw, 3.5rem);
}

/* Audience outcomes use a ruled column layout instead of elevated cards. */
.team-outcomes__grid.audience-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
}

.team-outcomes__card.audience-card {
    min-height: 0;
    padding: 1.75rem 0;
    background: transparent;
    border: 0;
    border-top: 1px solid var(--border-subtle);
    border-radius: 0;
    box-shadow: none;
}

.team-outcomes__card.audience-card:first-child {
    padding-top: 0;
    border-top: 0;
}

.team-outcomes__role {
    margin: 0 0 var(--space-3);
    color: var(--brand-700);
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0.1em;
    line-height: 1.3;
    text-transform: uppercase;
}

.team-outcomes__card.audience-card h3 {
    margin-bottom: var(--space-3);
}

.team-outcomes__card.audience-card > p:last-child {
    color: var(--ink-600);
    line-height: 1.65;
}

/* Before/after shares one frame. Labels and headings carry the meaning so the
   comparison does not depend on color alone. */
.process-comparison__grid.before-after-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    width: min(100%, 68rem);
    margin-inline: auto;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
}

.before-after-card {
    min-width: 0;
    padding: clamp(1.5rem, 5vw, 2.5rem);
}

.before-after-card--before {
    background: #ffffff;
}

.before-after-card--after {
    background: var(--brand-50);
    border-top: 1px solid var(--border-subtle);
}

.before-after-card__label {
    display: inline-flex;
    min-height: 2rem;
    margin: 0 0 var(--space-4);
    padding: 0.35rem 0.75rem;
    align-items: center;
    color: var(--ink-700);
    background: var(--surface-subtle);
    border-radius: var(--radius-pill);
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0.07em;
    line-height: 1.2;
    text-transform: uppercase;
}

.before-after-card--after .before-after-card__label {
    color: var(--brand-900);
    background: var(--brand-100);
}

.before-after-card h3 {
    margin: 0 0 var(--space-5);
    color: var(--ink-950);
    font-size: var(--text-xl);
    line-height: 1.25;
}

.home-page .check-list {
    display: grid;
    gap: var(--space-3);
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-page .check-list li {
    position: relative;
    min-width: 0;
    padding-left: 1.75rem;
    color: var(--ink-700);
    line-height: 1.55;
}

.home-page .check-list li::before {
    position: absolute;
    top: 0.52em;
    left: 0;
    width: 0.7rem;
    height: 0.7rem;
    background: var(--brand-700);
    border: 2px solid var(--brand-700);
    border-radius: 50%;
    content: "";
}

.home-page .check-list--muted li::before {
    background: transparent;
    border-color: var(--ink-500);
}

/* Pricing keeps the dollar story prominent while the evidence remains a
   conventional, readable table. */
.pricing-story__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(2.5rem, 7vw, 5rem);
    align-items: center;
}

.pricing-story__content {
    max-width: 36rem;
}

.pricing-story__content h2 {
    margin: 0 0 var(--space-5);
    color: var(--ink-950);
    font-size: var(--text-3xl);
    line-height: var(--leading-heading);
}

.pricing-story__content > p:not(.eyebrow):not(.pricing-story__price) {
    color: var(--ink-600);
    font-size: var(--text-lg);
}

.pricing-story__price {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.65rem;
    align-items: baseline;
    margin: var(--space-5) 0;
    color: var(--brand-900);
    font-size: var(--text-xl);
    font-weight: 700;
    line-height: 1.2;
}

.pricing-story__price strong {
    color: var(--brand-900);
    font-size: clamp(3rem, 12vw, 4.75rem);
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 0.95;
}

.pricing-story__content .button-group {
    margin-top: var(--space-6);
}

.pricing-story__example {
    padding: clamp(1rem, 4vw, 1.75rem);
    background: var(--surface-page);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
}

.pricing-story__table-wrap {
    max-width: 100%;
    overflow-x: auto;
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    -webkit-overflow-scrolling: touch;
}

.pricing-story__table-wrap:focus-visible {
    outline: 3px solid var(--focus-ring);
    outline-offset: 3px;
}

.savings-table {
    width: 100%;
    min-width: 34rem;
    border-collapse: collapse;
    color: var(--ink-700);
    font-size: var(--text-sm);
}

.savings-table caption {
    padding: 1rem;
    color: #ffffff;
    background: var(--brand-900);
    font-size: var(--text-base);
    font-weight: 750;
    text-align: left;
}

.savings-table :where(th, td) {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--border-subtle);
    text-align: left;
    white-space: nowrap;
}

.savings-table thead {
    color: var(--ink-800);
    background: var(--surface-subtle);
}

.savings-table tbody tr:last-child :where(th, td) {
    border-bottom: 0;
}

.savings-table tbody th {
    color: var(--ink-950);
}

.savings-table__featured {
    background: var(--brand-50);
}

.pricing-story__note {
    margin: var(--space-4) 0 0;
    color: var(--ink-600);
    font-size: var(--text-sm);
    line-height: 1.55;
}

/* Product preview is an explicitly labelled illustration. It is the primary
   elevated visual surface on the page and uses familiar application geometry. */
.product-preview-section__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(2.5rem, 7vw, 5rem);
    align-items: center;
}

.product-preview-section__content {
    max-width: 35rem;
}

.product-preview-section__content h2 {
    margin: 0 0 var(--space-4);
    color: var(--ink-950);
    font-size: var(--text-3xl);
    line-height: var(--leading-heading);
}

.product-preview-section__content > p:not(.eyebrow) {
    color: var(--ink-600);
    font-size: var(--text-lg);
}

.product-preview-section__content .check-list {
    margin-top: var(--space-5);
}

.product-preview-section__content .card-link {
    margin-top: var(--space-5);
}

.product-preview {
    width: 100%;
    max-width: 44rem;
    margin: 0 auto;
}

.product-preview__window {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-raised);
}

.product-preview__bar {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    align-items: center;
    justify-content: space-between;
    min-height: 3.75rem;
    padding: 0.875rem 1rem;
    color: #ffffff;
    background: var(--brand-950);
    font-size: var(--text-sm);
    font-weight: 750;
}

.product-preview__badge {
    display: inline-flex;
    min-height: 2rem;
    padding: 0.3rem 0.65rem;
    align-items: center;
    color: var(--brand-950);
    background: var(--brand-100);
    border-radius: var(--radius-pill);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.product-preview__summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    background: var(--surface-page);
    border-bottom: 1px solid var(--border-subtle);
}

.product-preview__summary > div {
    display: grid;
    gap: var(--space-1);
    min-width: 0;
    padding: 1rem;
    border-top: 1px solid var(--border-subtle);
}

.product-preview__summary > div:first-child {
    border-top: 0;
}

.product-preview__summary span,
.product-preview__record-label {
    color: var(--ink-600);
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.055em;
    line-height: 1.3;
    text-transform: uppercase;
}

.product-preview__summary strong {
    color: var(--ink-950);
    font-size: var(--text-sm);
}

.product-preview__record {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    align-items: flex-start;
    justify-content: space-between;
    margin: 1rem;
    padding: 1rem;
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
}

.product-preview__record > div {
    display: grid;
    gap: var(--space-1);
    min-width: 0;
}

.product-preview__record strong {
    color: var(--ink-950);
}

.product-preview__status {
    display: inline-flex;
    min-height: 2rem;
    padding: 0.3rem 0.65rem;
    align-items: center;
    color: var(--color-success);
    background: #ecfdf3;
    border: 1px solid #a7f3d0;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 800;
}

.product-preview__timeline {
    display: grid;
    gap: 0;
    padding: 0 1rem 1.25rem;
}

.product-preview__timeline p {
    position: relative;
    margin: 0;
    padding: 0 0 1rem 1.75rem;
    color: var(--ink-700);
    font-size: var(--text-sm);
    line-height: 1.45;
}

.product-preview__timeline p:last-child {
    padding-bottom: 0;
}

.product-preview__timeline p:not(:last-child)::before {
    position: absolute;
    top: 0.75rem;
    bottom: 0;
    left: calc(0.35rem - 1px);
    width: 2px;
    background: #c7d2fe;
    content: "";
}

.product-preview__timeline p > span {
    position: absolute;
    top: 0.38rem;
    left: 0;
    z-index: 1;
    width: 0.7rem;
    height: 0.7rem;
    background: var(--brand-700);
    border: 2px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--brand-100);
}

.product-preview figcaption {
    max-width: 62ch;
    margin-top: var(--space-4);
    color: var(--ink-600);
    font-size: var(--text-sm);
    line-height: 1.55;
}

/* A flat, high-contrast history panel replaces the generic raised card. */
.trust-history__panel.about-panel {
    padding: clamp(1.75rem, 5vw, 3rem);
    color: #ffffff;
    background: var(--brand-950);
    border: 1px solid var(--brand-900);
    border-radius: var(--radius-md);
    box-shadow: none;
}

.home-page .trust-history__panel :where(h2, .eyebrow) {
    color: #ffffff;
}

.home-page .trust-history__panel .about-panel__content p:last-child {
    color: #e0e7ff;
}

.trust-history__panel .btn-secondary {
    color: var(--brand-950);
    background: #ffffff;
    border-color: #ffffff;
}

.trust-history__panel .btn-secondary:hover {
    color: var(--brand-950);
    background: var(--brand-100);
    border-color: var(--brand-100);
}

/* Native details preserve no-script and keyboard behaviour. The custom marker
   is decorative; the summary remains the full, 48px-plus interaction target. */
.home-faq__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(2.5rem, 7vw, 5rem);
    align-items: start;
}

.home-faq .section-heading {
    max-width: 36rem;
    margin: 0;
    text-align: left;
}

.home-faq .section-heading > h2,
.home-faq .section-intro {
    margin-inline: 0;
    text-align: left;
}

.home-faq .section-intro {
    margin-bottom: 0;
}

.home-faq__list {
    border-block: 1px solid var(--border-subtle);
}

.faq-item + .faq-item {
    border-top: 1px solid var(--border-subtle);
}

.faq-item summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 2rem;
    gap: var(--space-4);
    align-items: center;
    min-height: 4rem;
    padding: 1rem 0;
    color: var(--ink-950);
    font-size: var(--text-lg);
    font-weight: 750;
    line-height: 1.35;
    list-style: none;
    cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    display: grid;
    width: 2rem;
    height: 2rem;
    color: var(--brand-800);
    background: var(--brand-100);
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1;
    content: "+";
    place-items: center;
}

.faq-item[open] summary::after {
    content: "\2212";
}

.faq-item summary:focus-visible {
    outline: 3px solid var(--focus-ring);
    outline-offset: 3px;
}

.faq-item > p {
    max-width: 66ch;
    margin: 0;
    padding: 0 3rem 1.25rem 0;
    color: var(--ink-600);
    line-height: 1.65;
}

/* Final CTA is deliberately flat; the hero and product preview already carry
   the page's photographic and dimensional emphasis. */
.home-demo__panel.cta-panel {
    background: var(--brand-900);
    border: 1px solid var(--brand-800);
    border-radius: var(--radius-md);
    box-shadow: none;
}

.home-demo__panel.cta-panel::after {
    display: none;
}

.home-demo__panel .cta-panel__content {
    max-width: 54rem;
}

.home-demo__panel :where(.cta-panel__content, .cta-panel__actions) {
    min-width: 0;
}

.home-demo__panel :where(a, button):focus-visible {
    outline: 3px solid transparent;
    outline-offset: 3px;
    box-shadow: 0 0 0 2px var(--brand-900), 0 0 0 5px var(--color-focus);
}

/* 320px: protect the narrowest supported layout from compressed controls and
   long operational labels. */
@media (max-width: 22.4375rem) {
    .home-hero {
        min-height: 0;
        padding-block: 3rem;
    }

    .home-hero__scrim {
        padding: 1rem;
    }

    .home-page .home-hero h1 {
        font-size: 2.125rem;
    }

    .home-proof__list.proof-list {
        padding-block: var(--space-3);
    }

    .product-preview__bar {
        align-items: flex-start;
        flex-direction: column;
    }

    .pricing-story__example {
        padding: 0.75rem;
    }
}

/* 390px and larger phones: concise facts and the illustrative UI can use two
   and three columns respectively without squeezing primary content. */
@media (min-width: 22.5rem) {
    .home-proof__list.proof-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-proof__list li {
        padding: var(--space-4);
    }

    .home-proof__list li + li {
        border-top: 0;
    }

    .home-proof__list li:nth-child(2n) {
        border-left: 1px solid var(--border-subtle);
    }

    .home-proof__list li:nth-child(n + 3) {
        border-top: 1px solid var(--border-subtle);
    }

    .product-preview__summary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .product-preview__summary > div,
    .product-preview__summary > div:first-child {
        border-top: 0;
    }

    .product-preview__summary > div + div {
        border-left: 1px solid var(--border-subtle);
    }
}

/* Tablet layout: keep the sequential flow vertical, but allow paired and
   audience content to use the available width. */
@media (min-width: 48rem) {
    .home-hero {
        min-height: 40rem;
        padding: clamp(5rem, 10vw, 7rem) clamp(2rem, 5vw, 3rem);
    }

    .home-hero::before {
        background: linear-gradient(
            90deg,
            rgba(23, 22, 63, 0.96) 0%,
            rgba(23, 22, 63, 0.88) 58%,
            rgba(15, 23, 42, 0.7) 100%
        );
    }

    .home-hero__scrim {
        padding: 0;
        background: transparent;
        border: 0;
        border-radius: 0;
    }

    .home-page .home-hero h1 {
        font-size: clamp(3rem, 6.5vw, 4rem);
    }

    .team-outcomes__grid.audience-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .team-outcomes__card.audience-card,
    .team-outcomes__card.audience-card:first-child {
        padding: 1.75rem;
        border-top: 0;
    }

    .team-outcomes__card.audience-card + .team-outcomes__card.audience-card {
        border-left: 1px solid var(--border-subtle);
    }

    .process-comparison__grid.before-after-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .before-after-card--after {
        border-top: 0;
        border-left: 1px solid var(--border-subtle);
    }

    .product-preview__record {
        align-items: center;
        flex-direction: row;
    }
}

/* Wide content: all four steps become one connected operational sequence,
   while evidence-heavy sections gain balanced text/visual columns. */
@media (min-width: 64rem) {
    .home-proof__list.proof-list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .home-proof__list li,
    .home-proof__list li:nth-child(n + 3) {
        border-top: 0;
    }

    .home-proof__list li:nth-child(2n) {
        border-left: 0;
    }

    .home-proof__list li + li {
        border-left: 1px solid var(--border-subtle);
    }

    .home-proof__list li {
        text-align: center;
    }

    .home-proof__list.proof-list span {
        margin-inline: auto;
    }

    .reporting-flow__list.workflow-grid {
        position: relative;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0;
    }

    .reporting-flow__list::before {
        position: absolute;
        top: calc(1.25rem - 1px);
        right: 12.5%;
        left: 12.5%;
        height: 2px;
        background: #c7d2fe;
        content: "";
    }

    .reporting-flow__step.workflow-card,
    .reporting-flow__step.workflow-card:last-child {
        z-index: 1;
        padding: 3.75rem 1rem 0;
        text-align: left;
    }

    .reporting-flow__step:not(:last-child)::after {
        display: none;
    }

    .reporting-flow__step .step-number {
        left: 50%;
        transform: translateX(-50%);
    }

    .reporting-flow__step.workflow-card h3 {
        font-size: 1.0625rem;
    }

    .reporting-flow__step.workflow-card p {
        font-size: var(--text-sm);
    }

    .pricing-story__layout {
        grid-template-columns: minmax(0, 0.82fr) minmax(32rem, 1.18fr);
    }

    .product-preview-section__layout {
        grid-template-columns: minmax(0, 0.78fr) minmax(32rem, 1.22fr);
    }

    .product-preview-section__content {
        justify-self: end;
    }

    .home-faq__layout {
        grid-template-columns: minmax(17rem, 0.7fr) minmax(0, 1.3fr);
    }
}

/* 1440px-class canvases retain a readable 1200px measure and gain breathing
   room without turning the hero into an oversized empty headline. */
@media (min-width: 80rem) {
    .home-hero {
        min-height: 42rem;
    }

    .reporting-flow__step.workflow-card,
    .reporting-flow__step.workflow-card:last-child {
        padding-inline: 1.25rem;
    }

    .reporting-flow__step.workflow-card h3 {
        font-size: 1.125rem;
    }
}
