.sd-page {
    --sd-ink: #101b18;
    --sd-deep: #0a1311;
    --sd-cream: #f7faf8;
    --sd-line: #d9e8e2;
    --sd-muted: #5f726c;
    --sd-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
    background: var(--sd-cream);
    color: var(--sd-ink);
    font-size: 16px;
    line-height: 1.7;
}

.sd-page a {
    text-decoration: none;
}

.sd-page a:focus-visible {
    outline: 2px solid var(--sd-accent-deep);
    outline-offset: 3px;
}

.sd-page h1,
.sd-page h2,
.sd-page h3 {
    color: inherit;
}

.sd-hero {
    position: relative;
    overflow: hidden;
    padding: 96px 0 64px;
    background: linear-gradient(135deg, var(--sd-deep) 0%, var(--sd-ink) 54%, var(--sd-accent-deep) 100%);
    color: #fff;
}

.sd-hero::before {
    position: absolute;
    top: -22%;
    right: -8%;
    width: 48%;
    height: 78%;
    border-radius: 50%;
    background: var(--sd-accent);
    content: "";
    filter: blur(96px);
    opacity: 0.24;
    pointer-events: none;
}

.sd-hero::after {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 64px 64px;
    content: "";
    mask-image: linear-gradient(180deg, #000, transparent 90%);
    pointer-events: none;
}

.sd-hero .container {
    position: relative;
    z-index: 1;
}

.sd-hero a:focus-visible {
    outline-color: #fff;
}

.sd-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 42px;
    font-size: 12px;
    color: #cfe8de;
    list-style: none;
}

.sd-breadcrumb a {
    color: #e8f5f0;
}

.sd-breadcrumb a:hover {
    color: #fff;
}

.sd-breadcrumb li + li::before {
    margin-right: 10px;
    content: "/";
    color: rgba(255, 255, 255, 0.35);
}

.sd-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    line-height: 1.4;
    text-transform: uppercase;
    color: #cfe8de;
}

.sd-eyebrow::before {
    width: 26px;
    height: 1px;
    background: var(--sd-accent);
    content: "";
}

.sd-hero h1 {
    max-width: 840px;
    margin: 0 0 18px;
    font-size: clamp(2.5rem, 5vw, 4.25rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.05;
    color: #fff;
}

.sd-hero__statement {
    margin: 0 0 8px;
    padding-left: 16px;
    border-left: 2px solid var(--sd-accent);
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    font-weight: 650;
    line-height: 1.35;
    color: #fff;
}

.sd-hero__support {
    margin: 0 0 22px;
    font-size: 15px;
    color: #cfe8de;
}

.sd-hero__lede {
    max-width: 720px;
    margin: 0 0 32px;
    font-size: 16px;
    line-height: 1.75;
    color: #cfe8de;
}

.sd-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.sd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 11px 22px;
    border: 1px solid transparent;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.2;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.sd-btn:hover {
    transform: translateY(-2px);
}

.sd-btn--primary {
    background: var(--sd-accent-deep);
    color: #fff;
}

.sd-btn--primary:hover {
    background: var(--sd-accent);
    color: #fff;
}

.sd-btn--ghost {
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.sd-btn--ghost:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.sd-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 380px;
    animation: sd-rise 0.7s 0.12s ease both;
}

.sd-visual::before {
    position: absolute;
    inset: 12% 4% 8% 12%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    content: "";
    pointer-events: none;
    transform: rotate(-1.5deg);
}

.sd-visual__label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #cfe8de;
}

.sd-casefile {
    position: relative;
    width: 100%;
    max-width: 440px;
    padding: 26px;
    border: 1px solid var(--sd-line);
    background: #fff;
    color: var(--sd-ink);
    box-shadow: 18px 18px 0 rgba(255, 255, 255, 0.07);
    transform: rotate(1deg);
}

.sd-casefile__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--sd-line);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.5;
    text-transform: uppercase;
    color: var(--sd-muted);
}

.sd-casefile__code {
    max-width: 55%;
    font-family: var(--sd-mono);
    font-size: 10px;
    letter-spacing: 0.04em;
    text-align: right;
    word-break: break-all;
    color: var(--sd-accent-deep);
}

.sd-casefile__title {
    margin: 18px 0 16px;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
}

.sd-casefile__rows {
    list-style: none;
}

.sd-casefile__rows li {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 12px;
    padding: 11px 0;
    border-top: 1px dashed var(--sd-line);
    font-size: 13px;
    line-height: 1.5;
}

.sd-casefile__rows li span:first-child {
    font-family: var(--sd-mono);
    font-size: 11px;
    color: var(--sd-accent-deep);
}

.sd-casefile__stamp {
    margin-top: 18px;
    padding: 9px 12px;
    border: 1px solid var(--sd-accent);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.5;
    text-transform: uppercase;
    color: var(--sd-accent-deep);
    transform: rotate(-2deg);
}

.sd-flow,
.sd-sequence {
    position: relative;
    width: 100%;
    max-width: 460px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.05);
}

.sd-flow__rail {
    position: relative;
    margin: 22px 0 0;
    padding: 0 0 0 26px;
    list-style: none;
}

.sd-flow__rail::before {
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 7px;
    width: 1px;
    background: var(--sd-accent);
    content: "";
}

.sd-flow__rail li {
    position: relative;
    padding: 7px 0 13px;
    font-size: 13px;
    line-height: 1.4;
}

.sd-flow__rail li::before {
    position: absolute;
    top: 11px;
    left: -24px;
    width: 11px;
    height: 11px;
    border: 2px solid var(--sd-accent);
    border-radius: 50%;
    background: var(--sd-deep);
    content: "";
}

.sd-flow__rail li span {
    display: block;
    font-family: var(--sd-mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    color: #cfe8de;
}

.sd-flow__rail li strong {
    font-weight: 650;
}

.sd-flow__fractions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.sd-flow__fractions span {
    padding: 6px 9px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 10px;
    line-height: 1.4;
    color: #e8f5f0;
}

.sd-register {
    position: relative;
    width: 100%;
    max-width: 460px;
    border: 1px solid var(--sd-line);
    background: #fff;
    color: var(--sd-ink);
}

.sd-register__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--sd-line);
    background: var(--sd-accent-soft);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.5;
    text-transform: uppercase;
    color: var(--sd-accent-deep);
}

.sd-register__rows {
    list-style: none;
}

.sd-register__rows li {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) 16px;
    gap: 10px;
    align-items: center;
    padding: 11px 20px;
    border-bottom: 1px solid var(--sd-line);
    font-size: 12px;
    line-height: 1.45;
}

.sd-register__rows li span:first-child {
    font-family: var(--sd-mono);
    font-size: 10px;
    color: var(--sd-accent-deep);
}

.sd-register__rows i {
    font-size: 12px;
    color: var(--sd-accent-deep);
}

.sd-register__foot {
    padding: 12px 20px;
    font-size: 11px;
    line-height: 1.5;
    color: var(--sd-muted);
}

.sd-sequence__route {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin: 20px 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.14);
    list-style: none;
}

.sd-sequence__route li {
    padding: 12px 14px;
    background: var(--sd-deep);
    font-size: 12px;
    line-height: 1.35;
}

.sd-sequence__route li:last-child {
    grid-column: span 2;
}

.sd-sequence__route span {
    display: block;
    margin-bottom: 5px;
    font-family: var(--sd-mono);
    font-size: 10px;
    color: var(--sd-accent);
}

.sd-sequence__route strong {
    font-weight: 650;
}

.sd-sequence__check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 11px;
    line-height: 1.5;
    color: #e8f5f0;
}

.sd-sequence__check i {
    color: var(--sd-accent);
}

.sd-trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin-top: 56px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.12);
    animation: sd-rise 0.7s 0.2s ease both;
}

.sd-trust__item {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 12px;
    padding: 20px 24px;
    background: rgba(10, 19, 17, 0.5);
}

.sd-trust__value {
    font-family: var(--sd-mono);
    font-size: 1.5rem;
    line-height: 1;
    color: #fff;
}

.sd-trust__label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.5;
    text-transform: uppercase;
    color: #cfe8de;
}

.sd-section {
    padding: 92px 0;
}

.sd-section--tint {
    background: var(--sd-cream);
}

.sd-section--white {
    background: #fff;
}

.sd-section__head {
    max-width: 720px;
    margin-bottom: 46px;
}

.sd-section__head--center {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.sd-section__label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.4;
    text-transform: uppercase;
    color: var(--sd-accent-deep);
}

.sd-section__title {
    margin: 14px 0 12px;
    font-size: clamp(1.8rem, 3.2vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.12;
}

.sd-section__intro {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: var(--sd-muted);
}

.sd-risk {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 64px;
    align-items: start;
}

.sd-risk .sd-section__head {
    margin-bottom: 34px;
}

.sd-risk__panel {
    padding-top: 22px;
    border-top: 2px solid var(--sd-accent);
}

.sd-risk__panel h3 {
    margin: 0 0 12px;
    font-size: 1.1rem;
    font-weight: 700;
}

.sd-risk__panel p {
    margin: 0;
    max-width: 640px;
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--sd-muted);
}

.sd-risk__register {
    border: 1px solid var(--sd-line);
    background: #fff;
}

.sd-risk__register-head {
    padding: 16px 22px;
    border-bottom: 1px solid var(--sd-line);
    background: var(--sd-accent-soft);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.5;
    text-transform: uppercase;
    color: var(--sd-accent-deep);
}

.sd-risk__outcomes {
    list-style: none;
}

.sd-risk__outcomes li {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 12px;
    padding: 15px 22px;
    border-bottom: 1px solid var(--sd-line);
    font-size: 14px;
    line-height: 1.55;
}

.sd-risk__outcomes li:last-child {
    border-bottom: 0;
}

.sd-risk__outcomes i {
    margin-top: 4px;
    font-size: 12px;
    color: var(--sd-accent-deep);
}

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

.sd-step__number {
    display: inline-block;
    font-family: var(--sd-mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--sd-accent-deep);
}

.sd-step__title {
    margin: 0 0 6px;
    font-size: 1.1rem;
    font-weight: 700;
}

.sd-step__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: var(--sd-muted);
}

.sd-step__evidence {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.5;
    text-transform: uppercase;
    color: var(--sd-muted);
}

.sd-process--trace {
    border-top: 1px solid var(--sd-line);
}

.sd-process--trace li {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr) 220px;
    gap: 24px;
    padding: 26px 0;
    border-bottom: 1px solid var(--sd-line);
    align-items: start;
}

.sd-process--trace .sd-step__evidence {
    padding-left: 14px;
    border-left: 2px solid var(--sd-accent);
}

.sd-process--journey {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.sd-process--journey::before {
    position: absolute;
    top: 19px;
    right: 6%;
    left: 6%;
    height: 1px;
    background: var(--sd-accent);
    content: "";
}

.sd-process--journey li {
    position: relative;
    padding-top: 44px;
}

.sd-process--journey li::before {
    position: absolute;
    top: 13px;
    left: 0;
    width: 13px;
    height: 13px;
    border: 2px solid var(--sd-accent);
    border-radius: 50%;
    background: var(--sd-cream);
    content: "";
}

.sd-process--journey .sd-step__title {
    margin: 8px 0;
    font-size: 1rem;
}

.sd-process--journey .sd-step__evidence {
    display: block;
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px solid var(--sd-line);
}

.sd-process--assurance {
    border: 1px solid var(--sd-line);
    background: #fff;
}

.sd-process--assurance li {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.15fr) 180px;
    gap: 20px;
    padding: 22px 24px;
    border-bottom: 1px solid var(--sd-line);
    align-items: center;
}

.sd-process--assurance li:nth-child(odd) {
    background: #fbfdfc;
}

.sd-process--assurance li:last-child {
    border-bottom: 0;
}

.sd-process--assurance .sd-step__title {
    font-size: 1rem;
}

.sd-process--assurance .sd-step__evidence {
    padding: 8px 10px;
    border: 1px solid var(--sd-line);
    background: var(--sd-accent-soft);
    text-align: center;
    color: var(--sd-accent-deep);
}

.sd-process--field {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    border: 1px solid var(--sd-line);
    background: var(--sd-line);
}

.sd-process--field li {
    position: relative;
    padding: 26px;
    background: #fff;
}

.sd-process--field li::after {
    position: absolute;
    top: 50%;
    right: -6px;
    width: 10px;
    height: 1px;
    background: var(--sd-accent);
    content: "";
}

.sd-process--field li:nth-child(even)::after,
.sd-process--field li:last-child::after {
    display: none;
}

.sd-process--field li:last-child {
    grid-column: span 2;
}

.sd-process--field .sd-step__number {
    padding: 4px 8px;
    border: 1px solid var(--sd-accent);
}

.sd-process--field .sd-step__title {
    margin-top: 14px;
    font-size: 1.05rem;
}

.sd-process--field .sd-step__evidence {
    display: block;
    margin-top: 16px;
}

.sd-deliverables {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 64px;
}

.sd-outcomes {
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--sd-line);
    list-style: none;
}

.sd-outcomes li {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
    padding: 15px 0;
    border-bottom: 1px solid var(--sd-line);
    font-size: 15px;
    line-height: 1.55;
    align-items: baseline;
}

.sd-outcomes__index {
    font-family: var(--sd-mono);
    font-size: 11px;
    color: var(--sd-accent-deep);
}

.sd-docs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.sd-doc {
    position: relative;
    min-height: 150px;
    padding: 20px;
    border: 1px solid var(--sd-line);
    background: #fff;
}

.sd-doc::before {
    position: absolute;
    top: 0;
    right: 0;
    width: 28px;
    height: 28px;
    border-bottom: 1px solid var(--sd-line);
    border-left: 1px solid var(--sd-line);
    background: linear-gradient(225deg, var(--sd-accent-soft) 50%, transparent 50%);
    content: "";
}

.sd-doc__id {
    font-family: var(--sd-mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    color: var(--sd-accent-deep);
}

.sd-doc__name {
    margin: 12px 0 0;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.45;
}

.sd-doc__footer {
    position: absolute;
    right: 20px;
    bottom: 14px;
    left: 20px;
    padding-top: 10px;
    border-top: 1px dashed var(--sd-line);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.5;
    text-transform: uppercase;
    color: var(--sd-muted);
}

.sd-related {
    display: block;
    height: 100%;
    padding: 24px;
    border-top: 2px solid var(--sd-accent);
    background: #fff;
    color: var(--sd-ink);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.sd-related:hover {
    border-top-color: var(--sd-accent-deep);
    transform: translateY(-4px);
}

.sd-related__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--sd-mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    color: var(--sd-accent-deep);
}

.sd-related__meta i {
    font-family: "bexon-icons", sans-serif;
    font-size: 18px;
}

.sd-related__title {
    margin: 18px 0 10px;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
}

.sd-related__summary {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: var(--sd-muted);
}

.sd-related__link {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    margin-top: 18px;
    font-size: 12px;
    font-weight: 700;
    color: var(--sd-accent-deep);
}

.sd-page .mg-cta-band {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.sd-page .mg-cta-band .mg-btn--light {
    background: var(--sd-accent-deep);
    color: #fff;
}

@keyframes sd-rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991.98px) {
    .sd-hero {
        padding: 80px 0 56px;
    }

    .sd-hero .row > div + div {
        margin-top: 48px;
    }

    .sd-visual {
        min-height: auto;
    }

    .sd-risk,
    .sd-deliverables {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sd-process--journey {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 16px;
    }

    .sd-process--journey::before {
        display: none;
    }

    .sd-process--assurance li {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 12px 18px;
        align-items: start;
    }

    .sd-process--assurance .sd-step__evidence {
        grid-column: 2;
        justify-self: start;
    }

    .sd-process--trace li {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 12px 18px;
    }

    .sd-process--trace .sd-step__evidence {
        grid-column: 2;
    }
}

@media (max-width: 575.98px) {
    .sd-hero {
        padding: 64px 0 48px;
    }

    .sd-breadcrumb {
        margin-bottom: 30px;
    }

    .sd-hero .row > div + div {
        margin-top: 40px;
    }

    .sd-hero h1 {
        font-size: clamp(2.5rem, 11vw, 3.25rem);
    }

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

    .sd-trust {
        grid-template-columns: 1fr;
        margin-top: 40px;
    }

    .sd-trust__item {
        padding: 14px 18px;
    }

    .sd-section {
        padding: 64px 0;
    }

    .sd-process--journey,
    .sd-process--field,
    .sd-docs {
        grid-template-columns: 1fr;
    }

    .sd-process--journey li {
        padding-top: 0;
        padding-left: 26px;
    }

    .sd-process--journey li::before {
        top: 4px;
    }

    .sd-process--field li::after,
    .sd-process--field li:last-child {
        grid-column: auto;
    }

    .sd-process--field li::after {
        display: none;
    }

    .sd-process--assurance li {
        grid-template-columns: 1fr;
    }

    .sd-process--assurance .sd-step__evidence {
        grid-column: 1;
    }

    .sd-casefile,
    .sd-flow,
    .sd-sequence {
        padding: 20px;
    }

    .sd-related {
        margin-bottom: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sd-page *,
    .sd-page *::before,
    .sd-page *::after {
        animation: none !important;
        transition: none !important;
    }
}
