.am-site-main {
    background:
        radial-gradient(circle at 50% 0%, rgba(50,107,255,.08), transparent 28%),
        radial-gradient(circle at 15% 15%, rgba(109,93,252,.05), transparent 24%),
        linear-gradient(180deg, #fbfcff 0%, #f6f8fd 100%);
}

.am-home-hero,
.am-home-hero * {
    box-sizing: border-box;
}

.am-home-hero {
    position: relative;
    overflow: hidden;
    padding: 42px 0 56px;
}

.am-home-hero__container {
    width: min(100% - 48px, 1180px);
    margin-inline: auto;
}

.am-home-hero__content {
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
}

.am-home-audience {
    width: fit-content;
    max-width: calc(100% - 48px);
    margin: 0 auto 30px;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid rgba(214,221,236,.95);
    border-radius: 999px;
    background: rgba(255,255,255,.78);
    box-shadow: 0 18px 44px rgba(29,54,109,.07), inset 0 1px 0 rgba(255,255,255,.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.am-home-audience__button {
    min-height: 56px;
    padding: 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #33405c;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    transition: all .2s ease;
}

.am-home-audience__button svg { width: 20px; height: 20px; }

.am-home-audience__button.is-active {
    color: #fff;
    background: linear-gradient(115deg,#6ec1ff,#326bff);
    box-shadow: 0 14px 28px rgba(50,107,255,.24), inset 0 1px 0 rgba(255,255,255,.28);
}

.am-home-hero.is-student-mode .am-home-audience__button.is-active {
    background: linear-gradient(115deg,#8757f0,#a342ef);
    box-shadow: 0 14px 28px rgba(135,87,240,.24), inset 0 1px 0 rgba(255,255,255,.28);
}

.am-home-hero__audience-panel {
    animation: amHeroFadeIn .28s ease both;
}

.am-home-hero__audience-panel[hidden] { display: none !important; }

@keyframes amHeroFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.am-home-hero__title {
    margin: 0;
    color: #16244a;
    font-size: clamp(52px, 7vw, 96px);
    font-weight: 900;
    line-height: 1.06;
    letter-spacing: -1.8px;
}

.am-home-hero__title--student {
    font-size: clamp(44px, 6vw, 84px);
}

.am-home-hero__subtitle {
    margin: 18px 0 0;
    color: #263455;
    font-size: clamp(24px, 2.5vw, 46px);
    font-weight: 800;
    line-height: 1.55;
}

.am-home-hero__description {
    max-width: 920px;
    margin: 28px auto 0;
    color: #67738f;
    font-size: 20px;
    font-weight: 500;
    line-height: 2.1;
}

.am-home-hero__description--student {
    max-width: 860px;
}

.am-home-hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 34px;
}

.am-home-hero__secondary,
.am-home-hero__primary {
    min-height: 66px;
    padding: 0 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    font-size: 17px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.am-home-hero__secondary {
    min-width: 210px;
    color: #22304f;
    background: rgba(255,255,255,.82);
    border: 1px solid #d8dfee;
    box-shadow: 0 10px 24px rgba(28,53,108,.05);
}

.am-home-hero__secondary:hover,
.am-home-hero__secondary:focus-visible,
.am-home-hero__primary:hover,
.am-home-hero__primary:focus-visible,
.am-auto-orbit-btn:hover,
.am-auto-orbit-btn:focus-visible {
    transform: translateY(-2px);
    outline: none;
}

.am-home-hero__primary--student {
    min-width: 220px;
    color: #fff;
    border: 1px solid transparent;
    background: linear-gradient(115deg,#8054ef,#a23eee);
    box-shadow: 0 18px 34px rgba(129,84,239,.24), inset 0 1px 0 rgba(255,255,255,.25);
}

.am-home-hero__meta {
    margin-top: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 22px 28px;
}

.am-home-hero__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #697590;
    font-size: 15px;
    font-weight: 700;
}

.am-home-hero__meta-item svg {
    width: 18px;
    height: 18px;
    color: #6175ad;
}

.am-home-hero__student-badge {
    width: fit-content;
    margin: 0 auto 14px;
    padding: 0 16px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(128,84,239,.14);
    background: rgba(128,84,239,.08);
    color: #8155ef;
    font-size: 14px;
    font-weight: 800;
}

.am-auto-orbit-wrap {
    position: relative;
    width: 420px;
    height: 140px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.am-auto-orbit-btn {
    position: relative;
    z-index: 2;
    min-width: 290px;
    min-height: 74px;
    padding: 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #0f1a39;
    border: 0;
    border-radius: 24px;
    text-decoration: none;
    background: linear-gradient(90deg,#c339e2 0%,#f38b57 100%);
    box-shadow: 0 18px 34px rgba(217,94,176,.20), inset 0 1px 0 rgba(255,255,255,.34);
}

.am-auto-orbit-btn__icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: #2c234a;
    background: rgba(255,255,255,.28);
    border-radius: 16px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
}

.am-auto-orbit-btn__icon svg { width: 24px; height: 24px; }
.am-auto-orbit-btn__label { font-size: 18px; font-weight: 900; }

.am-cake-flame {
    animation: amCakeFlame 1.8s ease-in-out infinite alternate;
    transform-origin: center;
}
.am-cake-flame--2 { animation-delay: .25s; }
.am-cake-flame--3 { animation-delay: .5s; }

@keyframes amCakeFlame {
    from { transform: translateY(0) scale(1); opacity: 1; }
    to { transform: translateY(-1.6px) scale(1.15); opacity: .86; }
}

.am-auto-orbit-ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
}

.am-auto-orbit-ring text {
    fill: #2e2b42;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .15px;
}

.am-auto-orbit-ring__moving-text {
    transform-box: view-box;
    transform-origin: 210px 70px;
    animation: amOrbitRotate 11s linear infinite;
}

@keyframes amOrbitRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .am-auto-orbit-ring__moving-text,
    .am-cake-flame { animation: none !important; }
}

/* hide old visual if still present elsewhere */
.am-home-hero__visual { display: none !important; }

@media (max-width: 980px) {
    .am-home-hero { padding-top: 30px; }
    .am-home-hero__container { width: calc(100% - 24px); }
    .am-home-audience { max-width: calc(100% - 24px); }
    .am-home-audience__button { min-height: 50px; padding-inline: 16px; font-size: 14px; }
    .am-home-audience__button svg { width: 18px; height: 18px; }
    .am-home-hero__title { font-size: clamp(38px, 11vw, 58px); line-height: 1.18; }
    .am-home-hero__subtitle { font-size: clamp(20px, 5vw, 28px); }
    .am-home-hero__description { font-size: 16px; line-height: 1.95; }
    .am-auto-orbit-wrap { width: 100%; max-width: 380px; height: 132px; }
    .am-auto-orbit-btn { min-width: 246px; min-height: 70px; }
}

@media (max-width: 640px) {
    .am-home-audience {
        width: calc(100% - 12px);
    }
    .am-home-audience__button {
        flex: 1 1 50%;
        min-width: 0;
        font-size: 13px;
        padding-inline: 10px;
    }
    .am-home-hero__actions {
        gap: 16px;
    }
    .am-home-hero__secondary,
    .am-home-hero__primary--student {
        width: min(100%, 340px);
    }
    .am-auto-orbit-wrap {
        max-width: 100%;
        height: 120px;
    }
    .am-auto-orbit-ring text {
        font-size: 11px;
    }
    .am-auto-orbit-btn {
        min-width: 226px;
        width: calc(100% - 54px);
        min-height: 66px;
        border-radius: 20px;
    }
    .am-auto-orbit-btn__label { font-size: 16px; }
    .am-home-hero__meta { gap: 14px 18px; }
    .am-home-hero__meta-item { font-size: 13px; }
}

/* =====================================
   v3 refinements: compact audience bar,
   supplied icons, animated title, student-only home
===================================== */

.am-home-audience {
    min-height: 48px;
    margin-bottom: 24px;
    padding: 4px;
    gap: 3px;
}

.am-home-audience__button {
    min-height: 42px;
    padding: 0 18px;
    gap: 7px;
    font-size: 14px;
}

.am-home-audience__button .am-audience-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    overflow: visible;
}

.am-home-audience__button .am-audience-icon--teacher path {
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
    opacity: 1;
}

.am-home-audience__button:hover .am-audience-icon--teacher path,
.am-home-audience__button:focus-visible .am-audience-icon--teacher path,
.am-home-audience__button.is-active .am-audience-icon--teacher path {
    animation: amAudienceSegmentDraw .3s ease both;
    animation-delay: calc(var(--seg-i) * .05s);
}

@keyframes amAudienceSegmentDraw {
    from {
        stroke-dashoffset: 1;
        opacity: 0;
    }
    to {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

.am-home-audience__button:hover .am-audience-icon__spinner,
.am-home-audience__button:focus-visible .am-audience-icon__spinner,
.am-home-audience__button.is-active .am-audience-icon__spinner {
    transform-box: fill-box;
    transform-origin: center;
    animation: amAudienceSpinner 2s linear 1;
}

@keyframes amAudienceSpinner {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Animated grain-and-light title, adapted for the light AzmoonMarker hero. */
@property --am-title-bg-1-x {
    syntax: "<number>";
    inherits: true;
    initial-value: 25;
}

@property --am-title-bg-2-x {
    syntax: "<number>";
    inherits: true;
    initial-value: 35;
}

@property --am-title-bg-2-y {
    syntax: "<number>";
    inherits: true;
    initial-value: 40;
}

@property --am-title-bg-3-x {
    syntax: "<number>";
    inherits: true;
    initial-value: 45;
}

@property --am-title-bg-3-y {
    syntax: "<number>";
    inherits: true;
    initial-value: 55;
}

.am-home-hero__title {
    --am-title-grain: url("data:image/svg+xml,%3Csvg viewBox='0 0 600 600' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
    --am-title-bg-1-x: 25;
    --am-title-bg-2-x: 35;
    --am-title-bg-2-y: 40;
    --am-title-bg-3-x: 45;
    --am-title-bg-3-y: 55;
    position: relative;
    display: inline-block;
    isolation: isolate;
    color: #17264f;
    background:
        var(--am-title-grain),
        conic-gradient(
            from 145deg at calc(var(--am-title-bg-1-x) * 1%) 88%,
            #10193b 0deg,
            #2c2489 46deg,
            #eef5ff 90deg,
            #6e4df3 132deg,
            #d33fbe 180deg,
            #ff8e5c 224deg,
            #f3cc55 266deg,
            #f9fcff 305deg,
            #74c6ff 334deg,
            #16245b 360deg
        ),
        radial-gradient(
            ellipse at calc(var(--am-title-bg-2-x) * 1%) calc(var(--am-title-bg-2-y) * 1%),
            rgba(255,255,255,.98) 0 9%,
            transparent 34%
        ),
        radial-gradient(
            ellipse at calc(var(--am-title-bg-3-x) * 1%) calc(var(--am-title-bg-3-y) * 1%),
            rgba(88,169,255,.96) 0 8%,
            transparent 35%
        );
    background-repeat: repeat, no-repeat, no-repeat, no-repeat;
    background-size: 390px, 150% 150%, 140% 140%, 145% 145%;
    background-blend-mode: soft-light, color-burn, screen, screen;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 16px 38px rgba(44,71,148,.08);
    animation: amHeroTitleGrain 18s linear infinite alternate;
}

.am-home-hero__title::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: 8%;
    bottom: -.12em;
    width: 84%;
    height: .22em;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(88,103,255,.18), rgba(220,61,188,.14), transparent);
    filter: blur(12px);
    opacity: .82;
}

.am-home-hero__title--student {
    background:
        var(--am-title-grain),
        conic-gradient(
            from 145deg at calc(var(--am-title-bg-1-x) * 1%) 88%,
            #19123f,
            #5c2fcf,
            #f7f4ff,
            #9d49ea,
            #d54cb8,
            #ff8a68,
            #f7d068,
            #fdfbff,
            #99b7ff,
            #2b1768
        ),
        radial-gradient(
            ellipse at calc(var(--am-title-bg-2-x) * 1%) calc(var(--am-title-bg-2-y) * 1%),
            rgba(255,255,255,.98) 0 9%,
            transparent 34%
        ),
        radial-gradient(
            ellipse at calc(var(--am-title-bg-3-x) * 1%) calc(var(--am-title-bg-3-y) * 1%),
            rgba(169,103,255,.94) 0 8%,
            transparent 35%
        );
    background-repeat: repeat, no-repeat, no-repeat, no-repeat;
    background-size: 390px, 150% 150%, 140% 140%, 145% 145%;
    background-blend-mode: soft-light, color-burn, screen, screen;
    -webkit-background-clip: text;
    background-clip: text;
}

@keyframes amHeroTitleGrain {
    0% {
        --am-title-bg-1-x: 25;
        --am-title-bg-2-x: 35;
        --am-title-bg-2-y: 40;
        --am-title-bg-3-x: 45;
        --am-title-bg-3-y: 55;
        background-position: 0 0, 50% 50%, 30% 40%, 65% 55%;
    }
    25% {
        --am-title-bg-1-x: 34;
        --am-title-bg-2-x: 78;
        --am-title-bg-2-y: 52;
        --am-title-bg-3-x: 72;
        --am-title-bg-3-y: 22;
        background-position: 45px -24px, 55% 42%, 70% 52%, 40% 22%;
    }
    50% {
        --am-title-bg-1-x: 12;
        --am-title-bg-2-x: 28;
        --am-title-bg-2-y: 38;
        --am-title-bg-3-x: 52;
        --am-title-bg-3-y: 82;
        background-position: 90px -48px, 44% 56%, 26% 38%, 52% 82%;
    }
    75% {
        --am-title-bg-1-x: 70;
        --am-title-bg-2-x: 52;
        --am-title-bg-2-y: 14;
        --am-title-bg-3-x: 38;
        --am-title-bg-3-y: 32;
        background-position: 135px -72px, 62% 48%, 52% 14%, 38% 32%;
    }
    100% {
        --am-title-bg-1-x: 25;
        --am-title-bg-2-x: 35;
        --am-title-bg-2-y: 40;
        --am-title-bg-3-x: 45;
        --am-title-bg-3-y: 55;
        background-position: 180px -96px, 50% 50%, 35% 40%, 60% 55%;
    }
}

/* Student mode: keep the hero and footer, hide every later homepage section. */
.am-site-main.is-student-home-mode > *:not(#am-home-hero):not(.am-toast-stack) {
    display: none !important;
}

@media (max-width: 640px) {
    .am-home-audience {
        min-height: 44px;
        margin-bottom: 20px;
        padding: 3px;
    }

    .am-home-audience__button {
        min-height: 38px;
        padding-inline: 10px;
        font-size: 12px;
        gap: 5px;
    }

    .am-home-audience__button .am-audience-icon {
        width: 16px;
        height: 16px;
        flex-basis: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .am-home-hero__title,
    .am-home-audience__button .am-audience-icon,
    .am-site-brand .am-sq-path {
        animation: none !important;
    }
}

/* =====================================
   v3.2 Teacher CTA buttons
   Animated gradient border + classic login pill
===================================== */

@property --am-cta-bg-1-x {
    syntax: "<number>";
    inherits: true;
    initial-value: 25;
}

@property --am-cta-bg-2-x {
    syntax: "<number>";
    inherits: true;
    initial-value: 35;
}

@property --am-cta-bg-2-y {
    syntax: "<number>";
    inherits: true;
    initial-value: 40;
}

@property --am-cta-bg-3-x {
    syntax: "<number>";
    inherits: true;
    initial-value: 45;
}

@property --am-cta-bg-3-y {
    syntax: "<number>";
    inherits: true;
    initial-value: 55;
}

.am-home-hero__actions--teacher {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: clamp(22px, 3vw, 42px);
    margin-inline: auto;
}

.am-home-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: "Vazir", Tahoma, sans-serif;
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        filter .2s ease;
}

.am-home-cta:hover,
.am-home-cta:focus-visible {
    transform: translateY(-3px);
    outline: none;
}

/* Auto exam builder — inspired by the supplied NEW/MCP pill. */
.am-home-cta--auto {
    --am-cta-grain: url("data:image/svg+xml,%3Csvg viewBox='0 0 600 600' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
    --am-cta-bg-1-x: 25;
    --am-cta-bg-2-x: 35;
    --am-cta-bg-2-y: 40;
    --am-cta-bg-3-x: 45;
    --am-cta-bg-3-y: 55;
    width: min(100%, 410px);
    min-height: 82px;
    padding: 2px;
    border-radius: 999px;
    direction: ltr;
    background:
        var(--am-cta-grain),
        conic-gradient(
            from 145deg at calc(var(--am-cta-bg-1-x) * 1%) 88%,
            #ff8f5a 0deg,
            #f4cf4d 48deg,
            #fff4a5 82deg,
            #ef54b9 132deg,
            #9c43ee 180deg,
            #5c5cff 224deg,
            #55c5ff 266deg,
            #f7f9ff 305deg,
            #ff75c7 334deg,
            #ff8f5a 360deg
        ),
        radial-gradient(
            ellipse at calc(var(--am-cta-bg-2-x) * 1%) calc(var(--am-cta-bg-2-y) * 1%),
            rgba(255,255,255,.98) 0 9%,
            transparent 34%
        ),
        radial-gradient(
            ellipse at calc(var(--am-cta-bg-3-x) * 1%) calc(var(--am-cta-bg-3-y) * 1%),
            rgba(112,160,255,.98) 0 8%,
            transparent 35%
        );
    background-repeat: repeat, no-repeat, no-repeat, no-repeat;
    background-size: 360px, 150% 150%, 140% 140%, 145% 145%;
    background-blend-mode: soft-light, normal, screen, screen;
    box-shadow:
        0 18px 42px rgba(80,64,170,.18),
        0 7px 22px rgba(244,79,180,.10);
    animation: amTeacherCtaGradient 13s linear infinite alternate;
}

.am-home-cta__auto-inner {
    width: 100%;
    min-height: 78px;
    padding: 0 24px 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border-radius: inherit;
    color: #ffffff;
    background:
        radial-gradient(circle at 75% 0%, rgba(99,66,225,.22), transparent 38%),
        linear-gradient(110deg, #111217 0%, #14131c 55%, #0f1015 100%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.09),
        inset 0 0 0 1px rgba(255,255,255,.04);
}

.am-home-cta__new {
    min-width: 70px;
    min-height: 36px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 999px;
    color: #17120a;
    background: linear-gradient(110deg, #ffd33f, #ffb91d);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.42),
        0 6px 16px rgba(255,193,37,.18);
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
    direction: rtl;
}

.am-home-cta__divider {
    width: 2px;
    height: 36px;
    flex: 0 0 2px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ff45bd, #9154ff);
    box-shadow: 0 0 14px rgba(213,71,239,.42);
}

.am-home-cta__label {
    flex: 1 1 auto;
    color: transparent;
    background:
        linear-gradient(110deg, #ffffff 0%, #ff9cd8 28%, #b66cff 62%, #ffffff 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: amTeacherCtaText 5s linear infinite;
    font-size: 20px;
    font-weight: 850;
    white-space: nowrap;
    direction: rtl;
}

.am-home-cta__arrow {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    color: #ffffff;
    transition: transform .2s ease;
}

.am-home-cta--auto:hover .am-home-cta__arrow,
.am-home-cta--auto:focus-visible .am-home-cta__arrow {
    transform: translateX(4px);
}

.am-home-cta--auto:hover,
.am-home-cta--auto:focus-visible {
    box-shadow:
        0 23px 52px rgba(80,64,170,.24),
        0 10px 30px rgba(244,79,180,.16);
    filter: saturate(1.08);
}

/* Login — inspired by the supplied yellow double-outline button. */
.am-home-cta--login {
    min-width: 260px;
    min-height: 72px;
    padding: 0 30px;
    gap: 18px;
    direction: ltr;
    color: #171717;
    border: 2px solid #2d2d32;
    border-radius: 999px;
    background: linear-gradient(110deg, #fff0b7, #f5dc88);
    box-shadow:
        0 0 0 5px #ffffff,
        0 0 0 7px #2d2d32,
        0 15px 34px rgba(62,53,28,.13),
        inset 0 1px 0 rgba(255,255,255,.58);
}

.am-home-cta--login:hover,
.am-home-cta--login:focus-visible {
    color: #171717;
    background: linear-gradient(110deg, #fff4c9, #f6dc79);
    box-shadow:
        0 0 0 5px #ffffff,
        0 0 0 7px #202025,
        0 20px 42px rgba(62,53,28,.18),
        inset 0 1px 0 rgba(255,255,255,.64);
}

.am-home-cta__login-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 42px;
}

.am-home-cta__login-icon svg {
    width: 38px;
    height: 38px;
}

.am-home-cta__login-label {
    color: #171717;
    font-size: 19px;
    font-weight: 850;
    white-space: nowrap;
    direction: rtl;
}

@keyframes amTeacherCtaGradient {
    0% {
        --am-cta-bg-1-x: 25;
        --am-cta-bg-2-y: 40;
        --am-cta-bg-2-x: 35;
        --am-cta-bg-3-y: 55;
        --am-cta-bg-3-x: 45;
    }
    25% {
        --am-cta-bg-1-x: 70;
        --am-cta-bg-2-y: 20;
        --am-cta-bg-2-x: 75;
        --am-cta-bg-3-y: 35;
        --am-cta-bg-3-x: 20;
    }
    50% {
        --am-cta-bg-1-x: 12;
        --am-cta-bg-2-y: 70;
        --am-cta-bg-2-x: 24;
        --am-cta-bg-3-y: 22;
        --am-cta-bg-3-x: 75;
    }
    75% {
        --am-cta-bg-1-x: 82;
        --am-cta-bg-2-y: 30;
        --am-cta-bg-2-x: 50;
        --am-cta-bg-3-y: 70;
        --am-cta-bg-3-x: 35;
    }
    100% {
        --am-cta-bg-1-x: 25;
        --am-cta-bg-2-y: 40;
        --am-cta-bg-2-x: 35;
        --am-cta-bg-3-y: 55;
        --am-cta-bg-3-x: 45;
    }
}

@keyframes amTeacherCtaText {
    from { background-position: 0% 50%; }
    to { background-position: 220% 50%; }
}

@media (max-width: 980px) {
    .am-home-hero__actions--teacher {
        gap: 28px;
    }

    .am-home-cta--auto {
        width: 365px;
    }

    .am-home-cta--login {
        min-width: 232px;
    }
}

@media (max-width: 760px) {
    .am-home-hero__actions--teacher {
        width: min(100%, 430px);
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 26px;
    }

    .am-home-cta--auto,
    .am-home-cta--login {
        width: 100%;
        max-width: 410px;
    }
}

@media (max-width: 480px) {
    .am-home-cta--auto {
        min-height: 72px;
    }

    .am-home-cta__auto-inner {
        min-height: 68px;
        padding-inline: 16px;
        gap: 11px;
    }

    .am-home-cta__new {
        min-width: 58px;
        min-height: 32px;
        padding-inline: 11px;
        font-size: 13px;
    }

    .am-home-cta__divider {
        height: 31px;
    }

    .am-home-cta__label {
        font-size: 17px;
    }

    .am-home-cta__arrow {
        width: 20px;
        height: 20px;
        flex-basis: 20px;
    }

    .am-home-cta--login {
        min-height: 66px;
        padding-inline: 22px;
        gap: 14px;
    }

    .am-home-cta__login-icon {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .am-home-cta__login-icon svg {
        width: 33px;
        height: 33px;
    }

    .am-home-cta__login-label {
        font-size: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .am-home-cta--auto,
    .am-home-cta__label {
        animation: none !important;
    }
}

/* =====================================
   v3.3 Compact teacher actions
   Smaller CTA scale + clean double-outline login button
===================================== */

.am-home-hero__actions--teacher {
    gap: 16px;
    margin-top: 28px;
}

.am-home-cta--auto {
    width: 330px;
    min-height: 64px;
    padding: 2px;
    border-radius: 999px;
    box-shadow:
        0 13px 30px rgba(80,64,170,.15),
        0 5px 16px rgba(244,79,180,.08);
}

.am-home-cta__auto-inner {
    min-height: 60px;
    padding: 0 16px 0 15px;
    gap: 12px;
}

.am-home-cta__new {
    min-width: 54px;
    min-height: 29px;
    padding: 0 10px;
    font-size: 12px;
}

.am-home-cta__divider {
    width: 1.5px;
    height: 28px;
    flex-basis: 1.5px;
}

.am-home-cta__label {
    font-size: 17px;
}

.am-home-cta__arrow {
    width: 19px;
    height: 19px;
    flex-basis: 19px;
}

/*
 * Three clean layers, matching the supplied Login reference:
 * dark outer stroke → white spacing → dark inner stroke → yellow face.
 */
.am-home-cta--login {
    min-width: 205px;
    min-height: 62px;
    padding: 4px;
    gap: 0;
    direction: ltr;
    color: #171717;
    border: 2px solid #303038;
    border-radius: 999px;
    background: #ffffff;
    box-shadow:
        0 11px 27px rgba(62,53,28,.10),
        0 2px 0 rgba(48,48,56,.05);
    overflow: visible;
}

.am-home-cta__login-inner {
    width: 100%;
    min-height: 50px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1.6px solid #303038;
    border-radius: 999px;
    color: #171717;
    background: linear-gradient(110deg, #fff0b1 0%, #f4d87b 100%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.62),
        inset 0 -1px 0 rgba(118,88,19,.08);
}

.am-home-cta--login:hover,
.am-home-cta--login:focus-visible {
    color: #171717;
    background: #ffffff;
    border-color: #202025;
    box-shadow:
        0 15px 34px rgba(62,53,28,.14),
        0 2px 0 rgba(48,48,56,.06);
}

.am-home-cta--login:hover .am-home-cta__login-inner,
.am-home-cta--login:focus-visible .am-home-cta__login-inner {
    border-color: #202025;
    background: linear-gradient(110deg, #fff3c1 0%, #f5db78 100%);
}

.am-home-cta__login-icon {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    display: grid;
    place-items: center;
    color: #202025;
}

.am-home-cta__login-icon svg {
    width: 31px;
    height: 31px;
    overflow: visible;
}

.am-home-cta__login-label {
    color: #171717;
    font-size: 16px;
    font-weight: 850;
    white-space: nowrap;
    direction: rtl;
}

@media (max-width: 980px) {
    .am-home-hero__actions--teacher {
        gap: 14px;
    }

    .am-home-cta--auto {
        width: 310px;
    }

    .am-home-cta--login {
        min-width: 194px;
    }
}

@media (max-width: 760px) {
    .am-home-hero__actions--teacher {
        width: min(100%, 370px);
        gap: 14px;
    }

    .am-home-cta--auto,
    .am-home-cta--login {
        width: 100%;
        max-width: 350px;
    }
}

@media (max-width: 480px) {
    .am-home-cta--auto {
        min-height: 60px;
    }

    .am-home-cta__auto-inner {
        min-height: 56px;
        padding-inline: 13px;
        gap: 9px;
    }

    .am-home-cta__new {
        min-width: 50px;
        min-height: 27px;
        padding-inline: 9px;
        font-size: 11px;
    }

    .am-home-cta__divider {
        height: 26px;
    }

    .am-home-cta__label {
        font-size: 15px;
    }

    .am-home-cta__arrow {
        width: 18px;
        height: 18px;
        flex-basis: 18px;
    }

    .am-home-cta--login {
        min-height: 58px;
        padding: 4px;
    }

    .am-home-cta__login-inner {
        min-height: 46px;
        padding-inline: 14px;
        gap: 9px;
    }

    .am-home-cta__login-icon,
    .am-home-cta__login-icon svg {
        width: 28px;
        height: 28px;
    }

    .am-home-cta__login-icon {
        flex-basis: 28px;
    }

    .am-home-cta__login-label {
        font-size: 15px;
    }
}

/* =====================================
   v3.4 Mobile-only hero cleanup
   - Prevent horizontal white-page scrolling
   - Keep teacher actions side by side
===================================== */

html,
body,
.am-site-body,
.am-site-main {
    max-width: 100%;
    overflow-x: hidden;
}

@supports (overflow: clip) {
    html,
    body,
    .am-site-body,
    .am-site-main,
    .am-home-hero {
        overflow-x: clip;
    }
}

.am-home-hero,
.am-home-hero__container,
.am-home-hero__content,
.am-home-hero__audience-panel {
    min-width: 0;
    max-width: 100%;
}

@media (max-width: 760px) {
    .am-home-hero__actions--teacher {
        width: min(100%, 420px);
        max-width: 100%;
        margin-inline: auto;
        display: grid;
        grid-template-columns: minmax(0, 1.42fr) minmax(0, .92fr);
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding-inline: 0;
    }

    .am-home-cta--auto,
    .am-home-cta--login {
        width: 100%;
        min-width: 0;
        max-width: none;
        margin: 0;
    }

    .am-home-cta--auto {
        min-height: 54px;
        padding: 2px;
        border-radius: 999px;
    }

    .am-home-cta__auto-inner {
        min-height: 50px;
        padding: 0 8px;
        gap: 6px;
    }

    .am-home-cta__new {
        min-width: 41px;
        min-height: 24px;
        padding-inline: 7px;
        font-size: 10px;
    }

    .am-home-cta__divider {
        width: 1px;
        height: 22px;
        flex-basis: 1px;
    }

    .am-home-cta__label {
        min-width: 0;
        font-size: 13px;
        line-height: 1;
    }

    .am-home-cta__arrow {
        width: 15px;
        height: 15px;
        flex-basis: 15px;
    }

    .am-home-cta--login {
        min-height: 54px;
        padding: 3px;
        border-width: 1.5px;
        border-radius: 999px;
        overflow: hidden;
        box-shadow:
            0 8px 20px rgba(62,53,28,.09),
            0 1px 0 rgba(48,48,56,.04);
    }

    .am-home-cta__login-inner {
        min-height: 46px;
        padding: 0 7px;
        gap: 5px;
        border-width: 1.25px;
    }

    .am-home-cta__login-icon,
    .am-home-cta__login-icon svg {
        width: 23px;
        height: 23px;
    }

    .am-home-cta__login-icon {
        flex-basis: 23px;
    }

    .am-home-cta__login-label {
        min-width: 0;
        font-size: 12.5px;
        line-height: 1;
        white-space: nowrap;
    }
}

@media (max-width: 360px) {
    .am-home-hero__actions--teacher {
        gap: 6px;
        grid-template-columns: minmax(0, 1.46fr) minmax(0, .9fr);
    }

    .am-home-cta__auto-inner {
        padding-inline: 6px;
        gap: 4px;
    }

    .am-home-cta__new {
        min-width: 37px;
        padding-inline: 5px;
        font-size: 9px;
    }

    .am-home-cta__label {
        font-size: 12px;
    }

    .am-home-cta__arrow {
        width: 14px;
        height: 14px;
        flex-basis: 14px;
    }

    .am-home-cta__login-inner {
        padding-inline: 5px;
        gap: 4px;
    }

    .am-home-cta__login-icon,
    .am-home-cta__login-icon svg {
        width: 21px;
        height: 21px;
    }

    .am-home-cta__login-icon {
        flex-basis: 21px;
    }

    .am-home-cta__login-label {
        font-size: 11.5px;
    }
}

/* =========================================================
   Logged-in panel button — animated Blocks icon
========================================================= */
.am-home-cta--panel .am-home-cta__login-icon {
    color: #19191d;
}

.am-blocks-icon {
    width: 30px;
    height: 30px;
    overflow: visible;
}

.am-blocks-icon__block {
    transform-box: fill-box;
    transform-origin: center;
}

.am-blocks-icon__path {
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
}

.am-home-cta--panel:hover .am-blocks-icon__block,
.am-home-cta--panel:focus-visible .am-blocks-icon__block,
.am-home-hero__primary--panel:hover .am-blocks-icon__block,
.am-home-hero__primary--panel:focus-visible .am-blocks-icon__block {
    animation: amBlocksBounce .5s ease-in-out;
}

.am-home-cta--panel:hover .am-blocks-icon__path,
.am-home-cta--panel:focus-visible .am-blocks-icon__path,
.am-home-hero__primary--panel:hover .am-blocks-icon__path,
.am-home-hero__primary--panel:focus-visible .am-blocks-icon__path {
    animation: amBlocksDraw .8s ease-in-out;
}

.am-home-hero__primary--panel {
    gap: 10px;
}

.am-blocks-icon--student {
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
}

@keyframes amBlocksBounce {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(5deg); }
}

@keyframes amBlocksDraw {
    0% {
        stroke-dashoffset: 1;
        opacity: .3;
    }
    100% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .am-blocks-icon__block,
    .am-blocks-icon__path {
        animation: none !important;
    }
}

/* =========================================================
   v3.7 Role-switch confirmation toast
========================================================= */
.am-toast-stack {
    position: fixed;
    z-index: 1000002;
    top: 16px;
    right: 16px;
    width: min(380px, calc(100% - 32px));
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.am-toast,
.am-toast * {
    box-sizing: border-box;
}

.am-toast {
    --am-toast-accent: #00ff88;
    position: relative;
    max-height: 240px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) 28px;
    align-items: start;
    gap: 10px;
    padding: 14px 14px 15px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    color: #fff;
    background: rgba(22,22,22,.95);
    box-shadow:
        0 8px 32px rgba(0,0,0,.4),
        inset 0 2px 8px rgba(0,0,0,.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    pointer-events: auto;
    direction: rtl;
    animation: amToastIn 350ms cubic-bezier(.21,1.02,.73,1) both;
}

.am-toast--warning {
    --am-toast-accent: #ffc700;
}

.am-toast--success {
    --am-toast-accent: #00ff88;
}

.am-toast.is-leaving {
    animation: amToastOut 300ms cubic-bezier(.33,0,.67,0) forwards;
}

.am-toast__icon {
    width: 20px;
    height: 20px;
    color: var(--am-toast-accent);
}

.am-toast__icon svg {
    display: block;
    width: 19px;
    height: 19px;
}

.am-toast__content {
    min-width: 0;
    text-align: right;
}

.am-toast__title {
    margin: 0;
    color: #fff;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.55;
}

.am-toast__message {
    margin: 4px 0 0;
    color: rgba(255,255,255,.68);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.85;
}

.am-toast__close {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    margin-top: -5px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    color: rgba(255,255,255,.62);
    background: transparent;
    font: inherit;
    font-size: 19px;
    cursor: pointer;
}

.am-toast__close:hover,
.am-toast__close:focus-visible {
    color: #fff;
    background: rgba(255,255,255,.08);
    outline: none;
}

.am-toast__actions {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
}

.am-toast__action {
    min-height: 34px;
    padding: 0 13px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 9px;
    color: rgba(255,255,255,.82);
    background: rgba(255,255,255,.06);
    font: inherit;
    font-size: 11.5px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 150ms ease, background 150ms ease, border-color 150ms ease;
}

.am-toast__action--primary {
    color: #1c1600;
    border-color: #ffc700;
    background: #ffc700;
}

.am-toast__action:hover:not(:disabled),
.am-toast__action:focus-visible {
    transform: translateY(-1px);
    outline: none;
}

.am-toast__action:not(.am-toast__action--primary):hover,
.am-toast__action:not(.am-toast__action--primary):focus-visible {
    border-color: rgba(255,255,255,.26);
    background: rgba(255,255,255,.1);
}

.am-toast__action:disabled {
    opacity: .62;
    cursor: wait;
}

.am-toast__progress {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--am-toast-accent);
    transform-origin: right center;
    animation: amToastProgress var(--am-toast-duration, 5000ms) linear forwards;
}

.am-toast:hover .am-toast__progress {
    animation-play-state: paused;
}

@keyframes amToastIn {
    from {
        opacity: 0;
        transform: translateX(100%) scale(.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes amToastOut {
    0% {
        opacity: 1;
        transform: translateX(0) scale(1);
        max-height: 240px;
        margin-bottom: 0;
    }
    72% {
        opacity: 0;
        transform: translateX(60%) scale(.9);
        max-height: 240px;
        margin-bottom: 0;
    }
    100% {
        opacity: 0;
        transform: translateX(60%) scale(.9);
        max-height: 0;
        margin-bottom: -10px;
        padding-block: 0;
        border-width: 0;
    }
}

@keyframes amToastProgress {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}

@media (max-width: 600px) {
    .am-toast-stack {
        top: 10px;
        right: 10px;
        left: 10px;
        width: auto;
    }

    .am-toast {
        grid-template-columns: 20px minmax(0, 1fr) 26px;
        padding: 13px 12px 14px;
    }

    .am-toast__actions {
        gap: 7px;
    }

    .am-toast__action {
        flex: 1 1 auto;
        min-height: 36px;
        padding-inline: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .am-toast,
    .am-toast__progress {
        animation: none !important;
        transition: none !important;
    }
}

/* =========================================================
   Interactive four-step journey — smooth interaction v4
========================================================= */

.am-home-journey,
.am-home-journey * {
    box-sizing: border-box;
}

.am-home-journey {
    position: relative;
    overflow: clip;
    padding: 84px 0 104px;
    color: #14203d;
    background:
        radial-gradient(circle at 85% 18%, rgba(50, 107, 255, .08), transparent 25%),
        radial-gradient(circle at 8% 80%, rgba(210, 164, 71, .10), transparent 24%),
        #ffffff;
    border-top: 1px solid rgba(220, 226, 239, .75);
}

.am-home-journey__container {
    width: min(100% - 48px, 1320px);
    margin-inline: auto;
}

.am-home-journey__header {
    max-width: 860px;
    margin: 0 0 54px auto;
    text-align: right;
}

.am-home-journey__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    color: #8a671e;
    background: rgba(210, 164, 71, .12);
    border: 1px solid rgba(210, 164, 71, .22);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.am-home-journey__title {
    max-width: 820px;
    margin: 16px 0 0;
    color: #101a34;
    font-size: clamp(34px, 4vw, 58px);
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: -.8px;
}

.am-home-journey__lead {
    max-width: 760px;
    margin: 18px 0 0;
    color: #69748f;
    font-size: 17px;
    font-weight: 500;
    line-height: 2;
}

.am-home-journey__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
    align-items: center;
    gap: clamp(42px, 6vw, 92px);
    direction: ltr;
}

.am-home-journey__steps,
.am-home-journey__media {
    direction: rtl;
}

.am-home-journey__steps {
    position: relative;
    display: grid;
    gap: 8px;
    padding-right: 54px;
}

.am-home-journey__steps::before {
    position: absolute;
    top: 30px;
    right: 20px;
    bottom: 30px;
    width: 2px;
    content: "";
    background: repeating-linear-gradient(
        to bottom,
        rgba(31, 40, 67, .55) 0 8px,
        transparent 8px 16px
    );
}

.am-home-journey__step {
    position: relative;
    width: 100%;
    padding: 18px 24px;
    border: 1px solid transparent;
    border-radius: 18px;
    color: #17223f;
    background: transparent;
    text-align: right;
    font: inherit;
    cursor: pointer;
    transform: translateZ(0);
    transition:
        background-color 260ms ease,
        border-color 260ms ease,
        box-shadow 320ms ease,
        transform 260ms cubic-bezier(.2, .8, .2, 1);
}

.am-home-journey__step:hover,
.am-home-journey__step:focus-visible {
    background: rgba(247, 249, 253, .9);
    outline: none;
}

.am-home-journey__step.is-active {
    background: rgba(255, 255, 255, .96);
    border-color: rgba(207, 214, 228, .92);
    box-shadow:
        0 18px 44px rgba(24, 46, 92, .07),
        inset 0 1px 0 rgba(255, 255, 255, .95);
    transform: translate3d(-2px, 0, 0);
}

.am-home-journey__marker {
    position: absolute;
    top: 18px;
    right: -54px;
    z-index: 2;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid #dfe4ed;
    border-radius: 50%;
    color: #17223f;
    background: #ffffff;
    box-shadow: 0 5px 14px rgba(24, 45, 89, .05);
    font-size: 15px;
    font-weight: 900;
    transform: translateZ(0) scale(1);
    transition:
        color 260ms ease,
        border-color 260ms ease,
        background-color 260ms ease,
        box-shadow 300ms ease,
        transform 360ms cubic-bezier(.2, .9, .2, 1.15);
}

.am-home-journey__step.is-active .am-home-journey__marker {
    color: #ffffff;
    border-color: #151a27;
    background: #151a27;
    box-shadow: 0 10px 20px rgba(15, 20, 34, .16);
    transform: translateZ(0) scale(1.06);
}

.am-home-journey__step-copy {
    display: block;
}

.am-home-journey__step-title {
    display: block;
    color: inherit;
    font-size: clamp(17px, 1.45vw, 22px);
    font-weight: 850;
    line-height: 1.65;
}

.am-home-journey__step-description {
    display: grid;
    grid-template-rows: 0fr;
    margin-top: 0;
    opacity: 0;
    transition:
        grid-template-rows 420ms cubic-bezier(.22, 1, .36, 1),
        margin-top 360ms cubic-bezier(.22, 1, .36, 1),
        opacity 220ms ease;
}

.am-home-journey__step-description-inner {
    min-height: 0;
    overflow: hidden;
    color: #5f6b86;
    font-size: 15px;
    font-weight: 500;
    line-height: 2;
    transform: translate3d(0, -7px, 0);
    transition: transform 420ms cubic-bezier(.22, 1, .36, 1);
}

.am-home-journey__step.is-active .am-home-journey__step-description {
    grid-template-rows: 1fr;
    margin-top: 10px;
    opacity: 1;
}

.am-home-journey__step.is-active .am-home-journey__step-description-inner {
    transform: translate3d(0, 0, 0);
}

.am-home-journey__media {
    min-width: 0;
    display: grid;
    isolation: isolate;
}

.am-home-journey__panel {
    grid-area: 1 / 1;
    margin: 0;
    outline: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(0, 16px, 0) scale(.992);
    transition:
        opacity 300ms ease,
        transform 460ms cubic-bezier(.22, 1, .36, 1),
        visibility 0s linear 460ms;
    will-change: opacity, transform;
}

.am-home-journey__panel.is-active {
    z-index: 2;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0) scale(1);
    transition-delay: 70ms, 70ms, 0s;
}

.am-home-journey__image-shell {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1.52 / 1;
    padding: 12px;
    border: 2px solid #181c28;
    border-radius: 22px;
    background: linear-gradient(145deg, #ffffff, #f4f6fb);
    box-shadow: 0 28px 70px rgba(25, 46, 91, .12);
    transform: translateZ(0);
}

.am-home-journey__image-shell::before {
    position: absolute;
    inset: 0;
    z-index: 1;
    content: "";
    pointer-events: none;
    background: linear-gradient(120deg, rgba(255,255,255,.28), transparent 34%);
}

.am-home-journey__image-shell img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    background: #f7f8fc;
}

.am-home-journey__panel figcaption {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 14px;
    color: #737e98;
    font-size: 13px;
    font-weight: 700;
}

.am-home-journey__panel figcaption span {
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: #1a2031;
    font-size: 11px;
}

@media (max-width: 1040px) {
    .am-home-journey {
        padding: 72px 0 88px;
    }

    .am-home-journey__container {
        width: min(100% - 32px, 1320px);
    }

    .am-home-journey__layout {
        grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
        gap: 34px;
    }

    .am-home-journey__steps {
        padding-right: 48px;
    }

    .am-home-journey__marker {
        right: -48px;
    }
}

@media (max-width: 820px) {
    .am-home-journey {
        padding: 62px 0 72px;
    }

    .am-home-journey__header {
        margin-bottom: 34px;
    }

    .am-home-journey__layout {
        grid-template-columns: 1fr;
        gap: 32px;
        direction: rtl;
    }

    .am-home-journey__media {
        order: 2;
    }

    .am-home-journey__steps {
        order: 1;
    }

    .am-home-journey__image-shell {
        max-height: 520px;
    }
}

@media (max-width: 560px) {
    .am-home-journey {
        padding: 50px 0 60px;
    }

    .am-home-journey__container {
        width: calc(100% - 24px);
    }

    .am-home-journey__title {
        font-size: 31px;
        line-height: 1.5;
    }

    .am-home-journey__lead {
        font-size: 15px;
    }

    .am-home-journey__steps {
        padding-right: 40px;
    }

    .am-home-journey__steps::before {
        right: 17px;
    }

    .am-home-journey__step {
        padding: 15px 14px;
        border-radius: 15px;
    }

    .am-home-journey__marker {
        top: 14px;
        right: -40px;
        width: 35px;
        height: 35px;
        font-size: 13px;
    }

    .am-home-journey__step-title {
        font-size: 16px;
        line-height: 1.8;
    }

    .am-home-journey__step-description-inner {
        font-size: 14px;
        line-height: 1.95;
    }

    .am-home-journey__image-shell {
        padding: 8px;
        border-width: 1.5px;
        border-radius: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .am-home-journey__step,
    .am-home-journey__marker,
    .am-home-journey__step-description,
    .am-home-journey__step-description-inner,
    .am-home-journey__panel {
        transition: none !important;
    }
}
/* =========================================
   Footer
========================================= */

.am-site-footer,
.am-site-footer * {
    box-sizing: border-box;
}

.am-site-footer {
    position: relative;
    overflow: hidden;
    margin-top: 56px;
    padding: 34px 0 22px;
    background:
        radial-gradient(circle at 15% 10%, rgba(50, 107, 255, 0.08), transparent 28%),
        radial-gradient(circle at 88% 15%, rgba(128, 84, 239, 0.08), transparent 28%),
        linear-gradient(180deg, #f8faff 0%, #f3f6fc 100%);
    border-top: 1px solid rgba(220, 227, 240, 0.95);
}

.am-site-footer__glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(56px);
    pointer-events: none;
    opacity: 0.55;
}

.am-site-footer__glow--one {
    top: 20px;
    right: 8%;
    width: 220px;
    height: 220px;
    background: rgba(70, 126, 255, 0.14);
}

.am-site-footer__glow--two {
    bottom: 10px;
    left: 10%;
    width: 200px;
    height: 200px;
    background: rgba(141, 92, 240, 0.12);
}

.am-site-footer__container {
    position: relative;
    z-index: 2;
    width: min(100% - 48px, 1320px);
    margin-inline: auto;
}

.am-site-footer__top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 18px;
}

.am-site-footer__brand-card,
.am-site-footer__links-card,
.am-site-footer__enamad-card {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(220, 227, 240, 0.95);
    border-radius: 24px;
    box-shadow:
        0 16px 34px rgba(28, 53, 108, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.am-site-footer__brand-card {
    padding: 24px;
}

.am-site-footer__brand-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.am-site-footer__brand-icon {
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    display: grid;
    place-items: center;
    color: #ffffff;
    border-radius: 18px;
    background: linear-gradient(140deg, #c2972f, #e1b74d);
    box-shadow:
        0 14px 28px rgba(195, 151, 47, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.am-site-footer__brand-icon svg {
    width: 30px;
    height: 30px;
}

.am-site-footer__brand-meta h3 {
    margin: 0 0 6px;
    color: #17254a;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.2;
}

.am-site-footer__brand-meta p {
    margin: 0;
    color: #7180a0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.8;
}

.am-site-footer__brand-text {
    margin: 0;
    color: #5f6f8f;
    font-size: 15px;
    font-weight: 500;
    line-height: 2;
}

.am-site-footer__links-card {
    padding: 24px 22px;
}

.am-site-footer__links-card h4,
.am-site-footer__trust-content h4,
.am-site-footer__enamad-title {
    margin: 0 0 16px;
    color: #17254a;
    font-size: 17px;
    font-weight: 850;
    line-height: 1.4;
}

.am-site-footer__links-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.am-site-footer__links-card li {
    margin: 0;
}

.am-site-footer__links-card a,
.am-site-footer__bottom-links a {
    color: #596987;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.9;
    text-decoration: none;
    transition:
        color 180ms ease,
        transform 180ms ease;
}

.am-site-footer__links-card a:hover,
.am-site-footer__links-card a:focus-visible,
.am-site-footer__bottom-links a:hover,
.am-site-footer__bottom-links a:focus-visible {
    color: #326bff;
    transform: translateX(-2px);
    outline: none;
}

.am-site-footer__trust-row {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 1.35fr 0.95fr;
    gap: 18px;
    align-items: stretch;
}

.am-site-footer__trust-content {
    padding: 24px 26px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(220, 227, 240, 0.95);
    border-radius: 24px;
    box-shadow:
        0 16px 34px rgba(28, 53, 108, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.am-site-footer__trust-content p {
    margin: 0;
    color: #60708e;
    font-size: 15px;
    font-weight: 500;
    line-height: 2;
}

.am-site-footer__enamad-card {
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.am-site-footer__enamad-title {
    margin-bottom: 14px;
    text-align: center;
}

.am-site-footer__enamad-badge {
    width: 100%;
    min-height: 132px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    border: 1px dashed rgba(210, 219, 236, 0.95);
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.am-site-footer__enamad-badge a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.am-site-footer__enamad-badge img {
    display: block;
    max-width: 132px;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.am-site-footer__bottom {
    margin-top: 18px;
    padding: 16px 4px 0;
    border-top: 1px solid rgba(218, 226, 239, 0.9);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.am-site-footer__bottom p {
    margin: 0;
    color: #73809a;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.9;
}

.am-site-footer__bottom-links {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

/* Responsive */

@media (max-width: 1100px) {
    .am-site-footer__top {
        grid-template-columns: 1fr 1fr;
    }

    .am-site-footer__trust-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .am-site-footer {
        margin-top: 40px;
        padding-top: 24px;
    }

    .am-site-footer__container {
        width: calc(100% - 24px);
    }

    .am-site-footer__top {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .am-site-footer__brand-card,
    .am-site-footer__links-card,
    .am-site-footer__trust-content,
    .am-site-footer__enamad-card {
        border-radius: 20px;
    }

    .am-site-footer__brand-card,
    .am-site-footer__links-card,
    .am-site-footer__trust-content,
    .am-site-footer__enamad-card {
        padding: 20px;
    }

    .am-site-footer__brand-meta h3 {
        font-size: 20px;
    }

    .am-site-footer__brand-text,
    .am-site-footer__trust-content p,
    .am-site-footer__links-card a {
        font-size: 14px;
    }

    .am-site-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .am-site-footer__bottom-links {
        gap: 14px;
    }

    .am-site-footer__enamad-badge img {
        max-width: 120px;
    }
}
/* =====================================
   v4.4 Social proof + closing CTA
   Localized candy-sky system above footer
===================================== */
.am-home-trust,
.am-home-trust * {
    box-sizing: border-box;
}

.am-home-trust {
    --am-trust-ink: #11152a;
    --am-trust-muted: #68748e;
    --am-trust-gold: #e5b84e;
    --am-trust-gold-dark: #8f6512;
    --am-trust-cyan: #48cce9;
    --am-trust-pink: #ef67b6;
    position: relative;
    direction: rtl;
    background: #fbfaff;
    color: var(--am-trust-ink);
}

.am-home-trust__container {
    width: min(100% - 48px, 1180px);
    margin-inline: auto;
}

.am-home-trust__proof-band,
.am-home-trust__cta-band {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 12%, rgba(255,255,255,.82), transparent 22%),
        radial-gradient(circle at 86% 8%, rgba(255,255,255,.68), transparent 24%),
        linear-gradient(180deg, #75e6ff 0%, #d9f6ff 22%, #fff0f0 43%, #fef0ff 60%, #eeebff 76%, #ffffff 100%);
}

.am-home-trust__proof-band {
    min-height: 520px;
    padding: 92px 0 112px;
}

.am-home-trust__sky-orb {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    opacity: .62;
    filter: blur(2px);
}

.am-home-trust__sky-orb--one {
    width: 210px;
    height: 210px;
    top: 42px;
    right: 7%;
    background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.92), rgba(255,216,239,.62) 42%, rgba(255,216,239,0) 72%);
}

.am-home-trust__sky-orb--two {
    width: 260px;
    height: 260px;
    bottom: 40px;
    left: 4%;
    background: radial-gradient(circle at 45% 38%, rgba(255,255,255,.86), rgba(174,229,255,.58) 46%, rgba(174,229,255,0) 72%);
}

.am-home-trust__proof-inner {
    position: relative;
    z-index: 2;
    text-align: center;
}

.am-home-trust__eyebrow,
.am-home-trust__cta-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 15px;
    border-radius: 999px;
    color: #664607;
    background:
        linear-gradient(180deg, rgba(255,255,255,.62), rgba(255,255,255,0) 54%),
        linear-gradient(120deg, #ffe89f, #f4c959);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.78),
        0 9px 22px rgba(196,143,28,.16);
    font-size: 13px;
    font-weight: 900;
}

.am-home-trust__title {
    max-width: 880px;
    margin: 22px auto 0;
    color: var(--am-trust-ink);
    font-size: clamp(40px, 5.2vw, 70px);
    font-weight: 950;
    line-height: 1.2;
    letter-spacing: -.8px;
}

.am-home-trust__lead {
    max-width: 780px;
    margin: 22px auto 0;
    color: #55627c;
    font-size: clamp(17px, 1.7vw, 21px);
    font-weight: 600;
    line-height: 2;
}

.am-home-trust__role-cluster {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    direction: ltr;
}

.am-home-trust__role-avatar {
    width: 54px;
    height: 54px;
    margin-left: -12px;
    display: grid;
    place-items: center;
    border: 4px solid rgba(255,255,255,.95);
    border-radius: 50%;
    color: #2b3654;
    background:
        linear-gradient(180deg, rgba(255,255,255,.8), rgba(255,255,255,0) 52%),
        linear-gradient(145deg, #fff2bd, #ccefff);
    box-shadow: 0 11px 24px rgba(44,72,126,.13);
    transform: translateY(calc((var(--am-role-index) % 2) * 4px));
}

.am-home-trust__role-avatar:nth-child(2n) {
    background:
        linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,0) 52%),
        linear-gradient(145deg, #ffdff0, #dfd7ff);
}

.am-home-trust__role-avatar svg,
.am-home-trust__promise svg,
.am-home-trust__card-icon svg,
.am-home-trust__cta svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.am-home-trust__role-avatar svg {
    width: 24px;
    height: 24px;
}

.am-home-trust__promise {
    margin-top: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.am-home-trust__promise span {
    min-height: 36px;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(255,255,255,.78);
    border-radius: 999px;
    color: #40506f;
    background: rgba(255,255,255,.64);
    box-shadow: 0 7px 18px rgba(52,74,121,.07), inset 0 1px 0 rgba(255,255,255,.88);
    font-size: 13px;
    font-weight: 800;
}

.am-home-trust__promise svg {
    width: 17px;
    height: 17px;
    color: #1ca970;
}

.am-home-trust__cloud-divider {
    position: absolute;
    right: 0;
    bottom: -1px;
    width: 100%;
    height: 150px;
    display: block;
}

.am-home-trust__modules {
    position: relative;
    z-index: 2;
    padding: 24px 0 42px;
    background: #fff;
    text-align: center;
}

.am-home-trust__modules-label {
    margin: 0 0 24px;
    color: #8a94aa;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .06em;
}

.am-home-trust__wordmarks {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
    gap: 22px;
}

.am-home-trust__wordmark {
    min-width: 0;
    color: #33405b;
    opacity: .48;
    filter: grayscale(1);
    transition: opacity .2s ease, filter .2s ease, transform .2s ease, color .2s ease;
    white-space: nowrap;
}

.am-home-trust__wordmark:hover {
    opacity: 1;
    filter: none;
    transform: translateY(-2px);
    color: #17254a;
}

.am-home-trust__wordmark--builder { font-size: 24px; font-weight: 950; }
.am-home-trust__wordmark--bank { font-size: 21px; font-weight: 700; letter-spacing: .02em; }
.am-home-trust__wordmark--publish { font-size: 25px; font-weight: 900; font-style: italic; }
.am-home-trust__wordmark--classes { font-size: 20px; font-weight: 850; letter-spacing: .1em; }
.am-home-trust__wordmark--analytics { font-size: 23px; font-weight: 950; }

.am-home-trust__wall {
    padding: 76px 0 84px;
    background:
        radial-gradient(circle at 12% 15%, rgba(117,230,255,.1), transparent 24%),
        radial-gradient(circle at 88% 70%, rgba(239,103,182,.06), transparent 23%),
        #fbfaff;
}

.am-home-trust__wall-header {
    max-width: 780px;
    margin: 0 auto 36px;
    text-align: center;
}

.am-home-trust__wall-header span {
    color: #a57917;
    font-size: 14px;
    font-weight: 900;
}

.am-home-trust__wall-header h3 {
    margin: 10px 0 0;
    color: var(--am-trust-ink);
    font-size: clamp(28px, 3.2vw, 46px);
    font-weight: 950;
    line-height: 1.45;
}

.am-home-trust__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.am-home-trust__card {
    position: relative;
    min-width: 0;
    min-height: 250px;
    padding: 26px;
    overflow: hidden;
    border: 1px solid rgba(218,225,239,.92);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(31,49,92,.07), inset 0 1px 0 rgba(255,255,255,.9);
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .5s cubic-bezier(.2,.7,.2,1), transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .2s ease, border-color .2s ease;
    transition-delay: calc(var(--am-card-index, 0) * 55ms);
}

.am-home-trust__card.is-visible,
.am-home-trust__cta-inner.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.am-home-trust__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 52px rgba(31,49,92,.1), inset 0 1px 0 rgba(255,255,255,.9);
}

.am-home-trust__card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(160deg, rgba(255,255,255,.62), rgba(255,255,255,0) 33%);
}

.am-home-trust__card--gold {
    border-top: 4px solid #e7b946;
}

.am-home-trust__card--cyan {
    background:
        linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,0) 34%),
        linear-gradient(145deg, #ffffff, #eefcff);
}

.am-home-trust__card--pink {
    background:
        linear-gradient(180deg, rgba(255,255,255,.8), rgba(255,255,255,0) 34%),
        linear-gradient(145deg, #ffffff, #fff2fa);
}

.am-home-trust__card--spotlight {
    grid-column: span 2;
    background:
        radial-gradient(circle at 12% 10%, rgba(255,255,255,.82), transparent 26%),
        linear-gradient(135deg, #fff3cf, #f6edff 55%, #eafaff);
}

.am-home-trust__card--spotlight::before {
    content: "“";
    position: absolute;
    left: 26px;
    bottom: -42px;
    color: #ef67b6;
    font-family: Georgia, serif;
    font-size: 180px;
    font-weight: 900;
    line-height: 1;
    opacity: .16;
}

.am-home-trust__card-icon {
    position: relative;
    z-index: 1;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: #7d5b13;
    background:
        linear-gradient(180deg, rgba(255,255,255,.76), rgba(255,255,255,0) 55%),
        linear-gradient(145deg, #ffeeb0, #efc75c);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.82), 0 11px 24px rgba(209,157,39,.16);
}

.am-home-trust__card:nth-child(3n+2) .am-home-trust__card-icon {
    color: #15738a;
    background:
        linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,0) 55%),
        linear-gradient(145deg, #c9f6ff, #70d9ee);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.82), 0 11px 24px rgba(72,204,233,.17);
}

.am-home-trust__card:nth-child(3n) .am-home-trust__card-icon {
    color: #9a3172;
    background:
        linear-gradient(180deg, rgba(255,255,255,.76), rgba(255,255,255,0) 55%),
        linear-gradient(145deg, #ffd4ee, #f38bc7);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.82), 0 11px 24px rgba(239,103,182,.16);
}

.am-home-trust__card-icon svg {
    width: 26px;
    height: 26px;
}

.am-home-trust__card h4 {
    position: relative;
    z-index: 1;
    margin: 20px 0 0;
    color: #17213d;
    font-size: 21px;
    font-weight: 950;
    line-height: 1.55;
}

.am-home-trust__card p {
    position: relative;
    z-index: 1;
    margin: 12px 0 0;
    color: #64708b;
    font-size: 15px;
    font-weight: 550;
    line-height: 2;
}

.am-home-trust__card--testimonial blockquote {
    position: relative;
    z-index: 1;
    margin: 18px 0 24px;
    color: #2a3552;
    font-size: 16px;
    font-weight: 650;
    line-height: 2;
}

.am-home-trust__card--testimonial footer {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 5px;
}

.am-home-trust__card--testimonial footer strong {
    color: #17213d;
    font-size: 15px;
    font-weight: 900;
}

.am-home-trust__card--testimonial footer span {
    color: #7a849b;
    font-size: 13px;
    font-weight: 650;
}

.am-home-trust__stars {
    position: relative;
    z-index: 1;
    color: #e1a824;
    letter-spacing: .08em;
    direction: ltr;
}

.am-home-trust__verified {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    min-height: 30px;
    padding: 0 11px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    color: #8e2764;
    background:
        linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,0) 55%),
        linear-gradient(145deg, #ffd2eb, #f185c3);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 8px 18px rgba(239,103,182,.15);
    font-size: 11px;
    font-weight: 900;
}

.am-home-trust__honesty-note {
    max-width: 760px;
    margin: 24px auto 0;
    color: #7b859b;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.9;
    text-align: center;
}

.am-home-trust__cta-band {
    padding: 92px 0 96px;
}

.am-home-trust__cta-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .55s cubic-bezier(.2,.7,.2,1), transform .55s cubic-bezier(.2,.7,.2,1);
}

.am-home-trust__cta-inner h3 {
    max-width: 760px;
    margin: 20px auto 0;
    color: var(--am-trust-ink);
    font-size: clamp(36px, 4.8vw, 64px);
    font-weight: 950;
    line-height: 1.3;
}

.am-home-trust__cta-inner p {
    max-width: 720px;
    margin: 18px auto 0;
    color: #56627b;
    font-size: 18px;
    font-weight: 650;
    line-height: 2;
}

.am-home-trust__cta {
    position: relative;
    min-width: 265px;
    min-height: 68px;
    margin-top: 28px;
    padding: 0 29px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    overflow: hidden;
    border: 1px solid rgba(137,92,6,.24);
    border-radius: 999px;
    color: #fff;
    background:
        linear-gradient(180deg, rgba(255,255,255,.58), rgba(255,255,255,0) 46%),
        linear-gradient(115deg, #efbd45, #c98a16);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.74),
        0 16px 0 rgba(151,100,7,.16),
        0 26px 40px rgba(201,138,22,.24);
    font-size: 17px;
    font-weight: 950;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.am-home-trust__cta::before {
    content: "";
    position: absolute;
    top: 7px;
    right: 15%;
    width: 70%;
    height: 18px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255,255,255,.52), rgba(255,255,255,0));
    pointer-events: none;
}

.am-home-trust__cta span,
.am-home-trust__cta svg {
    position: relative;
    z-index: 1;
}

.am-home-trust__cta svg {
    width: 22px;
    height: 22px;
    transition: transform .18s ease;
}

.am-home-trust__cta:hover,
.am-home-trust__cta:focus-visible {
    color: #fff;
    transform: translateY(-3px);
    filter: saturate(1.06);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.78),
        0 18px 0 rgba(151,100,7,.14),
        0 31px 46px rgba(201,138,22,.3);
    outline: 2px solid #fff;
    outline-offset: 4px;
}

.am-home-trust__cta:hover svg,
.am-home-trust__cta:focus-visible svg {
    transform: translateX(4px);
}

@media (max-width: 980px) {
    .am-home-trust__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .am-home-trust__card--spotlight {
        grid-column: span 2;
    }

    .am-home-trust__wordmarks {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 28px;
    }
}

@media (max-width: 680px) {
    .am-home-trust__container {
        width: calc(100% - 24px);
    }

    .am-home-trust__proof-band {
        min-height: 460px;
        padding: 68px 0 100px;
    }

    .am-home-trust__title {
        font-size: clamp(34px, 11vw, 48px);
        letter-spacing: -.4px;
    }

    .am-home-trust__lead {
        font-size: 16px;
        line-height: 1.95;
    }

    .am-home-trust__role-avatar {
        width: 48px;
        height: 48px;
        margin-left: -10px;
    }

    .am-home-trust__role-avatar svg {
        width: 21px;
        height: 21px;
    }

    .am-home-trust__promise {
        gap: 7px;
    }

    .am-home-trust__promise span {
        min-height: 33px;
        padding-inline: 10px;
        font-size: 11px;
    }

    .am-home-trust__cloud-divider {
        height: 105px;
    }

    .am-home-trust__modules {
        padding-bottom: 34px;
    }

    .am-home-trust__wordmarks {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 14px;
    }

    .am-home-trust__wordmark:last-child {
        grid-column: 1 / -1;
    }

    .am-home-trust__wall {
        padding: 58px 0 62px;
    }

    .am-home-trust__wall-header {
        margin-bottom: 28px;
    }

    .am-home-trust__wall-header h3 {
        font-size: 28px;
    }

    .am-home-trust__cards {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .am-home-trust__card,
    .am-home-trust__card--spotlight {
        grid-column: auto;
        min-height: 0;
        padding: 22px;
        border-radius: 22px;
    }

    .am-home-trust__card h4 {
        font-size: 19px;
    }

    .am-home-trust__cta-band {
        padding: 70px 0 76px;
    }

    .am-home-trust__cta-inner h3 {
        font-size: 35px;
    }

    .am-home-trust__cta-inner p {
        font-size: 16px;
    }

    .am-home-trust__cta {
        width: 100%;
        min-width: 0;
        max-width: 380px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .am-home-trust__card,
    .am-home-trust__cta-inner,
    .am-home-trust__wordmark,
    .am-home-trust__cta,
    .am-home-trust__cta svg {
        transition-duration: .01ms !important;
        animation: none !important;
    }

    .am-home-trust__card {
        opacity: 1;
        transform: none;
    }
}
