.sd-flow-page {
    --line-title-size: 4rem;
    --line-lead-size: 1.14rem;
    min-height: 100vh;
    padding: 150px clamp(18px, 5vw, 72px) 82px;
    background:
        radial-gradient(circle at 18% 14%, rgba(216, 92, 87, 0.13), transparent 28%),
        radial-gradient(circle at 82% 32%, rgba(143, 191, 159, 0.12), transparent 30%),
        linear-gradient(90deg, rgba(143, 191, 159, 0.045) 1px, transparent 1px),
        linear-gradient(rgba(143, 191, 159, 0.035) 1px, transparent 1px),
        #0d1110;
    background-size: auto, auto, 42px 42px, 42px 42px, auto;
    color: #f4efe7;
}

.sd-flow-hero,
.sd-status-block,
.sd-capability-strip,
.sd-section-heading,
.sd-flow,
.sd-entry {
    width: min(1180px, 100%);
    margin-left: auto;
    margin-right: auto;
}

.sd-flow-hero {
    max-width: 960px;
    margin-bottom: 30px;
    text-align: center;
}

.sd-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    margin: 0 auto 14px;
    padding: 7px 10px;
    border: 1px solid rgba(85, 183, 255, 0.28);
    border-radius: 8px;
    color: #9ed8ff;
    background: rgba(85, 183, 255, 0.09);
    box-shadow: 0 12px 34px rgba(85, 183, 255, 0.1);
    font-size: var(--text-xs);
    font-weight: 800;
    line-height: 1.18;
    text-align: center;
    text-transform: uppercase;
}

.sd-status-block {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 15px;
}

.sd-kicker.sd-line-status {
    margin: 0;
}

.sd-kicker.sd-line-status::before {
    content: "";
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #55b7ff;
    box-shadow: 0 0 14px rgba(85, 183, 255, 0.64);
}

.sd-flow-hero h1 {
    max-width: 900px;
    margin: 0 auto;
    font-family: var(--font-display);
    font-size: clamp(2.28rem, 5.1vw, 5rem);
    font-weight: 600;
    line-height: var(--heading-tight);
}

.sd-flow-hero p {
    max-width: 760px;
    margin: 22px auto 0;
    color: #b9b2aa;
    font-size: clamp(1.04rem, 1.35vw, 1.24rem);
    line-height: var(--copy-line);
}

.sd-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.sd-capability-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 940px;
    margin-bottom: clamp(54px, 7vw, 82px);
    padding: 12px;
    border: 1px solid rgba(244, 239, 231, 0.06);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01)),
        rgba(13, 17, 16, 0.54);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(16px) saturate(1.1);
}

.sd-capability-strip span {
    position: relative;
    overflow: hidden;
    min-height: 48px;
    display: inline-flex;
    flex: 0 1 172px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 14px;
    border-radius: 8px;
    color: rgba(244, 239, 231, 0.94);
    background:
        linear-gradient(135deg, rgba(143, 191, 159, 0.14), rgba(255, 255, 255, 0.028)),
        rgba(16, 20, 19, 0.72);
    border: 1px solid rgba(143, 191, 159, 0.18);
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 700;
    line-height: 1.22;
    text-align: center;
    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.sd-capability-strip span::before {
    content: "";
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #8fbf9f;
    box-shadow: 0 0 16px rgba(143, 191, 159, 0.42);
    position: relative;
    z-index: 1;
}

.sd-capability-strip span::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.12), transparent 42%);
    opacity: 0.38;
    pointer-events: none;
}

.sd-capability-strip span:nth-child(2)::before,
.sd-capability-strip span:nth-child(5)::before {
    background: #c7a15b;
    box-shadow: 0 0 16px rgba(199, 161, 91, 0.42);
}

.sd-capability-strip span:nth-child(3)::before {
    background: #d85c57;
    box-shadow: 0 0 16px rgba(216, 92, 87, 0.42);
}

.sd-capability-strip span:nth-child(2),
.sd-capability-strip span:nth-child(5) {
    background:
        linear-gradient(135deg, rgba(199, 161, 91, 0.16), rgba(255, 255, 255, 0.026)),
        rgba(18, 18, 15, 0.72);
    border-color: rgba(199, 161, 91, 0.2);
}

.sd-capability-strip span:nth-child(3) {
    background:
        linear-gradient(135deg, rgba(216, 92, 87, 0.15), rgba(255, 255, 255, 0.024)),
        rgba(20, 16, 15, 0.72);
    border-color: rgba(216, 92, 87, 0.2);
}

.sd-capability-strip span:hover {
    transform: translateY(-2px);
    border-color: rgba(244, 239, 231, 0.18);
    background:
        linear-gradient(135deg, rgba(143, 191, 159, 0.2), rgba(255, 255, 255, 0.04)),
        rgba(18, 22, 21, 0.82);
    box-shadow:
        0 18px 36px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.sd-section-heading {
    max-width: 1180px;
    margin-bottom: 44px;
    text-align: left;
}

.sd-section-heading h2 {
    max-width: 980px;
    margin: 0;
    font-family: var(--font-display);
    font-size: var(--line-title-size);
    font-weight: 600;
    line-height: var(--heading-tight);
    text-wrap: balance;
}

.sd-section-heading p:not(.sd-kicker) {
    max-width: 980px;
    margin: 16px 0 0;
    color: rgba(244, 239, 231, 0.7);
    font-size: var(--line-lead-size);
    line-height: var(--copy-line);
}

.sd-flow {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 88px;
    padding: 10px 0 20px;
}

.sd-flow::before {
    content: "";
    position: absolute;
    top: 56px;
    bottom: 74px;
    left: 50%;
    width: 2px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(199, 161, 91, 0), rgba(199, 161, 91, 0.66), rgba(216, 92, 87, 0.24));
    transform: translateX(-50%) scaleY(var(--flow-progress, 0));
    transform-origin: top;
    transition: transform 260ms ease-out;
}

.sd-node {
    position: relative;
    min-height: 190px;
    padding: 24px;
    border: 1px solid rgba(244, 239, 231, 0.08);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012)),
        rgba(12, 15, 14, 0.6);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.14);
    opacity: 1;
    transform: translateY(0);
    transition: opacity 520ms ease, transform 520ms ease, border-color 520ms ease, background 520ms ease;
}

.sd-flow-page.is-enhanced .sd-node,
.sd-flow-page.is-enhanced .sd-entry {
    opacity: 0;
    transform: translateY(18px);
}

.sd-node.is-visible,
.sd-entry.is-visible,
.sd-flow-page.is-enhanced .sd-node.is-visible,
.sd-flow-page.is-enhanced .sd-entry.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.sd-node.is-visible {
    border-color: rgba(199, 161, 91, 0.22);
}

.sd-node-left {
    grid-column: 1;
}

.sd-node-right {
    grid-column: 2;
}

.sd-node::before {
    content: "";
    position: absolute;
    top: 35px;
    width: 46px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(199, 161, 91, 0), #c7a15b, #d85c57);
    opacity: 0;
    transform: scaleX(0);
    transition: opacity 420ms ease 220ms, transform 420ms ease 220ms;
}

.sd-node-left::before {
    right: -70px;
    transform-origin: left;
}

.sd-node-right::before {
    left: -70px;
    transform-origin: right;
}

.sd-node.is-visible::before {
    opacity: 1;
    transform: scaleX(1);
}

.sd-node span {
    display: inline-flex;
    margin-bottom: 14px;
    color: #c7a15b;
    font-size: var(--text-xs);
    font-weight: 800;
    line-height: 1.18;
}

.sd-node h2 {
    margin: 0 0 12px;
    font-family: var(--font-display);
    font-size: clamp(1.12rem, 1.55vw, 1.42rem);
    font-weight: 600;
    line-height: 1.2;
}

.sd-node p {
    margin: 0;
    color: #b9b2aa;
    font-size: var(--text-sm);
    line-height: 1.7;
}

.sd-node p a {
    color: #c7a15b;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dashed rgba(199, 161, 91, 0.4);
    transition: color 180ms ease, border-color 180ms ease;
}

.sd-node p a:hover {
    color: #d85c57;
    border-bottom-style: solid;
    border-color: #d85c57;
}

.sd-entry {
    margin-top: 48px;
    display: grid;
    grid-template-columns: minmax(260px, 0.82fr) minmax(300px, 1fr) auto;
    gap: 28px;
    align-items: center;
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid rgba(244, 239, 231, 0.08);
    border-radius: 8px;
    background:
        radial-gradient(circle at 84% 34%, rgba(216, 92, 87, 0.1), transparent 32%),
        rgba(255, 255, 255, 0.034);
    opacity: 1;
    transform: translateY(0);
    transition: opacity 520ms ease, transform 520ms ease, border-color 520ms ease;
}

.sd-entry.is-visible {
    border-color: rgba(216, 92, 87, 0.2);
}

.sd-entry h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 2.4vw, 2.3rem);
    font-weight: 600;
    line-height: var(--heading-normal);
}

.sd-entry p {
    margin: 0;
    color: #b9b2aa;
    font-size: var(--text-base);
    line-height: var(--copy-line);
}

.sd-entry .button {
    justify-self: end;
    white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
    .sd-flow::before,
    .sd-node,
    .sd-node::before,
    .sd-entry {
        transition: none;
    }
}

@media (max-width: 980px) {
    .sd-flow-page {
        --line-title-size: 3.45rem;
        padding-top: 144px;
    }
    .sd-capability-strip {
        justify-content: flex-start;
    }
    .sd-flow {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
        padding-left: 22px;
    }
    .sd-flow::before {
        left: 0;
        top: 42px;
        bottom: 42px;
    }
    .sd-node-left,
    .sd-node-right {
        grid-column: 1;
    }
    .sd-node::before {
        left: -22px;
        right: auto;
        width: 22px;
        transform-origin: left;
    }
    .sd-entry {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .sd-entry .button {
        justify-self: start;
    }
}

@media (max-width: 560px) {
    .sd-flow-page {
        --line-title-size: 2.46rem;
        --line-lead-size: 1.02rem;
        padding: 144px 18px 52px;
    }
    .sd-flow-hero {
        margin-bottom: 30px;
        text-align: left;
    }
    .sd-flow-hero h1,
    .sd-flow-hero p {
        margin-left: 0;
        margin-right: 0;
    }
    .sd-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }
    .sd-hero-actions .button {
        width: 100%;
    }
    .sd-capability-strip {
        gap: 8px;
        margin-bottom: 40px;
        padding: 10px;
    }
    .sd-capability-strip span {
        flex: 1 1 calc(50% - 8px);
        min-height: 44px;
        padding: 10px 11px;
        justify-content: flex-start;
        font-size: 0.82rem;
        text-align: left;
    }
    .sd-capability-strip span:first-child,
    .sd-capability-strip span:nth-child(4) {
        flex-basis: 100%;
    }
    .sd-section-heading {
        margin-bottom: 30px;
    }
    .sd-kicker {
        margin-left: 0;
        margin-right: 0;
    }
    .sd-node {
        min-height: auto;
        padding: 18px;
    }
    .sd-entry {
        padding: 22px;
    }
    .sd-entry .button {
        width: 100%;
    }
}
