.site-masthead {
    background: #0d1118;
    color: #f4f1ea;
    border-bottom: 1px solid #252934;
    box-shadow: none;
}
.site-masthead [aria-current="page"] {
    background: #292e38;
    color: #fff;
}
.crm-hero {
    background: radial-gradient(ellipse at 78% 42%, #233449 0%, #111a27 36%, transparent 66%), #0c1016;
    color: #f4f1ea;
    padding-top: 72px;
    scroll-margin-top: 0;
}
.crm-hero-layout {
    width: min(1360px, calc(100% - 96px));
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, .79fr) minmax(0, 1.21fr);
    align-items: center;
    gap: clamp(28px, 3.3vw, 50px);
    min-height: 650px;
    padding-block: 72px;
}
.crm-hero-kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #e7c58e;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.crm-hero-kicker::before { content: ""; width: 29px; height: 1px; background: #c7a472; }
.crm-hero h1 {
    font: 400 clamp(38px, 4.3vw, 73px)/1.06 Georgia, serif;
    letter-spacing: -.05em;
    margin-block: 23px;
}
.crm-hero h1 em { color: #edcd98; font-style: normal; }
.crm-hero-intro { color: #c1c7d1; max-width: 430px; line-height: 1.75; margin-bottom: 28px; }
.crm-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.crm-hero-actions a {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 13px 18px;
    border: 1px solid transparent;
    border-radius: 7px;
    background: #e7c58e;
    color: #1a1510;
    font-weight: 700;
}
.crm-hero-actions a + a { background: #181e28; border-color: #393f49; color: #eeeff3; }
.crm-hero a:focus-visible { outline: 2px solid #e7c58e; outline-offset: 4px; }
.crm-hero-window {
    display: block;
    overflow: hidden;
    border: 1px solid #536070;
    border-radius: 15px;
    background: #1b2330;
    box-shadow: 0 28px 70px #0009, 0 0 0 6px #a8bde90a;
}
.crm-hero-window:hover { border-color: #ad936d; }
.crm-hero-window img { display: block; width: 100%; height: auto; }
@media (max-width: 1023px) {
    .crm-hero { padding-top: 64px; }
    .crm-hero-layout { grid-template-columns: minmax(0, 1fr); min-height: auto; padding-block: 48px; }
    .crm-hero h1 { font-size: clamp(38px, 7vw, 60px); }
}
@media (max-width: 560px) {
    .crm-hero-layout { width: calc(100% - 36px); }
}

.crm-hero {
    position: relative;
    isolation: isolate;
    overflow: clip;
}
.crm-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -20% -12%;
    pointer-events: none;
    background: radial-gradient(ellipse at 74% 37%, #42689055, transparent 42%);
    transform: translateY(calc(var(--hero-depth, 0px) * .42));
}
.crm-hero-stage {
    min-width: 0;
    perspective: 1400px;
    transform: translateY(calc(var(--hero-depth, 0px) * .17));
}
.crm-hero-stage .crm-hero-window {
    transform: rotateX(var(--tilt-x, 1.5deg)) rotateY(var(--tilt-y, -3deg));
    transition: transform 380ms cubic-bezier(.2,.75,.25,1), border-color 250ms;
}
.crm-hero-stage:hover .crm-hero-window { transition-duration: 140ms, 250ms; }
.scroll-motion {
    translate: 0 var(--scroll-offset, 0px);
    opacity: var(--scroll-opacity, 1);
}
.scroll-motion:focus-within { translate: none; opacity: 1; }
.marketing-wrap { width: min(1380px, calc(100% - 80px)); margin-inline: auto; }
.crm-explainer, .commerce-showcase { padding-block: clamp(58px, 8vw, 120px); scroll-margin-top: 72px; }
.crm-explainer { background: #f8f5ef; color: #191b22; }
.marketing-label { color: #785b33; letter-spacing: .14em; text-transform: uppercase; font-size: .76rem; font-weight: 750; }
.marketing-wrap h2 { max-width: 880px; margin-block: 12px 19px; font: 400 clamp(2rem, 4.1vw, 4rem)/1.06 Georgia, serif; letter-spacing: -.035em; }
.marketing-intro { max-width: 680px; font-size: 1.05rem; line-height: 1.65; margin-bottom: 24px; }
.marketing-button { display: inline-flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 7px; background: #e7c58e; color: #14171e; font-weight: 700; }
.marketing-button:hover { background: #f5d9aa; }
.commerce-showcase { background: #101823; color: #f5f1eb; }
.commerce-showcase .marketing-label { color: #e7c58e; }
.commerce-showcase .marketing-intro, .commerce-details p { color: #c0cad8; }
.commerce-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: start; gap: clamp(24px, 4vw, 60px); margin-top: 36px; }
.store-preview { overflow: hidden; color: #24211d; background: #f8f5ef; border: 1px solid #657182; border-radius: 14px; box-shadow: 0 24px 60px #0005; }
.store-preview-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 20px; border-bottom: 1px solid #ded8ce; }
.store-preview-top strong { font: 500 17px Georgia, serif; letter-spacing: .23em; }
.store-preview-top span { color: #685749; font-size: .77rem; }
.store-campaign { min-height: clamp(180px, 22vw, 310px); display: flex; align-items: center; padding: clamp(20px, 4vw, 44px); color: #fff7eb; background: linear-gradient(90deg,#171414ed 0%,#171414b5 45%,#17141418 100%), url("../images/file_wqgNQvkx35ZJHdTGWH27x1Wb.jpg") right 42% / cover; }
.store-campaign span { color: #f0d09a; font-size: .65rem; letter-spacing: .16em; }
.store-campaign h3 { font: 400 clamp(1.7rem, 3.3vw, 3.3rem)/1.1 Georgia, serif; margin-block: 10px 14px; }
.store-campaign a { display: inline-flex; align-items: center; gap: 8px; border-bottom: 1px solid #e9c48a; padding-block: 5px; }
#store-collection { scroll-margin-top: 80px; }
.store-catalog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #ded8ce; }
.store-catalog img { aspect-ratio: 1.3; }
.commerce-details { border: 1px solid #364454; background: #192331; padding: clamp(18px, 3vw, 30px); border-radius: 14px; }
.commerce-details h3 { font: 400 clamp(1.45rem, 2.2vw, 2rem)/1.2 Georgia, serif; margin-bottom: 18px; }
.commerce-details li { display: flex; gap: 13px; align-items: baseline; padding-block: 12px; border-top: 1px solid #3b4959; }
.commerce-details li i { color: #e7c58e; }
.commerce-details p { margin-top: 4px; font-size: .9rem; }
.commerce-details .marketing-button { margin-top: 14px; }
.commerce-admin-link { display: block; margin-top: 15px; color: #e7c58e; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 900px) {
    .commerce-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
    .marketing-wrap { width: calc(100% - 36px); }
    .store-catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .crm-hero-stage, .crm-hero::before { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .crm-hero-stage, .crm-hero-stage .crm-hero-window, .crm-hero::before { transform: none; }
    .scroll-motion { translate: none; opacity: 1; }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .crm-hero-stage:not(:hover):not(:focus-within) .crm-hero-window img {
        animation: crm-hero-idle 8s ease-in-out infinite alternate;
    }
    @keyframes crm-hero-idle {
        from { transform: scale(1); }
        to { transform: scale(1.022); }
    }
}

.crm-explainer {
    background: radial-gradient(ellipse at 92% 12%, #e8dfcf, transparent 48%), #f8f5ef;
}
.crm-explainer-lead {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(24px, 4vw, 60px);
}
.crm-explainer-lead .marketing-intro { color: #4c5058; }
.crm-explainer-sectors { display: flex; align-items: baseline; gap: 10px; font-size: .85rem; color: #624b32; }
.crm-explainer-screen {
    overflow: hidden;
    padding: 7px;
    border: 1px solid #566171;
    border-radius: 14px;
    background: linear-gradient(145deg, #3b4655, #18212d 55%, #292621);
    box-shadow: 0 24px 48px -18px #151b2577, 0 0 0 5px #89795519;
}
.crm-explainer-screen a { position: relative; display: block; overflow: hidden; border-radius: 8px; }
.crm-explainer-screen a:focus-visible { outline: 2px solid #e7c58e; outline-offset: 2px; }
.crm-explainer-screen img { display: block; width: 100%; height: auto; }
.crm-screen-expand {
    position: absolute;
    right: 9px;
    bottom: 9px;
    padding: 7px 10px;
    border: 1px solid #ffffff44;
    border-radius: 6px;
    background: #101823;
    color: #fff7e9;
    font-size: .75rem;
}
.crm-screen-expand i { margin-right: 4px; }
@media (hover: hover) {
    .crm-screen-expand { opacity: 0; transition: opacity 180ms ease; }
    .crm-explainer-screen a:hover .crm-screen-expand,
    .crm-explainer-screen a:focus-visible .crm-screen-expand { opacity: 1; }
}
.crm-outcomes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-block: 36px 18px;
}
.crm-outcomes article {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(18px, 2.3vw, 30px);
    border: 1px solid #ddd3c5;
    border-radius: 12px;
    background: #fffdfa;
}
.crm-outcomes article > i { color: #785b33; font-size: 1.4rem; }
.crm-outcomes h3 { font: 400 1.5rem/1.18 Georgia, serif; margin-block: 15px 10px; }
.crm-outcomes p { color: #4c5058; margin-bottom: 14px; }
.crm-outcomes a, .crm-explainer-actions > a:last-child {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
    padding-block: 7px;
    color: #654923;
    font-size: .85rem;
    font-weight: 700;
}
.crm-outcomes a:hover, .crm-explainer-actions > a:last-child:hover { text-decoration: underline; }
.crm-example {
    padding: clamp(20px, 3vw, 36px);
    color: #f5f1eb;
    background: linear-gradient(112deg, #141c27, #243143);
    border-radius: 12px;
}
.crm-example .marketing-label { color: #e7c58e; }
.crm-example-heading { font: 400 clamp(1.5rem, 2.6vw, 2.2rem)/1.15 Georgia, serif; margin-top: 8px; }
.crm-example ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.crm-example li { display: flex; gap: 10px; border-top: 1px solid #ffffff37; padding-top: 14px; }
.crm-example li span { color: #e7c58e; font-size: .82rem; font-weight: 700; }
.crm-example li p { color: #d5dce6; font-size: .88rem; }
.crm-example li strong { display: block; color: #fffaf2; margin-bottom: 4px; }
.crm-explainer-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 22px; }
.crm-explainer-actions > a:last-child { margin-top: 0; }
@media (max-width: 900px) {
    .crm-explainer-lead { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
    .crm-outcomes, .crm-example ol { grid-template-columns: 1fr; }
}

.everlink-wordmark {
    display: block;
    width: 210px;
    max-width: 100%;
    height: auto;
}

@media (min-width: 1200px) {
    .site-masthead > div { height: 92px; }
    .crm-hero { padding-top: 92px; }
    main section[id]:not(#top), #store-collection { scroll-margin-top: 100px; }
}

@media (max-width: 1199px) {
    .site-masthead .everlink-wordmark { width: 210px; }
}

@media (max-width: 640px) {
    .site-masthead .everlink-wordmark { width: 156px; }
}
