:root {
    --deep-navy: #0B1D3A;
    --electric-blue: #1746C7;
    --signal-red: #FF2A2A;
    --ice-white: #E6EBF2;
    --steel-gray: #6B7280;
    --white: #FFFFFF;
    --line: #D9E3F0;
    --soft-blue: #F6F9FD;
    --ink: #10213F;
    --font-ui: "Inter", "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
    --font-display: "Inter", "Segoe UI", "Arial", sans-serif;
    --font-technical: "Segoe UI", "Inter", "Arial", sans-serif;
    /* Mimi note: Tokens lock this front to the approved dense mockup rhythm while graphics remain temporary placeholders. */
    --content-max: 1220px;
    --section-y: 34px;
    --section-y-tight: 24px;
    --card-gap: 18px;
    --header-h: 72px;
    /* Mimi note: Dot tokens remain only for legacy technical accents; section motifs now use approved transparent PNG assets. */
    --dot-blue: rgba(23, 70, 199, .34);
    --dot-navy: rgba(11, 29, 58, .24);
    --dot-red: rgba(255, 42, 42, .45);
    --dot-size: 2px;
    --dot-gap: 13px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    scroll-behavior: smooth;
    background: #FFFFFF;
}

body {
    margin: 0;
    color: var(--deep-navy);
    background: #FFFFFF;
    font-family: var(--font-ui);
    font-size: 15px;
    line-height: 1.45;
    font-weight: 400;
    text-rendering: geometricPrecision;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
svg {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

p,
h1,
h2,
h3 {
    margin-top: 0;
}

p {
    color: var(--ink);
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 30;
    padding: .75rem 1rem;
    background: var(--deep-navy);
    color: var(--white);
}

.skip-link:focus {
    top: 1rem;
}

.ah-container {
    width: min(var(--content-max), calc(100% - 56px));
    margin: 0 auto;
}

/* Mimi note: Square-node ornaments extend the diagnostic visual language without adding assets or changing page copy. */
.ah-node-network,
.ah-section--node-decorated {
    position: relative;
    isolation: isolate;
}

.ah-node-network::before,
.ah-node-network::after,
.ah-section--node-decorated::before,
.ah-section--node-decorated::after {
    content: "";
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

.ah-node-network::before,
.ah-section--node-decorated::before {
    width: 238px;
    height: 172px;
    opacity: .22;
    background-image:
        linear-gradient(90deg, rgba(23, 70, 199, .42) 0 1px, transparent 1px 46px, rgba(23, 70, 199, .28) 46px 47px, transparent 47px),
        linear-gradient(0deg, rgba(11, 29, 58, .28) 0 1px, transparent 1px 44px, rgba(23, 70, 199, .22) 44px 45px, transparent 45px),
        linear-gradient(135deg, transparent 0 47%, rgba(23, 70, 199, .32) 47% 48%, transparent 48%),
        repeating-linear-gradient(90deg, transparent 0 19px, rgba(11, 29, 58, .08) 19px 20px);
    background-size: 94px 74px, 94px 74px, 100% 100%, 20px 20px;
}

.ah-node-network::after,
.ah-section--node-decorated::after {
    width: 8px;
    height: 8px;
    opacity: .58;
    background: var(--electric-blue);
    box-shadow:
        42px 0 0 rgba(23, 70, 199, .54),
        84px 36px 0 rgba(11, 29, 58, .34),
        132px 18px 0 rgba(23, 70, 199, .48),
        176px 70px 0 rgba(11, 29, 58, .26),
        214px 28px 0 rgba(255, 42, 42, .42);
}

.ah-node-network--left::before,
.ah-section--node-left::before {
    left: max(16px, calc((100% - var(--content-max)) / 2 - 124px));
    top: 50%;
    transform: translateY(-50%);
}

.ah-node-network--left::after,
.ah-section--node-left::after {
    left: max(32px, calc((100% - var(--content-max)) / 2 - 98px));
    top: calc(50% - 72px);
}

.ah-node-network--right::before,
.ah-section--node-right::before {
    right: max(16px, calc((100% - var(--content-max)) / 2 - 124px));
    top: 50%;
    transform: translateY(-50%) scaleX(-1);
}

.ah-node-network--right::after,
.ah-section--node-right::after {
    right: max(32px, calc((100% - var(--content-max)) / 2 - 98px));
    top: calc(50% - 72px);
}

.ah-node-network--corner::before {
    right: max(18px, calc((100% - var(--content-max)) / 2 - 48px));
    top: 18px;
    width: 188px;
    height: 132px;
    transform: none;
}

.ah-node-network--corner::after {
    right: max(44px, calc((100% - var(--content-max)) / 2 - 22px));
    top: 38px;
}

.ah-square-node {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--electric-blue);
    box-shadow: 16px 0 0 rgba(23, 70, 199, .38), 32px 16px 0 rgba(11, 29, 58, .22), 48px 0 0 rgba(255, 42, 42, .36);
}

.site-main {
    background: #FFFFFF;
}

.ah-breadcrumbs {
    border-bottom: 1px solid rgba(217, 227, 240, .75);
    background: #FFFFFF;
}

.ah-breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 0;
    padding: 12px 0;
    list-style: none;
    color: var(--steel-gray);
    font-family: var(--font-technical);
    font-size: .72rem;
    font-weight: 800;
    line-height: 1.3;
}

.ah-breadcrumbs__list li {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.ah-breadcrumbs__list li + li::before {
    content: "/";
    margin-right: 8px;
    color: rgba(107, 114, 128, .68);
}

.ah-breadcrumbs__list a {
    color: var(--electric-blue);
}

.ah-breadcrumbs__list [aria-current="page"] {
    color: var(--deep-navy);
}

.ah-home {
    overflow: clip;
    background: #FFFFFF;
}

.ah-section-label {
    margin-bottom: 8px;
    color: var(--electric-blue);
    font-family: var(--font-technical);
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .07em;
    line-height: 1.16;
    text-transform: uppercase;
}

.ah-section-label::after {
    content: "";
    display: block;
    width: 38px;
    height: 2px;
    margin-top: 8px;
    background: var(--signal-red);
}

.ah-section-label--red {
    color: var(--signal-red);
}

h1,
h2,
h3 {
    color: var(--deep-navy);
    line-height: 1.08;
}

h1 {
    max-width: 610px;
    margin-bottom: 14px;
    font-family: var(--font-display);
    font-size: clamp(2.42rem, 3.65vw, 3rem);
    font-weight: 800;
    line-height: .98;
    letter-spacing: -.04em;
}

h1 span,
.brand-name span,
.footer-name span {
    color: var(--signal-red);
    font-weight: 800;
}

.ah-hero__powered {
    display: inline-block;
    color: inherit;
    font-size: .86em;
    font-weight: inherit;
    letter-spacing: -.032em;
    white-space: nowrap;
}

.ah-hero__powered-name {
    color: var(--signal-red);
    font-weight: 600;
}

h2 {
    margin-bottom: 14px;
    font-family: var(--font-display);
    font-size: clamp(1.54rem, 2vw, 1.88rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -.032em;
}

h3 {
    margin-bottom: 6px;
    font-family: var(--font-ui);
    font-size: .92rem;
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -.01em;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #FFFFFF;
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.header-inner {
    display: grid;
    grid-template-columns: minmax(230px, 300px) minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-height: var(--header-h);
}

.brand {
    display: inline-flex;
    width: min(300px, 100%);
    min-width: 0;
    align-items: center;
}

/* Mimi note: Production logo assets are displayed as images only; sizing prevents header overflow without distorting the source. */
.brand-logo-picture {
    display: block;
    width: 100%;
}

.brand-logo {
    display: block;
    width: 100%;
    max-width: 300px;
    max-height: 70px;
    height: auto;
    object-fit: contain;
}

@media (min-width: 1025px) {
    .brand-logo {
        max-height: 90px;
    }
}

.brand-name,
.footer-name {
    display: block;
    color: var(--deep-navy);
    font-family: var(--font-display);
    font-size: 1.48rem;
    font-weight: 800;
    line-height: .92;
    letter-spacing: -.035em;
}

.brand-name small {
    font-size: .54em;
    font-weight: 700;
    letter-spacing: -.02em;
}

.brand-sub,
.footer-sub {
    display: block;
    margin-top: 4px;
    color: var(--deep-navy);
    font-family: var(--font-technical);
    font-size: .49rem;
    font-weight: 800;
    letter-spacing: .32em;
    line-height: 1.1;
}

.primary-nav {
    min-width: 0;
}

.site-header__toggle {
    display: none;
}

.nav-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px 14px;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-list a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    color: var(--deep-navy);
    font-family: var(--font-ui);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: 0;
}

/* Mimi note: Active navigation must work for both configured WordPress menus and the local fallback menu. */
.nav-list a:hover,
.nav-list .current-menu-item > a,
.nav-list .current_page_item > a,
.nav-list .current-menu-ancestor > a,
.nav-list .current_page_parent > a,
.home .nav-list .menu-item-home > a {
    color: var(--signal-red);
}

.nav-list .current-menu-item > a::after,
.nav-list .current_page_item > a::after,
.nav-list .current-menu-ancestor > a::after,
.nav-list .current_page_parent > a::after,
.home .nav-list .menu-item-home > a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -11px;
    width: min(100%, 82px);
    height: 2px;
    background: var(--signal-red);
    transform: translateX(-50%);
}

.button {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 16px;
    border: 1px solid transparent;
    border-radius: 5px;
    font-family: var(--font-ui);
    font-size: .78rem;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: 0;
    text-align: center;
}

.button-primary {
    color: var(--white);
    background: var(--electric-blue);
    box-shadow: 0 12px 24px rgba(23, 70, 199, .22);
}

.button-secondary {
    color: var(--electric-blue);
    background: var(--white);
    border-color: var(--electric-blue);
}

.button-red {
    color: var(--white);
    background: var(--signal-red);
    box-shadow: 0 14px 28px rgba(255, 42, 42, .22);
}

.header-cta {
    min-height: 42px;
    padding-right: 16px;
    padding-left: 16px;
    white-space: nowrap;
}

.header-cta--mobile {
    display: none;
}

.trust-note {
    position: relative;
    padding-left: 24px;
    color: var(--steel-gray);
    font-size: .74rem;
    font-weight: 400;
    line-height: 1.35;
}

.trust-note::before {
    content: "";
    position: absolute;
    left: 0;
    top: .08rem;
    width: 15px;
    height: 18px;
    border: 2px solid currentColor;
    border-radius: 10px 10px 13px 13px;
}

.trust-note::after {
    content: "";
    position: absolute;
    left: 5px;
    top: .46rem;
    width: 7px;
    height: 4px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
}

.ah-hero {
    position: relative;
    min-height: 438px;
    overflow: clip;
    padding: 26px 0 0;
    border-bottom: 1px solid var(--line);
    background: #FFFFFF;
}

.ah-hero::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 54%;
    height: 118px;
    opacity: .28;
    background-image:
        linear-gradient(rgba(23, 70, 199, .2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23, 70, 199, .2) 1px, transparent 1px);
    background-size: 36px 22px;
    transform: perspective(420px) rotateX(65deg);
    transform-origin: bottom;
}

.ah-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, .44fr) minmax(0, .56fr);
    min-height: 412px;
    align-items: center;
}

.ah-hero__copy {
    padding-bottom: 18px;
}

.ah-hero__copy p {
    max-width: 540px;
}

.ah-hero__lead {
    margin-bottom: 12px;
    font-size: 1.02rem;
    font-weight: 400;
    line-height: 1.28;
    letter-spacing: -.01em;
}

.ah-hero__support {
    margin-bottom: 14px;
    color: var(--electric-blue);
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.24;
}

.ah-hero__body {
    margin-bottom: 0;
    font-size: .88rem;
    font-weight: 400;
    line-height: 1.42;
}

.ah-button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 22px 0 12px;
}

.ah-hero__visual {
    position: relative;
    display: grid;
    min-width: 0;
    place-items: center end;
    overflow: clip;
}

.ah-hero__visual::before {
    content: "";
    position: absolute;
    right: 8%;
    top: 12%;
    width: 280px;
    height: 210px;
    opacity: .42;
    background-image: radial-gradient(circle, var(--electric-blue) 2px, transparent 2.6px);
    background-size: 20px 20px;
}

.ah-hero__image {
    position: relative;
    z-index: 1;
    width: min(860px, 112%);
    max-width: none;
    height: auto;
    margin: 0;
    justify-self: end;
}

.ah-proof-strip {
    border-top: 1px solid rgba(217, 227, 240, .78);
    border-bottom: 1px solid var(--line);
    background: #FFFFFF;
}

.ah-proof-strip__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    padding: 30px 0 32px;
    list-style: none;
}

.ah-proof-strip__item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    min-width: 0;
    padding: 0 34px;
    color: var(--deep-navy);
    font-size: .98rem;
    font-weight: 900;
    line-height: 1.2;
}

.ah-proof-strip__item:first-child {
    padding-left: 10px;
}

.ah-proof-strip__item:last-child {
    padding-right: 10px;
}

.ah-proof-strip__item + .ah-proof-strip__item {
    border-left: 1px solid rgba(189, 204, 223, .82);
}

.ah-proof-strip__icon {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    color: var(--electric-blue);
}

.ah-proof-strip__icon svg {
    width: 36px;
    height: 36px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}

.ah-split-diagnosis {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: #FFFFFF;
}

.ah-split-diagnosis::before {
    content: "";
    position: absolute;
    left: max(18px, calc((100% - var(--content-max)) / 2 - 16px));
    top: 50%;
    z-index: 0;
    width: 180px;
    height: 340px;
    opacity: .62;
    background-image: url("../img/24-deco-problem-left.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    pointer-events: none;
    transform: translateY(-50%);
}

.ah-split__grid {
    position: relative;
    z-index: 1;
}

.ah-split__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(520px, 1.1fr);
    align-items: stretch;
}

.ah-problem-panel,
.ah-comparison-panel {
    min-height: 252px;
    padding: 30px 28px 28px 0;
}

.ah-problem-panel {
    position: relative;
    background: #FFFFFF;
}

.ah-comparison-panel {
    position: relative;
    overflow: hidden;
    padding: 34px 38px 34px;
    color: var(--white);
    background:
        radial-gradient(circle at 10% 15%, rgba(23, 70, 199, .34), transparent 28%),
        linear-gradient(135deg, #06152B 0%, var(--deep-navy) 62%, #061326 100%);
}

.ah-comparison-panel h2,
.ah-comparison-panel h3 {
    color: var(--white);
}

.ah-comparison-panel h2 {
    max-width: 680px;
    margin-bottom: 26px;
    line-height: 1.08;
}

.ah-comparison-panel p,
.ah-comparison-panel li {
    color: rgba(255, 255, 255, .86);
}

.ah-comparison-panel::after {
    content: "";
    position: absolute;
    right: 32px;
    bottom: 16px;
    width: 100px;
    height: 78px;
    opacity: .24;
    background-image: radial-gradient(circle, var(--ice-white) 1.3px, transparent 2px);
    background-size: 10px 10px;
}

.ah-question-list,
.ah-minus-list,
.ah-plus-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ah-question-list li {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 12px;
    align-items: center;
    padding: 7px 0;
    border-bottom: 1px dashed var(--line);
    color: var(--ink);
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0;
}

.ah-question-list li::before {
    content: "?";
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    color: var(--electric-blue);
    border: 1px solid #9CB2D2;
    border-radius: 4px;
}

.ah-comparison__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    column-gap: clamp(30px, 4.2vw, 58px);
    align-items: stretch;
}

.ah-comparison__grid h3 {
    margin-bottom: 14px;
    font-size: .98rem;
    line-height: 1.18;
}

.ah-versus::before {
    content: "";
    position: absolute;
    z-index: -2;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: rgba(230, 235, 242, .35);
    transform: translateX(-50%);
}

.ah-versus {
    position: relative;
    z-index: 1;
    isolation: isolate;
    display: flex;
    min-height: 100%;
    align-items: center;
    justify-content: center;
    place-items: center;
    align-self: stretch;
    justify-self: center;
    color: var(--white);
    font-size: .76rem;
    font-weight: 900;
}

.ah-versus::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 44px;
    height: 44px;
    background: var(--deep-navy);
    border: 1px solid rgba(230, 235, 242, .52);
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(11, 29, 58, .72);
}

.ah-minus-list li,
.ah-plus-list li {
    position: relative;
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 0;
    font-size: .84rem;
    font-weight: 400;
    line-height: 1.42;
}

.ah-minus-list,
.ah-plus-list {
    display: grid;
    gap: 11px;
}

.ah-minus-list li::before,
.ah-plus-list li::before {
    position: static;
    display: grid;
    width: 16px;
    height: 16px;
    margin-top: 1px;
    place-items: center;
    color: var(--white);
    border-radius: 50%;
    font-size: .72rem;
    font-weight: 900;
}

.ah-minus-list li::before {
    content: "x";
    background: var(--signal-red);
}

.ah-plus-list li::before {
    content: "";
    background:
        linear-gradient(135deg, transparent 40%, var(--white) 41% 52%, transparent 53%),
        var(--electric-blue);
}

.ah-system,
.ah-products,
.ah-audience,
.ah-process,
.ah-faq {
    padding: var(--section-y) 0;
    border-bottom: 1px solid var(--line);
    background: #FFFFFF;
}

.ah-system {
    position: relative;
    overflow: hidden;
    background: #FFFFFF;
}

.ah-system::after {
    content: "";
    position: absolute;
    right: max(18px, calc((100% - var(--content-max)) / 2 - 26px));
    top: 50%;
    z-index: 0;
    width: 220px;
    height: 320px;
    opacity: .58;
    background-image: url("../img/25-deco-mimi-right.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    pointer-events: none;
    transform: translateY(-45%);
}

.ah-system__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 36px;
    align-items: center;
}

.ah-system__header {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(320px, .58fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
    margin-bottom: 22px;
}

.ah-system__header .ah-system__intro p {
    max-width: 680px;
}

.ah-system__visual {
    display: grid;
    min-width: 0;
    min-height: 248px;
    place-items: center;
    margin: 0;
    padding: 14px;
    border: 1px solid rgba(217, 227, 240, .86);
    border-radius: 6px;
    background: #FFFFFF;
    box-shadow: 0 12px 32px rgba(11, 29, 58, .065);
}

.ah-system__visual-image {
    width: min(420px, 100%);
    height: auto;
    object-fit: contain;
}

.ah-system__intro p {
    max-width: 246px;
    font-size: .84rem;
    font-weight: 400;
    line-height: 1.45;
}

.ah-system__map {
    position: relative;
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(210px, .82fr) minmax(220px, 1fr);
    grid-template-rows: repeat(3, minmax(78px, auto));
    gap: 10px 18px;
    align-items: center;
}

.ah-system__map::before {
    content: "";
    position: absolute;
    inset: 24px 130px;
    z-index: 0;
    opacity: .42;
    background:
        linear-gradient(90deg, transparent 0 10%, rgba(23, 70, 199, .5) 10% 11%, transparent 11% 89%, rgba(23, 70, 199, .5) 89% 90%, transparent 90%),
        radial-gradient(circle, rgba(23, 70, 199, .55) 1.4px, transparent 2px);
    background-size: 100% 100%, 12px 12px;
    pointer-events: none;
}

.ah-system__card,
.ah-product-card,
.ah-audience-card {
    position: relative;
    z-index: 1;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #FFFFFF;
    box-shadow: 0 6px 18px rgba(11, 29, 58, .055);
}

.ah-system__card {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 10px;
    align-items: center;
    min-height: 76px;
    padding: 12px 14px;
}

.ah-system__card--left {
    grid-column: 1;
}

.ah-system__card--right {
    grid-column: 3;
}

.ah-system__card--top {
    grid-row: 1;
}

.ah-system__card--middle {
    grid-row: 2;
}

.ah-system__card--bottom {
    grid-row: 3;
}

.ah-system__core {
    position: relative;
    z-index: 1;
    grid-column: 2;
    grid-row: 1 / span 3;
    display: grid;
    min-height: 220px;
    place-items: center;
    align-content: center;
    text-align: center;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(246, 249, 253, .92) 0%, rgba(255, 255, 255, .52) 68%, transparent 69%);
}

.ah-system__image {
    width: min(258px, 100%);
    height: auto;
    margin: 0 auto 4px;
    object-fit: contain;
}

.ah-system__core span {
    color: var(--electric-blue);
    font-family: var(--font-technical);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .055em;
}

.ah-system__core small {
    max-width: 132px;
    margin-top: 7px;
    color: var(--steel-gray);
    font-family: var(--font-technical);
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .1em;
    line-height: 1.2;
}

.ah-system__card p,
.ah-product-card p,
.ah-audience-card p,
.ah-process-step p {
    margin-bottom: 0;
    font-size: .76rem;
    font-weight: 400;
    line-height: 1.34;
}

.icon-frame,
.ah-process-step__icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    color: var(--deep-navy);
}

.icon-frame svg,
.ah-process-step__icon svg {
    width: 48px;
    height: 48px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.2;
}

.icon-frame .accent,
.ah-process-step__icon .accent {
    stroke: var(--signal-red);
}

.icon-frame .accent-fill,
.ah-process-step__icon .accent-fill {
    fill: var(--signal-red);
    stroke: var(--signal-red);
}

.ah-products h2,
.ah-audience h2 {
    max-width: 740px;
}

.ah-products__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(260px, 1fr));
    gap: var(--card-gap);
}

.ah-products__grid--homepage,
.ah-system-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ah-product-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    min-height: 160px;
    padding: 15px;
}

.ah-products__grid--homepage .ah-product-card {
    grid-template-rows: 142px 1fr;
    align-items: stretch;
    min-height: 412px;
}

.ah-products__grid--homepage .ah-product-card--featured {
    border-color: rgba(23, 70, 199, .34);
    box-shadow: 0 14px 34px rgba(23, 70, 199, .12);
}

.ah-product-card__visual {
    display: grid;
    min-width: 0;
    min-height: 104px;
    place-items: center;
    border-radius: 6px;
    background: #FFFFFF;
}

.ah-products__grid--homepage .ah-product-card__visual {
    min-height: 142px;
    border-bottom: 1px solid rgba(217, 227, 240, .82);
}

.ah-product-card__visual img {
    display: block;
    width: min(112px, 86%);
    height: auto;
    object-fit: contain;
}

.ah-products__grid--homepage .ah-product-card__visual img {
    width: min(238px, 88%);
    max-height: 122px;
}

.ah-product-card__body {
    min-width: 0;
}

.ah-products__grid--homepage .ah-product-card__body {
    display: flex;
    flex-direction: column;
}

.ah-product-card__body p {
    max-width: 42ch;
}

.ah-products__grid--homepage .ah-product-card__body p {
    flex: 1 1 auto;
}

.ah-product-card a {
    display: inline-flex;
    gap: 8px;
    margin-top: 10px;
    color: var(--electric-blue);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: 0;
}

.ah-products__grid--homepage .ah-product-card a {
    margin-top: auto;
}

.ah-value-band {
    position: relative;
    overflow: hidden;
    padding: 36px 0;
    border-bottom: 1px solid var(--line);
    background: #FFFFFF;
}

.ah-value-band::after {
    content: "";
    position: absolute;
    right: max(18px, calc((100% - var(--content-max)) / 2 - 34px));
    top: 50%;
    z-index: 0;
    width: 240px;
    height: 180px;
    opacity: .36;
    background-image: url("../img/26-deco-value-right.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    pointer-events: none;
    transform: translateY(-50%);
}

.ah-value-band__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(260px, .55fr);
    gap: clamp(28px, 4vw, 54px);
    align-items: center;
}

.ah-value-band__visual {
    display: grid;
    min-height: 220px;
    place-items: center;
    margin: 0;
    padding: 12px;
    background: #FFFFFF;
    border: 1px solid rgba(11, 29, 58, .08);
    border-right-color: #AEBED2;
    border-radius: 6px;
    box-shadow: 0 12px 32px rgba(11, 29, 58, .06);
}

.ah-value-band__visual img {
    display: block;
    width: min(330px, 92%);
    height: auto;
    object-fit: contain;
}

.ah-value-band__copy h2 {
    max-width: 780px;
    margin-bottom: 8px;
}

.ah-value-band__copy p {
    max-width: 760px;
    margin-bottom: 8px;
    color: var(--ink);
    font-family: var(--font-ui);
    font-size: .94rem;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0;
}

.ah-value-band__copy p:last-child {
    margin-bottom: 0;
}

.ah-audience__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    gap: var(--card-gap);
}

.ah-section-intro {
    max-width: 780px;
    margin-bottom: 18px;
    font-size: .92rem;
    line-height: 1.5;
}

.ah-audience__grid--five {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ah-audience__grid--six {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ah-audience-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    min-height: 126px;
    padding: 14px;
}

.ah-audience-card p {
    max-width: 36ch;
}

.ah-process {
    padding: var(--section-y-tight) 0 26px;
}

.ah-process h2 {
    max-width: 760px;
    margin-bottom: 20px;
}

.ah-process__line {
    display: grid;
    grid-template-columns: repeat(5, minmax(210px, 1fr));
    gap: 12px;
}

.ah-process-step {
    position: relative;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    min-height: 94px;
}

.ah-process-step::after {
    content: "";
    position: absolute;
    top: 23px;
    left: calc(100% - 16px);
    width: 18px;
    border-top: 1px solid var(--electric-blue);
}

.ah-process-step:last-child::after {
    display: none;
}

.ah-process-step__number {
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    color: var(--white);
    background: var(--electric-blue);
    border-radius: 50%;
    font-size: .8rem;
    font-weight: 900;
}

.ah-process-step__icon {
    width: 42px;
    height: 42px;
    margin-top: 5px;
}

.ah-process-step__icon svg {
    width: 42px;
    height: 42px;
}

.ah-process-step p {
    max-width: 34ch;
}

.ah-final-cta {
    position: relative;
    overflow: hidden;
    padding: 34px 0 30px;
    text-align: center;
    color: var(--white);
    background:
        radial-gradient(circle at 20% 35%, rgba(23, 70, 199, .32), transparent 26%),
        linear-gradient(135deg, #06152B 0%, var(--deep-navy) 62%, #061326 100%);
}

.ah-final-cta::before,
.ah-final-cta::after {
    content: "";
    position: absolute;
    top: 50%;
    z-index: 0;
    width: 360px;
    height: 170px;
    opacity: .42;
    /* Mimi note: Dark final CTA/footer ornaments stay as round dot fields only; square-node networks remain reserved for white diagnostic sections. */
    background-repeat: repeat;
    background-position: center;
    background-size: 14px 14px;
    border-radius: 999px;
    pointer-events: none;
    transform: translateY(-50%);
}

.ah-final-cta::before {
    left: clamp(24px, 7vw, 150px);
    background-image: radial-gradient(circle, rgba(230, 235, 242, .25) 1.35px, transparent 1.9px);
}

.ah-final-cta::after {
    right: clamp(24px, 7vw, 150px);
    background-image: radial-gradient(circle, rgba(23, 70, 199, .22) 1.35px, transparent 1.9px);
}

.ah-final-cta__inner {
    position: relative;
    z-index: 1;
}

.ah-final-cta h2 {
    max-width: 880px;
    margin-right: auto;
    margin-bottom: 18px;
    margin-left: auto;
    color: var(--white);
}

.ah-final-cta .ah-button-row {
    justify-content: center;
    margin: 0;
}

.ah-final-cta .button {
    min-width: 180px;
}

.ah-final-cta p {
    max-width: 680px;
    margin-right: auto;
    margin-bottom: 18px;
    margin-left: auto;
    color: rgba(255, 255, 255, .88);
    font-size: .94rem;
    line-height: 1.5;
}

.ah-final-cta .trust-note {
    display: block;
    width: fit-content;
    margin: 10px auto 0;
    color: rgba(255, 255, 255, .86);
    text-align: left;
}

.site-footer {
    padding: 18px 0;
    background: #FFFFFF;
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(220px, auto) minmax(0, .7fr);
    gap: 22px;
    align-items: center;
}

.footer-inner > * {
    min-width: 0;
    max-width: 100%;
}

.footer-brand-row {
    display: grid;
    grid-template-columns: minmax(0, auto) auto;
    gap: 22px;
    align-items: center;
    justify-self: start;
    min-width: 0;
    max-width: 100%;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.footer-logo {
    width: min(262px, 100%);
    max-height: 70px;
    height: auto;
    object-fit: contain;
}

.footer-partner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-partner img {
    display: block;
    width: 84px;
    height: auto;
    max-height: 70px;
    object-fit: contain;
}

.footer-inner p {
    margin: 0;
    color: var(--deep-navy);
    font-size: .72rem;
    font-weight: 400;
    font-style: italic;
    line-height: 1.35;
    text-align: center;
}

.footer-legal {
    justify-self: end;
    text-align: right;
    font-style: normal !important;
}

.footer-legal__link {
    color: var(--steel-gray);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.footer-legal__link:hover,
.footer-legal__link:focus-visible {
    color: var(--electric-blue);
}

.footer-legal__separator {
    margin: 0 7px;
    color: var(--steel-gray);
}

.copyright {
    color: var(--deep-navy);
}

.pd-cookie-banner[hidden],
.pd-cookie-banner.is-dismissed {
    display: none !important;
}

.pd-cookie-banner {
    position: fixed;
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    left: max(16px, env(safe-area-inset-left));
    z-index: 80;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.pd-cookie-banner__inner {
    display: grid;
    width: min(960px, 100%);
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 18px 20px;
    border: 1px solid rgba(172, 198, 230, .72);
    border-radius: 8px;
    background: #FFFFFF;
    box-shadow: 0 18px 46px rgba(15, 35, 66, .16);
    pointer-events: auto;
}

.pd-cookie-banner__copy {
    min-width: 0;
}

.pd-cookie-banner__title {
    margin: 0 0 6px;
    color: var(--deep-navy);
    font-size: .94rem;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0;
}

.pd-cookie-banner__text {
    margin: 0;
    color: rgba(19, 38, 68, .78);
    font-size: .78rem;
    line-height: 1.55;
}

.pd-cookie-banner__text a {
    color: var(--sky-blue);
    font-weight: 900;
    text-decoration: none;
}

.pd-cookie-banner__text a:hover,
.pd-cookie-banner__text a:focus-visible {
    color: var(--deep-navy);
    text-decoration: underline;
}

.pd-cookie-banner__actions {
    display: flex;
    align-items: center;
    gap: .75rem;
    justify-content: flex-end;
}

.pd-cookie-banner__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    height: auto;
    max-height: none;
    padding: .65rem 1.1rem;
    border: 1px solid var(--sky-blue, #0123ff);
    border-radius: 6px;
    font-family: var(--font-ui);
    font-size: .82rem;
    font-weight: 800;
    line-height: 1.1;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.pd-cookie-banner__button:hover,
.pd-cookie-banner__button:focus-visible {
    transform: translateY(-1px);
    outline: 0;
}

.pd-cookie-banner__button--accept {
    border-color: var(--sky-blue, #0123ff);
    background: var(--sky-blue, #0123ff);
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(1, 35, 255, .18);
}

.pd-cookie-banner__button--accept:hover,
.pd-cookie-banner__button--accept:focus-visible {
    border-color: #0b4dff;
    background: #0b4dff;
    color: #ffffff;
}

.pd-cookie-banner__button--reject {
    border-color: rgba(1, 35, 255, .35);
    background: #ffffff;
    color: var(--deep-navy, #0b1d3a);
}

.pd-cookie-banner__button--reject:hover,
.pd-cookie-banner__button--reject:focus-visible {
    border-color: rgba(1, 35, 255, .45);
    background: #f5f8ff;
    color: var(--deep-navy, #0b1d3a);
    box-shadow: 0 10px 22px rgba(15, 35, 66, .10);
}

@media (max-width: 640px) {
    .pd-cookie-banner {
        right: 12px;
        bottom: max(10px, env(safe-area-inset-bottom));
        left: 12px;
    }

    .pd-cookie-banner__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        max-height: min(52vh, 360px);
        overflow-y: auto;
        padding: 14px 14px 16px;
        border-radius: 8px;
    }

    .pd-cookie-banner__title {
        margin-bottom: .45rem;
        font-size: 1rem;
        line-height: 1.15;
    }

    .pd-cookie-banner__text {
        font-size: .8rem;
        line-height: 1.45;
    }

    .pd-cookie-banner__actions {
        display: grid;
        width: 100%;
        grid-template-columns: 1fr;
        gap: .55rem;
        margin-top: .85rem;
        align-items: center;
        justify-content: stretch;
    }

    .pd-cookie-banner__button {
        width: 100%;
        min-height: 42px;
        height: auto;
        max-height: 44px;
        padding: .65rem .9rem;
        font-size: .82rem;
        line-height: 1.1;
        flex: 0 0 auto;
    }
}

@media (min-width: 641px) and (max-width: 720px) {
    .pd-cookie-banner__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
        padding: 16px;
    }

    .pd-cookie-banner__actions {
        justify-content: stretch;
    }

    .pd-cookie-banner__button {
        flex: 1 1 150px;
    }
}

.page-content {
    min-height: 52vh;
}

.archive-item {
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
}

/* Mimi note: Shared inner-page architecture keeps the MVP templates static, native and visually aligned with the selected inner-page mockups. */
.ah-inner-page {
    overflow: clip;
    background: #FFFFFF;
}

.ah-page-hero {
    position: relative;
    padding: 76px 0 58px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: #FFFFFF;
}

.ah-page-hero::before {
    content: "";
    position: absolute;
    left: 0;
    top: 74px;
    width: min(150px, 14vw);
    height: 250px;
    opacity: .42;
    background-image: radial-gradient(circle, rgba(23, 70, 199, .42) 1.7px, transparent 2.4px);
    background-size: 14px 14px;
    pointer-events: none;
}

.ah-page-hero::after {
    content: "";
    position: absolute;
    right: max(18px, calc((100% - var(--content-max)) / 2));
    bottom: -46px;
    width: min(360px, 40vw);
    height: 160px;
    opacity: .24;
    background-image:
        linear-gradient(rgba(23, 70, 199, .25) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23, 70, 199, .25) 1px, transparent 1px);
    background-size: 34px 22px;
    transform: perspective(420px) rotateX(64deg);
    transform-origin: bottom;
}

.ah-page-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 880px;
}

.ah-page-hero--with-visual .ah-page-hero__inner {
    display: grid;
    max-width: none;
    grid-template-columns: minmax(0, .94fr) minmax(420px, .9fr);
    gap: clamp(34px, 6vw, 86px);
    align-items: center;
}

.ah-page-hero__content {
    min-width: 0;
}

.ah-page-hero__visual {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.ah-page-visual-card {
    position: relative;
    overflow: hidden;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #FFFFFF;
    box-shadow: 0 18px 46px rgba(11, 29, 58, .1);
}

.ah-page-visual-card::before {
    content: "";
    position: absolute;
    left: 22px;
    top: 22px;
    width: 44px;
    height: 2px;
    background: var(--signal-red);
}

.ah-page-visual-card img {
    width: min(340px, 100%);
    max-height: 300px;
    height: auto;
    margin: 18px auto 20px;
    object-fit: contain;
}

.ah-page-visual-card--hero {
    min-height: 318px;
    padding: 24px 26px 18px;
}

/* Mimi note: Inner hero cards keep the white frame but let page-specific PNGs occupy more of the card. */
.ah-page-hero .ah-page-visual-card img,
.ah-page-visual-card--hero img {
    width: min(470px, 88%);
    max-height: 390px;
    margin-top: 10px;
    margin-bottom: 18px;
    object-fit: contain;
}

.ah-page-visual-card--orbit img {
    width: min(430px, 98%);
}

.ah-page-visual-card--landscape {
    display: grid;
    min-height: 196px;
    align-content: center;
    padding: 28px 34px 20px;
}

.ah-page-visual-card--landscape::after {
    content: "";
    position: absolute;
    right: 26px;
    top: 50%;
    width: 130px;
    height: 84px;
    opacity: .38;
    background-image: radial-gradient(circle, rgba(23, 70, 199, .42) 1.5px, transparent 2.2px);
    background-size: 11px 11px;
    transform: translateY(-50%);
}

.ah-page-visual-card--landscape img {
    position: relative;
    z-index: 1;
    width: min(320px, 72%);
    max-height: 240px;
    margin: 12px auto 22px;
}

.ah-page-visual-card--migration img {
    width: min(430px, 92%);
}

.ah-page-visual-card--priority img,
.ah-page-visual-card--human img {
    width: min(330px, 72%);
    margin-left: 0;
}

/* Mimi note: Clean visual cards are scoped to corrected inner-page sections where decorative dots made the approved image too small. */
.ah-page-visual-card--clean::before,
.ah-page-visual-card--clean::after {
    content: none;
}

.ah-page-visual-card--large-image img {
    width: min(440px, 92%);
    max-height: 360px;
    margin-right: auto;
    margin-left: auto;
    object-fit: contain;
}

.ah-page-visual-card--human-clean img {
    width: min(460px, 94%);
    max-height: 380px;
}

/* Mimi note: New inner-page graphics are intentionally white-background PNGs, so cards keep them contained without blend modes or fake transparency. */
.ah-inner-page .ah-page-visual-card__image,
.ah-inner-page .ah-page-hero__visual img,
.ah-inner-page .ah-page-split__visual img {
    object-fit: contain;
}

.ah-page-visual-card__label {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--electric-blue);
    font-family: var(--font-technical);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .06em;
    line-height: 1.24;
    text-transform: uppercase;
}

.ah-trust-strip {
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
    background: #FFFFFF;
}

.ah-trust-strip__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
}

.ah-trust-strip__item {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 14px;
    align-items: center;
    min-width: 0;
    min-height: 56px;
    padding: 0 24px;
    color: var(--deep-navy);
    font-family: var(--font-technical);
    font-size: .76rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: .02em;
    border-right: 1px solid var(--line);
}

.ah-trust-strip__item:last-child {
    border-right: 0;
}

.ah-trust-strip__icon {
    position: relative;
    display: block;
    width: 30px;
    height: 30px;
    border: 2px solid var(--deep-navy);
    border-radius: 50%;
    background: #FFFFFF;
}

.ah-trust-strip__icon::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 8px;
    width: 10px;
    height: 6px;
    border-left: 2px solid var(--electric-blue);
    border-bottom: 2px solid var(--electric-blue);
    transform: rotate(-45deg);
}

.ah-page-proof,
.ah-page-process,
.ah-page-split {
    position: relative;
}

.ah-page-proof__grid,
.ah-page-process__steps,
.ah-page-mini-matrix {
    display: grid;
    gap: 18px;
}

.ah-page-proof__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ah-page-proof__grid--diagnostic {
    gap: 18px;
}

.ah-page-proof__item,
.ah-page-process__step,
.ah-page-mini-matrix__item {
    position: relative;
    padding: 26px 26px 24px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #FFFFFF;
    box-shadow: 0 8px 24px rgba(11, 29, 58, .05);
}

.ah-page-proof__item {
    display: grid;
    min-height: 148px;
    align-content: start;
}

.ah-page-proof__item::before,
.ah-page-process__step::before,
.ah-page-mini-matrix__item::before {
    content: "";
    position: absolute;
    left: 22px;
    top: 22px;
    width: 8px;
    height: 8px;
    border: 2px solid var(--electric-blue);
    border-radius: 50%;
    background: #FFFFFF;
}

.ah-page-proof__item h3,
.ah-page-process__step h3,
.ah-page-mini-matrix__item h3 {
    padding-left: 24px;
    font-size: 1rem;
}

.ah-page-proof__item p,
.ah-page-process__step p,
.ah-page-mini-matrix__item p {
    margin-bottom: 0;
    font-size: .9rem;
}

.ah-page-proof__grid--jobs .ah-page-proof__item {
    grid-template-columns: 56px 1fr;
    column-gap: 18px;
    min-height: 130px;
    align-items: start;
}

.ah-page-proof__grid--jobs .ah-page-proof__item::before {
    position: static;
    grid-row: span 2;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(23, 70, 199, .22);
    background:
        radial-gradient(circle, rgba(23, 70, 199, .12) 0 42%, transparent 43%),
        #F3F7FC;
}

.ah-page-proof__grid--jobs .ah-page-proof__item h3,
.ah-page-proof__grid--jobs .ah-page-proof__item p {
    padding-left: 0;
}

.ah-page-process__steps {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    counter-reset: ah-page-step;
}

.ah-page-process__steps--six {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.ah-page-process__step {
    min-height: 178px;
    padding-top: 62px;
    text-align: center;
}

.ah-page-growth-pilot .ah-page-process__steps--six .ah-page-process__step p {
    font-size: clamp(.74rem, .76vw, .86rem);
    line-height: 1.52;
}

.ah-page-process__step::after {
    counter-increment: ah-page-step;
    content: counter(ah-page-step);
    position: absolute;
    left: 18px;
    top: 18px;
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    color: var(--white);
    background: var(--electric-blue);
    border-radius: 50%;
    font-size: .76rem;
    font-weight: 900;
}

.ah-page-process__step::before {
    left: 50%;
    right: auto;
    top: 24px;
    width: 28px;
    height: 28px;
    border-color: var(--electric-blue);
    transform: translateX(-50%);
}

.ah-page-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
}

.ah-page-split__content,
.ah-page-split__visual {
    min-width: 0;
}

.ah-page-split__visual {
    display: grid;
    place-items: center;
}

.ah-page-split__visual .ah-page-visual-card {
    width: 100%;
}

.ah-page-mini-matrix {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ah-page-decision-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    border-radius: 6px;
}

.ah-page-decision-strip__item {
    position: relative;
    min-height: 138px;
    padding: 24px 22px 22px;
    border: 1px solid var(--line);
    border-left: 4px solid var(--electric-blue);
    border-radius: 6px;
    background: #FFFFFF;
    box-shadow: 0 8px 24px rgba(11, 29, 58, .045);
}

.ah-page-decision-strip__item::before {
    content: "";
    display: block;
    width: 38px;
    height: 2px;
    margin-bottom: 14px;
    background: var(--signal-red);
}

.ah-page-decision-strip__item:nth-child(1) {
    border-left-color: #16A34A;
}

.ah-page-decision-strip__item:nth-child(2) {
    border-left-color: #F59E0B;
}

.ah-page-decision-strip__item:nth-child(3) {
    border-left-color: var(--signal-red);
}

.ah-page-decision-strip__item strong {
    display: block;
    margin-bottom: 8px;
    color: var(--signal-red);
    font-family: var(--font-technical);
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ah-page-decision-strip__item p {
    margin-bottom: 0;
    font-size: .86rem;
}

.ah-page-note {
    margin-top: 18px;
    padding: 16px 18px;
    border-left: 3px solid var(--signal-red);
    background: var(--soft-blue);
}

.ah-page-note p {
    margin-bottom: 0;
}

.ah-page-cta--with-deco::before,
.ah-page-cta--with-deco::after {
    content: "";
    position: absolute;
    top: 50%;
    z-index: 0;
    width: 360px;
    height: 170px;
    opacity: .42;
    /* Mimi note: Inner dark CTA bars inherit round dot-only ornamenting so final conversion areas stay calm. */
    background-repeat: repeat;
    background-position: center;
    background-size: 14px 14px;
    border-radius: 999px;
    pointer-events: none;
    transform: translateY(-50%);
}

.ah-page-cta--with-deco::before {
    left: clamp(24px, 7vw, 150px);
    background-image: radial-gradient(circle, rgba(230, 235, 242, .25) 1.35px, transparent 1.9px);
}

.ah-page-cta--with-deco::after {
    right: clamp(24px, 7vw, 150px);
    background-image: radial-gradient(circle, rgba(23, 70, 199, .22) 1.35px, transparent 1.9px);
}

.ah-page-kicker {
    margin-bottom: 10px;
    /* Mimi note: Inner-page kickers use blue by default so red stays reserved for action, risk and CTA signals. */
    color: var(--electric-blue);
    font-family: var(--font-technical);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.ah-page-kicker::after {
    content: "";
    display: block;
    width: 42px;
    height: 2px;
    margin-top: 9px;
    background: var(--electric-blue);
}

.ah-page-title {
    max-width: 840px;
    margin-bottom: 18px;
    font-size: clamp(2.12rem, 4vw, 3.45rem);
    line-height: 1;
    letter-spacing: -.035em;
}

.ah-page-growth-pilot .ah-page-hero .ah-page-title {
    font-size: clamp(1.95rem, 3.35vw, 3.05rem);
    line-height: .99;
}

.ah-page-lead {
    max-width: 760px;
    margin-bottom: 0;
    color: var(--ink);
    font-size: clamp(1rem, 1.35vw, 1.18rem);
    line-height: 1.45;
}

.ah-page-growth-pilot .ah-growth-pilot-hero__lead {
    margin-bottom: 1.1em;
}

.ah-page-section {
    padding: 54px 0;
    border-bottom: 1px solid var(--line);
    background: #FFFFFF;
}

.ah-page-section--soft {
    background: var(--soft-blue);
}

.ah-page-section--switching-risk h2 {
    max-width: 720px;
    font-size: clamp(1.42rem, 1.55vw, 1.72rem);
    line-height: 1.1;
}

.ah-page-section--boundary .ah-page-list {
    margin-bottom: 18px;
}

.ah-page-section--review-evidence .ah-page-split {
    grid-template-columns: minmax(0, .92fr) minmax(320px, .78fr);
    gap: clamp(24px, 4vw, 48px);
    align-items: start;
}

/* Mimi note: Takeover evidence now uses a compact safety card so first review boundaries are clear before any access escalation. */
.ah-page-review-safety {
    position: relative;
    overflow: hidden;
    align-self: start;
    padding: 28px 28px 24px;
    color: var(--white);
    border-radius: 6px;
    background:
        radial-gradient(circle at 92% 18%, rgba(23, 70, 199, .34), transparent 28%),
        linear-gradient(135deg, #06152B 0%, var(--deep-navy) 68%, #061326 100%);
    box-shadow: 0 18px 42px rgba(11, 29, 58, .18);
}

.ah-page-review-safety::before {
    content: "";
    display: block;
    width: 54px;
    height: 3px;
    margin-bottom: 18px;
    background: var(--signal-red);
}

.ah-page-review-safety h3 {
    margin-bottom: 12px;
    color: var(--white);
    font-size: 1.12rem;
}

.ah-page-review-safety p,
.ah-page-review-safety li {
    color: rgba(255, 255, 255, .86);
}

.ah-page-review-safety p {
    margin-bottom: 12px;
    font-size: .88rem;
    line-height: 1.48;
}

.ah-page-review-safety ul {
    display: grid;
    gap: 7px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.ah-page-review-safety li {
    position: relative;
    padding-left: 22px;
    font-size: .82rem;
    line-height: 1.34;
}

.ah-page-review-safety li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .42em;
    width: 9px;
    height: 9px;
    border: 2px solid var(--signal-red);
    border-radius: 50%;
}

.ah-page-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.ah-page-grid--split {
    grid-template-columns: minmax(260px, .72fr) minmax(0, 1fr);
    gap: clamp(28px, 6vw, 76px);
    align-items: start;
}

.ah-page-grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ah-page-section p {
    margin-bottom: 14px;
    font-size: .95rem;
    line-height: 1.58;
}

.ah-page-section p:last-child {
    margin-bottom: 0;
}

.ah-page-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #FFFFFF;
    box-shadow: 0 8px 24px rgba(11, 29, 58, .055);
}

.ah-page-card::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 24px;
    width: 46px;
    height: 2px;
    background: var(--signal-red);
}

.ah-page-card h2 {
    margin-bottom: 14px;
    font-size: 1.18rem;
    letter-spacing: -.018em;
}

.ah-page-card p {
    font-size: .9rem;
}

.ah-page-card--dark {
    color: var(--white);
    border-color: rgba(230, 235, 242, .18);
    background:
        radial-gradient(circle at 20% 12%, rgba(23, 70, 199, .35), transparent 28%),
        linear-gradient(135deg, #06152B 0%, var(--deep-navy) 70%, #061326 100%);
}

.ah-page-card--dark h2,
.ah-page-card--dark p {
    color: var(--white);
}

.ah-page-detection-decision .ah-page-card--dark {
    min-height: 260px;
    padding: 34px;
}

.ah-page-detection-decision .ah-page-card--dark::after {
    content: "";
    position: absolute;
    right: 28px;
    top: 28px;
    width: 112px;
    height: 142px;
    opacity: .22;
    background-image: radial-gradient(circle, var(--ice-white) 1.3px, transparent 2px);
    background-size: 12px 12px;
}

.ah-page-list {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ah-page-list li {
    position: relative;
    padding-left: 22px;
    color: var(--ink);
    font-size: .88rem;
    line-height: 1.42;
}

.ah-page-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .5em;
    width: 8px;
    height: 8px;
    border: 2px solid var(--electric-blue);
    border-radius: 50%;
    background: #FFFFFF;
}

.ah-page-list--questions li {
    padding: 12px 0 12px 34px;
    border-bottom: 1px dashed var(--line);
    font-weight: 700;
}

.ah-page-list--questions li::before {
    content: "?";
    top: 10px;
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    color: var(--electric-blue);
    border: 1px solid #9CB2D2;
    border-radius: 4px;
    font-size: .78rem;
    font-weight: 900;
    line-height: 1;
}

/* Mimi note: Ecommerce intake questions are tightened into a diagnostic checklist without changing shared page lists. */
.ah-page-ecommerce .ah-page-list--questions {
    gap: 4px;
}

.ah-page-ecommerce .ah-page-list--questions li {
    min-height: 34px;
    padding: 7px 0 7px 32px;
    line-height: 1.34;
}

.ah-page-ecommerce .ah-page-list--questions li::before {
    top: 6px;
    width: 20px;
    height: 20px;
}

.ah-page-question-list,
.ah-page-output-list {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ah-page-question-list li {
    position: relative;
    padding: 12px 0 12px 34px;
    border-bottom: 1px dashed var(--line);
    color: var(--ink);
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.42;
}

.ah-page-question-list li::before {
    content: "?";
    position: absolute;
    left: 0;
    top: 10px;
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    color: var(--electric-blue);
    border: 1px solid #9CB2D2;
    border-radius: 4px;
    background: #FFFFFF;
    font-size: .78rem;
    font-weight: 900;
    line-height: 1;
}

.ah-page-output-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ah-page-output-list li {
    position: relative;
    padding-left: 22px;
    color: var(--ink);
    font-size: .88rem;
    line-height: 1.42;
}

.ah-page-output-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .5em;
    width: 8px;
    height: 8px;
    border: 2px solid var(--electric-blue);
    border-radius: 50%;
    background: #FFFFFF;
}

.ah-page-grid--detect {
    grid-template-columns: minmax(0, 1.18fr) minmax(280px, .82fr);
}

.ah-page-mini-line {
    margin-top: 18px;
    color: var(--ice-white) !important;
    font-family: var(--font-technical);
    font-size: .76rem !important;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ah-page-card--dark .ah-page-list li,
.ah-page-card--dark .ah-page-list li::before {
    color: var(--white);
}

.ah-page-cta {
    position: relative;
    overflow: hidden;
    padding: 58px 0;
    text-align: center;
    color: var(--white);
    background:
        radial-gradient(circle at 22% 35%, rgba(23, 70, 199, .32), transparent 26%),
        linear-gradient(135deg, #06152B 0%, var(--deep-navy) 62%, #061326 100%);
}

.ah-page-cta__inner {
    position: relative;
    z-index: 1;
}

.ah-page-cta h2 {
    max-width: 820px;
    margin: 0 auto 20px;
    color: var(--white);
}

/* Mimi note: Ecommerce hero title is calmer only on this page after visual QA; other page hero scales stay unchanged. */
.ah-page-ecommerce .ah-page-title {
    max-width: 760px;
    font-size: clamp(1.72rem, 2.45vw, 2.42rem);
    line-height: 1.06;
}

/* Mimi note: Mimi hero keeps the accepted heading while paragraph and visual scale stay balanced on this page only. */
.ah-page-mimi-jarvis .ah-page-title--mimi {
    max-width: 760px;
    font-size: clamp(1.78rem, 3vw, 2.72rem);
    line-height: 1.04;
}

.ah-page-mimi-jarvis .ah-page-lead {
    margin-bottom: 14px;
    font-size: clamp(.9rem, .98vw, 1rem);
    line-height: 1.5;
}

.ah-page-mimi-jarvis .ah-page-lead + .ah-button-row {
    margin-top: 22px;
}

.ah-page-mimi-jarvis .ah-page-visual-card--hero {
    min-height: 0;
    padding: 18px 22px 14px;
}

.ah-page-mimi-jarvis .ah-page-visual-card--hero img {
    width: min(500px, 94%);
    max-height: 310px;
    margin-top: 6px;
    margin-bottom: 12px;
    object-fit: contain;
}

/* Mimi note: Wolf Family is an entity/accountability page, so cards are denser and copy-led instead of service-conversion heavy. */
.ah-page-wolf-family .ah-page-title {
    max-width: 720px;
    font-size: clamp(2.2rem, 3.4vw, 3rem);
    line-height: .96;
}

.ah-page-wolf-family .ah-wolf-family-hero__copy {
    max-width: 700px;
    margin-bottom: 1.1em;
    font-size: clamp(.95rem, .98vw, 1rem);
    line-height: 1.65;
}

.ah-page-wolf-family .ah-wolf-family-hero__body {
    max-width: 700px;
    font-size: clamp(.78rem, .82vw, .88rem);
    line-height: 1.5;
}

.ah-page-wolf-family .ah-wolf-family-hero__media {
    min-height: 0;
    padding: 10px;
}

.ah-page-wolf-family .ah-wolf-family-hero__media::before {
    content: none;
}

/* Mimi note: These crop positions are page-scoped so Wolf Family photography can be tuned without changing global cards. */
.ah-page-wolf-family .ah-wolf-family-hero__media img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    max-height: 480px;
    margin: 0;
    border: 1px solid rgba(23, 70, 199, .18);
    border-radius: 8px;
    object-fit: cover;
    object-position: 50% 43%;
    box-shadow: 0 22px 56px rgba(11, 29, 58, .16);
}

.ah-page-wolf-family .ah-page-proof__grid--people {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ah-page-wolf-family .ah-wolf-person {
    overflow: hidden;
    min-height: 100%;
}

.ah-page-wolf-family .ah-wolf-family-person__image {
    overflow: hidden;
    width: 100%;
    aspect-ratio: 4 / 3;
    margin: 0 0 18px;
    border: 1px solid rgba(11, 29, 58, .12);
    border-radius: 8px;
    background: #E6EBF2;
    box-shadow: 0 16px 34px rgba(11, 29, 58, .10);
}

.ah-page-wolf-family .ah-wolf-family-person__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ah-page-wolf-family .ah-wolf-family-person__image--pawel img {
    object-position: 50% 24%;
}

.ah-page-wolf-family .ah-wolf-family-person__image--magda img {
    object-position: 50% 22%;
}

.ah-page-wolf-family .ah-wolf-family-person__image--klaudia img {
    object-position: 50% 22%;
}

.ah-page-wolf-family .ah-wolf-person__role {
    margin-bottom: 14px;
    color: var(--electric-blue);
    font-family: var(--font-technical);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .035em;
    line-height: 1.28;
    text-transform: uppercase;
}

.ah-page-wolf-family .ah-page-grid--wolf-services {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.ah-page-wolf-family .ah-page-grid--wolf-services .ah-page-card {
    padding: 20px 18px;
}

.ah-page-wolf-family .ah-senior-meaning-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 24px 0;
    padding: 0;
    list-style: none;
}

.ah-page-wolf-family .ah-senior-meaning-list li {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 12px;
    min-width: 0;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #FFFFFF;
    box-shadow: 0 14px 34px rgba(11, 29, 58, .06);
}

.ah-page-wolf-family .ah-senior-meaning-list__icon {
    width: 9px;
    height: 9px;
    margin-top: 6px;
    border: 2px solid var(--electric-blue);
    border-radius: 999px;
}

.ah-page-wolf-family .ah-senior-meaning-list strong {
    display: block;
    margin-bottom: 6px;
    color: var(--deep-navy);
    font-weight: 800;
}

.ah-page-wolf-family .ah-senior-meaning-list span:not(.ah-senior-meaning-list__icon) {
    display: block;
    color: var(--steel-gray);
    font-size: .9rem;
    line-height: 1.5;
}

.ah-page-wolf-family .ah-wolf-family-work {
    display: block;
}

.ah-page-wolf-family .ah-wolf-family-work__copy {
    min-width: 0;
    max-width: none;
}

.ah-page-wolf-family .ah-wolf-family-work__media {
    overflow: hidden;
    width: 100%;
    margin: 0;
    border: 1px solid rgba(23, 70, 199, .16);
    border-radius: 8px;
    background: #E6EBF2;
    box-shadow: 0 22px 56px rgba(11, 29, 58, .14);
}

.ah-page-wolf-family .ah-wolf-family-work__media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 320px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: 50% 45%;
}

.ah-page-wolf-family .ah-wolf-family-summary-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    gap: 20px;
    align-items: stretch;
}

.ah-page-wolf-family .ah-wolf-summary,
.ah-page-wolf-family .ah-wolf-values {
    min-height: 100%;
}

/* Mimi note: The AI ethics subheading belongs only to the Wolf Family summary card and must stay readable on the dark surface. */
.ah-page-wolf-family .ah-wolf-summary h3 {
    margin-top: 24px;
    color: var(--white);
    font-size: 1.02rem;
    line-height: 1.25;
}

.ah-page-wolf-family .ah-wolf-summary p {
    font-size: .86rem;
    line-height: 1.56;
}

.ah-page-wolf-family .ah-wolf-summary p + h3 {
    margin-top: 24px;
}

/* Mimi note: Wolf Family desktop grids are page-scoped, so mobile overrides must be page-scoped too or cards collapse into unreadable columns. */
@media (max-width: 1024px) {
    .ah-page-wolf-family .ah-senior-meaning-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .ah-page-wolf-family .ah-page-proof__grid--people,
    .ah-page-wolf-family .ah-page-grid--wolf-services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ah-page-wolf-family .ah-wolf-family-work,
    .ah-page-wolf-family .ah-wolf-family-summary-grid,
    .ah-page-wolf-family .ah-page-grid--split {
        grid-template-columns: minmax(0, 1fr);
    }

    .ah-page-wolf-family .ah-page-card,
    .ah-page-wolf-family .ah-page-proof__item,
    .ah-page-wolf-family .ah-wolf-person,
    .ah-page-wolf-family .ah-wolf-summary,
    .ah-page-wolf-family .ah-wolf-values,
    .ah-page-wolf-family .ah-wolf-family-work__copy,
    .ah-page-wolf-family .ah-wolf-family-work__media {
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .ah-page-wolf-family {
        overflow-x: clip;
    }

    /* Mimi note: Wolf Family hero needs tighter mobile padding because the page has two lead paragraphs and a visual card above the fold. */
    .ah-page-wolf-family .ah-page-hero {
        padding-top: 38px;
        padding-bottom: 30px;
    }

    .ah-page-wolf-family .ah-page-proof__grid--people,
    .ah-page-wolf-family .ah-page-grid--wolf-services,
    .ah-page-wolf-family .ah-wolf-family-work,
    .ah-page-wolf-family .ah-wolf-family-summary-grid,
    .ah-page-wolf-family .ah-page-grid--split,
    .ah-page-wolf-family .ah-trust-strip__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .ah-page-wolf-family .ah-page-hero__inner,
    .ah-page-wolf-family .ah-page-hero__content,
    .ah-page-wolf-family .ah-page-hero__visual,
    .ah-page-wolf-family .ah-page-card,
    .ah-page-wolf-family .ah-page-proof__item,
    .ah-page-wolf-family .ah-wolf-person,
    .ah-page-wolf-family .ah-wolf-summary,
    .ah-page-wolf-family .ah-wolf-values,
    .ah-page-wolf-family .ah-wolf-family-work__copy,
    .ah-page-wolf-family .ah-wolf-family-work__media,
    .ah-page-wolf-family .ah-wolf-family-person__image,
    .ah-page-wolf-family .ah-trust-strip__item {
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }

    .ah-page-wolf-family .ah-button-row {
        flex-direction: column;
        width: 100%;
    }

    .ah-page-wolf-family .ah-button-row .button {
        width: 100%;
        white-space: normal;
    }

    .ah-page-wolf-family .ah-senior-meaning-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .ah-page-wolf-family img {
        max-width: 100%;
        height: auto;
    }

    .ah-page-wolf-family .ah-wolf-family-work__media img {
        min-height: 0;
    }
}

@media (max-width: 480px) {
    .ah-page-wolf-family .ah-page-hero {
        padding-top: 30px;
        padding-bottom: 28px;
    }

    .ah-page-wolf-family .ah-page-section {
        padding-top: 34px;
        padding-bottom: 34px;
    }

    .ah-page-wolf-family .ah-page-card,
    .ah-page-wolf-family .ah-page-proof__item {
        padding: 16px;
    }

    .ah-page-wolf-family .ah-page-title {
        font-size: clamp(1.88rem, 10vw, 2.24rem);
        line-height: 1.03;
    }

    .ah-page-wolf-family h2 {
        font-size: clamp(1.3rem, 7vw, 1.56rem);
        line-height: 1.12;
    }

    .ah-page-wolf-family .ah-wolf-family-hero__copy,
    .ah-page-wolf-family .ah-senior-meaning-list span:not(.ah-senior-meaning-list__icon),
    .ah-page-wolf-family .ah-page-card p,
    .ah-page-wolf-family .ah-page-proof__item p,
    .ah-page-wolf-family .ah-wolf-summary p,
    .ah-page-wolf-family .ah-wolf-values p {
        font-size: .9rem;
        line-height: 1.52;
    }

    .ah-page-wolf-family .ah-trust-strip__grid {
        gap: 10px;
    }
}

.ah-page-wolf-family .ah-wolf-values {
    border-top: 3px solid var(--signal-red);
    background: #FFFFFF;
}

.ah-page-wolf-family .ah-wolf-values > p {
    margin-bottom: 18px;
}

.ah-page-wolf-family .ah-wolf-values__list {
    display: grid;
    gap: 14px;
}

.ah-page-wolf-family .ah-wolf-values__item {
    padding-left: 14px;
    border-left: 2px solid rgba(23, 70, 199, .22);
}

.ah-page-wolf-family .ah-wolf-values__item h3 {
    margin-bottom: 4px;
    color: var(--deep-navy);
}

.ah-page-wolf-family .ah-wolf-values__item p {
    margin-bottom: 0;
    font-size: .82rem;
    line-height: 1.5;
}

/* Mimi note: Hero trust notes are lowered only where Pawel marked them too close to the CTA row. */
.ah-hero .ah-button-row + .trust-note,
.ah-page-second-opinion .ah-page-hero .ah-button-row + .trust-note,
.ah-page-takeover-audit .ah-page-hero .ah-button-row + .trust-note,
.ah-page-ecommerce .ah-page-hero .ah-button-row + .trust-note,
.ah-page-poland-cee .ah-page-hero .ah-button-row + .trust-note,
.ah-page-mimi-jarvis .ah-page-hero .ah-button-row + .trust-note {
    margin-top: 36px;
}

/* Mimi note: Expanded Second Opinion hero copy needs calmer scale without changing other page leads. */
.ah-page-second-opinion .ah-page-hero .ah-page-lead {
    max-width: 720px;
    font-size: clamp(1rem, 1.15vw, 1.12rem);
    line-height: 1.5;
}

.ah-page-second-opinion .ah-page-hero .ah-page-lead + .ah-page-lead {
    margin-top: 12px;
}

.ah-page-ecommerce .ah-page-cta h2 {
    max-width: 1120px;
    font-size: clamp(1.34rem, 1.56vw, 1.62rem);
    line-height: 1.12;
}

/* Mimi note: Takeover problem copy is supporting analysis, so its body scale stays quieter than the section heading. */
.ah-page-takeover-audit .ah-page-section--problem .ah-page-grid--split {
    align-items: center;
}

.ah-page-takeover-audit .ah-page-section--problem .ah-page-problem-copy p:not(.ah-page-kicker) {
    max-width: 52ch;
    margin-bottom: .82rem;
    font-size: clamp(.78rem, .72vw, .86rem);
    line-height: 1.52;
}

/* Mimi note: Takeover diagnostic questions should read as a compact decision checklist, not a separate tall panel. */
.ah-page-takeover-audit .ah-page-section--problem .ah-page-question-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    max-width: 560px;
    margin-left: auto;
}

.ah-page-takeover-audit .ah-page-section--problem .ah-page-question-list li {
    min-height: unset;
    padding: .42rem 0 .42rem 32px;
    line-height: 1.22;
}

.ah-page-takeover-audit .ah-page-section--problem .ah-page-question-list li::before {
    top: .34rem;
}

/* Mimi note: Takeover final CTA needs a strong but calmer one-line desktop heading without changing other dark CTAs. */
.ah-page-takeover-audit .ah-page-cta--takeover h2 {
    max-width: 980px;
    font-size: clamp(1.45rem, 2vw, 2rem);
    line-height: 1.12;
}

/* Mimi note: Remaining inner hero cards use compact mockup-aligned systems without changing accepted homepage selectors. */
.ah-page-hero--market .ah-page-visual-card img,
.ah-page-hero--contact .ah-page-visual-card img {
    width: min(430px, 88%);
    max-height: 380px;
}

/* Mimi note: Ecommerce hero now uses the clean growth/security visual and keeps all layout changes scoped to this page. */
.ah-page-ecommerce .ah-page-hero .ah-page-visual-card--ecommerce-hero {
    padding: 24px 26px 18px;
    background: #FFFFFF;
}

.ah-page-ecommerce .ah-page-hero .ah-page-visual-card--ecommerce-hero img {
    width: min(500px, 94%);
    max-height: 390px;
    margin-top: 4px;
    margin-bottom: 18px;
    object-fit: contain;
    transform: none;
}

@media (min-width: 901px) {
    .ah-page-ecommerce .ah-page-cta h2 {
        white-space: nowrap;
    }
}

/* F19T-REPAIR: Ecommerce visual rhythm and proof strip are scoped here so contact proof styles cannot leak into this service page. */
body .ah-page-ecommerce .ah-page-hero {
    padding-top: clamp(66px, 5.5vw, 92px);
    padding-bottom: clamp(62px, 5.2vw, 88px);
}

body .ah-page-ecommerce .ah-page-title {
    max-width: 12.8em;
    font-size: clamp(1.72rem, 2.55vw, 2.42rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

body .ah-page-ecommerce .ah-page-hero .ah-page-lead {
    max-width: 58ch;
    color: var(--deep-navy);
    font-size: clamp(0.96rem, 1.05vw, 1.05rem);
    line-height: 1.48;
    margin-bottom: 1.05rem;
}

body .ah-page-ecommerce .ah-page-hero__content > p:not(.ah-page-kicker):not(.ah-page-lead):not(.trust-note) {
    max-width: 58ch;
    color: rgba(11, 29, 58, 0.92);
    font-size: clamp(0.86rem, 0.94vw, 0.95rem);
    line-height: 1.55;
    margin-top: 0;
}

body .ah-page-ecommerce .ah-page-visual-card--ecommerce-hero {
    min-height: clamp(390px, 32vw, 500px);
    padding: clamp(16px, 1.7vw, 26px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

body .ah-page-ecommerce .ah-page-visual-card--ecommerce-hero img {
    width: min(560px, 100%);
    max-height: 430px;
    margin: 0 auto 14px;
    object-fit: contain;
    transform: none;
}

body .ah-page-ecommerce + .ah-trust-strip,
body .ah-page-ecommerce .ah-trust-strip,
body .ah-trust-strip--ecommerce {
    background: #FFFFFF;
    border-top: 1px solid rgba(11, 29, 58, 0.12);
    border-bottom: 1px solid rgba(11, 29, 58, 0.12);
}

body .ah-trust-strip--ecommerce .ah-trust-strip__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    align-items: stretch;
    margin: 0;
    padding: 0;
    list-style: none;
}

body .ah-trust-strip--ecommerce .ah-trust-strip__grid li {
    min-height: 94px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px 34px;
    color: var(--deep-navy);
    font-weight: 800;
    line-height: 1.15;
    border-right: 1px solid rgba(31, 82, 178, 0.22);
}

body .ah-trust-strip--ecommerce .ah-trust-strip__grid li:last-child {
    border-right: 0;
}

body .ah-trust-strip--ecommerce .ah-trust-strip__grid li::before {
    content: "✓";
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border: 2px solid var(--electric-blue);
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: var(--electric-blue);
    font-size: 16px;
    font-weight: 900;
}

body .ah-page-ecommerce .ah-page-section {
    padding-top: clamp(48px, 4.2vw, 68px);
    padding-bottom: clamp(48px, 4.2vw, 68px);
}

body .ah-page-ecommerce .ah-page-section--problem {
    padding-top: clamp(48px, 4vw, 64px);
    padding-bottom: clamp(48px, 4vw, 64px);
}

body .ah-page-ecommerce .ah-page-section--soft {
    background: #F5F8FC;
}

body .ah-page-ecommerce .ah-page-section h2 {
    max-width: 13em;
}

body .ah-page-ecommerce .ah-page-grid--split {
    align-items: start;
    column-gap: clamp(48px, 6vw, 88px);
}

body .ah-page-ecommerce .ah-page-grid--split > div:last-child p {
    max-width: 66ch;
    margin-bottom: 1rem;
}

body .ah-page-ecommerce .ah-page-grid--split > div:last-child p:last-child {
    margin-bottom: 0;
}

body .ah-page-ecommerce .ah-page-risk-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 28px;
}

body .ah-page-ecommerce .ah-page-risk-card {
    min-height: 142px;
    padding: 26px 28px;
    background: #FFFFFF;
    border: 1px solid rgba(31, 82, 178, 0.16);
    box-shadow: 0 18px 42px rgba(11, 29, 58, 0.06);
}

body .ah-page-ecommerce .ah-page-risk-card::before {
    display: none;
}

body .ah-page-ecommerce .ah-page-risk-card h3 {
    margin-bottom: 10px;
    font-size: clamp(0.98rem, 1vw, 1.05rem);
    line-height: 1.2;
}

body .ah-page-ecommerce .ah-page-risk-card p {
    font-size: 0.91rem;
    line-height: 1.48;
}

body .ah-page-ecommerce .ah-page-section--ecommerce-risks > .ah-container > h2 {
    max-width: none;
    white-space: nowrap;
    font-size: clamp(1.42rem, 1.85vw, 1.86rem);
    line-height: 1.08;
}

body .ah-page-ecommerce .ah-page-section--ecommerce-work .ah-page-grid--split {
    column-gap: clamp(44px, 5.5vw, 82px);
}

body .ah-page-ecommerce .ah-page-section--ecommerce-work .ah-page-list {
    font-size: 0.92rem;
    line-height: 1.36;
}

body .ah-page-ecommerce .ah-page-section--ecommerce-work .ah-page-list li {
    margin-bottom: 6px;
}

body .ah-page-ecommerce .ah-page-section--ecommerce-work .ah-page-list li:last-child {
    margin-bottom: 0;
}

body .ah-page-ecommerce .ah-page-list {
    font-size: 0.96rem;
    line-height: 1.55;
}

body .ah-page-ecommerce .ah-page-list li {
    margin-bottom: 10px;
}

body .ah-page-ecommerce .ah-page-list li::marker {
    color: var(--electric-blue);
}

body .ah-page-ecommerce .ah-page-split {
    align-items: center;
    column-gap: clamp(56px, 7vw, 104px);
}

body .ah-page-ecommerce .ah-page-split__visual .ah-page-visual-card {
    min-height: clamp(360px, 32vw, 470px);
    padding: clamp(24px, 2.5vw, 36px);
}

body .ah-page-ecommerce .ah-page-split__visual img {
    width: min(430px, 92%);
    max-height: 330px;
    margin: 0 auto 18px;
    object-fit: contain;
}

body .ah-page-ecommerce .ah-page-section--ecommerce-context h2 {
    max-width: none;
    white-space: nowrap;
    font-size: clamp(1.42rem, 1.85vw, 1.86rem);
    line-height: 1.08;
}

body .ah-page-ecommerce .ah-page-section--ecommerce-context .ah-page-list {
    font-size: 0.91rem;
    line-height: 1.34;
}

body .ah-page-ecommerce .ah-page-section--ecommerce-context .ah-page-list li {
    margin-bottom: 7px;
}

body .ah-page-ecommerce .ah-page-grid--two {
    gap: 28px;
    align-items: stretch;
}

body .ah-page-ecommerce .ah-page-grid--two .ah-page-card {
    min-height: 100%;
    padding: clamp(28px, 3vw, 40px);
}

body .ah-page-ecommerce .ah-page-grid--two .ah-page-card h2 {
    max-width: none;
}

body .ah-page-ecommerce .ah-page-section--ecommerce-fit .ah-page-card {
    padding: clamp(24px, 2.4vw, 34px);
}

body .ah-page-ecommerce .ah-page-section--ecommerce-fit .ah-page-card h2 {
    margin-bottom: 14px;
}

body .ah-page-ecommerce .ah-page-section--ecommerce-fit .ah-page-list {
    font-size: 0.91rem;
    line-height: 1.34;
}

body .ah-page-ecommerce .ah-page-section--ecommerce-fit .ah-page-list li {
    margin-bottom: 6px;
}

body .ah-page-ecommerce .ah-page-section--ecommerce-fit .ah-page-list li:last-child {
    margin-bottom: 0;
}

body .ah-page-ecommerce .ah-page-faq__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

body .ah-page-ecommerce .ah-page-faq__item {
    padding: 24px 26px;
}

body .ah-page-ecommerce .ah-page-cta h2 {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    white-space: normal;
}

@media (max-width: 980px) {
    body .ah-page-ecommerce .ah-page-section--ecommerce-risks > .ah-container > h2 {
        white-space: normal;
        max-width: 13em;
    }

    body .ah-page-ecommerce .ah-page-section--ecommerce-context h2 {
        white-space: normal;
        max-width: 13em;
    }

    body .ah-page-ecommerce .ah-page-risk-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    body .ah-trust-strip--ecommerce .ah-trust-strip__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body .ah-trust-strip--ecommerce .ah-trust-strip__grid li {
        padding: 20px 22px;
        border-right: 0;
        border-bottom: 1px solid rgba(31, 82, 178, 0.16);
    }
}

@media (max-width: 760px) {
    body .ah-page-ecommerce .ah-page-faq__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    body .ah-page-ecommerce .ah-page-risk-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    body .ah-trust-strip--ecommerce .ah-trust-strip__grid {
        grid-template-columns: 1fr;
    }
}

/* Mimi note: Poland/CEE market-entry paragraphs are quieter only in the first diagnostic split, so shared inner-page copy stays unchanged. */
.ah-page-poland-cee .ah-page-grid--split > div:last-child p {
    max-width: 760px;
    font-size: .88rem;
    line-height: 1.62;
}

@media (min-width: 1181px) {
    /* Mimi note: Desktop line lock applies only to the Poland/CEE local-context heading Pawel reviewed. */
    .ah-page-poland-cee .ah-page-split__content h2 {
        max-width: 840px;
        font-size: clamp(1.34rem, 1.62vw, 1.58rem);
        line-height: 1.08;
        white-space: nowrap;
    }
}

.ah-page-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ah-page-section--tight {
    padding: 42px 0;
}

.ah-page-risk-grid,
.ah-page-step-row {
    display: grid;
    gap: 18px;
}

.ah-page-risk-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ah-page-risk-card {
    position: relative;
    display: grid;
    min-height: 146px;
    align-content: start;
    padding: 24px 24px 22px 68px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #FFFFFF;
    box-shadow: 0 8px 24px rgba(11, 29, 58, .045);
}

.ah-page-risk-card::before {
    content: "";
    position: absolute;
    left: 24px;
    top: 24px;
    width: 30px;
    height: 30px;
    border: 2px solid var(--electric-blue);
    border-radius: 50%;
    background:
        radial-gradient(circle, var(--electric-blue) 0 3px, transparent 4px),
        #F8FBFF;
}

.ah-page-risk-card h3 {
    margin-bottom: 8px;
    font-size: 1rem;
}

.ah-page-risk-card p {
    margin-bottom: 0;
    font-size: .88rem;
    line-height: 1.45;
}

.ah-page-output-split {
    display: grid;
    grid-template-columns: minmax(260px, .7fr) minmax(0, 1fr);
    gap: clamp(28px, 6vw, 76px);
    align-items: start;
}

.ah-page-compact-checks {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ah-page-compact-checks li {
    position: relative;
    min-height: 34px;
    padding: 8px 0 8px 32px;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    font-size: .9rem;
    line-height: 1.38;
}

.ah-page-compact-checks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background:
        linear-gradient(135deg, transparent 40%, var(--white) 41% 52%, transparent 53%),
        var(--electric-blue);
}

.ah-page-compact-checks--warning li::before {
    background:
        linear-gradient(45deg, transparent 44%, var(--signal-red) 45% 55%, transparent 56%),
        linear-gradient(-45deg, transparent 44%, var(--signal-red) 45% 55%, transparent 56%),
        #FFFFFF;
    border: 1px solid rgba(255, 42, 42, .45);
}

.ah-page-step-row {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    counter-reset: ah-page-step-row;
}

.ah-page-market-map {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.ah-page-step-row__item {
    position: relative;
    min-height: 168px;
    padding: 56px 16px 18px;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #FFFFFF;
    box-shadow: 0 8px 24px rgba(11, 29, 58, .04);
}

.ah-page-step-row__item::before {
    counter-increment: ah-page-step-row;
    content: counter(ah-page-step-row);
    position: absolute;
    left: 50%;
    top: 16px;
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    color: var(--white);
    background: var(--electric-blue);
    border-radius: 50%;
    font-size: .76rem;
    font-weight: 900;
    transform: translateX(-50%);
}

.ah-page-step-row__item h3 {
    margin-bottom: 8px;
    font-size: .9rem;
    line-height: 1.18;
}

.ah-page-step-row__item p {
    margin-bottom: 0;
    font-size: .78rem;
    line-height: 1.42;
}

.ah-page-context-form {
    display: grid;
    grid-template-columns: minmax(260px, .62fr) minmax(0, 1fr);
    gap: clamp(30px, 6vw, 76px);
    align-items: start;
}

.ah-page-context-form__copy {
    min-width: 0;
}

.ah-page-contact .ah-page-hero .trust-note {
    margin-top: 32px;
}

.ah-page-contact .ah-page-context-form__copy {
    position: relative;
    padding-bottom: 84px;
}

/* Mimi note: Contact left-column ornament fills the quiet area without adding a fake form function or new image dependency. */
.ah-page-contact .ah-page-context-form__copy::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: min(260px, 82%);
    height: 86px;
    opacity: .22;
    background-image:
        linear-gradient(rgba(23, 70, 199, .32) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23, 70, 199, .32) 1px, transparent 1px),
        radial-gradient(circle, rgba(255, 42, 42, .42) 1.4px, transparent 2.2px);
    background-size: 28px 18px, 28px 18px, 14px 14px;
    pointer-events: none;
}

.ah-page-contact-proof {
    display: grid;
    gap: 0;
    max-width: 380px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.ah-page-contact-proof li {
    position: relative;
    min-height: 48px;
    padding: 15px 0 14px 40px;
    color: var(--deep-navy);
    border-bottom: 1px solid var(--line);
    font-size: .86rem;
    font-weight: 800;
}

.ah-page-contact-proof li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 24px;
    height: 24px;
    border: 1px solid rgba(23, 70, 199, .35);
    border-radius: 50%;
    background:
        linear-gradient(135deg, transparent 40%, var(--electric-blue) 41% 52%, transparent 53%),
        #FFFFFF;
}

.ah-page-contact .ah-page-process {
    padding-top: 44px;
    padding-bottom: 44px;
}

.ah-page-contact .ah-page-step-row {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.ah-page-contact .ah-page-step-row__item {
    min-height: 166px;
    padding: 48px 14px 16px;
    border-color: rgba(23, 70, 199, .16);
    box-shadow: none;
}

.ah-page-contact .ah-page-step-row__item::before {
    top: 14px;
    color: var(--electric-blue);
    border: 1px solid rgba(23, 70, 199, .22);
    background: #F3F7FC;
}

.ah-page-contact .ah-page-step-row__item h3 {
    font-size: .86rem;
}

.ah-page-contact .ah-page-step-row__item p {
    font-size: .76rem;
}

.ah-page-contact .ah-page-context-form {
    grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
    grid-template-areas:
        "copy form"
        "details form";
    column-gap: clamp(42px, 6vw, 86px);
    row-gap: 20px;
    align-items: start;
}

.ah-page-contact .ah-page-context-form__copy {
    grid-area: copy;
    padding-bottom: 0;
}

.ah-page-contact .ah-page-context-form__copy::after {
    display: none;
}

.ah-page-contact .ah-contact-form {
    grid-area: form;
    align-self: start;
}

.ah-page-contact .ah-contact-details {
    grid-area: details;
    align-self: start;
    max-width: 420px;
    margin-top: 0;
}

.ah-page-contact .ah-page-contact-proof {
    margin-top: 22px;
}

.ah-page-contact .ah-page-contact-proof li {
    min-height: 42px;
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: .82rem;
}

/* Mimi note: Business details are compact proof/legal context, not a second CTA or form card. */
.ah-contact-details {
    max-width: 380px;
    margin-top: 26px;
    padding: 17px 18px 18px;
    color: var(--deep-navy);
    border: 1px solid rgba(11, 29, 58, .12);
    border-top: 2px solid rgba(23, 70, 199, .42);
    border-radius: 6px;
    background:
        linear-gradient(135deg, rgba(246, 249, 253, .96), rgba(255, 255, 255, .98)),
        radial-gradient(circle, rgba(23, 70, 199, .16) 1px, transparent 1.8px);
    background-size: auto, 13px 13px;
    box-shadow: 0 10px 24px rgba(11, 29, 58, .045);
}

.ah-contact-details__name {
    margin-bottom: 9px;
    color: var(--deep-navy);
    font-size: .88rem;
    font-weight: 800;
    line-height: 1.3;
}

.ah-contact-details__address {
    margin: 0;
    color: var(--ink);
    font-style: normal;
    font-size: .84rem;
    line-height: 1.5;
}

.ah-contact-details__mails {
    display: grid;
    gap: 5px;
    margin-top: 13px;
    color: var(--steel-gray);
    font-size: .84rem;
    line-height: 1.45;
}

.ah-contact-details__mails span {
    color: var(--deep-navy);
    font-weight: 800;
}

.ah-page-contact .ah-contact-details__mails a[href^="mailto:"] {
    width: max-content;
    max-width: 100%;
    color: var(--electric-blue);
    font-weight: 400;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.ah-page-contact .ah-contact-details__mails a[href^="mailto:"]:hover,
.ah-page-contact .ah-contact-details__mails a[href^="mailto:"]:focus-visible {
    color: var(--deep-navy);
    text-decoration: none;
}

/* Mimi note: Contact form CSS is isolated so generic button/grid rules cannot stretch the submit CTA into a red panel. */
.ah-page-contact .ah-contact-form {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(11, 29, 58, .08);
    padding: clamp(22px, 3vw, 34px);
}

.ah-page-contact .ah-contact-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
}

.ah-page-contact .ah-contact-form__full {
    grid-column: 1 / -1;
}

.ah-page-contact .ah-contact-form label {
    display: grid;
    min-width: 0;
    gap: 7px;
    font-family: var(--font-technical);
    font-size: .72rem;
    font-weight: 800;
    color: var(--deep-navy);
}

.ah-page-contact .ah-contact-form input,
.ah-page-contact .ah-contact-form select,
.ah-page-contact .ah-contact-form textarea {
    width: 100%;
    min-height: 42px;
    border: 1px solid rgba(11, 29, 58, .16);
    border-radius: 5px;
    background: var(--white);
    color: var(--deep-navy);
    font: inherit;
    font-weight: 400;
    padding: 10px 12px;
}

/* Mimi note: Field labels stay bold, but visitor-entered and selected form values should read at normal text weight. */
.ah-page-contact .ah-contact-form select option {
    font-weight: 400;
}

.ah-page-contact .ah-contact-form textarea {
    min-height: 108px;
    max-width: 100%;
    resize: vertical;
}

.ah-page-contact .ah-contact-form__note {
    margin: 0.85rem auto 0;
    max-width: 34rem;
    font-size: 0.72rem;
    line-height: 1.45;
    color: rgba(11, 29, 58, 0.72);
    text-align: center;
}

@media (max-width: 640px) {
    .ah-page-contact .ah-contact-form__note {
        font-size: 0.7rem;
        line-height: 1.45;
        text-align: left;
    }
}

.ah-page-contact .ah-contact-form__actions {
    display: flex;
    justify-content: center;
    margin-top: 22px;
}

.ah-page-contact .ah-contact-form__submit {
    width: min(100%, 420px);
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 6px;
}


/* Mimi note: Form feedback stays minimal and WordPress handles delivery without storing submissions. */
.ah-page-contact .ah-contact-form__honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.ah-contact-notice {
    grid-column: 1 / -1;
    padding: 14px 16px;
    border-radius: 6px;
    font-size: .9rem;
    font-weight: 800;
    line-height: 1.4;
}

.ah-contact-notice--success {
    color: #0B1D3A;
    border: 1px solid rgba(23, 70, 199, .22);
    border-left: 3px solid var(--electric-blue);
    background: #F3F7FC;
}

.ah-contact-notice--error {
    color: #0B1D3A;
    border: 1px solid rgba(255, 42, 42, .26);
    border-left: 3px solid var(--signal-red);
    background: #FFF5F5;
}
/* Mimi note: Rules page stays sober and document-like; no tracking or consent UI is introduced in this front. */
.ah-page-rules-stack {
    display: grid;
    gap: 20px;
}

.ah-page-rules-block {
    padding: clamp(22px, 3vw, 30px);
    border: 1px solid var(--line);
    border-left: 3px solid rgba(23, 70, 199, .68);
    border-radius: 6px;
    background: #FFFFFF;
    box-shadow: 0 10px 26px rgba(11, 29, 58, .045);
}

.ah-page-rules-block h2 {
    max-width: 58rem;
}

.ah-page-rules-block p,
.ah-page-rules-block li {
    max-width: 900px;
    line-height: 1.65;
}

.ah-page-rules-block p {
    margin-bottom: 12px;
    font-size: .9rem;
}

.ah-page-rules-address {
    max-width: 900px;
    margin: 0 0 12px;
    color: var(--ink);
    font-size: .9rem;
    font-style: normal;
    line-height: 1.65;
}

.ah-page-rules-block p:last-child,
.ah-page-rules-address:last-child,
.ah-page-rules-list:last-child,
.ah-page-rules-steps:last-child {
    margin-bottom: 0;
}

.ah-page-rules-list,
.ah-page-rules-steps {
    display: grid;
    gap: 8px;
    max-width: 860px;
    margin: 14px 0 16px;
    color: var(--ink);
    font-size: .88rem;
}

.ah-page-rules-list {
    padding-left: 18px;
}

.ah-page-rules-steps {
    padding-left: 20px;
}

.ah-page-rules-list li::marker,
.ah-page-rules-steps li::marker {
    color: var(--electric-blue);
    font-weight: 800;
}

.ah-page-rules-date {
    color: var(--deep-navy);
    font-weight: 800;
}

/* Mimi note: FAQ and entity clarity blocks are visible search context, not hidden SEO text. */
.ah-page-faq {
    background: #FFFFFF;
}

.ah-page-faq__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--card-gap);
}

.ah-page-faq__item {
    min-width: 0;
    padding: clamp(20px, 2.4vw, 28px);
    border: 1px solid var(--line);
    border-left: 3px solid var(--electric-blue);
    border-radius: 6px;
    background: #FFFFFF;
    box-shadow: 0 10px 26px rgba(11, 29, 58, .045);
}

.ah-page-faq__item h3 {
    margin-bottom: 10px;
    color: var(--deep-navy);
    font-size: .98rem;
}

.ah-page-faq__item p {
    margin-bottom: 0;
    font-size: .9rem;
    line-height: 1.55;
}

.ah-entity-clarity {
    padding: var(--section-y) 0;
    border-bottom: 1px solid var(--line);
    background: #FFFFFF;
}

.ah-entity-clarity__lead {
    max-width: 860px;
    margin-bottom: 18px;
    font-size: .92rem;
    line-height: 1.55;
}

.ah-entity-clarity__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--card-gap);
}

.ah-entity-clarity__card {
    min-width: 0;
    padding: clamp(18px, 2.2vw, 26px);
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #FFFFFF;
    box-shadow: 0 10px 26px rgba(11, 29, 58, .045);
}

.ah-entity-clarity__card h3 {
    margin-bottom: 12px;
}

.ah-entity-clarity__card ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ah-entity-clarity__card li {
    position: relative;
    min-width: 0;
    padding-left: 22px;
    color: var(--ink);
    font-size: .86rem;
    line-height: 1.42;
}

.ah-entity-clarity__card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .5em;
    width: 8px;
    height: 8px;
    border: 2px solid var(--electric-blue);
    border-radius: 50%;
}

.ah-entity-clarity__card:nth-child(2) {
    border-left: 3px solid var(--signal-red);
}

.ah-entity-clarity__card:nth-child(2) li::before {
    border-color: var(--signal-red);
}

.ah-entity-summary {
    margin: 18px 0 0;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-left: 3px solid var(--electric-blue);
    border-radius: 6px;
    background: var(--soft-blue);
    color: var(--ink);
    font-size: .9rem;
    line-height: 1.55;
}

.ah-faq {
    position: relative;
    background: #FFFFFF;
}

.ah-faq__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--card-gap);
}

.ah-faq__item {
    min-width: 0;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #FFFFFF;
    box-shadow: 0 8px 22px rgba(11, 29, 58, .045);
}

.ah-faq__item summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 24px;
    gap: 14px;
    align-items: center;
    padding: 16px 18px;
    color: var(--deep-navy);
    font-size: .9rem;
    font-weight: 800;
    line-height: 1.25;
    cursor: pointer;
}

.ah-faq__item summary::-webkit-details-marker {
    display: none;
}

.ah-faq__item summary::after {
    content: "+";
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    color: var(--electric-blue);
    border: 1px solid #9CB2D2;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 900;
}

.ah-faq__item[open] summary::after {
    content: "-";
}

.ah-faq__item p {
    margin: 0;
    padding: 0 18px 17px;
    font-size: .84rem;
    line-height: 1.5;
}

.ah-static-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #FFFFFF;
    box-shadow: 0 8px 24px rgba(11, 29, 58, .055);
}

.ah-static-form label,
.ah-static-form__note {
    grid-column: span 2;
}

.ah-static-form label {
    display: grid;
    gap: 7px;
    color: var(--deep-navy);
    font-size: .78rem;
    font-weight: 800;
}

.ah-static-form input,
.ah-static-form select,
.ah-static-form textarea {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    color: var(--deep-navy);
    border: 1px solid var(--line);
    border-radius: 5px;
    background: #FFFFFF;
    font: inherit;
    font-size: .9rem;
}

.ah-static-form textarea {
    min-height: 112px;
    resize: vertical;
}

.ah-static-form__note {
    margin: 0;
    padding: 12px 14px;
    color: var(--ink);
    border: 1px solid rgba(23, 70, 199, .18);
    border-left: 3px solid var(--electric-blue);
    border-radius: 5px;
    background: #F3F7FC;
    font-size: .86rem;
}

.ah-static-form .button {
    justify-self: start;
}

/* Mimi note: These applications reduce white-area emptiness while keeping readable content as the visual priority. */
.ah-split-diagnosis,
.ah-system,
.ah-products,
.ah-value-band,
.ah-audience,
.ah-process,
.ah-entity-clarity,
.ah-page-hero,
.ah-page-section,
.ah-page-cta {
    position: relative;
    overflow: clip;
}

.ah-split-diagnosis > .ah-container,
.ah-system > .ah-container,
.ah-products > .ah-container,
.ah-value-band > .ah-container,
.ah-audience > .ah-container,
.ah-process > .ah-container,
.ah-entity-clarity > .ah-container,
.ah-page-hero > .ah-container,
.ah-page-section > .ah-container,
.ah-page-cta > .ah-container {
    position: relative;
    z-index: 1;
}

.ah-split-diagnosis::before {
    left: max(18px, calc((100% - var(--content-max)) / 2 - 126px));
    top: 50%;
    width: 260px;
    height: 338px;
    opacity: .34;
    background-image:
        linear-gradient(90deg, rgba(23, 70, 199, .42) 0 1px, transparent 1px 54px, rgba(23, 70, 199, .22) 54px 55px, transparent 55px),
        linear-gradient(0deg, rgba(11, 29, 58, .28) 0 1px, transparent 1px 54px, rgba(23, 70, 199, .2) 54px 55px, transparent 55px),
        linear-gradient(135deg, transparent 0 47%, rgba(23, 70, 199, .26) 47% 48%, transparent 48%),
        url("../img/24-deco-problem-left.png");
    background-repeat: repeat, repeat, no-repeat, no-repeat;
    background-position: center, center, center, center;
    background-size: 108px 88px, 108px 88px, 100% 100%, contain;
}

.ah-split-diagnosis::after,
.ah-products::after,
.ah-audience::after,
.ah-process::after,
.ah-page-section::after {
    content: "";
    position: absolute;
    z-index: 0;
    width: 8px;
    height: 8px;
    pointer-events: none;
    background: rgba(23, 70, 199, .5);
    box-shadow:
        42px 0 0 rgba(23, 70, 199, .44),
        88px 32px 0 rgba(11, 29, 58, .24),
        136px 12px 0 rgba(23, 70, 199, .36),
        188px 62px 0 rgba(255, 42, 42, .34);
}

.ah-split-diagnosis::after {
    left: max(36px, calc((100% - var(--content-max)) / 2 - 88px));
    top: calc(50% - 104px);
}

.ah-system::after {
    right: max(18px, calc((100% - var(--content-max)) / 2 - 116px));
    width: 292px;
    height: 342px;
    opacity: .32;
    background-image:
        linear-gradient(90deg, rgba(23, 70, 199, .36) 0 1px, transparent 1px 58px, rgba(23, 70, 199, .18) 58px 59px, transparent 59px),
        linear-gradient(0deg, rgba(11, 29, 58, .22) 0 1px, transparent 1px 50px, rgba(23, 70, 199, .2) 50px 51px, transparent 51px),
        linear-gradient(45deg, transparent 0 48%, rgba(23, 70, 199, .24) 48% 49%, transparent 49%),
        url("../img/25-deco-mimi-right.png");
    background-repeat: repeat, repeat, no-repeat, no-repeat;
    background-position: center, center, center, center;
    background-size: 116px 92px, 116px 92px, 100% 100%, contain;
}

.ah-products::before,
.ah-audience::before,
.ah-process::before,
.ah-entity-clarity::before,
.ah-page-section::before {
    content: "";
    position: absolute;
    z-index: 0;
    width: 218px;
    height: 154px;
    opacity: .14;
    pointer-events: none;
    background-image:
        linear-gradient(90deg, rgba(23, 70, 199, .34) 0 1px, transparent 1px 46px),
        linear-gradient(0deg, rgba(11, 29, 58, .2) 0 1px, transparent 1px 38px),
        linear-gradient(135deg, transparent 0 47%, rgba(23, 70, 199, .22) 47% 48%, transparent 48%);
    background-size: 92px 76px, 92px 76px, 100% 100%;
}

.ah-products::before,
.ah-page-section:nth-of-type(odd)::before {
    right: max(18px, calc((100% - var(--content-max)) / 2 - 86px));
    top: 18px;
}

.ah-products::after {
    right: max(40px, calc((100% - var(--content-max)) / 2 - 52px));
    top: 38px;
    opacity: .52;
}

.ah-value-band::before {
    content: "";
    position: absolute;
    left: max(18px, calc((100% - var(--content-max)) / 2 - 86px));
    top: 50%;
    z-index: 0;
    width: 220px;
    height: 136px;
    opacity: .18;
    pointer-events: none;
    background-image:
        linear-gradient(90deg, rgba(23, 70, 199, .34) 0 1px, transparent 1px 54px),
        linear-gradient(0deg, rgba(11, 29, 58, .22) 0 1px, transparent 1px 42px),
        linear-gradient(135deg, transparent 0 47%, rgba(255, 42, 42, .16) 47% 48%, transparent 48%);
    background-size: 108px 84px, 108px 84px, 100% 100%;
    transform: translateY(-50%);
}

.ah-value-band::after {
    opacity: .42;
}

.ah-audience::before,
.ah-page-section:nth-of-type(even)::before {
    left: max(18px, calc((100% - var(--content-max)) / 2 - 94px));
    top: 24px;
}

.ah-audience::after {
    right: max(42px, calc((100% - var(--content-max)) / 2 - 72px));
    bottom: 42px;
    opacity: .46;
}

.ah-process::before {
    left: 50%;
    top: 82px;
    width: min(720px, calc(100% - 96px));
    height: 64px;
    opacity: .12;
    background-image:
        linear-gradient(90deg, transparent 0 3%, rgba(23, 70, 199, .44) 3% 97%, transparent 97%),
        linear-gradient(135deg, transparent 0 49%, rgba(23, 70, 199, .24) 49% 50%, transparent 50%),
        linear-gradient(45deg, transparent 0 49%, rgba(11, 29, 58, .18) 49% 50%, transparent 50%);
    background-size: 100% 1px, 150px 64px, 150px 64px;
    background-position: center, center, center;
    background-repeat: no-repeat, repeat-x, repeat-x;
    transform: translateX(-50%);
}

.ah-process::after {
    left: max(44px, calc((100% - var(--content-max)) / 2 + 20px));
    top: 72px;
    opacity: .44;
}

.ah-final-cta::before,
.ah-page-cta--with-deco::before {
    background-image: radial-gradient(circle, rgba(230, 235, 242, .25) 1.35px, transparent 1.9px);
    background-size: 14px 14px;
}

.ah-final-cta::after,
.ah-page-cta--with-deco::after {
    background-image: radial-gradient(circle, rgba(23, 70, 199, .22) 1.35px, transparent 1.9px);
    background-size: 14px 14px;
}

.ah-page-hero::before {
    width: min(230px, 18vw);
    height: 300px;
    opacity: .2;
    background-image:
        linear-gradient(90deg, rgba(23, 70, 199, .34) 0 1px, transparent 1px 50px),
        linear-gradient(0deg, rgba(11, 29, 58, .18) 0 1px, transparent 1px 44px),
        linear-gradient(135deg, transparent 0 48%, rgba(23, 70, 199, .22) 48% 49%, transparent 49%);
    background-size: 100px 88px, 100px 88px, 100% 100%;
}

.ah-page-hero::after {
    opacity: .2;
    background-image:
        linear-gradient(rgba(23, 70, 199, .22) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23, 70, 199, .22) 1px, transparent 1px),
        linear-gradient(135deg, transparent 0 48%, rgba(255, 42, 42, .14) 48% 49%, transparent 49%);
}

.ah-page-section::after {
    right: max(34px, calc((100% - var(--content-max)) / 2 - 62px));
    top: 42px;
    opacity: .28;
}

.ah-page-section--soft::before {
    opacity: .12;
}

.ah-page-proof::before,
.ah-page-process::before,
.ah-page-contact .ah-page-section--soft::before {
    opacity: .18;
}

.ah-page-contact .ah-page-section--soft::after {
    left: max(42px, calc((100% - var(--content-max)) / 2 - 72px));
    right: auto;
    top: 96px;
    opacity: .4;
}

@media (max-width: 1180px) {
    .ah-node-network::before,
    .ah-section--node-decorated::before,
    .ah-split-diagnosis::before,
    .ah-system::after,
    .ah-products::before,
    .ah-audience::before,
    .ah-process::before,
    .ah-entity-clarity::before,
    .ah-page-hero::before,
    .ah-page-section::before {
        width: 170px;
        height: 124px;
        opacity: .1;
        background-size: 76px 60px, 76px 60px, 100% 100%, contain;
    }

    .ah-node-network::after,
    .ah-section--node-decorated::after,
    .ah-split-diagnosis::after,
    .ah-products::after,
    .ah-audience::after,
    .ah-process::after,
    .ah-page-section::after {
        opacity: .24;
        transform: scale(.82);
        transform-origin: center;
    }

    .ah-page-hero::after {
        opacity: .12;
    }
}

@media (max-width: 900px) {
    .ah-products::before,
    .ah-products::after,
    .ah-audience::before,
    .ah-audience::after,
    .ah-process::before,
    .ah-process::after,
    .ah-entity-clarity::before,
    .ah-page-section::before,
    .ah-page-section::after {
        opacity: .08;
    }
}

@media (max-width: 560px) {
    .ah-node-network::before,
    .ah-node-network::after,
    .ah-section--node-decorated::before,
    .ah-section--node-decorated::after,
    .ah-products::before,
    .ah-products::after,
    .ah-audience::before,
    .ah-audience::after,
    .ah-process::before,
    .ah-process::after,
    .ah-entity-clarity::before,
    .ah-page-hero::before,
    .ah-page-section::before,
    .ah-page-section::after {
        display: none;
    }
}

/* Mimi note: Breakpoints collapse each mockup zone before fixed visual columns can create horizontal scroll. */
@media (max-width: 1180px) {
    .header-inner {
        position: relative;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px 16px;
        min-height: 66px;
        padding: 8px 0;
    }

    .brand {
        justify-self: start;
    }

    /* Mimi note: Tablet/mobile header switches to a controlled panel so nav text cannot wrap the header into multiple rows. */
    .site-header__toggle {
        display: inline-grid;
        width: 44px;
        height: 44px;
        place-items: center;
        justify-self: end;
        padding: 10px;
        border: 0;
        border-radius: 5px;
        background: transparent;
        cursor: pointer;
    }

    .site-header__toggle span {
        display: block;
        width: 22px;
        height: 2px;
        background: var(--deep-navy);
        border-radius: 2px;
        transition: background-color .18s ease, opacity .18s ease, transform .18s ease;
    }

    .site-header__toggle span:nth-child(2) {
        background: var(--signal-red);
    }

    .is-nav-open .site-header__toggle span:first-child {
        transform: translateY(8px) rotate(45deg);
    }

    .is-nav-open .site-header__toggle span:nth-child(2) {
        opacity: 0;
    }

    .is-nav-open .site-header__toggle span:last-child {
        transform: translateY(-8px) rotate(-45deg);
    }

    .primary-nav {
        display: none;
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        max-width: 100%;
        padding: 16px;
        background: #FFFFFF;
        border: 1px solid var(--line);
        border-top: 2px solid var(--signal-red);
        border-radius: 0 0 6px 6px;
        box-shadow: 0 18px 36px rgba(11, 29, 58, .12);
    }

    .is-nav-open .primary-nav {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 0;
        justify-content: flex-start;
        width: 100%;
    }

    .nav-list a {
        display: flex;
        width: 100%;
        min-height: 42px;
        padding: 8px 0;
    }

    .nav-list .current-menu-item > a::after,
    .nav-list .current_page_item > a::after,
    .nav-list .current-menu-ancestor > a::after,
    .nav-list .current_page_parent > a::after,
    .home .nav-list .menu-item-home > a::after {
        left: 0;
        bottom: 4px;
        width: 44px;
        transform: none;
    }

    .header-cta--desktop {
        display: none;
    }

    .header-cta--mobile {
        display: flex;
        width: 100%;
        margin-top: 14px;
        white-space: normal;
    }

    .ah-hero__grid {
        grid-template-columns: minmax(0, .46fr) minmax(0, .54fr);
    }

    .ah-hero__image {
        width: min(760px, 116%);
    }

    .ah-split__grid {
        grid-template-columns: 1fr;
    }

    .ah-problem-panel {
        padding-right: 0;
    }

    .ah-comparison-panel {
        padding-right: 30px;
    }

    .ah-system__grid {
        grid-template-columns: 1fr;
    }

    .ah-system__header,
    .ah-products__grid--homepage,
    .ah-system-card-grid,
    .ah-audience__grid--five,
    .ah-audience__grid--six,
    .ah-faq__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ah-system__intro p {
        max-width: 680px;
    }

    .ah-system__map {
        grid-template-columns: minmax(210px, 1fr) minmax(190px, .72fr) minmax(210px, 1fr);
    }

    .ah-audience__grid,
    .ah-process__line,
    .ah-entity-clarity__grid,
    .ah-page-faq__grid,
    .ah-page-grid,
    .ah-page-grid--four,
    .ah-page-grid--two,
    .ah-page-proof__grid,
    .ah-page-risk-grid,
    .ah-page-process__steps,
    .ah-page-process__steps--six,
    .ah-page-step-row,
    .ah-page-market-map,
    .ah-page-mini-matrix,
    .ah-page-decision-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ah-page-contact .ah-page-step-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ah-process-step::after {
        display: none;
    }
}

@media (max-width: 900px) {
    .ah-container {
        width: min(calc(100% - 40px), var(--content-max));
    }

    .ah-system,
    .ah-products,
    .ah-audience,
    .ah-process,
    .ah-faq {
        padding: 30px 0;
    }

    h1 {
        font-size: clamp(2.08rem, 6.2vw, 2.46rem);
        font-weight: 800;
        line-height: .99;
        letter-spacing: -.038em;
    }

    .ah-hero__powered {
        font-size: inherit;
        white-space: normal;
    }

    h2 {
        font-size: clamp(1.42rem, 4.3vw, 1.74rem);
        font-weight: 800;
        line-height: 1.08;
        letter-spacing: -.03em;
    }

    .ah-hero__lead {
        font-size: .98rem;
    }

    .ah-hero__grid,
    .ah-comparison__grid,
    .ah-system__header,
    .ah-system__map,
    .ah-products__grid,
    .ah-products__grid--homepage,
    .ah-system-card-grid,
    .ah-audience__grid,
    .ah-audience__grid--five,
    .ah-audience__grid--six,
    .ah-faq__grid,
    .ah-value-band__grid,
    .ah-entity-clarity__grid,
    .ah-page-faq__grid,
    .ah-page-grid,
    .ah-page-grid--split,
    .ah-page-grid--four,
    .ah-page-grid--two,
    .ah-page-hero--with-visual .ah-page-hero__inner,
    .ah-page-split,
    .ah-page-output-split,
    .ah-page-context-form,
    .ah-page-contact .ah-page-context-form,
    .ah-page-proof__grid,
    .ah-page-risk-grid,
    .ah-page-process__steps,
    .ah-page-process__steps--six,
    .ah-page-step-row,
    .ah-page-market-map,
    .ah-page-mini-matrix,
    .ah-page-decision-strip {
        grid-template-columns: 1fr;
    }

    .ah-page-contact .ah-page-step-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 12px;
        align-items: center;
        text-align: center;
    }

    .footer-brand-row {
        width: auto;
        justify-self: center;
        grid-template-columns: auto auto;
        gap: 24px;
        align-items: center;
        justify-content: center;
    }

    .footer-inner p {
        max-width: 320px;
        margin-right: auto;
        margin-left: auto;
        text-align: center;
    }

    .footer-legal {
        justify-self: center;
        text-align: center;
    }

    .ah-page-section--review-evidence .ah-page-split {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .ah-page-review-safety {
        width: 100%;
    }

    .header-inner {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .ah-page-hero__visual {
        max-width: 420px;
    }

    .brand {
        justify-self: start;
    }

    .ah-hero {
        min-height: 0;
        padding-top: 24px;
    }

    .ah-hero__grid {
        min-height: 0;
    }

    .ah-hero__visual {
        min-height: 232px;
        place-items: center;
    }

    .ah-hero__image {
        width: min(600px, 106%);
        margin: 0 auto;
    }

    .ah-button-row,
    .button {
        width: 100%;
    }

    .ah-button-row {
        flex-direction: column;
    }

    .ah-comparison-panel {
        padding-left: 20px;
        padding-right: 20px;
    }

    .ah-comparison__grid {
        row-gap: 20px;
    }

    .ah-versus {
        min-height: 54px;
        align-self: center;
        justify-self: stretch;
    }

    .ah-versus::before {
        top: 50%;
        right: 0;
        bottom: auto;
        left: 0;
        width: auto;
        height: 1px;
        transform: translateY(-50%);
    }

    .ah-split-diagnosis::before {
        left: 16px;
        width: 126px;
        height: 238px;
        opacity: .22;
    }

    .ah-system::after {
        right: 12px;
        width: 148px;
        height: 216px;
        opacity: .2;
    }

    .ah-value-band::after {
        right: 12px;
        width: 160px;
        height: 120px;
        opacity: .14;
    }

    .ah-final-cta::before,
    .ah-final-cta::after {
        width: 220px;
        height: 104px;
        opacity: .26;
    }

    .ah-system__map::before {
        display: none;
    }

    .ah-system__card,
    .ah-system__core {
        grid-column: auto;
        grid-row: auto;
    }

    .ah-system__core {
        order: -1;
        min-height: 194px;
        border-radius: 8px;
    }

    .ah-system__image {
        width: min(300px, 82vw);
    }

    .ah-system__visual {
        min-height: 220px;
    }

    .ah-product-card {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
    }

    /* Mimi note: Keep homepage offer and value-band art visible; F15C uses the visual as meaningful content. */
    .ah-value-band__visual {
        display: grid;
        min-height: 210px;
    }

    .ah-products__grid--homepage .ah-product-card__visual {
        display: grid;
        min-height: 132px;
    }

    .ah-value-band__grid {
        gap: 22px;
    }

    .footer-legal {
        justify-self: center;
    }

    /* Mimi note: Contact keeps the diagnostic details beside the form on tablet; the accepted mobile order starts at 720px. */
    .ah-page-contact .ah-page-context-form {
        grid-template-columns: minmax(260px, .72fr) minmax(0, 1fr);
        grid-template-areas:
            "copy form"
            "details form";
        align-items: start;
    }

    .ah-page-contact .ah-page-context-form__copy {
        grid-area: copy;
    }

    .ah-page-contact .ah-contact-form {
        grid-area: form;
        align-self: start;
    }

    .ah-page-contact .ah-contact-details {
        grid-area: details;
        align-self: start;
    }
}

/* Mimi note: Inner-page-only responsive rules stay separate from accepted homepage selectors. */
@media (max-width: 1180px) {
    .ah-inner-page .ah-trust-strip__grid,
    .ah-inner-page .ah-page-output-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .ah-inner-page .ah-trust-strip__grid,
    .ah-inner-page .ah-page-output-list,
    .ah-inner-page .ah-page-grid--detect {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    /* Mimi note: Contact must collapse as one readable column before mobile widths can squeeze the form card. */
    .ah-page-contact .ah-page-context-form {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "copy"
            "form"
            "details";
        gap: 28px;
        width: min(calc(100% - 40px), var(--content-max));
        padding-right: 0;
        padding-left: 0;
    }

    .ah-page-contact .ah-page-context-form__copy {
        grid-area: copy;
        width: 100%;
    }

    .ah-page-contact .ah-page-contact-proof {
        margin-top: 18px;
    }

    .ah-page-contact .ah-contact-details {
        grid-area: details;
        width: 100%;
        max-width: none;
        margin-top: 20px;
    }

    .ah-page-contact .ah-contact-form,
    .ah-page-contact .ah-contact-form__grid,
    .ah-page-contact .ah-contact-form label,
    .ah-page-contact .ah-contact-form input,
    .ah-page-contact .ah-contact-form select,
    .ah-page-contact .ah-contact-form textarea {
        min-width: 0;
        max-width: 100%;
    }

    .ah-page-contact .ah-contact-form__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .ah-page-contact .ah-contact-form {
        grid-area: form;
    }

    .ah-page-contact .ah-contact-form__submit {
        width: 100%;
        white-space: normal;
    }
}

@media (max-width: 560px) {
    .ah-container {
        width: min(calc(100% - 36px), var(--content-max));
    }

    .brand {
        width: min(210px, 100%);
        min-width: 0;
    }

    .brand-logo {
        max-width: 210px;
        max-height: 48px;
    }

    .footer-logo {
        width: min(184px, 58vw);
        max-height: 58px;
    }

    .footer-partner img {
        width: 68px;
        max-height: 58px;
    }

    .footer-inner {
        gap: 8px;
        align-items: center;
        text-align: center;
    }

    .footer-brand-row {
        display: grid;
        width: auto;
        grid-template-columns: auto auto;
        gap: 22px;
        justify-content: center;
        align-items: center;
    }

    .footer-inner p {
        max-width: 300px;
        margin: 2px auto 0;
        font-size: .72rem;
        line-height: 1.42;
        text-align: center;
    }

    .footer-legal {
        justify-self: center;
        text-align: center;
    }

    .nav-list {
        gap: 0;
    }

    .nav-list a {
        font-size: .74rem;
        font-weight: 700;
    }

    .button {
        padding-right: 14px;
        padding-left: 14px;
    }

    .ah-hero__lead {
        font-size: .94rem;
        line-height: 1.32;
    }

    .ah-hero__visual {
        min-height: 208px;
    }

    .ah-hero__image {
        width: min(106%, 460px);
        margin-left: auto;
        margin-right: auto;
    }

    .ah-question-list li {
        grid-template-columns: 28px 1fr;
        gap: 10px;
        font-size: .76rem;
        font-weight: 700;
        line-height: 1.28;
    }

    .ah-system__card p,
    .ah-product-card p,
    .ah-audience-card p,
    .ah-process-step p {
        font-size: .75rem;
    }

    .ah-system__card,
    .ah-product-card,
    .ah-audience-card {
        padding: 13px;
    }

    .ah-system__card {
        grid-template-columns: 46px 1fr;
    }

    .ah-product-card,
    .ah-audience-card,
    .ah-process__line {
        grid-template-columns: 1fr;
    }

    .ah-product-card__visual {
        min-height: 72px;
    }

    .ah-product-card__visual img {
        width: min(128px, 68%);
    }

    .ah-process-step {
        grid-template-columns: 32px minmax(0, 1fr);
    }

    .ah-split-diagnosis::before,
    .ah-system::after,
    .ah-value-band::after {
        display: none;
    }

    .ah-final-cta::before,
    .ah-final-cta::after {
        display: none;
    }

    .ah-page-hero {
        padding: 54px 0 42px;
    }

    .ah-page-section {
        padding: 42px 0;
    }

    .ah-page-cta {
        padding: 46px 0;
    }

    .ah-page-cta h2 {
        max-width: 100%;
        margin-bottom: 18px;
    }

    .ah-page-cta .button {
        width: min(100%, 360px);
        justify-content: center;
        white-space: normal;
    }

    .ah-page-hero .ah-button-row + .trust-note,
    .ah-page-second-opinion .ah-page-hero .ah-button-row + .trust-note,
    .ah-page-takeover-audit .ah-page-hero .ah-button-row + .trust-note,
    .ah-page-ecommerce .ah-page-hero .ah-button-row + .trust-note,
    .ah-page-poland-cee .ah-page-hero .ah-button-row + .trust-note,
    .ah-page-mimi-jarvis .ah-page-hero .ah-button-row + .trust-note {
        margin-top: 28px;
    }

    .ah-page-proof__grid--people,
    .ah-page-grid--wolf-services {
        grid-template-columns: 1fr;
    }

    .ah-wolf-family-work {
        grid-template-columns: 1fr;
    }

    .ah-wolf-work-list {
        columns: 1;
    }

    .ah-wolf-family-work__media img {
        min-height: 260px;
    }

    .ah-page-visual-card {
        padding: 18px;
    }

    .ah-page-visual-card img {
        width: min(260px, 100%);
    }

    .ah-page-hero .ah-page-visual-card img {
        width: min(310px, 94%);
        max-height: 300px;
    }

    .ah-page-contact .ah-page-context-form__copy {
        padding-bottom: 0;
    }

    .ah-page-contact .ah-page-context-form__copy::after {
        display: none;
    }

    .ah-page-proof__item,
    .ah-page-process__step,
    .ah-page-mini-matrix__item,
    .ah-page-decision-strip__item {
        padding: 18px;
    }

    .ah-page-process__step {
        padding-top: 52px;
    }

    .ah-page-cta--with-deco::before {
        display: none;
    }

    .ah-static-form {
        grid-template-columns: 1fr;
    }

    .ah-static-form label,
    .ah-static-form__note {
        grid-column: auto;
    }

    .ah-page-risk-card {
        min-height: 0;
        padding: 20px 18px 18px 58px;
    }

    .ah-page-risk-card::before {
        left: 18px;
        top: 20px;
    }

    .ah-page-step-row__item {
        min-height: 0;
    }

    .ah-page-contact .ah-page-context-form {
        width: min(calc(100% - 36px), var(--content-max));
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "copy"
            "form"
            "details";
        gap: 26px;
    }

    .ah-page-contact .ah-contact-details {
        grid-area: details;
        max-width: none;
        margin-top: 20px;
        padding: 16px 17px 17px;
        font-size: .86rem;
        line-height: 1.5;
    }

    .ah-contact-details__name {
        font-size: .86rem;
    }

    .ah-contact-details__address,
    .ah-contact-details__mails {
        font-size: .84rem;
        line-height: 1.52;
    }

    .ah-page-contact .ah-contact-form {
        padding: 20px 18px;
    }

    .ah-page-contact .ah-contact-form__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .ah-page-contact .ah-contact-form__full {
        grid-column: auto;
    }

    .ah-page-contact .ah-contact-form__submit {
        width: 100%;
        min-height: 48px;
        white-space: normal;
    }

    .ah-page-section--review-evidence .ah-page-split {
        gap: 26px;
    }

    .ah-page-review-safety {
        padding: 24px 20px 22px;
    }
}

/* Wolf Family mobile hard polish - 1.0.11 */
@media (max-width: 768px) {
    .ah-page-wolf-family,
    .ah-page-wolf-family * {
        box-sizing: border-box;
    }

    .ah-page-wolf-family .ah-page-hero,
    .ah-page-wolf-family .ah-page-section {
        overflow-x: clip;
    }

    .ah-page-wolf-family .ah-page-hero {
        padding-top: 36px !important;
        padding-bottom: 38px !important;
    }

    .ah-page-wolf-family .ah-page-hero__inner,
    .ah-page-wolf-family .ah-page-hero .ah-container,
    .ah-page-wolf-family .ah-page-hero .container,
    .ah-page-wolf-family .ah-page-hero .ah-section__inner {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 22px !important;
        padding-right: 22px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        min-width: 0 !important;
    }

    .ah-page-wolf-family .ah-page-hero__content,
    .ah-page-wolf-family .ah-page-hero__visual,
    .ah-page-wolf-family .ah-page-hero__media,
    .ah-page-wolf-family .ah-page-visual-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .ah-page-wolf-family .ah-page-title {
        max-width: 100% !important;
        overflow-wrap: normal;
        word-break: normal;
    }

    .ah-page-wolf-family .ah-page-hero p {
        max-width: 100% !important;
    }

    .ah-page-wolf-family .ah-page-hero img,
    .ah-page-wolf-family .ah-page-hero picture {
        max-width: 100% !important;
        height: auto;
    }

    .ah-page-wolf-family .ah-page-proof__grid--people,
    .ah-page-wolf-family .ah-page-grid--wolf-services,
    .ah-page-wolf-family .ah-wolf-family-work,
    .ah-page-wolf-family .ah-wolf-family-summary-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .ah-page-wolf-family .ah-page-proof__grid--people > *,
    .ah-page-wolf-family .ah-page-grid--wolf-services > *,
    .ah-page-wolf-family .ah-wolf-family-work > *,
    .ah-page-wolf-family .ah-wolf-family-summary-grid > * {
        min-width: 0 !important;
    }

    .ah-page-wolf-family .ah-button-row {
        width: 100%;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .ah-page-wolf-family .ah-page-hero {
        padding-top: 32px !important;
        padding-bottom: 34px !important;
    }

    .ah-page-wolf-family .ah-page-hero__inner,
    .ah-page-wolf-family .ah-page-hero .ah-container,
    .ah-page-wolf-family .ah-page-hero .container,
    .ah-page-wolf-family .ah-page-hero .ah-section__inner {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .ah-page-wolf-family .ah-button-row {
        flex-direction: column;
        align-items: stretch;
    }

    .ah-page-wolf-family .ah-button-row .button,
    .ah-page-wolf-family .ah-button-row a {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

/* Mimi note: F19 keeps the family-page proof strip at 2+2 on tablet, then one column only on narrow mobile. */
@media (max-width: 900px) and (min-width: 561px) {
    .ah-page-wolf-family .ah-trust-strip__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .ah-page-wolf-family .ah-trust-strip__item:nth-child(even) {
        border-right: 0;
    }

    .ah-page-wolf-family .ah-trust-strip__item:nth-child(n+3) {
        border-top: 1px solid var(--line);
    }
}

@media (max-width: 560px) {
    .ah-page-wolf-family .ah-trust-strip__grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .ah-page-wolf-family .ah-trust-strip__item,
    .ah-page-wolf-family .ah-trust-strip__item:nth-child(n+3) {
        border-right: 0;
        border-top: 1px solid var(--line);
    }

    .ah-page-wolf-family .ah-trust-strip__item:first-child {
        border-top: 0;
    }
}

/* F15D homepage layout repair: AdHorizon-style orbit, compact offer cards, audience icons, process sequence and footer cleanup. */
body.home .ah-system--orbit {
    padding: clamp(42px, 5vw, 66px) 0;
}

body.home .ah-system-orbit {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(210px, .86fr) minmax(220px, 1fr) minmax(230px, .9fr) minmax(220px, 1fr);
    gap: clamp(16px, 2.2vw, 28px);
    align-items: center;
}

body.home .ah-system-orbit::before {
    content: "";
    position: absolute;
    inset: 32px 120px 28px 265px;
    z-index: 0;
    opacity: .38;
    background:
        linear-gradient(90deg, transparent 0 9%, rgba(23, 70, 199, .42) 9% 10%, transparent 10% 90%, rgba(23, 70, 199, .42) 90% 91%, transparent 91%),
        radial-gradient(circle, rgba(23, 70, 199, .42) 1.35px, transparent 2px);
    background-size: 100% 100%, 12px 12px;
    pointer-events: none;
}

body.home .ah-system-orbit__intro,
body.home .ah-system-orbit__stack,
body.home .ah-system-orbit__center {
    position: relative;
    z-index: 1;
    min-width: 0;
}

body.home .ah-system-orbit__intro p {
    max-width: 31ch;
    font-size: .88rem;
    line-height: 1.5;
}

body.home .ah-system-orbit__stack {
    display: grid;
    gap: 12px;
}

body.home .ah-system-signal-card {
    grid-template-columns: 46px minmax(0, 1fr);
    min-height: 92px;
    padding: 13px 14px;
}

body.home .ah-system-orbit__center {
    display: grid;
    min-height: 286px;
    place-items: center;
    align-content: center;
    margin: 0;
    padding: 18px 12px;
    text-align: center;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(246, 249, 253, .96) 0%, rgba(255, 255, 255, .72) 66%, transparent 67%);
}

body.home .ah-system-orbit__center .ah-system__image {
    width: min(285px, 100%);
    margin: 0 auto 8px;
}

body.home .ah-system-orbit__center figcaption {
    display: grid;
    gap: 5px;
    justify-items: center;
}

body.home .ah-system-orbit__center span {
    color: var(--electric-blue);
    font-family: var(--font-technical);
    font-size: .82rem;
    font-weight: 900;
    letter-spacing: .055em;
}

body.home .ah-system-orbit__center small {
    max-width: 150px;
    color: var(--steel-gray);
    font-family: var(--font-technical);
    font-size: .58rem;
    font-weight: 900;
    letter-spacing: .1em;
    line-height: 1.22;
}

body.home .ah-offer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--card-gap);
}

body.home .ah-offer-card {
    display: grid;
    grid-template-columns: minmax(104px, 128px) minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    min-height: 172px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #FFFFFF;
    box-shadow: 0 6px 18px rgba(11, 29, 58, .055);
}

body.home .ah-offer-card__media {
    display: grid;
    min-width: 0;
    min-height: 118px;
    place-items: center;
    margin: 0;
    border-right: 1px solid rgba(217, 227, 240, .86);
}

body.home .ah-offer-card__media img {
    width: min(116px, 92%);
    max-height: 108px;
    object-fit: contain;
}

body.home .ah-offer-card__body {
    display: flex;
    min-width: 0;
    min-height: 126px;
    flex-direction: column;
}

body.home .ah-offer-card p {
    flex: 1 1 auto;
    margin-bottom: 0;
    font-size: .76rem;
    line-height: 1.36;
}

body.home .ah-offer-card a {
    display: inline-flex;
    width: fit-content;
    margin-top: 10px;
    color: var(--electric-blue);
    font-size: .8rem;
    font-weight: 900;
    line-height: 1.2;
}

body.home .ah-audience__grid--six .ah-audience-card {
    grid-template-columns: 48px minmax(0, 1fr);
    min-height: 126px;
    padding: 15px;
}

body.home .ah-process-flow {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

body.home .ah-process-flow__step {
    grid-template-columns: 34px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 10px;
    row-gap: 7px;
    min-height: 150px;
    padding: 0 6px 0 0;
}

body.home .ah-process-flow__step .ah-process-step__number {
    grid-column: 1;
    grid-row: 1;
    width: 30px;
    height: 30px;
}

body.home .ah-process-flow__step .ah-process-step__icon {
    grid-column: 1;
    grid-row: 2;
    width: 34px;
    height: 34px;
    margin-top: 0;
}

body.home .ah-process-flow__step .ah-process-step__icon svg {
    width: 34px;
    height: 34px;
}

body.home .ah-process-flow__step div {
    grid-column: 2;
    grid-row: 1 / span 2;
}

body.home .ah-process-flow__step::after {
    top: 15px;
    left: calc(100% - 13px);
    width: 20px;
}

.footer-description {
    max-width: none;
    min-width: 0;
    white-space: normal;
}

@media (min-width: 1181px) {
    .footer-inner {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .footer-description {
        white-space: normal;
    }

    .footer-legal__link {
        padding-right: 20px;
    }
}

@media (max-width: 1180px) {
    body.home .ah-system-orbit {
        grid-template-columns: minmax(0, 1fr) minmax(250px, .82fr) minmax(0, 1fr);
    }

    body.home .ah-system-orbit__intro {
        grid-column: 1 / -1;
    }

    body.home .ah-system-orbit__intro p {
        max-width: 720px;
    }

    body.home .ah-system-orbit::before {
        inset: 104px 80px 26px;
    }

    body.home .ah-offer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ah-proof-strip__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
        padding: 20px 0;
    }

    .ah-proof-strip__item {
        padding: 18px 28px;
        border-left: 0;
    }

    .ah-proof-strip__item:first-child,
    .ah-proof-strip__item:nth-child(3) {
        padding-left: 12px;
    }

    .ah-proof-strip__item:nth-child(2),
    .ah-proof-strip__item:nth-child(4) {
        padding-right: 12px;
        border-left: 1px solid rgba(189, 204, 223, .82);
    }

    .ah-proof-strip__item:nth-child(n+3) {
        border-top: 1px solid rgba(189, 204, 223, .82);
    }

    body.home .ah-process-flow {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.home .ah-process-flow__step::after {
        display: none;
    }
}

@media (max-width: 900px) {
    body.home .ah-system-orbit,
    body.home .ah-offer-grid,
    body.home .ah-process-flow {
        grid-template-columns: 1fr;
    }

    body.home .ah-system-orbit::before {
        display: none;
    }

    body.home .ah-system-orbit__center {
        order: -1;
        min-height: 220px;
        border-radius: 8px;
    }

    body.home .ah-system-orbit__intro {
        order: -2;
    }

    body.home .ah-system-orbit__stack {
        gap: 10px;
    }

    body.home .ah-offer-card {
        grid-template-columns: minmax(88px, 112px) minmax(0, 1fr);
        min-height: 0;
    }

    body.home .ah-offer-card__body {
        min-height: 0;
    }

    .ah-proof-strip__item {
        font-size: .94rem;
    }

    body.home .ah-process-flow__step {
        min-height: 0;
        padding: 0;
    }

    .footer-description {
        white-space: normal;
    }
}

@media (max-width: 560px) {
    body.home .ah-system-signal-card,
    body.home .ah-audience__grid--six .ah-audience-card {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    body.home .ah-offer-card {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    body.home .ah-offer-card__media {
        min-height: 86px;
        border-right: 0;
        border-bottom: 1px solid rgba(217, 227, 240, .86);
        padding-bottom: 8px;
    }

    body.home .ah-offer-card__media img {
        width: min(122px, 72%);
    }

    .ah-proof-strip__list {
        grid-template-columns: minmax(0, 1fr);
        padding: 14px 0;
    }

    .ah-proof-strip__item,
    .ah-proof-strip__item:first-child,
    .ah-proof-strip__item:nth-child(3),
    .ah-proof-strip__item:nth-child(2),
    .ah-proof-strip__item:nth-child(4) {
        padding: 16px 0;
        border-left: 0;
    }

    .ah-proof-strip__item + .ah-proof-strip__item,
    .ah-proof-strip__item:nth-child(n+3) {
        border-top: 1px solid rgba(189, 204, 223, .82);
    }
}

/* F16 second opinion page rebuild: AdHorizon-style proof strip, five-step diagnosis row and clean boundary visual. */
.ah-page-second-opinion .ah-page-hero .ah-page-title {
    max-width: 13.5ch;
    font-size: clamp(1.95rem, 3.35vw, 3.05rem);
    line-height: .99;
    letter-spacing: -.035em;
}

.ah-page-second-opinion .ah-page-hero__content {
    max-width: 580px;
}

.ah-page-second-opinion .ah-page-hero__inner {
    align-items: center;
}

.ah-page-second-opinion .ah-second-opinion-hero__lead {
    max-width: 58ch;
    margin-bottom: 1.1em;
}

.ah-page-second-opinion .ah-second-opinion-hero__secondary {
    max-width: 58ch;
    color: rgba(11, 29, 58, .78);
    font-size: clamp(.88rem, .95vw, .98rem);
    font-weight: 400;
    line-height: 1.56;
}

.ah-page-second-opinion .ah-trust-strip {
    padding: 28px 0;
    border-top: 1px solid rgba(217, 227, 240, .78);
}

.ah-page-second-opinion .ah-trust-strip__item {
    min-height: 68px;
    padding: 0 30px;
    font-size: .88rem;
    line-height: 1.22;
}

.ah-page-second-opinion .ah-trust-strip__item + .ah-trust-strip__item {
    border-left: 1px solid rgba(189, 204, 223, .82);
}

.ah-page-second-opinion .ah-page-proof__grid--diagnostic {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ah-page-second-opinion .ah-page-proof__item {
    display: flex;
    min-height: 178px;
    flex-direction: column;
}

.ah-page-second-opinion .ah-page-process__steps--five {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}

.ah-page-second-opinion .ah-second-opinion-diagnosis-steps .ah-page-process__step {
    min-height: 0;
    position: relative;
    padding: 1.2rem 1rem 1.05rem;
}

.ah-page-second-opinion .ah-second-opinion-diagnosis-steps .ah-page-process__step::before,
.ah-page-second-opinion .ah-second-opinion-diagnosis-steps .ah-page-process__step::after {
    content: none !important;
    display: none !important;
}

.ah-page-second-opinion .ah-second-opinion-diagnosis-steps .ah-page-process__step h3 {
    position: relative;
    display: flex;
    align-items: center;
    gap: .45rem;
    margin: 0 0 .45rem;
    padding-left: 0;
    font-size: .9rem;
    line-height: 1.12;
}

.ah-page-second-opinion .ah-second-opinion-diagnosis-steps .ah-page-process__step h3::before {
    content: "";
    flex: 0 0 auto;
    width: .42rem;
    height: .42rem;
    border-radius: 999px;
    background: var(--electric-blue);
    box-shadow: 0 0 0 3px rgba(32, 87, 219, .10);
}

.ah-page-second-opinion .ah-second-opinion-diagnosis-steps .ah-page-process__step p {
    margin: 0;
    font-size: .75rem;
    line-height: 1.45;
}

.ah-page-second-opinion .ah-second-not__grid {
    grid-template-columns: minmax(0, .95fr) minmax(320px, .72fr);
    gap: clamp(26px, 4vw, 52px);
    align-items: center;
}

.ah-page-second-opinion .ah-second-not__visual {
    min-width: 0;
}

.ah-page-second-opinion .ah-second-not__visual .ah-page-visual-card {
    min-height: 318px;
}

.ah-page-second-opinion .ah-second-not__visual img {
    width: min(440px, 94%);
    max-height: 330px;
}

.ah-page-second-opinion .ah-page-grid > .ah-page-card {
    background: #FFFFFF;
}

@media (max-width: 1180px) {
    .ah-page-second-opinion .ah-trust-strip__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ah-page-second-opinion .ah-trust-strip__item {
        padding: 18px 28px;
    }

    .ah-page-second-opinion .ah-trust-strip__item + .ah-trust-strip__item {
        border-left: 0;
    }

    .ah-page-second-opinion .ah-trust-strip__item:nth-child(even) {
        border-left: 1px solid rgba(189, 204, 223, .82);
    }

    .ah-page-second-opinion .ah-trust-strip__item:nth-child(n+3) {
        border-top: 1px solid rgba(189, 204, 223, .82);
    }

    .ah-page-second-opinion .ah-page-process__steps--five {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ah-page-second-opinion .ah-page-process__steps--five .ah-page-process__step {
        min-height: 0;
    }
}

@media (max-width: 900px) {
    .ah-page-second-opinion .ah-page-proof__grid--diagnostic,
    .ah-page-second-opinion .ah-page-process__steps--five,
    .ah-page-second-opinion .ah-second-not__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .ah-page-second-opinion .ah-page-process__steps--five .ah-page-process__step {
        min-height: 0;
    }
}

@media (max-width: 560px) {
    .ah-page-second-opinion .ah-trust-strip__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .ah-page-second-opinion .ah-trust-strip__item,
    .ah-page-second-opinion .ah-trust-strip__item:nth-child(even) {
        padding: 16px 0;
        border-left: 0;
    }

    .ah-page-second-opinion .ah-trust-strip__item + .ah-trust-strip__item {
        border-top: 1px solid rgba(189, 204, 223, .82);
    }
}

/* F17 Mimi & Jarvis page rebuild: AdHorizon-style proof strip, compact job cards and CreativeWork-system page rhythm. */
.ah-page-mimi-jarvis .ah-mimi-jarvis-hero__system {
    font-size: clamp(.9rem, 1.1vw, 1rem);
    line-height: 1.65;
}

.ah-page-mimi-jarvis .ah-trust-strip {
    padding: 28px 0;
    border-top: 1px solid rgba(217, 227, 240, .78);
}

.ah-page-mimi-jarvis .ah-trust-strip__item {
    min-height: 68px;
    padding: 0 30px;
    font-size: .88rem;
    line-height: 1.22;
}

.ah-page-mimi-jarvis .ah-trust-strip__item + .ah-trust-strip__item {
    border-left: 1px solid rgba(189, 204, 223, .82);
}

.ah-page-mimi-jarvis .ah-page-visual-card--orbit img {
    width: min(440px, 92%);
    max-height: 430px;
    object-fit: contain;
}

.ah-page-mimi-jarvis .ah-mimi-jobs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ah-page-mimi-jarvis .ah-mimi-jobs__card {
    display: flex;
    min-height: 154px;
    flex-direction: column;
}

.ah-page-mimi-jarvis .ah-mimi-human__grid {
    grid-template-columns: minmax(0, .95fr) minmax(320px, .72fr);
    gap: clamp(26px, 4vw, 52px);
    align-items: center;
}

.ah-page-mimi-jarvis .ah-mimi-human__visual .ah-page-visual-card {
    min-height: 318px;
}

.ah-page-mimi-jarvis .ah-mimi-human__image {
    width: min(440px, 94%);
    max-height: 330px;
    object-fit: contain;
}

.ah-page-mimi-jarvis .ah-page-grid--detect {
    align-items: stretch;
}

.ah-page-mimi-jarvis .ah-page-grid--detect > .ah-page-card {
    background: #FFFFFF;
}

.ah-page-mimi-jarvis .ah-page-grid--detect > .ah-page-card--dark {
    background: var(--deep-navy);
}

.ah-page-mimi-jarvis .ah-page-mini-line {
    margin-top: 24px;
    color: rgba(255, 255, 255, .76);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.ah-page-mimi-jarvis .ah-mimi-role-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.ah-page-mimi-jarvis .ah-mimi-role-grid .ah-page-card {
    display: flex;
    min-height: 176px;
    flex-direction: column;
}

.ah-page-mimi-jarvis .ah-page-cta__inner p {
    display: none;
}

@media (max-width: 1180px) {
    .ah-page-mimi-jarvis .ah-trust-strip__grid,
    .ah-page-mimi-jarvis .ah-mimi-role-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ah-page-mimi-jarvis .ah-trust-strip__item {
        padding: 18px 28px;
    }

    .ah-page-mimi-jarvis .ah-trust-strip__item + .ah-trust-strip__item {
        border-left: 0;
    }

    .ah-page-mimi-jarvis .ah-trust-strip__item:nth-child(even) {
        border-left: 1px solid rgba(189, 204, 223, .82);
    }

    .ah-page-mimi-jarvis .ah-trust-strip__item:nth-child(n+3) {
        border-top: 1px solid rgba(189, 204, 223, .82);
    }
}

@media (max-width: 900px) {
    .ah-page-mimi-jarvis .ah-mimi-jobs,
    .ah-page-mimi-jarvis .ah-mimi-human__grid,
    .ah-page-mimi-jarvis .ah-page-grid--detect {
        grid-template-columns: minmax(0, 1fr);
    }

    .ah-page-mimi-jarvis .ah-mimi-jobs__card,
    .ah-page-mimi-jarvis .ah-mimi-role-grid .ah-page-card {
        min-height: 0;
    }
}

@media (max-width: 560px) {
    .ah-page-mimi-jarvis .ah-trust-strip__grid,
    .ah-page-mimi-jarvis .ah-mimi-role-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .ah-page-mimi-jarvis .ah-trust-strip__item,
    .ah-page-mimi-jarvis .ah-trust-strip__item:nth-child(even) {
        padding: 16px 0;
        border-left: 0;
    }

    .ah-page-mimi-jarvis .ah-trust-strip__item + .ah-trust-strip__item {
        border-top: 1px solid rgba(189, 204, 223, .82);
    }
}

/* F19P: Mimi & Jarvis hero secondary paragraph refinement only. */
body .ah-page-mimi-jarvis .ah-page-hero .ah-page-hero__content > p.ah-page-lead.ah-mimi-jarvis-hero__system {
    margin-top: 0.55rem !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
    font-weight: 400 !important;
    color: #000000 !important;
}

/* F19M: final visual override for Second Opinion hero only. */
body .ah-page-second-opinion .ah-page-hero .ah-page-title {
    max-width: 520px !important;
    font-size: clamp(1.55rem, 2.28vw, 2.42rem) !important;
    line-height: 1.03 !important;
    letter-spacing: -0.032em !important;
}

body .ah-page-second-opinion .ah-page-hero .ah-page-hero__content > p.ah-page-lead.ah-second-opinion-hero__secondary {
    margin-top: 0.45rem !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
    font-weight: 400 !important;
    color: #000000 !important;
}

/* F19R: keep the contact family-team hero photo inside the existing visual card. */
body .ah-page-contact .ah-page-hero .ah-page-title {
    font-size: clamp(2rem, 2.85vw, 2.55rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

body .ah-page-contact .ah-page-hero .ah-page-lead {
    max-width: 56ch;
    font-size: clamp(0.88rem, 0.98vw, 0.97rem);
    line-height: 1.45;
}

body .ah-page-contact .ah-page-visual-card--contact-team {
    padding: clamp(12px, 1.4vw, 18px);
}

body .ah-page-contact .ah-page-visual-card--contact-team picture {
    display: block;
    width: 100%;
}

body .ah-page-contact .ah-page-visual-card--contact-team img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
}
