* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    scrollbar-gutter: stable;
    overflow-x: hidden;
}

:root {
    --top-header-height: 54px;
    --brand-dark: #0f172a;
    --brand-dark-2: #111c32;
    --brand-border: rgba(255, 255, 255, 0.08);
    --surface: #ffffff;
    --surface-alt: #f3f6fb;
    --surface-muted: #e9eef6;
    --text: #1f2937;
    --muted: #5f6f85;
    --heading: #0f172a;
    --primary: #0d6efd;
    --shadow: 0 20px 45px rgba(15, 23, 42, 0.10);
    --radius-lg: 24px;
    --radius-md: 18px;
    --content-width: 1180px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, Arial, Helvetica, sans-serif;
    background: #f8f9fa;
    Xbackground: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
    Xbackground: linear-gradient(180deg, #f8fbff 0%, #f8f9fa 100%);
    color: var(--text);
    min-width: 340px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: var(--top-header-height);
}

.site-shell {
    min-height: calc(100vh - var(--top-header-height));
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
    margin-top: auto;
    width: 100%;
    padding: 20px;
    text-align: center;
    line-height: 1.5em;
}

a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.top-header {
    background-color: var(--brand-dark);
    border-bottom: 1px solid #e0e0e0;
    padding: 0 10px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: auto;
    min-height: 54px;
    z-index: 1000;
}

.header-inner,
.hero-inner,
.section-inner {
    width: min(var(--content-width), calc(100% - 32px));
    margin: 0 auto;
}

.section-inner {


    border-radius: var(--radius-lg);
    padding: 28px;
    
    border: 1px solid #dee2e6;
    box-shadow: var(--shadow);
    
    
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.header-branding {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    min-width: 0;
    flex: 1 1 auto;
}

.topbarlogo {
    margin: auto 0;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0;
    white-space: nowrap;
    text-decoration: none;
    color: #f8f9fa;
}

.brand-link:hover {
    color: #d4dbe2;
    text-decoration: none;
}

.brand-link img {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.nav-shell {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-right {
    margin-left: auto;
    justify-content: flex-end;
    flex-wrap: nowrap;
}

.nav-group {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: -10px;
}

.nav-trigger {
    border: 0;
    background: transparent;
    color: #f8f9fa;
    cursor: pointer;
    padding: 8px 12px;
    min-height: 36px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-trigger:hover,
.nav-trigger:focus-visible,
.nav-group-active .nav-trigger,
.nav-group[data-open="true"] .nav-trigger {
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
    outline: none;
}

.nav-chevron {
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: -4px;
}

.nav-dropdown {
    position: absolute;
    top: calc(100% - 2px);
    left: 0;
    min-width: 320px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 14px;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
    padding: 10px;
    display: none;
    z-index: 1002;
}

.nav-group:hover .nav-dropdown,
.nav-group[data-open="true"] .nav-dropdown {
    display: grid;
    gap: 6px;
}

.nav-card {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    color: #212529;
}

.nav-card:hover,
.nav-card:focus-visible {
    background: #f8f9fa;
    color: #0066cc;
    text-decoration: none;
    outline: none;
}

.nav-card strong {
    display: block;
    color: #0f172a;
    font-size: 14px;
}

.nav-card span {
    display: block;
    color: #5f6f85;
    font-size: 13px;
    line-height: 1.45;
}

.nav-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 3px;
}

.nav-card-title i {
    color: var(--primary);
    font-size: 1rem;
    flex: 0 0 auto;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn {
    height: 36px;
    border-radius: 4px;
    font-size: 14px;
    padding: 4px 12px;
    font-weight: 600;
    align-content: center;
    overflow: hidden;
}

.btn-orange {
    color: #fff;
    background-color: #FF6B35;
}
.btn-orange:hover, .btn-orange:active {
    color: #fff;
    background-color: #FF8555;
}

.menu-toggle {
    display: none;
    width: 38px;
    height: 38px;
    border: 0;
    background: transparent;
    border-radius: 4px;
    padding: 6px;
    margin-right: 8px;
}

.menu-toggle span {
    display: block;
    height: 2px;
    background: #f8f9fa;
    margin: 5px 0;
    border-radius: 999px;
}

.hero {
    padding: 48px 0 28px;
}

.hero-inner,
.split-layout {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 34px;
    align-items: center;
}

.hero-inner {
    background: linear-gradient(135deg, #ffffff 0%, #f4f8ff 100%);
    border: 1px solid #d9e3f0;
    border-radius: 28px;
    padding: 34px;
    box-shadow: var(--shadow);
}

.journey-step:hover, .feature-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 6px 18px #ad998524, 0 18px 48px #9980661f;
}

.hero-inner-dark {
    background: linear-gradient(135deg, #0f172a 0%, #13213a 100%);
    color: #f8fbff;
    border-color: rgba(255, 255, 255, 0.08);
}

.hero-inner-dark .hero-copy h1,
.hero-inner-dark .hero-text,
.hero-inner-dark .hero-eyebrow {
    color: #f8fbff;
}

.hero-inner-dark .hero-text {
    color: rgba(248, 251, 255, 0.82);
}

.hero-inner-dark .hero-eyebrow {
    color: #93c5fd;
}

.hero-inner-dark .btn-secondary,
.hero-inner-dark .btn-secondary:hover,
.hero-inner-dark .btn-secondary:focus-visible {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
}

.hero-inner-dark .hero-media img {
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-copy h1,
.section-block h2 {
    margin: 0;
    color: var(--heading);
    line-height: 1.08;
}

.hero-copy h1 {
    font-size: clamp(2.3rem, 4.5vw, 4rem);
    letter-spacing: -0.03em;
}

.hero-eyebrow,
.section-eyebrow,
.pricing-label {
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--primary);
}

.hero-text,
.section-copy p,
.prose-block p,
.pricing-summary,
.faq-item p,
.main-footer p,
.contact-points p {
    color: var(--muted);
    line-height: 1.7;
    font-size: 1rem;
}

.hero-text {
    margin-top: 18px;
}

.hero-media img,
.section-media img {
    border-radius: 20px;
    box-shadow: var(--shadow);
    
    
    margin-left: auto;
    margin-right: auto;
    
    
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.flash-wrap {
    width: min(var(--content-width), calc(100% - 32px));
    margin: 0 auto;
}

.flash {
    border-radius: 12px;
    padding: 14px 16px;
    font-weight: 600;
    margin-top: 8px;
}

.flash-success {
    background: #d1e7dd;
    color: #0f5132;
}

.flash-error {
    background: #f8d7da;
    color: #842029;
}

.section-block {
    padding: 24px 0;
}

.split-layout-reverse .section-copy {
    order: 2;
}

.split-layout-reverse .section-media {
    order: 1;
}

.section-block-alt .section-inner,
.cta-panel,
.contact-form-panel,
.feature-card,
.pricing-card,
.faq-item,
.prose-block,

.legacy-html-block {
    background: #fff;
    border: 1px solid #dee2e6;
    box-shadow: var(--shadow);
}

.section-inner h2 {
    margin-bottom: 8px;
}

.section-block-alt .section-inner,
.cta-panel,
.prose-block,
.legacy-html-block {
    border-radius: var(--radius-lg);
    padding: 28px;
}

.cta-panel {
    background: linear-gradient(135deg, #ffffff 0%, #eef5ff 100%);
    border-color: #d3e1f4;
}

.card-grid,
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 22px;
}

.feature-card,
.pricing-card {
    display: block;
    border-radius: 18px;
    padding: 22px;
}

.feature-card-link {
    color: var(--heading);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.feature-card-link:hover,
.feature-card-link:focus-visible {
    transform: translateY(-1px);
    border-color: #c7d4e6;
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.12);
    outline: none;
    text-decoration: none;
}

.feature-card h3,
.pricing-card h3 {
    margin: 0 0 10px;
    color: var(--heading);
}

.card-title-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    min-height: 68px;
}

.card-title-row h3 {
    margin: 0;
    flex: 1 1 auto;
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    min-width: 42px;
    background: #1c2331;
    border-radius: 10px;
    color: #fff;
    font-size: 20px;
}

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.pillar-card {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
    border: 1px solid #d9e3f0;
    border-radius: 22px;
    padding: 26px 22px 22px;
    box-shadow: var(--shadow);
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 22px;
    right: 22px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #0d6efd 0%, #60a5fa 100%);
}

.pillar-kicker {
    margin: 0 0 10px;
    color: var(--primary);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.pillar-card h3 {
    margin: 0 0 10px;
    color: var(--heading);
}

.pillar-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.story-band {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
    gap: 26px;
    align-items: stretch;
    background: linear-gradient(135deg, #0f172a 0%, #13213a 100%);
    color: #f8fbff;
    border-radius: 28px;
    padding: 32px;
    box-shadow: var(--shadow);
}

.story-band .section-eyebrow,
.story-band h2,
.story-band p {
    color: inherit;
}

.story-band .section-eyebrow {
    color: #7dd3fc;
}

.story-band .story-copy p {
    color: rgba(248, 251, 255, 0.82);
}

.story-aside {
    display: grid;
    gap: 14px;
}

.story-metric {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 18px;
}

.story-metric strong {
    display: block;
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.story-metric span {
    display: block;
    color: rgba(248, 251, 255, 0.75);
    line-height: 1.55;
}

.quote-panel {
    background: linear-gradient(135deg, #ffffff 0%, #eef5ff 100%);
    border: 1px solid #d9e3f0;
    border-radius: 28px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.quote-panel blockquote {
    margin: 0;
    margin-top: 12px;
    color: var(--heading);
    /*font-size: clamp(1.4rem, 2.8vw, 2.1rem);
    line-height: 1.35;
    letter-spacing: -0.02em;*/
    font-weight: 700;
}

.quote-attribution {
    margin: 16px 0 0;
    color: var(--muted);
    font-weight: 600;
}

.feature-bullets {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: grid;
    gap: 10px;
}

.feature-bullets li {
    position: relative;
    padding-left: 28px;
    color: var(--muted);
    line-height: 1.65;
}

.feature-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0d6efd 0%, #60a5fa 100%);
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.10);
}

.feature-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
}

.feature-stat {
    background: #fff;
    border: 1px solid #d9e3f0;
    border-radius: 16px;
    padding: 16px 14px;
}

.feature-stat strong {
    display: block;
    color: var(--heading);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.feature-stat span {
    display: block;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.45;
}

.card-meta {
    margin: 0 0 8px;
    color: var(--heading);
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.pricing-price {
    margin: 0 0 10px;
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--heading);
}

.comparison-intro {
    margin-top: 10px;
    margin-bottom: 18px;
}

.comparison-table {
    border: 1px solid #d9e3f0;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow);
}

.comparison-head,
.comparison-row {
    display: grid;
    grid-template-columns: minmax(240px, 2fr) repeat(3, minmax(150px, 1fr));
}

.comparison-row:nth-child(even) {
    background: #f8fbff;
}

.comparison-cell {
    padding: 14px 16px;
    border-bottom: 1px solid #d9e3f0;
    border-right: 1px solid #d9e3f0;
}

.comparison-head .comparison-cell {
    background: linear-gradient(180deg, #f4f8ff 0%, #eef4fd 100%);
}

.comparison-head .comparison-cell:last-child,
.comparison-row .comparison-cell:last-child {
    border-right: none;
}

.comparison-row:last-child .comparison-cell {
    border-bottom: none;
}

.comparison-cell-plan strong,
.comparison-cell-feature strong {
    display: block;
    color: var(--heading);
}

.comparison-cell-plan span {
    display: block;
    color: var(--muted);
    margin-top: 4px;
    font-size: 0.88rem;
}

.comparison-cell-value {
    text-align: center;
}

.comparison-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 74px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: #eef3fb;
    color: var(--heading);
    font-weight: 700;
}

.comparison-pill-yes {
    background: #dff3e4;
    color: #166534;
}

.comparison-pill-no {
    background: #eef2f7;
    color: #64748b;
}

.journey-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.journey-step {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #d9e3f0;
    border-radius: 22px;
    padding: 22px;
    box-shadow: var(--shadow);
}

.journey-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0d6efd 0%, #60a5fa 100%);
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 18px;
}

.journey-step-copy h3 {
    margin: 0 0 10px;
    color: var(--heading);
}

.journey-step-copy p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.journey-step-meta {
    margin-top: 12px !important;
    color: var(--primary) !important;
    font-size: 0.88rem;
    font-weight: 700;
}

.pricing-card ul {
    margin: 0 0 20px;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.7;
}

.faq-list {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

.faq-item {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 56px 20px 20px;
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--heading);
    position: relative;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #eef4fd;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 500;
}

.faq-item[open] summary::after {
    content: '\2212';
}

.faq-item div {
    padding: 0 20px 20px;
}

.faq-item div p {
    margin: 0;
}

.contact-layout {
    align-items: start;
}

.contact-form-panel {
    border-radius: 22px;
    padding: 24px;
}

.main-contact-form {
    display: grid;
    gap: 14px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.main-contact-form label {
    display: grid;
    gap: 8px;
    font-weight: 600;
    color: var(--heading);
}

.main-contact-form span {
    font-size: 0.92rem;
}

.main-contact-form input,
.main-contact-form textarea,
.main-search-form input {
    width: 100%;
    border: 1px solid #ced4da;
    border-radius: 8px;
    padding: 12px 14px;
    font: inherit;
    color: var(--text);
    background: #fff;
}

.main-contact-form input:focus,
.main-contact-form textarea:focus,
.main-search-form input:focus {
    outline: 2px solid rgba(13, 110, 253, 0.18);
    border-color: var(--primary);
}

.main-search-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.main-search-form label {
    flex: 1 1 320px;
}

.main-footer {
    background: transparent;
}

.article-shell {
    max-width: 860px;
    margin: 0 auto;
}

.article-meta-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.article-meta-strip span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: #eef3fb;
    color: var(--heading);
    font-size: 0.9rem;
    font-weight: 700;
}

.article-backlink {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    color: var(--primary);
    font-weight: 700;
}

.article-body p {
    margin: 0 0 1.1rem;
}

.article-footer-nav {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid #d9e3f0;
}

.article-footer-nav .btn-secondary,
.article-footer-nav .btn-secondary:hover,
.article-footer-nav .btn-secondary:focus-visible {
    color: #fff;
}

.legacy-html-block .container {
    max-width: 100%;
    padding: 0;
}

.legacy-html-block > :first-child {
    margin-top: 0;
}

.legacy-html-block > :last-child {
    margin-bottom: 0;
}

.legacy-html-block h1,
.legacy-html-block h2,
.legacy-html-block h3,
.legacy-html-block h4 {
    color: var(--heading);
    line-height: 1.15;
    margin-top: 0;
    margin-bottom: 0.9rem;
}

.legacy-html-block h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.03em;
}

.legacy-html-block h2 {
    font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.legacy-html-block h3 {
    font-size: 1.3rem;
}

.legacy-html-block p,
.legacy-html-block li,
.legacy-html-block td,
.legacy-html-block th {
    color: var(--muted);
    line-height: 1.75;
    font-size: 1rem;
}

.legacy-html-block ul,
.legacy-html-block ol {
    padding-left: 1.3rem;
    margin-bottom: 1.2rem;
}

.legacy-html-block img {
    height: auto;
    border-radius: 18px;
    box-shadow: var(--shadow);
    margin: 0 auto 1.4rem;
}

.legacy-html-block table {
    width: 100% !important;
    max-width: 100%;
    border-collapse: collapse;
    margin: 1.25rem 0;
    background: #fff;
    border: 1px solid #d9e3f0;
    border-radius: 14px;
    overflow: hidden;
    display: block;
    overflow-x: auto;
}

.legacy-html-block td,
.legacy-html-block th {
    padding: 8px 10px !important;
    border: 1px solid #d9e3f0 !important;
    white-space: normal;
}

.legacy-html-block th,
.legacy-html-block strong {
    color: var(--heading);
}

.legacy-html-block hr {
    width: 18%;
    height: 3px;
    border: none;
    background-color: #f59e0b;
    margin: 2rem auto;
}

.legacy-html-block .title_div {
    text-align: center;
    margin-bottom: 2rem;
}

.legacy-html-block .grid_2wide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: center;
    padding: 2.2rem 0 !important;
}

.legacy-html-block .grid_2wide_textalign_left,
.legacy-html-block .grid_2wide_textalign_right {
    max-width: none !important;
}

.legacy-html-block .grid_2wide_img img {
    width: 100%;
}

.legacy-html-block .cta-button,
.legacy-html-block .secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 6px;
    text-decoration: none;
    margin: 0 6px 8px;
}

.legacy-html-block .cta-button {
    background: var(--primary);
    color: #fff;
}

.legacy-html-block .secondary-button {
    background: #eef3fb;
    color: var(--heading);
}

.legacy-html-block .legal-content h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.6rem;
}

.legacy-html-block .legal-content h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-top: 1.4rem;
    margin-bottom: 0.5rem;
}

.legacy-html-block .legal-note {
    background: #f7faff;
    border: 1px solid #d3e1f4;
    border-radius: var(--radius-lg);
    padding: 14px 18px;
    margin: 0 0 1.2rem;
}

.legacy-search-results {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

.legacy-search-card {
    border: 1px solid #dee2e6;
    border-radius: 14px;
    padding: 16px 18px;
    background: #fff;
}

.legacy-search-card h3 {
    margin: 0 0 8px;
    color: var(--heading);
}

.legacy-search-empty {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #f8f9fa;
}

.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;
}

@media (max-width: 1080px) {
    .hero-inner,
    .split-layout,
    .card-grid,
    .pricing-grid,
    .pillar-grid {
        grid-template-columns: 1fr;
    }

    .story-band {
        grid-template-columns: 1fr;
    }

    .feature-stats {
        grid-template-columns: 1fr;
    }

    .split-layout-reverse .section-copy,
    .split-layout-reverse .section-media {
        order: initial;
    }

    .comparison-head,
    .comparison-row {
        grid-template-columns: minmax(180px, 1.5fr) repeat(3, minmax(120px, 1fr));
    }

    .journey-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .menu-toggle {
        display: inline-block;
    }

    .nav-shell {
        position: absolute;
        top: 100%;
        left: 10px;
        right: 10px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 14px;
        background: var(--brand-dark);
        border-top: 1px solid var(--brand-border);
        box-shadow: 0 20px 35px rgba(0, 0, 0, 0.20);
    }

    .nav-shell.is-open {
        display: flex;
    }

    .main-nav,
    .header-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        margin-left: 0;
    }

    .nav-group {
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .nav-dropdown {
        position: static;
        min-width: 0;
        margin-top: 6px;
        border-radius: 12px;
        box-shadow: none;
    }

    .nav-group:hover .nav-dropdown {
        display: none;
    }

    .nav-group[data-open="true"] .nav-dropdown {
        display: grid;
    }

    .nav-trigger,
    .header-actions .btn {
        width: 100%;
        justify-content: space-between;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .header-inner,
    .hero-inner,
    .section-inner,
    .flash-wrap {
        width: min(var(--content-width), calc(100% - 20px));
    }

    .hero {
        padding-top: 28px;
    }

    .hero-copy h1 {
        font-size: 2rem;
    }

    .section-block-alt .section-inner,
    .cta-panel,
    .prose-block,
    .contact-form-panel,
    .feature-card,
    .pricing-card {
        padding: 20px;
    }

    .legacy-html-block .grid_2wide {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        overflow-x: auto;
    }

    .comparison-head,
    .comparison-row {
        min-width: 700px;
    }
}
