/* Premium decision layer for manufacturer landing pages */
.at-brand-upgrade {
    --at-brand-accent: #2f9e94;
    --at-brand-accent-soft: #e9f7f5;
    max-width: 1240px;
    margin: 0 auto;
    padding: 46px 0 18px;
    color: #102b35;
}

.at-brand-upgrade--phonak { --at-brand-accent: #69a82f; --at-brand-accent-soft: #f1f8e9; }
.at-brand-upgrade--oticon { --at-brand-accent: #1769aa; --at-brand-accent-soft: #edf5fb; }
.at-brand-upgrade--starkey { --at-brand-accent: #168cac; --at-brand-accent-soft: #edf8fb; }
.at-brand-upgrade--signia { --at-brand-accent: #b4862d; --at-brand-accent-soft: #fbf5e8; }

/* Oticon first-screen redesign */
.at-oticon-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100vw;
    margin: -10px calc(50% - 50vw) 0;
    background:
        radial-gradient(circle at 82% 18%, rgba(71, 183, 190, .22), transparent 25%),
        radial-gradient(circle at 8% 88%, rgba(23, 105, 170, .2), transparent 28%),
        linear-gradient(135deg, #061923 0%, #092b3a 52%, #0a3b4a 100%);
    color: #fff;
}

.at-oticon-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -260px;
    right: -160px;
    width: 660px;
    height: 660px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 50%;
    box-shadow: 0 0 0 90px rgba(255, 255, 255, .025), 0 0 0 180px rgba(255, 255, 255, .018);
}

.at-oticon-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 72px;
    align-items: center;
    max-width: 1240px;
    min-height: 720px;
    margin: 0 auto;
    padding: 90px 58px 86px;
}

.at-oticon-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    color: #9ce1dc;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.at-oticon-eyebrow::before {
    content: "";
    width: 34px;
    height: 2px;
    background: currentColor;
}

.at-oticon-hero-copy h1 {
    max-width: 10.5ch;
    margin: 0 0 26px !important;
    color: #fff !important;
    font-size: clamp(3.5rem, 5.8vw, 5.7rem) !important;
    line-height: .94 !important;
    letter-spacing: -.055em !important;
    text-transform: none !important;
}

.at-oticon-hero-copy > p {
    max-width: 690px;
    margin: 0;
    color: rgba(235, 248, 249, .78);
    font-size: 18px;
    line-height: 1.78;
}

.at-oticon-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.at-oticon-primary,
.at-oticon-secondary {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 850;
    text-decoration: none !important;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.at-oticon-primary {
    background: #4db6ac;
    color: #fff !important;
    box-shadow: 0 14px 32px rgba(77, 182, 172, .22);
}

.at-oticon-secondary {
    border-color: rgba(255, 255, 255, .24);
    background: rgba(255, 255, 255, .055);
    color: #fff !important;
}

.at-oticon-primary:hover,
.at-oticon-secondary:hover,
.at-oticon-primary:focus-visible,
.at-oticon-secondary:focus-visible {
    transform: translateY(-2px);
}

.at-oticon-secondary:hover,
.at-oticon-secondary:focus-visible {
    border-color: rgba(255, 255, 255, .44);
    background: rgba(255, 255, 255, .1);
}

.at-oticon-hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 30px;
}

.at-oticon-hero-proof span {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .045);
    color: rgba(255, 255, 255, .78);
    font-size: 12px;
    font-weight: 800;
}

.at-oticon-stage {
    position: relative;
    min-height: 560px;
}

.at-oticon-stage::before {
    content: "";
    position: absolute;
    inset: 50% auto auto 50%;
    width: 430px;
    height: 430px;
    border: 1px solid rgba(156, 225, 220, .19);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.at-oticon-stage::after {
    content: "OTICON";
    position: absolute;
    right: -18px;
    bottom: 20px;
    color: rgba(255, 255, 255, .035);
    font-size: 88px;
    font-weight: 950;
    letter-spacing: -.06em;
}

.at-oticon-device-card {
    position: absolute;
    z-index: 2;
    inset: 34px 34px 54px 6px;
    display: flex;
    flex-direction: column;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(238, 248, 250, .96));
    box-shadow: 0 34px 80px rgba(0, 0, 0, .28);
    transform: rotate(-2deg);
}

.at-oticon-device-label {
    color: #1769aa;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.at-oticon-device-card img {
    width: 100%;
    height: 330px;
    margin: auto 0 8px;
    object-fit: contain;
    filter: drop-shadow(0 20px 28px rgba(7, 29, 43, .12));
}

.at-oticon-device-card > div {
    display: grid;
    gap: 4px;
}

.at-oticon-device-card strong {
    color: #0b4f93;
    font-size: 28px;
    line-height: 1.05;
}

.at-oticon-device-card > div > span {
    color: #5c7178;
    font-size: 14px;
    line-height: 1.55;
}

.at-oticon-float {
    position: absolute;
    z-index: 4;
    display: grid;
    gap: 3px;
    min-width: 170px;
    padding: 15px 17px;
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 16px;
    background: rgba(7, 29, 43, .9);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .22);
    backdrop-filter: blur(14px);
}

.at-oticon-float strong {
    color: #fff;
    font-size: 14px;
}

.at-oticon-float span {
    color: rgba(255, 255, 255, .66);
    font-size: 12px;
}

.at-oticon-float-discreet {
    top: 4px;
    right: 0;
}

.at-oticon-float-specialist {
    left: -26px;
    bottom: 8px;
}

@media (max-width: 1000px) {
    .at-oticon-hero-inner {
        grid-template-columns: 1fr;
        gap: 42px;
        min-height: 0;
        padding: 78px 24px 72px;
    }

    .at-oticon-hero-copy h1 {
        max-width: 12ch;
    }

    .at-oticon-stage {
        min-height: 520px;
    }
}

@media (max-width: 650px) {
    .at-oticon-hero-inner {
        padding-top: 56px;
        padding-bottom: 58px;
    }

    .at-oticon-eyebrow {
        align-items: flex-start;
        font-size: 11px;
        line-height: 1.45;
    }

    .at-oticon-hero-copy h1 {
        max-width: 100%;
        font-size: clamp(3rem, 13.5vw, 4rem) !important;
    }

    .at-oticon-hero-copy > p {
        font-size: 16px;
        line-height: 1.68;
    }

    .at-oticon-hero-actions {
        display: grid;
    }

    .at-oticon-primary,
    .at-oticon-secondary {
        width: 100%;
    }

    .at-oticon-hero-proof {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .at-oticon-hero-proof span {
        text-align: center;
    }

    .at-oticon-stage {
        min-height: 430px;
    }

    .at-oticon-device-card {
        inset: 24px 10px 42px 10px;
        padding: 22px;
        border-radius: 26px;
        transform: none;
    }

    .at-oticon-device-card img {
        height: 245px;
    }

    .at-oticon-device-card strong {
        font-size: 24px;
    }

    .at-oticon-float {
        min-width: 145px;
        padding: 12px 14px;
    }

    .at-oticon-float-discreet {
        top: 0;
        right: 0;
    }

    .at-oticon-float-specialist {
        left: 0;
        bottom: 0;
    }
}

.at-brand-switcher {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.at-brand-switcher > span {
    margin-right: 4px;
    color: #60717a;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.at-brand-switcher a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 14px;
    border: 1px solid #dbe8ec;
    border-radius: 999px;
    background: #fff;
    color: #17343e !important;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none !important;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.at-brand-switcher a:hover,
.at-brand-switcher a:focus-visible,
.at-brand-switcher a[aria-current="page"] {
    border-color: var(--at-brand-accent);
    background: var(--at-brand-accent-soft);
    transform: translateY(-1px);
}

.at-brand-snapshot {
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    gap: 28px;
    align-items: end;
    margin-bottom: 24px;
}

.at-brand-snapshot-copy .at-brand-label {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--at-brand-accent);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .09em;
}

.at-brand-snapshot h2 {
    margin: 0;
    color: #102b35;
    font-size: clamp(30px, 3.2vw, 46px);
    line-height: 1.06;
    letter-spacing: -.8px;
}

.at-brand-snapshot p {
    margin: 0;
    color: #5c7178;
    font-size: 17px;
    line-height: 1.72;
}

.at-brand-highlights {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.at-brand-highlight {
    position: relative;
    overflow: hidden;
    min-height: 172px;
    padding: 22px;
    border: 1px solid #dbe8ec;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(7, 29, 43, .055);
}

.at-brand-highlight:before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: var(--at-brand-accent);
}

.at-brand-highlight strong {
    display: block;
    margin-bottom: 9px;
    color: var(--at-brand-accent);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.at-brand-highlight h3 {
    margin: 0 0 8px !important;
    color: #102b35 !important;
    font-size: 20px !important;
    line-height: 1.2 !important;
}

.at-brand-highlight p {
    margin: 0;
    color: #60717a;
    font-size: 14.5px;
    line-height: 1.6;
}

.at-brand-current {
    margin-top: 22px;
    padding: 30px;
    border-radius: 24px;
    background: linear-gradient(135deg, #071d2b, #0d4054);
    color: #fff;
}

.at-brand-current-grid {
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    gap: 26px;
    align-items: center;
}

.at-brand-current .at-brand-label {
    display: inline-flex;
    margin-bottom: 10px;
    color: #8ee4db;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .09em;
}

.at-brand-current h3 {
    margin: 0 0 10px !important;
    color: #fff !important;
    font-size: 28px !important;
    line-height: 1.15 !important;
}

.at-brand-current p {
    margin: 0;
    color: #d9edf0;
    line-height: 1.7;
}

.at-brand-current-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.at-brand-current-item {
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 15px;
    background: rgba(255,255,255,.08);
}

.at-brand-current-item strong {
    display: block;
    margin-bottom: 3px;
    color: #fff;
    font-size: 15px;
}

.at-brand-current-item span {
    color: #cce4e8;
    font-size: 13px;
    line-height: 1.45;
}

.at-brand-compare {
    max-width: 1240px;
    margin: 30px auto 18px;
    padding: 34px;
    border: 1px solid #dbe8ec;
    border-radius: 24px;
    background: linear-gradient(135deg, #f8fbfb, #eef7f6);
}

.at-brand-compare-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: center;
}

.at-brand-compare h2 {
    margin: 0 0 10px !important;
    color: #102b35 !important;
    font-size: 31px !important;
    line-height: 1.15 !important;
}

.at-brand-compare p {
    margin: 0;
    max-width: 780px;
    color: #5c7178;
    font-size: 16px;
    line-height: 1.7;
}

.at-brand-compare-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.at-brand-compare-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 900;
    text-decoration: none !important;
}

.at-brand-compare-primary {
    background: #2f9e94;
    color: #fff !important;
}

.at-brand-compare-secondary {
    border: 1px solid #b8d8d5;
    background: #fff;
    color: #123b46 !important;
}

/* Hearing-aid decision gateway */
.at-ha-gateway {
    max-width: 1240px;
    margin: 0 auto;
    padding: 52px 0 18px;
    color: #102b35;
}

.at-ha-gateway-head {
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    gap: 30px;
    align-items: end;
    margin-bottom: 26px;
}

.at-ha-gateway-label {
    display: inline-flex;
    margin-bottom: 11px;
    color: #2f9e94;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .09em;
}

.at-ha-gateway h2 {
    margin: 0 !important;
    color: #102b35 !important;
    font-size: clamp(32px, 3.4vw, 48px) !important;
    line-height: 1.05 !important;
    letter-spacing: -.9px !important;
}

.at-ha-gateway-head p {
    margin: 0;
    color: #5c7178;
    font-size: 17px;
    line-height: 1.72;
}

.at-ha-priorities {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
}

.at-ha-priority {
    display: flex;
    flex-direction: column;
    min-height: 265px;
    padding: 24px;
    border: 1px solid #dbe8ec;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(7,29,43,.055);
}

.at-ha-priority-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 17px;
    border-radius: 14px;
    background: #e9f7f5;
    color: #237e76;
    font-weight: 900;
}

.at-ha-priority h3 {
    margin: 0 0 9px !important;
    color: #102b35 !important;
    font-size: 21px !important;
    line-height: 1.2 !important;
}

.at-ha-priority p {
    margin: 0 0 18px;
    color: #60717a;
    font-size: 14.5px;
    line-height: 1.62;
}

.at-ha-priority strong {
    display: block;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #e3eeee;
    color: #236f69;
    font-size: 13px;
    line-height: 1.5;
}

.at-ha-brand-route {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 20px;
    padding: 26px 30px;
    border-radius: 20px;
    background: #071d2b;
    color: #fff;
}

.at-ha-brand-route p {
    margin: 0;
    max-width: 760px;
    color: #d8edf0;
    line-height: 1.65;
}

.at-ha-brand-route-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.at-ha-brand-route-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 13px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: #fff !important;
    font-size: 13px;
    font-weight: 850;
    text-decoration: none !important;
}

.at-ha-brand-route-links a:hover,
.at-ha-brand-route-links a:focus-visible {
    background: #2f9e94;
    border-color: #2f9e94;
}

/* Make legacy brand pages feel more editorial and less like catalogues. */
.phshow .phshow-hero h1,
.otx .otx-hero h1,
.skx .skx-hero h1,
.sgx .sgx-hero h1 {
    text-transform: none !important;
    letter-spacing: -1.4px !important;
}

.phshow .phshow-product,
.otx .otx-family,
.skx .skx-family,
.sgx .sgx-family {
    transition: transform .22s ease, box-shadow .22s ease;
}

.phshow .phshow-product:hover,
.otx .otx-family:hover,
.skx .skx-family:hover,
.sgx .sgx-family:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(7,29,43,.12);
}

@media (max-width: 1000px) {
    .at-brand-upgrade {
        padding-left: 24px;
        padding-right: 24px;
    }

    .at-brand-snapshot,
    .at-brand-current-grid,
    .at-brand-compare-grid,
    .at-ha-gateway-head {
        grid-template-columns: 1fr;
    }

    .at-ha-gateway {
        padding-left: 24px;
        padding-right: 24px;
    }

    .at-ha-priorities {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .at-ha-brand-route {
        align-items: flex-start;
        flex-direction: column;
    }

    .at-ha-brand-route-links {
        justify-content: flex-start;
    }

    .at-brand-highlights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .at-brand-compare-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 650px) {
    .at-brand-upgrade {
        padding-top: 32px;
    }

    .at-brand-switcher {
        gap: 7px;
    }

    .at-brand-switcher > span {
        width: 100%;
    }

    .at-brand-switcher a {
        flex: 1 1 calc(50% - 7px);
    }

    .at-brand-highlights,
    .at-brand-current-list,
    .at-ha-priorities {
        grid-template-columns: 1fr;
    }

    .at-ha-brand-route {
        padding: 22px;
    }

    .at-ha-brand-route-links a {
        flex: 1 1 calc(50% - 8px);
    }

    .at-brand-current,
    .at-brand-compare {
        padding: 24px;
        border-radius: 19px;
    }

    .at-brand-compare-actions a {
        width: 100%;
    }
}
