:root {
    --ed-milk: #f2efe6;
    --ed-paper: #fbfaf6;
    --ed-ink: #11120f;
    --ed-muted: #67685f;
    --ed-line: rgba(17, 18, 15, 0.18);
    --ed-lime: #c8ff34;
    --ed-blue: #1667ff;
    --ed-dark: #111310;
    --ed-dark-soft: #1b1d18;
    --ed-red: #d75950;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 76px;
}

body.stom-editorial {
    min-width: 0;
    overflow-x: hidden !important;
    margin: 0;
    color: var(--ed-ink) !important;
    background: var(--ed-milk) !important;
    font-family: "Manrope", sans-serif !important;
}

body.stom-editorial #site-content {
    display: none !important;
}

body.stom-editorial #canvas-container,
body.stom-editorial #bg-canvas {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

body.stom-editorial *,
body.stom-editorial *::before,
body.stom-editorial *::after {
    box-sizing: border-box;
}

body.stom-editorial a {
    color: inherit;
    text-decoration: none;
}

body.stom-editorial button,
body.stom-editorial input,
body.stom-editorial textarea {
    font: inherit;
}

body.stom-editorial img,
body.stom-editorial svg {
    display: block;
    max-width: 100%;
}

body.stom-editorial::selection {
    color: var(--ed-ink);
    background: var(--ed-lime);
}

.sd-shell,
body.stom-editorial .container {
    width: min(1320px, calc(100% - 48px));
    max-width: 1320px !important;
    margin-inline: auto;
}

.sd-main {
    position: relative;
    z-index: 1;
    min-width: 0;
    overflow: clip;
    background: var(--ed-milk);
}

.sd-display {
    margin: 0;
    font-size: clamp(58px, 7.4vw, 116px);
    font-weight: 650;
    letter-spacing: -0.075em;
    line-height: 0.91;
}

.sd-display em {
    color: var(--ed-blue);
    font-family: "DM Serif Display", serif;
    font-weight: 400;
    letter-spacing: -0.035em;
}

.sd-meta {
    display: flex;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--ed-ink);
    justify-content: space-between;
    gap: 24px;
    color: var(--ed-ink);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.sd-meta span:last-child {
    color: var(--ed-muted);
}

.sd-meta--light {
    border-color: rgba(251, 250, 246, 0.35);
    color: var(--ed-paper);
}

.sd-meta--light span:last-child {
    color: rgba(251, 250, 246, 0.55);
}

.sd-button,
.sd-actions a {
    display: inline-flex;
    min-height: 58px;
    padding: 0 25px;
    border: 1px solid var(--ed-ink);
    align-items: center;
    justify-content: center;
    gap: 28px;
    color: var(--ed-ink);
    background: transparent;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: transform 180ms ease, background 180ms ease;
}

.sd-button:hover,
.sd-button:focus-visible {
    background: var(--ed-paper);
    transform: translateY(-3px);
}

.sd-button--lime,
.sd-actions .sd-button--lime {
    background: var(--ed-lime);
}

.sd-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 720ms cubic-bezier(0.2, 0.75, 0.2, 1),
        transform 720ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.sd-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Shared header */

#header {
    color: var(--ed-ink) !important;
    border-bottom: 1px solid var(--ed-line) !important;
    background: rgba(242, 239, 230, 0.92) !important;
    backdrop-filter: blur(18px);
}

#header > div {
    width: min(1320px, calc(100% - 48px));
    max-width: 1320px !important;
    min-height: 76px;
    padding: 0 !important;
}

#header img {
    width: auto;
    height: 40px;
    max-height: 40px;
    filter: brightness(0);
}

#header nav,
#header a,
#header button {
    color: var(--ed-ink) !important;
}

#header nav {
    font-size: 13px;
}

#header nav > a,
#header nav > div > button {
    position: relative;
}

#header nav > a::after {
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 2px;
    background: var(--ed-ink);
    content: "";
    opacity: 0;
    transform: scaleX(0.4);
    transition: opacity 180ms ease, transform 180ms ease;
}

#header nav > a:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

.editorial-header-services > div {
    width: 288px;
    overflow: hidden;
    border: 1px solid var(--ed-ink);
    background: var(--ed-paper);
    box-shadow: 10px 10px 0 var(--ed-lime);
}

.editorial-header-services {
    pointer-events: none;
}

.editorial-header-services-wrap:hover > .editorial-header-services,
.editorial-header-services-wrap:focus-within > .editorial-header-services,
.editorial-header-services-wrap.is-open > .editorial-header-services {
    visibility: visible !important;
    pointer-events: auto;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.editorial-header-services-wrap.is-open > button svg {
    transform: rotate(180deg);
}

.editorial-header-services a {
    display: block;
    padding: 18px 20px;
    color: var(--ed-ink) !important;
    font-size: 13px;
    font-weight: 700;
}

.editorial-header-services a + a {
    border-top: 1px solid var(--ed-line);
}

.editorial-header-services a:hover {
    background: var(--ed-lime);
}

.editorial-header-telegram {
    display: grid;
    width: 40px;
    height: 40px;
    border: 1px solid var(--ed-ink);
    border-radius: 50%;
    place-items: center;
}

#mobile-menu-trigger {
    padding: 0;
    border: 0;
    background: transparent;
}

.editorial-fixed-cta {
    position: fixed;
    z-index: 80;
    right: 24px;
    bottom: 24px;
    display: flex;
    min-height: 54px;
    padding: 0 22px;
    border: 1px solid var(--ed-ink);
    border-radius: 999px;
    align-items: center;
    gap: 24px;
    color: var(--ed-ink) !important;
    background: var(--ed-lime);
    box-shadow: 0 10px 30px rgba(17, 18, 15, 0.16);
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
    font-family: inherit;
    transition: color 180ms ease, background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.editorial-fixed-cta:hover,
.editorial-fixed-cta:focus-visible {
    box-shadow: 0 16px 34px rgba(17, 18, 15, 0.22);
    transform: translateY(-3px);
}

.editorial-fixed-cta.is-open {
    color: var(--ed-paper) !important;
    background: var(--ed-blue);
    -webkit-text-fill-color: var(--ed-paper) !important;
}

.editorial-fixed-cta.is-open * {
    color: var(--ed-paper) !important;
    -webkit-text-fill-color: var(--ed-paper) !important;
}

/* Archive callbacker, rebuilt in the editorial system */

body.stom-editorial #contact-widget {
    position: fixed !important;
    z-index: 80 !important;
    right: 24px !important;
    bottom: 24px !important;
    display: flex !important;
    width: auto !important;
    align-items: flex-end !important;
    pointer-events: none !important;
}

body.stom-editorial #contact-fab {
    position: relative !important;
    display: grid !important;
    width: 58px !important;
    height: 58px !important;
    padding: 0 !important;
    border: 1px solid var(--ed-ink) !important;
    border-radius: 50% !important;
    place-items: center;
    color: var(--ed-ink) !important;
    background: var(--ed-lime) !important;
    box-shadow: 0 10px 30px rgba(17, 18, 15, 0.2) !important;
    cursor: pointer;
    pointer-events: auto !important;
    transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease !important;
}

body.stom-editorial #contact-fab:hover,
body.stom-editorial #contact-fab:focus-visible {
    background: var(--ed-blue) !important;
    box-shadow: 0 16px 34px rgba(17, 18, 15, 0.25) !important;
    transform: translateY(-3px);
}

body.stom-editorial #contact-fab > div:first-child {
    display: none !important;
}

body.stom-editorial #contact-fab :is(#icon-msg, #icon-close) {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

body.stom-editorial #contact-fab :is(#icon-msg, #icon-close) svg {
    width: 24px !important;
    height: 24px !important;
    color: var(--ed-ink) !important;
    stroke: currentColor !important;
}

body.stom-editorial #contact-fab:hover :is(#icon-msg, #icon-close) svg,
body.stom-editorial #contact-fab:focus-visible :is(#icon-msg, #icon-close) svg {
    color: var(--ed-paper) !important;
}

body.stom-editorial #contact-menu {
    width: min(360px, calc(100vw - 32px)) !important;
    margin: 0 0 14px !important;
    padding: 24px !important;
    border: 1px solid var(--ed-ink) !important;
    border-radius: 0 !important;
    color: var(--ed-ink) !important;
    background: var(--ed-paper) !important;
    box-shadow: 10px 10px 0 var(--ed-lime) !important;
    pointer-events: auto !important;
    visibility: visible;
    opacity: 1;
    transform: translateY(0) scale(1);
    transform-origin: right bottom;
    transition: visibility 180ms ease, opacity 180ms ease, transform 180ms ease !important;
}

body.stom-editorial #contact-menu.invisible {
    visibility: hidden !important;
    pointer-events: none !important;
}

body.stom-editorial #contact-menu.opacity-0 {
    opacity: 0 !important;
    transform: translateY(14px) scale(0.97) !important;
}

body.stom-editorial #contact-menu.opacity-100 {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

body.stom-editorial #contact-menu > div:first-child {
    margin: 0 0 20px !important;
    padding: 0 44px 18px 0;
    border-bottom: 1px solid var(--ed-line);
}

body.stom-editorial #contact-menu h3 {
    margin: 0 0 7px !important;
    color: var(--ed-ink) !important;
    font-size: 27px !important;
    font-weight: 700 !important;
    letter-spacing: -0.05em;
    line-height: 1;
}

body.stom-editorial #contact-menu p {
    margin: 0 !important;
    color: var(--ed-muted) !important;
    font-size: 11px !important;
    line-height: 1.45 !important;
}

body.stom-editorial #contact-menu .space-y-2 {
    display: grid !important;
    gap: 8px !important;
}

body.stom-editorial #contact-menu :is(#link-wa, #link-tg) {
    display: grid !important;
    min-height: 68px;
    padding: 10px 12px !important;
    border: 1px solid var(--ed-ink) !important;
    border-radius: 0 !important;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    gap: 12px !important;
    color: var(--ed-ink) !important;
    background: var(--ed-milk) !important;
    transition: background-color 160ms ease, transform 160ms ease !important;
}

body.stom-editorial #contact-menu :is(#link-wa, #link-tg):hover {
    background: var(--ed-lime) !important;
    transform: translateX(3px);
}

body.stom-editorial #contact-menu :is(#link-wa, #link-tg) > div:first-child {
    display: grid !important;
    width: 40px !important;
    height: 40px !important;
    border: 1px solid var(--ed-ink) !important;
    border-radius: 50% !important;
    place-items: center;
    color: var(--ed-ink) !important;
    background: var(--ed-paper) !important;
}

body.stom-editorial #contact-menu :is(#link-wa, #link-tg) svg {
    width: 17px !important;
    height: 17px !important;
    color: var(--ed-ink) !important;
    stroke: currentColor !important;
}

body.stom-editorial #contact-menu :is(#link-wa, #link-tg) span {
    color: var(--ed-ink) !important;
    -webkit-text-fill-color: var(--ed-ink) !important;
}

body.stom-editorial #contact-menu :is(#link-wa, #link-tg) span:first-child {
    font-size: 13px !important;
    font-weight: 800 !important;
}

body.stom-editorial #contact-menu :is(#link-wa, #link-tg) span:last-child {
    margin-top: 3px;
    color: var(--ed-muted) !important;
    font-size: 9px !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    -webkit-text-fill-color: var(--ed-muted) !important;
}

body.stom-editorial #contact-menu > div:last-child {
    margin: 18px 0 0 !important;
    padding: 14px 0 0 !important;
    border-top: 1px solid var(--ed-line) !important;
    text-align: left !important;
}

body.stom-editorial #contact-menu > div:last-child p {
    font-size: 9px !important;
    letter-spacing: 0.03em;
}

/* Editorial mobile cover menu */

#mobile-menu.editorial-mobile-menu {
    position: fixed;
    z-index: 100;
    inset: 0;
    display: flex;
    overflow: hidden;
    padding:
        max(20px, env(safe-area-inset-top))
        20px
        max(18px, env(safe-area-inset-bottom));
    color: var(--ed-ink) !important;
    background: var(--ed-milk) !important;
    flex-direction: column;
    transform: translateX(0);
    transition: transform 460ms cubic-bezier(0.76, 0, 0.24, 1);
}

#mobile-menu.editorial-mobile-menu.translate-x-full {
    transform: translateX(100%);
}

#mobile-menu.editorial-mobile-menu::before {
    position: absolute;
    z-index: 0;
    top: 19%;
    right: -190px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(17, 18, 15, 0.14);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

#mobile-menu.editorial-mobile-menu::after {
    position: absolute;
    z-index: 0;
    top: 20%;
    right: 0;
    width: 5px;
    height: 118px;
    background: var(--ed-blue);
    content: "";
}

.editorial-mobile-menu__top,
.editorial-mobile-menu__nav,
.editorial-mobile-menu__bottom {
    position: relative;
    z-index: 1;
}

.editorial-mobile-menu__top {
    display: flex;
    min-height: 58px;
    align-items: flex-start;
    justify-content: space-between;
}

#mobile-menu .editorial-mobile-menu__brand {
    display: block;
    padding-top: 7px;
    color: var(--ed-ink) !important;
}

#mobile-menu .editorial-mobile-menu__brand img {
    display: block;
    width: auto;
    height: 32px;
    max-height: none;
    filter: brightness(0);
    object-fit: contain;
    object-position: left center;
}

#mobile-menu .editorial-mobile-menu__close {
    display: grid;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--ed-ink);
    border-radius: 50%;
    place-items: center;
    color: var(--ed-ink);
    background: transparent;
}

.editorial-mobile-menu__close span {
    margin-top: -4px;
    font-size: 37px;
    font-weight: 300;
    line-height: 1;
}

.editorial-mobile-menu__nav {
    overflow-x: hidden;
    overflow-y: auto;
    margin-top: clamp(24px, 5vh, 48px);
    border-top: 1px solid var(--ed-ink);
    overscroll-behavior: contain;
    scrollbar-width: none;
}

.editorial-mobile-menu__nav::-webkit-scrollbar {
    display: none;
}

#mobile-menu .editorial-mobile-menu__nav > a,
#mobile-menu .editorial-mobile-menu__nav summary {
    display: flex;
    min-height: clamp(66px, 9.6vh, 84px);
    padding: 10px 4px;
    border-bottom: 1px solid rgba(17, 18, 15, 0.42);
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--ed-ink) !important;
    font-size: clamp(30px, 9vw, 43px);
    font-weight: 600;
    letter-spacing: -0.06em;
    line-height: 0.95;
    list-style: none;
    cursor: pointer;
}

#mobile-menu .editorial-mobile-menu__nav summary::-webkit-details-marker {
    display: none;
}

.editorial-mobile-menu__nav i {
    flex: 0 0 auto;
    color: var(--ed-blue);
    font-size: 19px;
    font-style: normal;
}

.editorial-mobile-menu__nav details[open] > summary {
    background: var(--ed-lime);
}

.editorial-mobile-menu__nav details[open] > summary span {
    color: var(--ed-blue);
    font-family: "DM Serif Display", serif;
    font-style: italic;
    font-weight: 400;
}

.editorial-mobile-menu__nav details[open] > summary i {
    color: var(--ed-ink);
    transform: rotate(45deg);
}

.editorial-mobile-menu__nav details > div {
    border-bottom: 1px solid var(--ed-ink);
    background: var(--ed-blue);
}

#mobile-menu .editorial-mobile-menu__nav details > div a {
    display: flex;
    min-height: 76px;
    padding: 14px 16px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: var(--ed-paper) !important;
    font-family: "DM Serif Display", serif;
    font-size: clamp(22px, 6.4vw, 30px);
    line-height: 1;
}

.editorial-mobile-menu__bottom {
    margin-top: auto;
    padding-top: clamp(18px, 3.5vh, 30px);
}

#mobile-menu .editorial-mobile-menu__cta {
    display: flex;
    width: 100%;
    min-height: 58px;
    padding: 0 17px;
    border: 1px solid var(--ed-ink);
    align-items: center;
    justify-content: space-between;
    color: var(--ed-ink) !important;
    background: var(--ed-lime);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.editorial-mobile-menu__contacts {
    display: flex;
    padding-top: 14px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

#mobile-menu .editorial-mobile-menu__contacts a {
    color: var(--ed-muted) !important;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

body.menu-is-open {
    overflow: hidden !important;
}

body.menu-is-open .editorial-fixed-cta {
    opacity: 0;
    pointer-events: none;
}

/* Hero */

.sd-hero {
    position: relative;
    overflow: hidden;
    padding-top: 156px;
    background: var(--ed-milk);
}

.sd-hero::before {
    position: absolute;
    top: 90px;
    right: 5%;
    width: 25vw;
    height: 25vw;
    border: 1px solid rgba(17, 18, 15, 0.08);
    border-radius: 50%;
    content: "";
}

.sd-hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(390px, 0.88fr);
    align-items: center;
    gap: clamp(48px, 6vw, 88px);
}

.sd-kicker {
    display: flex;
    margin: 0 0 26px;
    align-items: center;
    gap: 12px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.sd-kicker::before {
    width: 28px;
    height: 2px;
    background: var(--ed-ink);
    content: "";
}

.sd-hero h1 {
    max-width: 830px;
    margin: 0;
    font-size: clamp(58px, 6.7vw, 104px);
    font-weight: 700;
    letter-spacing: -0.075em;
    line-height: 0.94;
}

.sd-hero h1 em {
    display: inline;
    padding-inline: 0.04em;
    color: var(--ed-ink);
    background: linear-gradient(transparent 14%, var(--ed-lime) 14%, var(--ed-lime) 88%, transparent 88%);
    font-family: inherit;
    font-style: normal;
}

.sd-hero__lead {
    max-width: 690px;
    margin: 38px 0 0;
    color: #30312c;
    font-size: clamp(17px, 1.35vw, 21px);
    line-height: 1.55;
}

.sd-hero__lead strong {
    color: var(--ed-ink);
    font-weight: 750;
}

.sd-actions {
    display: flex;
    margin-top: 42px;
    align-items: center;
    gap: 12px;
}

.sd-dashboard {
    position: relative;
    min-height: 590px;
    overflow: hidden;
    padding: 28px;
    border: 1px solid var(--ed-ink);
    background: var(--ed-paper);
    box-shadow: 16px 16px 0 var(--ed-ink);
    transition: transform 240ms ease, box-shadow 240ms ease;
}

.sd-dashboard:hover {
    box-shadow: 21px 21px 0 var(--ed-ink);
    transform: translate(-5px, -5px);
}

.sd-dashboard::before {
    position: absolute;
    top: -110px;
    right: -110px;
    width: 260px;
    height: 260px;
    border: 1px solid var(--ed-line);
    border-radius: 50%;
    content: "";
}

.sd-dashboard__top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.sd-dashboard__top > div span,
.sd-dashboard__main > span {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.sd-dashboard__top p {
    margin: 7px 0 0;
    color: var(--ed-muted);
    font-size: 11px;
}

.sd-dashboard__top p strong {
    color: var(--ed-ink);
}

.sd-dashboard__status {
    padding: 6px 9px;
    border: 1px solid var(--ed-blue);
    color: var(--ed-blue);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.sd-dashboard__notice {
    position: absolute;
    z-index: 5;
    top: 60px;
    right: 26px;
    display: flex;
    padding: 11px 14px;
    border: 1px solid var(--ed-ink);
    align-items: center;
    gap: 10px;
    background: var(--ed-lime);
    box-shadow: 7px 7px 0 var(--ed-ink);
    opacity: 0;
    animation: sd-notice 5200ms 1200ms infinite;
}

.sd-dashboard__notice > span {
    display: grid;
    width: 26px;
    height: 26px;
    border: 1px solid var(--ed-ink);
    border-radius: 50%;
    place-items: center;
    font-size: 11px;
    font-weight: 800;
}

.sd-dashboard__notice div {
    display: flex;
    flex-direction: column;
}

.sd-dashboard__notice strong {
    font-size: 10px;
}

.sd-dashboard__notice small {
    margin-top: 2px;
    font-size: 8px;
    opacity: 0.65;
}

@keyframes sd-notice {
    0%,
    8%,
    88%,
    100% {
        opacity: 0;
        transform: translateY(-12px);
    }
    16%,
    78% {
        opacity: 1;
        transform: translateY(0);
    }
}

.sd-dashboard__main {
    display: flex;
    margin-top: 82px;
    flex-direction: column;
}

.sd-dashboard__main > span {
    color: var(--ed-muted);
}

.sd-dashboard__main strong {
    margin-top: 5px;
    color: var(--ed-blue);
    font-size: clamp(58px, 5.4vw, 86px);
    font-weight: 700;
    letter-spacing: -0.065em;
    line-height: 0.9;
}

.sd-dashboard__chart {
    position: relative;
    height: 165px;
    overflow: visible;
    margin-top: 30px;
    border-bottom: 1px solid var(--ed-line);
    border-left: 1px solid var(--ed-line);
}

.sd-dashboard__chart > div {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(17, 18, 15, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 18, 15, 0.07) 1px, transparent 1px);
    background-size: 25% 33.333%;
}

.sd-dashboard__chart svg {
    position: absolute;
    inset: 8px 0 0;
    width: 100%;
    height: calc(100% - 8px);
    overflow: visible;
}

.sd-chart-fill {
    fill: rgba(22, 103, 255, 0.1);
}

.sd-chart-line {
    fill: none;
    stroke: var(--ed-blue);
    stroke-width: 4;
    stroke-linecap: round;
}

.sd-dashboard__metrics {
    display: grid;
    margin: 24px 0 0;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.sd-dashboard__metrics > div {
    padding: 15px;
    border: 1px solid var(--ed-line);
}

.sd-dashboard__metrics dt {
    color: var(--ed-muted);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sd-dashboard__metrics dd {
    display: flex;
    margin: 8px 0 0;
    align-items: flex-end;
    gap: 9px;
    font-size: 24px;
    font-weight: 750;
    letter-spacing: -0.04em;
}

.sd-dashboard__metrics small {
    padding-bottom: 2px;
    font-size: 9px;
    font-weight: 800;
}

.is-positive {
    color: #547c00;
}

.is-negative {
    color: #bd4038;
}

.sd-proof-strip {
    display: grid;
    margin-top: 110px;
    padding: 28px 0;
    border-top: 1px solid var(--ed-ink);
    grid-template-columns: repeat(4, 1fr);
}

.sd-proof-strip > div {
    display: flex;
    padding: 0 22px;
    border-left: 1px solid var(--ed-line);
    flex-direction: column;
    gap: 7px;
}

.sd-proof-strip > div:first-child {
    padding-left: 0;
    border-left: 0;
}

.sd-proof-strip strong {
    font-size: 26px;
    font-weight: 750;
    letter-spacing: -0.05em;
}

.sd-proof-strip span {
    color: var(--ed-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sd-ticker {
    display: none !important;
    overflow: hidden;
    border-block: 1px solid var(--ed-ink);
    background: var(--ed-lime);
}

.sd-ticker > div {
    display: flex;
    width: max-content;
    min-height: 62px;
    align-items: center;
    animation: sd-ticker 45s linear infinite;
}

.sd-ticker span {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.sd-ticker span::after {
    margin: 0 22px;
    color: var(--ed-blue);
    content: "✳";
    font-size: 17px;
}

@keyframes sd-ticker {
    to {
        transform: translateX(-50%);
    }
}

/* About */

.sd-about {
    padding: 112px 0 126px;
    background: var(--ed-paper);
}

.sd-about__intro {
    display: grid;
    padding: clamp(58px, 7vw, 104px) 0 clamp(60px, 7vw, 110px);
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.5fr);
    align-items: end;
    gap: clamp(48px, 8vw, 128px);
}

.sd-about__copy p {
    margin: 0;
    color: #373934;
    font-size: clamp(16px, 1.25vw, 19px);
    line-height: 1.65;
}

.sd-about__copy p + p {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--ed-line);
}

.sd-about__copy strong {
    color: var(--ed-ink);
}

.sd-about__facts {
    display: grid;
    margin: 0;
    border-top: 1px solid var(--ed-ink);
    border-bottom: 1px solid var(--ed-ink);
    grid-template-columns: repeat(4, 1fr);
}

.sd-about__facts > div {
    min-height: 230px;
    padding: 30px 26px;
    border-left: 1px solid var(--ed-ink);
}

.sd-about__facts > div:first-child {
    border-left: 0;
}

.sd-about__facts dt {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.sd-about__facts dt strong {
    font-size: clamp(58px, 6vw, 94px);
    font-weight: 650;
    letter-spacing: -0.07em;
    line-height: 0.9;
}

.sd-about__facts dt span {
    margin-top: 9px;
    color: var(--ed-blue);
    font-family: "DM Serif Display", serif;
    font-size: 24px;
    font-style: italic;
}

.sd-about__facts dd {
    margin: 62px 0 0;
    color: var(--ed-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Preserved original quiz, restyled into the editorial system */

#quiz.sd-quiz-section {
    position: relative;
    overflow: hidden;
    padding: 118px 0 126px !important;
    color: var(--ed-ink) !important;
    background: var(--ed-milk) !important;
}

#quiz.sd-quiz-section > .absolute {
    display: none !important;
}

#quiz.sd-quiz-section > .container {
    position: relative;
    z-index: 1;
    width: min(1320px, calc(100% - 48px)) !important;
    max-width: 1320px !important;
    padding: 0 !important;
}

#quiz.sd-quiz-section > .container > .text-center {
    display: grid;
    margin: 0 0 72px !important;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    align-items: end;
    gap: clamp(46px, 8vw, 130px);
    text-align: left !important;
}

#quiz.sd-quiz-section h2 {
    margin: 0 !important;
    color: var(--ed-ink) !important;
    font-size: clamp(58px, 7.4vw, 116px) !important;
    font-weight: 650 !important;
    letter-spacing: -0.075em !important;
    line-height: 0.91 !important;
    text-align: left !important;
}

#quiz.sd-quiz-section h2 span {
    display: block;
    width: fit-content;
    margin-top: 0.08em;
    color: var(--ed-blue) !important;
    background: none !important;
    font-family: "DM Serif Display", serif !important;
    font-size: 0.84em;
    font-style: italic !important;
    font-weight: 400 !important;
    letter-spacing: -0.035em !important;
    line-height: 0.92 !important;
    -webkit-text-fill-color: currentColor !important;
    filter: none !important;
    text-shadow: none !important;
}

#quiz.sd-quiz-section > .container > .text-center > p {
    max-width: 430px;
    margin: 0 !important;
    color: var(--ed-muted) !important;
    font-size: clamp(16px, 1.3vw, 20px) !important;
    line-height: 1.65;
    text-align: left !important;
}

#quiz.sd-quiz-section .max-w-6xl {
    display: flex !important;
    width: 100%;
    max-width: none !important;
    min-height: 630px !important;
    overflow: visible !important;
    margin: 0 !important;
    border: 1px solid var(--ed-ink) !important;
    border-radius: 0 !important;
    color: var(--ed-ink);
    background: var(--ed-paper) !important;
    box-shadow: 16px 16px 0 var(--ed-ink) !important;
}

#quiz.sd-quiz-section .max-w-6xl > div:first-child {
    width: 66.666% !important;
    padding: clamp(30px, 4vw, 64px) !important;
    color: var(--ed-ink);
    background: var(--ed-paper);
}

#quiz.sd-quiz-section .max-w-6xl > div:last-child {
    width: 33.333% !important;
    border: 0 !important;
    border-left: 1px solid var(--ed-ink) !important;
    color: var(--ed-paper);
    background: var(--ed-blue) !important;
}

#quiz.sd-quiz-section .max-w-6xl > div:last-child > .absolute {
    display: none !important;
}

#quiz.sd-quiz-section .max-w-6xl > div:last-child > .relative {
    padding: clamp(28px, 3vw, 48px) !important;
}

#quiz.sd-quiz-section .w-full.h-2 {
    height: 4px !important;
    overflow: hidden;
    border-radius: 0 !important;
    background: rgba(17, 18, 15, 0.12) !important;
}

#quiz.sd-quiz-section #progress-bar {
    border-radius: 0 !important;
    background: var(--ed-blue) !important;
}

#quiz.sd-quiz-section #quiz-content h3 {
    margin-bottom: 30px !important;
    color: var(--ed-ink) !important;
    font-size: clamp(27px, 2.5vw, 40px) !important;
    font-weight: 650;
    letter-spacing: -0.045em;
    line-height: 1.08;
}

#quiz.sd-quiz-section #quiz-content label > div {
    min-height: 62px;
    padding: 16px 18px !important;
    border: 1px solid var(--ed-line) !important;
    border-radius: 0 !important;
    color: var(--ed-ink) !important;
    background: transparent !important;
    transition: background 180ms ease, border-color 180ms ease;
}

#quiz.sd-quiz-section #quiz-content label:hover > div {
    border-color: var(--ed-ink) !important;
    background: var(--ed-lime) !important;
}

#quiz.sd-quiz-section #quiz-content label span {
    color: var(--ed-ink) !important;
}

#quiz.sd-quiz-section #quiz-content .radio-circle {
    border-color: var(--ed-ink) !important;
}

#quiz.sd-quiz-section .quiz-radio:checked + div {
    border-color: var(--ed-ink) !important;
    background: var(--ed-lime) !important;
}

#quiz.sd-quiz-section #step-number-container {
    color: var(--ed-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

#quiz.sd-quiz-section #next-btn {
    display: inline-flex !important;
    min-height: 50px;
    padding: 0 20px !important;
    border: 1px solid var(--ed-ink);
    border-radius: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    color: var(--ed-ink) !important;
    background: var(--ed-lime) !important;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1 !important;
    white-space: nowrap;
}

#quiz.sd-quiz-section #next-btn svg {
    display: block !important;
    width: 15px !important;
    height: 15px !important;
    margin: 0 !important;
    flex: 0 0 15px;
}

#quiz.sd-quiz-section .max-w-6xl > div:last-child h3,
#quiz.sd-quiz-section .max-w-6xl > div:last-child p,
#quiz.sd-quiz-section .max-w-6xl > div:last-child span {
    color: var(--ed-paper) !important;
}

#quiz.sd-quiz-section .max-w-6xl > div:last-child h3 {
    margin: 0 !important;
    font-size: clamp(24px, 2vw, 34px) !important;
    letter-spacing: -0.04em;
}

#quiz.sd-quiz-section .max-w-6xl > div:last-child ul {
    display: flex !important;
    margin: 34px 0 0 !important;
    padding: 0;
    flex-direction: column;
    gap: 0 !important;
    list-style: none;
}

#quiz.sd-quiz-section .max-w-6xl > div:last-child li {
    min-height: 54px;
    padding: 13px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(251, 250, 246, 0.2) !important;
    border-radius: 0 !important;
    background: transparent !important;
}

#quiz.sd-quiz-section .max-w-6xl > div:last-child li > div {
    border: 1px solid var(--ed-lime) !important;
    color: var(--ed-lime) !important;
    background: transparent !important;
}

#quiz.sd-quiz-section .max-w-6xl > div:last-child .hidden.md\:block {
    border-radius: 0 !important;
    background: transparent !important;
}

#quiz.sd-quiz-section input[type="text"],
#quiz.sd-quiz-section input[type="tel"] {
    width: 100%;
    min-height: 56px;
    padding: 0 15px !important;
    border: 1px solid var(--ed-ink) !important;
    border-radius: 0 !important;
    color: var(--ed-ink) !important;
    background: var(--ed-paper) !important;
}

#quiz.sd-quiz-section button[type="submit"] {
    min-height: 56px;
    border: 1px solid var(--ed-ink);
    border-radius: 0 !important;
    color: var(--ed-ink) !important;
    background: var(--ed-lime) !important;
}

/* System */

.sd-system {
    padding: 118px 0 126px;
    color: var(--ed-ink);
    background: var(--ed-paper);
}

.sd-system__intro {
    display: grid;
    padding-bottom: clamp(64px, 8vw, 112px);
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
    align-items: end;
    gap: clamp(50px, 8vw, 130px);
}

.sd-system .sd-display {
    color: var(--ed-ink);
}

.sd-system .sd-display em {
    color: var(--ed-blue);
}

.sd-system__intro > p {
    max-width: 440px;
    margin: 0 0 8px;
    color: var(--ed-muted);
    font-size: 16px;
    line-height: 1.7;
}

.sd-system__list {
    border-top: 1px solid var(--ed-ink);
}

.sd-system-row {
    border-bottom: 1px solid var(--ed-ink);
    transition: color 220ms ease, background 220ms ease;
}

.sd-system-row.is-active,
.sd-system-row:hover {
    color: var(--ed-ink);
    background: var(--ed-lime);
}

.sd-system-row > button {
    display: grid;
    width: 100%;
    min-height: 154px;
    padding: 28px 22px;
    border: 0;
    align-items: center;
    grid-template-columns: 90px 1fr 44px;
    gap: 28px;
    color: inherit;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.sd-system-row > button > span {
    align-self: start;
    font-size: 10px;
    font-weight: 800;
}

.sd-system-row > button h3 {
    margin: 0;
    font-size: clamp(34px, 4.4vw, 72px);
    font-weight: 600;
    letter-spacing: -0.06em;
    line-height: 0.95;
}

.sd-system-row > button i {
    display: grid;
    width: 42px;
    height: 42px;
    border: 1px solid currentColor;
    border-radius: 50%;
    place-items: center;
    font-size: 20px;
    font-style: normal;
}

.sd-system-row > div {
    display: grid;
    padding: 0 22px 42px 140px;
    grid-template-columns: minmax(260px, 0.7fr) minmax(480px, 1.3fr);
    gap: 7vw;
}

.sd-system-row > div[hidden] {
    display: none;
}

.sd-system-row > div > p {
    margin: 0;
    color: inherit;
    opacity: 0.72;
    font-size: 15px;
    line-height: 1.65;
}

.sd-system-row ul {
    display: grid;
    margin: 0;
    padding: 0;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    list-style: none;
}

.sd-system-row li {
    display: flex;
    padding-top: 13px;
    border-top: 1px solid currentColor;
    flex-direction: column;
    gap: 8px;
}

.sd-system-row li strong {
    font-size: 12px;
}

.sd-system-row li span {
    font-size: 11px;
    line-height: 1.45;
    opacity: 0.65;
}

/* Strategy */

.sd-strategy {
    padding: 112px 0 128px;
    color: var(--ed-paper);
    background: var(--ed-blue);
}

.sd-strategy__intro {
    display: grid;
    padding: clamp(60px, 8vw, 110px) 0 84px;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.55fr);
    align-items: end;
    gap: clamp(48px, 8vw, 128px);
}

.sd-strategy .sd-display {
    color: var(--ed-paper);
}

.sd-strategy .sd-display em {
    color: var(--ed-lime);
}

.sd-strategy__summary p {
    margin: 0;
    color: rgba(251, 250, 246, 0.76);
    font-size: 15px;
    line-height: 1.65;
}

.sd-strategy__summary p + p {
    margin-top: 20px;
}

.sd-strategy__summary strong {
    color: var(--ed-paper);
    font-size: 18px;
}

.sd-strategy__summary a {
    display: flex;
    width: 220px;
    min-height: 56px;
    margin-top: 32px;
    padding: 0 18px;
    border: 1px solid var(--ed-paper);
    align-items: center;
    justify-content: space-between;
    color: var(--ed-ink);
    background: var(--ed-lime);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.sd-funnel {
    display: grid;
    border-top: 1px solid rgba(251, 250, 246, 0.55);
    border-bottom: 1px solid rgba(251, 250, 246, 0.55);
    grid-template-columns: repeat(3, 1fr);
}

.sd-funnel article {
    display: flex;
    min-height: 190px;
    padding: 24px;
    border-right: 1px solid rgba(251, 250, 246, 0.35);
    border-bottom: 1px solid rgba(251, 250, 246, 0.35);
    flex-direction: column;
}

.sd-funnel article:nth-child(3n) {
    border-right: 0;
}

.sd-funnel article:nth-last-child(-n + 3) {
    border-bottom: 0;
}

.sd-funnel span {
    color: rgba(251, 250, 246, 0.58);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.sd-funnel strong {
    margin-top: auto;
    font-size: clamp(36px, 4.4vw, 70px);
    font-weight: 650;
    letter-spacing: -0.065em;
    line-height: 0.92;
}

.sd-funnel small {
    margin-top: 8px;
    color: var(--ed-lime);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.sd-funnel__result {
    color: var(--ed-ink);
    background: var(--ed-lime);
}

.sd-funnel__result span,
.sd-funnel__result small {
    color: var(--ed-ink);
}

/* Fit */

.sd-fit {
    padding: 118px 0 126px;
    background: var(--ed-paper);
}

.sd-fit__intro {
    display: grid;
    padding-bottom: 82px;
    grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr);
    align-items: end;
    gap: 8vw;
}

.sd-fit__intro > p {
    margin: 0 0 8px;
    color: var(--ed-muted);
    font-size: 17px;
    line-height: 1.65;
}

.sd-fit__grid {
    display: grid;
    border: 1px solid var(--ed-ink);
    grid-template-columns: 1fr 1fr;
}

.sd-fit__grid article {
    padding: clamp(30px, 4vw, 62px);
}

.sd-fit__grid article + article {
    border-left: 1px solid var(--ed-ink);
}

.sd-fit__yes {
    background: var(--ed-lime);
}

.sd-fit__no {
    background: var(--ed-milk);
}

.sd-fit__grid h3 {
    margin: 0 0 40px;
    font-size: clamp(30px, 3vw, 48px);
    font-weight: 600;
    letter-spacing: -0.055em;
}

.sd-fit__grid ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sd-fit__grid li {
    position: relative;
    padding: 16px 0 16px 36px;
    border-top: 1px solid rgba(17, 18, 15, 0.35);
    font-size: 14px;
    line-height: 1.5;
}

.sd-fit__grid li::before {
    position: absolute;
    top: 14px;
    left: 0;
    font-size: 18px;
    font-weight: 800;
    content: "+";
}

.sd-fit__no li::before {
    color: var(--ed-red);
    content: "−";
}

.sd-fit__footer {
    display: grid;
    padding-top: 42px;
    align-items: start;
    grid-template-columns: 1fr 220px 1fr;
    gap: 42px;
}

.sd-fit__footer p {
    margin: 0;
    color: var(--ed-muted);
    font-size: 13px;
    line-height: 1.65;
}

.sd-fit__footer strong {
    color: var(--ed-ink);
}

.sd-fit__footer a {
    display: flex;
    min-height: 56px;
    padding: 0 18px;
    border: 1px solid var(--ed-ink);
    align-items: center;
    justify-content: space-between;
    color: var(--ed-paper);
    background: var(--ed-ink);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Cases */

.sd-cases {
    padding: 118px 0 126px;
    color: var(--ed-ink);
    background: var(--ed-milk);
}

.sd-cases__intro {
    display: grid;
    padding-bottom: 76px;
    grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr);
    align-items: end;
    gap: 8vw;
}

.sd-cases .sd-display {
    color: var(--ed-ink);
}

.sd-cases .sd-display em {
    color: var(--ed-blue);
}

.sd-cases__intro > p {
    margin: 0 0 8px;
    color: var(--ed-muted);
    font-size: 16px;
    line-height: 1.7;
}

.sd-case-tabs {
    display: flex;
    overflow-x: auto;
    border-block: 1px solid var(--ed-ink);
    scrollbar-width: none;
}

.sd-case-tabs::-webkit-scrollbar {
    display: none;
}

.sd-case-tab {
    display: flex;
    min-width: 170px;
    min-height: 66px;
    padding: 0 18px;
    border: 0;
    border-right: 1px solid var(--ed-line);
    align-items: center;
    gap: 12px;
    color: var(--ed-muted);
    background: transparent;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.sd-case-tab span {
    font-size: 8px;
    font-weight: 800;
}

.sd-case-tab.is-active {
    color: var(--ed-ink);
    background: var(--ed-lime);
}

.sd-case-panel {
    padding-top: 42px;
}

.sd-case-card {
    display: grid;
    min-height: 560px;
    padding: clamp(28px, 4.2vw, 66px);
    border: 1px solid var(--ed-paper);
    color: var(--ed-ink);
    background: var(--ed-paper);
    box-shadow: 18px 18px 0 var(--ed-blue);
    grid-template-columns: 1fr 1.25fr;
    grid-template-areas:
        "top result"
        "metrics result"
        "button result";
    gap: 38px 7vw;
}

.sd-case-card__top {
    display: flex;
    grid-area: top;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.sd-case-card__top > div {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sd-case-card__top > div span,
.sd-case-card__top > span,
.sd-case-card__result > span {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.sd-case-card__top > div strong {
    font-size: clamp(30px, 3vw, 46px);
    font-weight: 650;
    letter-spacing: -0.05em;
}

.sd-case-card__top > span {
    padding: 6px 8px;
    border: 1px solid var(--ed-ink);
    background: var(--ed-lime);
}

.sd-case-card__result {
    display: flex;
    grid-area: result;
    padding-left: clamp(28px, 4vw, 62px);
    border-left: 1px solid var(--ed-line);
    justify-content: center;
    flex-direction: column;
}

.sd-case-card__result > span {
    color: var(--ed-muted);
}

.sd-case-card__result > strong {
    display: flex;
    margin-top: 18px;
    align-items: flex-end;
    gap: 12px;
    color: var(--ed-blue);
    font-size: clamp(80px, 10vw, 164px);
    font-weight: 650;
    letter-spacing: -0.09em;
    line-height: 0.78;
}

.sd-case-card__result small {
    padding-bottom: 9px;
    color: var(--ed-ink);
    font-size: clamp(22px, 2.8vw, 44px);
    letter-spacing: -0.05em;
}

.sd-case-card dl {
    display: grid;
    margin: 0;
    grid-area: metrics;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.sd-case-card dl > div {
    padding: 18px 0;
    border-top: 1px solid var(--ed-line);
}

.sd-case-card dt {
    font-size: 24px;
    font-weight: 750;
    letter-spacing: -0.045em;
}

.sd-case-card dd {
    margin: 5px 0 0;
    color: var(--ed-muted);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.sd-case-card > button {
    display: flex;
    width: 220px;
    min-height: 56px;
    padding: 0 18px;
    border: 1px solid var(--ed-ink);
    grid-area: button;
    align-items: center;
    justify-content: space-between;
    color: var(--ed-paper);
    background: var(--ed-ink);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    cursor: pointer;
}

.sd-cases__note {
    max-width: 680px;
    margin: 54px auto 0;
    color: var(--ed-muted);
    font-size: 11px;
    line-height: 1.6;
    text-align: center;
}

/* Geography / experts */

.sd-experts {
    padding: 118px 0 126px;
    color: var(--ed-paper);
    background: var(--ed-blue);
}

.sd-experts__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.6fr);
    align-items: end;
    gap: 8vw;
}

.sd-experts .sd-display {
    color: var(--ed-paper);
}

.sd-experts .sd-display em {
    color: var(--ed-lime);
}

.sd-experts__copy > p {
    margin: 0;
    color: rgba(251, 250, 246, 0.72);
    font-size: 17px;
    line-height: 1.7;
}

.sd-experts__copy dl {
    display: grid;
    margin: 52px 0 0;
    border-block: 1px solid rgba(251, 250, 246, 0.46);
    grid-template-columns: 1fr 1fr;
}

.sd-experts__copy dl > div {
    padding: 28px 0;
}

.sd-experts__copy dl > div + div {
    padding-left: 28px;
    border-left: 1px solid rgba(251, 250, 246, 0.46);
}

.sd-experts__copy dt {
    color: var(--ed-lime);
    font-size: 48px;
    font-weight: 650;
    letter-spacing: -0.06em;
}

.sd-experts__copy dd {
    margin: 6px 0 0;
    color: rgba(251, 250, 246, 0.62);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

/* Team */

.sd-team {
    padding: 118px 0 126px;
    background: var(--ed-paper);
}

.sd-team__intro {
    display: grid;
    padding-bottom: 82px;
    grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr);
    align-items: end;
    gap: 8vw;
}

.sd-team__intro > p {
    margin: 0 0 8px;
    color: var(--ed-muted);
    font-size: 16px;
    line-height: 1.7;
}

.sd-team__list {
    border-top: 1px solid var(--ed-ink);
}

.sd-team-row {
    border-bottom: 1px solid var(--ed-ink);
}

.sd-team-row__trigger {
    display: grid;
    width: 100%;
    min-height: 126px;
    padding: 24px 18px;
    border: 0;
    align-items: center;
    grid-template-columns: 70px minmax(260px, 1.1fr) minmax(220px, 0.8fr) 44px;
    gap: 28px;
    color: var(--ed-ink);
    background: transparent;
    text-align: left;
    cursor: pointer;
    transition: background 200ms ease;
}

.sd-team-row:hover .sd-team-row__trigger,
.sd-team-row.is-open .sd-team-row__trigger {
    background: var(--ed-lime);
}

.sd-team-row__trigger > span {
    align-self: start;
    font-size: 9px;
    font-weight: 800;
}

.sd-team-row__trigger strong {
    display: flex;
    font-size: clamp(26px, 2.7vw, 42px);
    font-weight: 600;
    letter-spacing: -0.055em;
    line-height: 1;
    flex-direction: column;
}

.sd-team-row__trigger small {
    margin-top: 8px;
    color: var(--ed-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sd-team-row__trigger b {
    font-size: 14px;
    font-weight: 600;
}

.sd-team-row__trigger i {
    display: grid;
    width: 42px;
    height: 42px;
    border: 1px solid var(--ed-ink);
    border-radius: 50%;
    place-items: center;
    font-size: 20px;
    font-style: normal;
}

.sd-team-row__detail {
    display: grid;
    padding: 34px 18px 42px 88px;
    grid-template-columns: 230px minmax(0, 1fr);
    align-items: center;
    gap: clamp(42px, 7vw, 110px);
}

.sd-team-row__detail[hidden] {
    display: none;
}

.sd-team-row__detail figure {
    position: relative;
    width: 220px;
    height: 220px;
    overflow: hidden;
    margin: 0;
    border: 1px solid var(--ed-ink);
    border-radius: 50%;
    background: #d8d8d2;
    box-shadow: 12px 12px 0 var(--ed-lime);
}

.sd-team-row__detail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
}

.sd-team-row__detail > div {
    max-width: 700px;
}

.sd-team-row__detail > div > span {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.sd-team-row__detail h3 {
    margin: 18px 0 0;
    font-size: clamp(34px, 4vw, 62px);
    font-weight: 600;
    letter-spacing: -0.06em;
    line-height: 0.98;
}

.sd-team-row__detail p {
    max-width: 620px;
    margin: 24px 0 0;
    color: var(--ed-muted);
    font-size: 15px;
    line-height: 1.7;
}

/* Offer and subscribe */

.sd-offer {
    padding: 118px 0 126px;
    color: var(--ed-ink);
    background: var(--ed-paper);
}

.sd-offer__top {
    display: grid;
    padding-bottom: 82px;
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.5fr);
    align-items: end;
    gap: 8vw;
}

.sd-offer .sd-display {
    color: var(--ed-ink);
    font-size: clamp(50px, 6vw, 94px);
}

.sd-offer .sd-display em {
    color: var(--ed-blue);
}

.sd-offer__top > p {
    margin: 0 0 8px;
    color: var(--ed-muted);
    font-size: 16px;
    line-height: 1.7;
}

.sd-offer__grid {
    display: grid;
    border: 1px solid var(--ed-ink);
    grid-template-columns: 1fr 1fr;
}

.sd-offer__grid > div {
    padding: clamp(30px, 4vw, 62px);
}

.sd-offer__grid > div + div {
    border-left: 1px solid var(--ed-ink);
}

.sd-offer__grid h3 {
    margin: 0;
    font-size: clamp(30px, 3vw, 48px);
    font-weight: 600;
    letter-spacing: -0.055em;
}

.sd-offer__grid p {
    margin: 26px 0 0;
    color: var(--ed-muted);
    font-size: 14px;
    line-height: 1.7;
}

.sd-offer__grid ul {
    display: grid;
    margin: 40px 0 0;
    padding: 0;
    border-top: 1px solid var(--ed-line);
    grid-template-columns: 1fr 1fr;
    list-style: none;
}

.sd-offer__grid li {
    padding: 16px 0;
    border-bottom: 1px solid var(--ed-line);
    font-size: 11px;
    font-weight: 800;
}

.sd-offer__action {
    color: var(--ed-ink);
    background: var(--ed-lime);
}

.sd-offer__action p {
    color: rgba(17, 18, 15, 0.7);
}

.sd-offer__action small {
    display: block;
    margin-top: 32px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sd-offer__action button {
    display: flex;
    width: 100%;
    min-height: 60px;
    margin-top: 18px;
    padding: 0 20px;
    border: 1px solid var(--ed-ink);
    align-items: center;
    justify-content: space-between;
    color: var(--ed-paper);
    background: var(--ed-ink);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    cursor: pointer;
}

.sd-subscribe {
    padding: 112px 0;
    color: var(--ed-paper);
    background: var(--ed-blue);
}

.sd-subscribe__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.45fr);
    align-items: end;
    gap: 8vw;
}

.sd-subscribe .sd-display {
    color: var(--ed-paper);
    font-size: clamp(50px, 6.4vw, 100px);
}

.sd-subscribe .sd-display em {
    color: var(--ed-lime);
}

.sd-subscribe__action p {
    margin: 0;
    color: rgba(251, 250, 246, 0.72);
    font-size: 16px;
    line-height: 1.65;
}

.sd-subscribe__action strong {
    display: block;
    margin-top: 34px;
    color: var(--ed-lime);
    font-size: 32px;
    letter-spacing: -0.04em;
}

.sd-subscribe__action a {
    display: flex;
    min-height: 58px;
    margin-top: 22px;
    padding: 0 18px;
    border: 1px solid var(--ed-paper);
    align-items: center;
    justify-content: space-between;
    color: var(--ed-ink);
    background: var(--ed-lime);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

/* Button contrast: neutralize inherited legacy text effects */

.sd-button,
.sd-button *,
.sd-button--lime,
.sd-button--lime *,
.sd-strategy__summary a,
.sd-strategy__summary a *,
.sd-subscribe__action a,
.sd-subscribe__action a *,
.editorial-fixed-cta,
.editorial-fixed-cta *,
#mobile-menu .editorial-mobile-menu__cta,
#mobile-menu .editorial-mobile-menu__cta *,
#quiz.sd-quiz-section #next-btn,
#quiz.sd-quiz-section #next-btn *,
#quiz.sd-quiz-section button[type="submit"],
#quiz.sd-quiz-section button[type="submit"] * {
    color: var(--ed-ink) !important;
    background-image: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    -webkit-text-fill-color: var(--ed-ink) !important;
    text-shadow: none !important;
    opacity: 1 !important;
}

.sd-fit__footer a,
.sd-fit__footer a *,
.sd-case-card > button,
.sd-case-card > button *,
.sd-offer__action button,
.sd-offer__action button * {
    color: var(--ed-paper) !important;
    background-image: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    -webkit-text-fill-color: var(--ed-paper) !important;
    text-shadow: none !important;
    opacity: 1 !important;
}

/* Shared footer */

.aat-editorial-footer {
    display: block;
    min-height: 0;
    padding: 64px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    background: var(--ed-dark);
    font-size: initial;
    letter-spacing: 0;
    text-transform: none;
}

.aat-editorial-footer__inner {
    width: min(100% - 48px, 1320px);
    margin-inline: auto;
}

.aat-editorial-footer__grid {
    display: grid;
    margin-bottom: 48px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px;
}

.aat-editorial-footer img {
    width: auto;
    height: 48px;
    margin-bottom: 24px;
    object-fit: contain;
    filter: none;
}

.aat-editorial-footer p {
    max-width: 430px;
    margin: 0;
    color: #9ba1a7;
    font-size: 14px;
    line-height: 1.6;
}

.aat-editorial-footer h3,
.aat-editorial-footer h4 {
    margin: 0 0 24px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.aat-editorial-footer ul {
    display: flex;
    margin: 0;
    padding: 0;
    color: #9ba1a7;
    flex-direction: column;
    gap: 14px;
    font-size: 14px;
    list-style: none;
}

.aat-editorial-footer li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.aat-editorial-footer li svg {
    width: 17px;
    height: 17px;
    color: var(--ed-lime);
}

.aat-editorial-footer a:hover {
    color: #fff;
}

.aat-editorial-footer__copyright {
    padding-top: 32px;
    border-top: 1px solid rgba(243, 240, 232, 0.08);
    color: #9ba1a7;
    font-size: 12px;
    text-align: center;
}

/* Original modals remain functional, but inherit the editorial palette */

body.stom-editorial .modal {
    color: var(--ed-ink);
}

body.stom-editorial .modal.active {
    opacity: 1;
    visibility: visible;
}

body.stom-editorial .modal .modal-content,
body.stom-editorial #modal-panel {
    border: 1px solid var(--ed-ink) !important;
    border-radius: 0 !important;
    color: var(--ed-ink) !important;
    background: var(--ed-paper) !important;
}

body.stom-editorial .modal .text-white,
body.stom-editorial #case-modal .text-white,
body.stom-editorial #case-modal h3,
body.stom-editorial #case-modal h4 {
    color: var(--ed-ink) !important;
}

body.stom-editorial .modal .text-text-muted,
body.stom-editorial #case-modal .text-text-muted {
    color: var(--ed-muted) !important;
}

body.stom-editorial .modal input {
    border-radius: 0 !important;
}

body.stom-editorial .modal button[type="submit"] {
    border-radius: 0 !important;
    color: var(--ed-ink) !important;
    background: var(--ed-lime) !important;
}

body.stom-editorial form .sd-form-consent {
    display: grid !important;
    margin-top: 14px;
    align-items: start !important;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 10px !important;
    color: var(--ed-muted) !important;
    text-align: left !important;
}

body.stom-editorial form .sd-form-consent input[type="checkbox"] {
    width: 17px !important;
    height: 17px !important;
    min-height: 0 !important;
    margin: 1px 0 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    accent-color: var(--ed-lime);
    appearance: auto;
}

body.stom-editorial form .sd-form-consent span {
    color: var(--ed-muted) !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
}

body.stom-editorial form .sd-form-consent a {
    color: var(--ed-blue) !important;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Lead popups */

body.stom-editorial :is(#offer-modal, #exit-modal, #rate-limit-modal) {
    padding: 28px !important;
}

body.stom-editorial :is(#offer-modal, #exit-modal, #rate-limit-modal) > .absolute.inset-0 {
    background: rgba(17, 18, 15, 0.72) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

body.stom-editorial :is(#offer-modal, #exit-modal, #rate-limit-modal) .modal-content {
    width: min(100%, 540px) !important;
    max-width: 540px !important;
    max-height: calc(100svh - 56px);
    overflow-x: hidden;
    overflow-y: auto;
    padding: 42px !important;
    border: 1px solid var(--ed-ink) !important;
    border-radius: 0 !important;
    color: var(--ed-ink) !important;
    background: var(--ed-paper) !important;
    box-shadow: 12px 12px 0 var(--ed-lime) !important;
}

body.stom-editorial :is(#offer-modal, #exit-modal, #rate-limit-modal) .modal-content > button:first-child {
    display: grid !important;
    width: 42px !important;
    height: 42px !important;
    top: 20px !important;
    right: 20px !important;
    place-items: center;
    border: 1px solid var(--ed-ink) !important;
    border-radius: 50% !important;
    color: var(--ed-ink) !important;
    background: transparent !important;
    transition: color 180ms ease, background-color 180ms ease, transform 180ms ease !important;
}

body.stom-editorial :is(#offer-modal, #exit-modal, #rate-limit-modal) .modal-content > button:first-child:hover {
    color: var(--ed-paper) !important;
    background: var(--ed-ink) !important;
    transform: rotate(8deg);
}

body.stom-editorial :is(#offer-modal, #exit-modal, #rate-limit-modal) .modal-content > button:first-child svg {
    width: 20px !important;
    height: 20px !important;
}

body.stom-editorial :is(#offer-modal, #exit-modal, #rate-limit-modal) .modal-content > .text-center {
    margin-bottom: 28px !important;
    padding: 0 52px 26px 0;
    border-bottom: 1px solid var(--ed-line);
    text-align: left !important;
}

body.stom-editorial :is(#offer-modal, #exit-modal, #rate-limit-modal) .modal-content > .text-center > div:first-child {
    display: grid !important;
    width: 48px !important;
    height: 48px !important;
    margin: 0 0 24px !important;
    place-items: center;
    border: 1px solid var(--ed-ink) !important;
    border-radius: 0 !important;
    color: var(--ed-ink) !important;
    background: var(--ed-lime) !important;
}

body.stom-editorial :is(#offer-modal, #exit-modal, #rate-limit-modal) .modal-content > .text-center > div:first-child svg {
    color: var(--ed-ink) !important;
    stroke: currentColor !important;
}

body.stom-editorial :is(#offer-modal, #exit-modal, #rate-limit-modal) .modal-content h3 {
    margin-bottom: 12px !important;
    color: var(--ed-ink) !important;
    font-size: clamp(30px, 4vw, 40px) !important;
    font-weight: 700 !important;
    letter-spacing: -0.055em !important;
    line-height: 0.98 !important;
}

body.stom-editorial :is(#offer-modal, #exit-modal, #rate-limit-modal) .modal-content > .text-center > p {
    max-width: 390px;
    margin: 0 !important;
    color: var(--ed-muted) !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
}

body.stom-editorial :is(#offer-modal, #exit-modal, #rate-limit-modal) .modal-content > .text-center > div:last-child:not(:first-child) {
    display: inline-flex !important;
    margin: 18px 0 0 !important;
    padding: 9px 12px !important;
    border: 1px solid var(--ed-ink) !important;
    border-radius: 0 !important;
    color: var(--ed-ink) !important;
    background: var(--ed-milk) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em;
}

body.stom-editorial :is(#offer-modal, #exit-modal, #rate-limit-modal) form {
    display: grid;
    gap: 18px !important;
}

body.stom-editorial :is(#offer-modal, #exit-modal, #rate-limit-modal) form > div {
    margin: 0 !important;
}

body.stom-editorial :is(#offer-modal, #exit-modal, #rate-limit-modal) form label:not(.sd-form-consent) {
    display: block;
    margin: 0 0 8px !important;
    color: var(--ed-ink) !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: 0.09em !important;
    line-height: 1.2 !important;
    text-transform: uppercase;
}

body.stom-editorial :is(#offer-modal, #exit-modal, #rate-limit-modal) form input:not([type="hidden"]):not([type="checkbox"]) {
    width: 100% !important;
    min-height: 58px !important;
    padding: 0 16px !important;
    border: 1px solid var(--ed-ink) !important;
    border-radius: 0 !important;
    outline: none !important;
    color: var(--ed-ink) !important;
    background: var(--ed-milk) !important;
    box-shadow: none !important;
    caret-color: var(--ed-blue);
    -webkit-text-fill-color: var(--ed-ink) !important;
    transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease !important;
}

body.stom-editorial :is(#offer-modal, #exit-modal, #rate-limit-modal) form input:not([type="hidden"]):not([type="checkbox"])::placeholder {
    color: rgba(17, 18, 15, 0.42) !important;
    -webkit-text-fill-color: rgba(17, 18, 15, 0.42) !important;
    opacity: 1;
}

body.stom-editorial :is(#offer-modal, #exit-modal, #rate-limit-modal) form input:not([type="hidden"]):not([type="checkbox"]):focus {
    border-color: var(--ed-blue) !important;
    background: var(--ed-paper) !important;
    box-shadow: 0 0 0 3px rgba(22, 103, 255, 0.16) !important;
}

body.stom-editorial :is(#offer-modal, #exit-modal, #rate-limit-modal) form button[type="submit"] {
    min-height: 58px !important;
    margin: 2px 0 0 !important;
    border: 1px solid var(--ed-ink) !important;
    border-radius: 0 !important;
    color: var(--ed-ink) !important;
    background: var(--ed-lime) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase;
    box-shadow: none !important;
    transition: color 180ms ease, background-color 180ms ease, transform 180ms ease !important;
}

body.stom-editorial :is(#offer-modal, #exit-modal, #rate-limit-modal) form button[type="submit"]:hover {
    color: var(--ed-paper) !important;
    background: var(--ed-blue) !important;
    transform: translateY(-2px);
}

body.stom-editorial :is(#offer-modal, #exit-modal, #rate-limit-modal) form .sd-form-consent {
    margin-top: 0 !important;
    padding-top: 16px;
    border-top: 1px solid var(--ed-line);
}

body.stom-editorial :is(#offer-modal, #exit-modal, #rate-limit-modal) form .sd-form-consent input[type="checkbox"] {
    border: 1px solid var(--ed-ink) !important;
    background: var(--ed-paper) !important;
}

@media (max-width: 640px) {
    body.stom-editorial :is(#offer-modal, #exit-modal, #rate-limit-modal) {
        padding: 16px !important;
    }

    body.stom-editorial :is(#offer-modal, #exit-modal, #rate-limit-modal) .modal-content {
        max-height: calc(100svh - 32px);
        padding: 28px 22px !important;
        box-shadow: 7px 7px 0 var(--ed-lime) !important;
    }

    body.stom-editorial :is(#offer-modal, #exit-modal, #rate-limit-modal) .modal-content > button:first-child {
        width: 38px !important;
        height: 38px !important;
        top: 16px !important;
        right: 16px !important;
    }

    body.stom-editorial :is(#offer-modal, #exit-modal, #rate-limit-modal) .modal-content > .text-center {
        margin-bottom: 22px !important;
        padding: 0 42px 22px 0;
    }

    body.stom-editorial :is(#offer-modal, #exit-modal, #rate-limit-modal) .modal-content > .text-center > div:first-child {
        width: 42px !important;
        height: 42px !important;
        margin-bottom: 20px !important;
    }

    body.stom-editorial :is(#offer-modal, #exit-modal, #rate-limit-modal) .modal-content h3 {
        font-size: 30px !important;
    }

    body.stom-editorial :is(#offer-modal, #exit-modal, #rate-limit-modal) form {
        gap: 14px !important;
    }

    body.stom-editorial :is(#offer-modal, #exit-modal, #rate-limit-modal) form input:not([type="hidden"]):not([type="checkbox"]),
    body.stom-editorial :is(#offer-modal, #exit-modal, #rate-limit-modal) form button[type="submit"] {
        min-height: 54px !important;
    }
}

/* Tablet */

@media (max-width: 1023px) {
    #header > div {
        width: min(100% - 48px, 1320px);
    }

    #header img {
        height: 32px;
        max-height: 32px;
    }

    .sd-hero__grid,
    .sd-about__intro,
    #quiz.sd-quiz-section > .container > .text-center,
    .sd-system__intro,
    .sd-strategy__intro,
    .sd-fit__intro,
    .sd-cases__intro,
    .sd-experts__grid,
    .sd-team__intro,
    .sd-offer__top,
    .sd-subscribe__grid {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .sd-dashboard {
        max-width: 680px;
    }

    .sd-system-row > div {
        padding-left: 22px;
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .sd-case-card {
        grid-template-columns: 1fr;
        grid-template-areas:
            "top"
            "result"
            "metrics"
            "button";
    }

    .sd-case-card__result {
        min-height: 250px;
        padding: 34px 0 0;
        border-top: 1px solid var(--ed-line);
        border-left: 0;
    }

    .sd-fit__footer {
        grid-template-columns: 1fr 220px;
    }

    .sd-fit__footer p:last-child {
        grid-column: 1 / -1;
    }
}

/* Mobile */

@media (max-width: 720px) {
    #header > div {
        width: calc(100% - 48px) !important;
    }

    .sd-shell,
    body.stom-editorial .container,
    #quiz.sd-quiz-section > .container {
        width: calc(100% - 40px) !important;
    }

    .sd-display,
    #quiz.sd-quiz-section h2 {
        font-size: clamp(46px, 14vw, 68px) !important;
        letter-spacing: -0.07em !important;
    }

    .sd-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .editorial-fixed-cta {
        right: 14px;
        bottom: max(14px, env(safe-area-inset-bottom));
        min-height: 48px;
        padding: 0 17px;
        font-size: 10px;
    }

    body.stom-editorial #contact-widget {
        right: 14px !important;
        bottom: max(14px, env(safe-area-inset-bottom)) !important;
    }

    body.stom-editorial #contact-menu {
        width: min(340px, calc(100vw - 28px)) !important;
        padding: 20px !important;
        box-shadow: 7px 7px 0 var(--ed-lime) !important;
    }

    .sd-hero {
        padding-top: 126px;
    }

    .sd-hero::before {
        top: 85px;
        right: -100px;
        width: 250px;
        height: 250px;
    }

    .sd-hero h1 {
        font-size: clamp(50px, 14.7vw, 70px);
    }

    .sd-hero__lead {
        margin-top: 28px;
        font-size: 16px;
    }

    .sd-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .sd-actions a {
        width: 100%;
    }

    .sd-dashboard {
        min-height: 520px;
        padding: 20px;
        box-shadow: 10px 10px 0 var(--ed-ink);
    }

    .sd-dashboard:hover {
        box-shadow: 10px 10px 0 var(--ed-ink);
        transform: none;
    }

    .sd-dashboard__notice {
        top: 54px;
        right: 16px;
    }

    .sd-dashboard__main {
        margin-top: 90px;
    }

    .sd-dashboard__main strong {
        font-size: 66px;
    }

    .sd-dashboard__chart {
        height: 130px;
    }

    .sd-dashboard__metrics dd {
        align-items: flex-start;
        flex-direction: column;
        font-size: 20px;
    }

    .sd-proof-strip {
        margin-top: 78px;
        grid-template-columns: 1fr 1fr;
    }

    .sd-proof-strip > div {
        min-height: 100px;
        padding: 18px 14px;
        border-bottom: 1px solid var(--ed-line);
    }

    .sd-proof-strip > div:nth-child(odd) {
        border-left: 0;
    }

    .sd-proof-strip > div:first-child {
        padding-left: 14px;
    }

    .sd-ticker > div {
        animation-duration: 28s;
    }

    .sd-about,
    #quiz.sd-quiz-section,
    .sd-system,
    .sd-strategy,
    .sd-fit,
    .sd-cases,
    .sd-experts,
    .sd-team,
    .sd-offer,
    .sd-subscribe {
        padding: 82px 0 88px !important;
    }

    .sd-about__intro,
    .sd-system__intro,
    .sd-strategy__intro,
    .sd-fit__intro,
    .sd-cases__intro,
    .sd-team__intro,
    .sd-offer__top {
        padding-top: 56px;
        padding-bottom: 58px;
        gap: 28px;
    }

    .sd-fit,
    .sd-team {
        padding-bottom: 48px !important;
    }

    .sd-cases,
    .sd-offer {
        padding-top: 48px !important;
    }

    .sd-cases__intro,
    .sd-offer__top {
        padding-top: 0;
    }

    .sd-about__facts {
        grid-template-columns: 1fr 1fr;
    }

    .sd-about__facts > div {
        min-height: 170px;
        padding: 22px 16px;
        border-bottom: 1px solid var(--ed-ink);
    }

    .sd-about__facts > div:nth-child(odd) {
        border-left: 0;
    }

    .sd-about__facts dt strong {
        font-size: 54px;
    }

    .sd-about__facts dd {
        margin-top: 40px;
    }

    #quiz.sd-quiz-section > .container > .text-center {
        margin-bottom: 50px !important;
        gap: 24px;
    }

    #quiz.sd-quiz-section .max-w-6xl {
        min-height: 0 !important;
        box-shadow: 10px 10px 0 var(--ed-ink) !important;
        flex-direction: column !important;
    }

    #quiz.sd-quiz-section .max-w-6xl > div:first-child,
    #quiz.sd-quiz-section .max-w-6xl > div:last-child {
        width: 100% !important;
    }

    #quiz.sd-quiz-section .max-w-6xl > div:first-child {
        order: 2 !important;
        padding: 28px 20px !important;
    }

    #quiz.sd-quiz-section .max-w-6xl > div:last-child {
        order: 1 !important;
        border-bottom: 1px solid var(--ed-ink) !important;
        border-left: 0 !important;
    }

    #quiz.sd-quiz-section .max-w-6xl > div:last-child > .relative {
        padding: 25px 20px !important;
    }

    #quiz.sd-quiz-section .max-w-6xl > div:last-child ul {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
    }

    #quiz.sd-quiz-section .max-w-6xl > div:last-child li {
        min-height: 60px;
        padding-right: 10px !important;
    }

    .sd-system-row > button {
        min-height: 112px;
        padding: 24px 12px;
        grid-template-columns: 34px 1fr 38px;
        gap: 12px;
    }

    .sd-system-row > button h3 {
        font-size: 30px;
    }

    .sd-system-row > button i {
        width: 36px;
        height: 36px;
    }

    .sd-system-row > div {
        padding: 0 12px 30px 46px;
    }

    .sd-system-row ul {
        grid-template-columns: 1fr;
    }

    .sd-funnel {
        grid-template-columns: 1fr 1fr;
    }

    .sd-funnel article,
    .sd-funnel article:nth-child(3n),
    .sd-funnel article:nth-last-child(-n + 3) {
        min-height: 150px;
        padding: 18px;
        border-right: 1px solid rgba(251, 250, 246, 0.35);
        border-bottom: 1px solid rgba(251, 250, 246, 0.35);
    }

    .sd-funnel article:nth-child(even) {
        border-right: 0;
    }

    .sd-funnel article:nth-last-child(-n + 2) {
        border-bottom: 0;
    }

    .sd-funnel strong {
        font-size: 34px;
    }

    .sd-fit__grid,
    .sd-offer__grid {
        grid-template-columns: 1fr;
    }

    .sd-fit__grid article + article,
    .sd-offer__grid > div + div {
        border-top: 1px solid var(--ed-ink);
        border-left: 0;
    }

    .sd-fit__footer {
        grid-template-columns: 1fr;
    }

    .sd-fit__footer p:last-child {
        grid-column: auto;
    }

    .sd-case-tabs {
        margin-right: -20px;
    }

    .sd-case-tab {
        min-width: 142px;
    }

    .sd-case-card {
        min-height: 0;
        padding: 24px 20px;
        box-shadow: 10px 10px 0 var(--ed-blue);
        gap: 30px;
    }

    .sd-case-card__top {
        align-items: flex-start;
        flex-direction: column;
    }

    .sd-case-card__result {
        min-height: 190px;
    }

    .sd-case-card__result > strong {
        font-size: clamp(68px, 23vw, 96px);
    }

    .sd-case-card dl {
        grid-template-columns: 1fr 1fr;
    }

    .sd-case-card > button {
        width: 100%;
    }

    .sd-experts__grid {
        gap: 40px;
    }

    .sd-team-row__trigger {
        min-height: 112px;
        padding: 22px 10px;
        grid-template-columns: 30px 1fr 38px;
        gap: 12px;
    }

    .sd-team-row__trigger b {
        padding-top: 10px;
        grid-column: 2 / 4;
    }

    .sd-team-row__trigger i {
        width: 36px;
        height: 36px;
        grid-column: 3;
        grid-row: 1;
    }

    .sd-team-row__trigger strong {
        font-size: 26px;
    }

    .sd-team-row__detail {
        padding: 36px 10px 40px 42px;
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .sd-team-row__detail figure {
        width: 190px;
        height: 190px;
    }

    .sd-team-row__detail h3 {
        font-size: 36px;
    }

    .sd-offer .sd-display,
    .sd-subscribe .sd-display {
        font-size: clamp(42px, 12.7vw, 62px);
    }

    .sd-offer__grid ul {
        grid-template-columns: 1fr;
    }

    .aat-editorial-footer {
        padding: 64px 0 32px;
    }

    .aat-editorial-footer__inner {
        width: calc(100% - 40px);
    }

    .aat-editorial-footer__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (min-width: 1024px) {
    #mobile-menu.editorial-mobile-menu {
        display: none !important;
    }
}

@media (max-height: 690px) and (max-width: 760px) {
    .editorial-mobile-menu__nav {
        margin-top: 12px;
    }

    #mobile-menu .editorial-mobile-menu__nav > a,
    #mobile-menu .editorial-mobile-menu__nav summary {
        min-height: 58px;
        font-size: clamp(27px, 8vw, 36px);
    }

    #mobile-menu .editorial-mobile-menu__nav details > div a {
        min-height: 64px;
        font-size: 22px;
    }

    .editorial-mobile-menu__bottom {
        padding-top: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .sd-reveal {
        opacity: 1;
        transform: none;
    }
}

/* Mobile typography and text-arrow safeguards */
.editorial-fixed-cta > span,
.sd-button > span,
.sd-main a > span,
.sd-main button > span,
.editorial-mobile-menu__nav i,
.editorial-mobile-menu__cta i {
    font-family: Arial, sans-serif !important;
    font-variant-emoji: text;
}

@media (max-width: 720px) {
    html,
    body.stom-editorial,
    .sd-main,
    .sd-main section,
    .sd-shell,
    body.stom-editorial .container {
        min-width: 0;
        max-width: 100%;
    }

    .editorial-fixed-cta {
        max-width: calc(100% - 28px);
    }

    .sd-display,
    #quiz.sd-quiz-section h2 {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        font-size: clamp(38px, 10.8vw, 46px) !important;
        letter-spacing: -0.055em !important;
        line-height: 0.95 !important;
        word-break: normal;
        overflow-wrap: normal;
    }

    .sd-hero h1 {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        font-size: clamp(43px, 12vw, 52px) !important;
        letter-spacing: -0.06em !important;
        line-height: 0.94 !important;
    }

    .sd-offer .sd-display,
    .sd-subscribe .sd-display {
        font-size: clamp(36px, 10.2vw, 43px) !important;
    }
}

/* Editorial comments from project specialists */
.sd-specialist-quote {
    display: grid;
    position: relative;
    width: calc(100% - 14px);
    margin: 0 14px 14px 0;
    padding: clamp(28px, 3vw, 46px);
    border: 1px solid var(--ed-ink);
    color: var(--ed-ink);
    background: #fffef9;
    box-shadow: 14px 14px 0 var(--ed-lime);
    grid-template-columns: minmax(210px, 0.3fr) minmax(0, 1fr);
    grid-template-areas: "person quote";
    align-items: center;
    gap: clamp(42px, 7vw, 110px);
}

.sd-specialist-quote blockquote {
    position: relative;
    grid-area: quote;
    max-width: 920px;
    margin: 0;
    padding-top: 42px;
    color: var(--ed-ink);
    font-size: clamp(21px, 2.15vw, 34px);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.18;
}

.sd-specialist-quote blockquote::before {
    content: "“";
    position: absolute;
    top: -24px;
    left: -3px;
    color: var(--ed-lime);
    font-family: "DM Serif Display", serif;
    font-size: 104px;
    font-weight: 400;
    line-height: 1;
}

.sd-specialist-quote figcaption {
    display: flex;
    grid-area: person;
    min-width: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
}

.sd-specialist-quote figcaption img {
    width: clamp(118px, 10vw, 158px);
    height: clamp(118px, 10vw, 158px);
    flex: 0 0 auto;
    border: 1px solid var(--ed-ink);
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    background: #d9d9d3;
    box-shadow: 9px 9px 0 var(--ed-lime);
}

.sd-specialist-quote figcaption span {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 7px;
}

.sd-specialist-quote figcaption strong {
    font-size: clamp(16px, 1.3vw, 20px);
    font-weight: 800;
    letter-spacing: -0.035em;
}

.sd-specialist-quote figcaption small {
    color: var(--ed-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    line-height: 1.4;
    text-transform: uppercase;
}

.sd-specialist-quote--about {
    margin-top: 64px;
    margin-bottom: 0;
}

.sd-specialist-quote--cases {
    margin-top: 56px;
}

.sd-comment-transition {
    padding: 76px 0 54px;
    border-top: 1px solid var(--ed-ink);
    background: var(--ed-paper);
}

.sd-comment-transition + .sd-offer {
    padding-top: 54px;
}

@media (max-width: 760px) {
    .sd-specialist-quote {
        width: calc(100% - 9px);
        margin: 0 9px 9px 0;
        padding: 24px 22px 28px;
        box-shadow: 9px 9px 0 var(--ed-lime);
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "person"
            "quote";
        gap: 26px;
    }

    .sd-specialist-quote blockquote {
        padding-top: 34px;
        font-size: clamp(21px, 6.4vw, 27px);
        line-height: 1.2;
    }

    .sd-specialist-quote blockquote::before {
        top: -22px;
        font-size: 82px;
    }

    .sd-specialist-quote figcaption {
        align-items: center;
        flex-direction: row;
        gap: 20px;
    }

    .sd-specialist-quote figcaption img {
        width: 96px;
        height: 96px;
        box-shadow: 7px 7px 0 var(--ed-lime);
    }

    .sd-specialist-quote figcaption strong {
        font-size: 16px;
    }

    .sd-specialist-quote--about {
        margin-top: 46px;
        margin-bottom: 0;
    }

    .sd-specialist-quote--cases {
        margin-top: 42px;
    }

    .sd-comment-transition {
        padding: 58px 0 40px;
    }

    .sd-comment-transition + .sd-offer {
        padding-top: 40px !important;
    }
}
