.astb {
    --astb-bg: #080910;
    --astb-panel: #10121c;
    --astb-panel-2: #151827;
    --astb-line: rgba(195, 205, 255, .14);
    --astb-copy: #aeb4c7;
    --astb-white: #f6f7ff;
    --astb-mint: #55e6ba;
    --astb-blue: #7a9cff;
    --astb-violet: #aa86ff;
    --astb-amber: #ffc768;
    --astb-red: #ff7e93;
    position: relative;
    overflow: hidden;
    color: var(--astb-white);
    background:
        radial-gradient(circle at 13% 17%, rgba(122, 156, 255, .13), transparent 31rem),
        radial-gradient(circle at 89% 36%, rgba(170, 134, 255, .11), transparent 34rem),
        linear-gradient(180deg, #080910, #090b12 72%, #07080d);
}

.astb::before {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    opacity: .22;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(#000, transparent 76%);
}

.astb__container {
    position: relative;
    z-index: 1;
    width: min(1216px, calc(100% - 48px));
    margin: 0 auto;
    padding: clamp(64px, 8vw, 108px) 0 clamp(60px, 7vw, 94px);
}

.astb__heading {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
    gap: clamp(36px, 7vw, 94px);
    align-items: end;
    margin-bottom: 40px;
}

.astb__heading h2,
.astb__migration h2,
.astb__sources h2,
.astb__first-lot h2 {
    margin: 12px 0 0;
    color: var(--astb-white);
    letter-spacing: -.045em;
}

.astb__heading h2 {
    max-width: 820px;
    font-size: clamp(40px, 5vw, 70px);
    line-height: 1;
}

.astb__heading > p {
    max-width: 440px;
    margin: 0 0 4px;
    color: var(--astb-copy);
    font-size: 16px;
    line-height: 1.72;
}

.astb__kicker,
.astb__panel-heading > span,
.astb__topbar small,
.astb__receipt-copy > span {
    display: block;
    color: #9ea9cd;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.astb__desk {
    overflow: hidden;
    border: 1px solid var(--astb-line);
    border-radius: 26px;
    background: rgba(11, 13, 21, .96);
    box-shadow: 0 38px 110px rgba(0, 0, 0, .48);
}

.astb__topbar {
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    gap: 15px;
    align-items: center;
    min-height: 78px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--astb-line);
    background: linear-gradient(90deg, rgba(122, 156, 255, .17), rgba(21, 24, 39, .76) 53%, rgba(170, 134, 255, .13));
}

.astb__topbar strong {
    display: block;
    margin-top: 3px;
    font-size: 15px;
}

.astb__identity-mark {
    position: relative;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(122, 156, 255, .34);
    border-radius: 14px;
    color: #0b0d16;
    background: linear-gradient(145deg, #e3e8ff, var(--astb-blue));
    font-size: 10px;
    font-weight: 950;
}

.astb__identity-mark span,
.astb__identity-mark i {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--astb-mint);
    box-shadow: 0 0 12px rgba(85, 230, 186, .9);
}

.astb__identity-mark span { top: 6px; right: 6px; }
.astb__identity-mark i { right: 6px; bottom: 6px; background: var(--astb-violet); }

.astb__topbar ol {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0 14px;
    list-style: none;
}

.astb__topbar li {
    padding: 7px 10px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: #858ca5;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.astb__topbar li.is-active {
    border-color: rgba(122, 156, 255, .28);
    color: #e3e8ff;
    background: rgba(122, 156, 255, .1);
}

.astb__status {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 9px 12px;
    border: 1px solid rgba(255, 199, 104, .25);
    border-radius: 999px;
    color: #ffe5b7;
    background: rgba(255, 199, 104, .08);
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.astb__status i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--astb-amber);
    box-shadow: 0 0 13px rgba(255, 199, 104, .8);
}

.astb__workspace {
    display: grid;
    grid-template-columns: minmax(0, 1.34fr) minmax(340px, .66fr);
}

.astb__map,
.astb__manifest {
    min-width: 0;
    padding: 25px 22px;
}

.astb__manifest {
    border-left: 1px solid var(--astb-line);
    background: rgba(21, 24, 39, .52);
}

.astb__panel-heading h3 {
    margin: 5px 0 18px;
    font-size: 18px;
    line-height: 1.3;
}

.astb__constellation {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 74px 132px;
    min-height: 470px;
    padding: 28px 10px;
}

.astb__core {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 162px;
    height: 162px;
    padding: 20px;
    border: 1px solid rgba(122, 156, 255, .36);
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(122, 156, 255, .22), rgba(11, 13, 21, .96) 68%),
        #0d101b;
    box-shadow: 0 0 0 13px rgba(122, 156, 255, .035), 0 0 55px rgba(122, 156, 255, .16);
    text-align: center;
    transform: translate(-50%, -50%);
}

.astb__core::before,
.astb__core::after {
    position: absolute;
    border: 1px dashed rgba(170, 134, 255, .21);
    border-radius: 50%;
    content: "";
}

.astb__core::before { inset: -29px; }
.astb__core::after { inset: 14px; border-style: solid; border-color: rgba(85, 230, 186, .16); }
.astb__core span { color: #9da8ca; font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.astb__core strong { font-size: 19px; line-height: 1.1; }
.astb__core small { max-width: 100px; color: #9098b0; font-size: 10px; line-height: 1.35; }

.astb__path {
    position: relative;
    z-index: 2;
    min-height: 132px;
    padding: 17px;
    border: 1px solid rgba(195, 205, 255, .13);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .016));
}

.astb__path span {
    display: block;
    color: var(--astb-blue);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.astb__path strong { display: block; margin: 8px 0 4px; font-size: 15px; }
.astb__path small { display: block; color: var(--astb-copy); font-size: 11px; }
.astb__path em { display: inline-flex; margin-top: 13px; padding: 5px 8px; border-radius: 999px; color: #cdd5ef; background: rgba(122, 156, 255, .09); font-size: 9px; font-style: normal; font-weight: 750; }
.astb__path--partner span,
.astb__path--partner em { color: var(--astb-amber); }
.astb__path--partner em { background: rgba(255, 199, 104, .08); }
.astb__path--service span { color: var(--astb-violet); }
.astb__path--service em { background: rgba(170, 134, 255, .1); }
.astb__path--lifecycle span { color: var(--astb-mint); }
.astb__path--lifecycle em { background: rgba(85, 230, 186, .08); }

.astb__beam {
    position: absolute;
    z-index: 1;
    width: 132px;
    height: 1px;
    background: linear-gradient(90deg, rgba(122, 156, 255, .12), rgba(122, 156, 255, .68));
    transform-origin: center;
}

.astb__beam--a { top: 31%; left: 28%; transform: rotate(29deg); }
.astb__beam--b { top: 31%; right: 28%; background: linear-gradient(90deg, rgba(170, 134, 255, .68), rgba(170, 134, 255, .12)); transform: rotate(-29deg); }
.astb__beam--c { bottom: 31%; left: 28%; background: linear-gradient(90deg, rgba(255, 199, 104, .12), rgba(255, 199, 104, .68)); transform: rotate(-29deg); }
.astb__beam--d { right: 28%; bottom: 31%; background: linear-gradient(90deg, rgba(85, 230, 186, .68), rgba(85, 230, 186, .12)); transform: rotate(29deg); }

.astb__legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    padding-top: 15px;
    border-top: 1px solid var(--astb-line);
    color: #8f97ae;
    font-size: 10px;
}

.astb__legend span { display: inline-flex; gap: 7px; align-items: center; }
.astb__legend i { width: 7px; height: 7px; border-radius: 50%; background: var(--astb-blue); }
.astb__legend i.is-green { background: var(--astb-mint); }
.astb__legend i.is-amber { background: var(--astb-amber); }

.astb__manifest ol {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.astb__manifest li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 11px;
    align-items: center;
    padding: 11px 12px;
    border: 1px solid rgba(195, 205, 255, .1);
    border-radius: 11px;
    background: rgba(8, 9, 16, .56);
}

.astb__manifest li > span {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    color: var(--astb-blue);
    background: rgba(122, 156, 255, .1);
    font-size: 9px;
    font-weight: 900;
}

.astb__manifest li strong,
.astb__manifest li small { display: block; }
.astb__manifest li strong { font-size: 12px; }
.astb__manifest li small { margin-top: 2px; color: #8992a9; font-size: 10px; line-height: 1.35; }
.astb__manifest li b { color: var(--astb-mint); font-size: 8px; letter-spacing: .09em; }
.astb__manifest li.is-alert { border-color: rgba(255, 126, 147, .3); background: rgba(255, 126, 147, .07); }
.astb__manifest li.is-alert > span { color: var(--astb-red); background: rgba(255, 126, 147, .1); }
.astb__manifest li.is-alert b { color: var(--astb-red); }

.astb__verdict {
    margin-top: 14px;
    padding: 16px;
    border: 1px solid rgba(255, 199, 104, .25);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 199, 104, .1), rgba(255, 126, 147, .06));
}

.astb__verdict span { color: #c0a97f; font-size: 9px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.astb__verdict strong { display: block; margin: 6px 0; color: #ffe0a9; font-size: 15px; }
.astb__verdict p { margin: 0; color: #a9a394; font-size: 10px; line-height: 1.45; }

.astb__receipt {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 28px;
    padding: 24px;
    border-top: 1px solid var(--astb-line);
    background: linear-gradient(90deg, rgba(85, 230, 186, .055), rgba(122, 156, 255, .045));
}

.astb__receipt-copy h3 { margin: 7px 0 8px; font-size: 18px; line-height: 1.3; }
.astb__receipt-copy p { margin: 0; color: var(--astb-copy); font-size: 11px; line-height: 1.55; }
.astb__receipt dl { overflow: hidden; margin: 0; border: 1px solid var(--astb-line); border-radius: 13px; background: rgba(6, 8, 13, .55); }
.astb__receipt dl div { display: grid; grid-template-columns: 105px 1fr; gap: 12px; padding: 9px 12px; border-bottom: 1px solid rgba(195, 205, 255, .08); }
.astb__receipt dl div:last-child { border-bottom: 0; }
.astb__receipt dt { color: #7f88a2; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; }
.astb__receipt dd { margin: 0; color: #d8dcf0; font-size: 10px; overflow-wrap: anywhere; }
.astb__receipt dd.is-denied { color: var(--astb-red); font-weight: 850; }

.astb__migration,
.astb__sources,
.astb__first-lot {
    margin-top: 54px;
}

.astb__migration > header { display: grid; grid-template-columns: .75fr 1.25fr; gap: 36px; align-items: end; }
.astb__migration h2,
.astb__sources h2,
.astb__first-lot h2 { font-size: clamp(28px, 3.5vw, 46px); line-height: 1.08; }

.astb__wave-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.astb__wave-grid article {
    min-height: 224px;
    padding: 22px;
    border: 1px solid var(--astb-line);
    border-radius: 17px;
    background: linear-gradient(145deg, rgba(122, 156, 255, .08), rgba(255, 255, 255, .02));
}

.astb__wave-grid article.is-paused { border-color: rgba(255, 199, 104, .23); background: linear-gradient(145deg, rgba(255, 199, 104, .08), rgba(255, 126, 147, .025)); }
.astb__wave-grid span { color: var(--astb-blue); font-size: 9px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.astb__wave-grid .is-paused span { color: var(--astb-amber); }
.astb__wave-grid h3 { margin: 30px 0 8px; font-size: 19px; }
.astb__wave-grid p { min-height: 60px; margin: 0; color: var(--astb-copy); font-size: 12px; line-height: 1.55; }
.astb__wave-grid strong { display: block; margin-top: 18px; padding-top: 13px; border-top: 1px solid var(--astb-line); color: #dce0f2; font-size: 10px; }

.astb__countertests {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.astb__countertests article { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; padding: 15px; border: 1px solid rgba(195, 205, 255, .1); border-radius: 13px; background: rgba(255, 255, 255, .022); }
.astb__countertests span { grid-row: 1 / 3; color: var(--astb-mint); font: 850 9px ui-monospace, SFMono-Regular, Menlo, monospace; }
.astb__countertests strong { font-size: 11px; }
.astb__countertests small { color: #8992a8; font-size: 9px; line-height: 1.4; }

.astb__sources {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: clamp(26px, 5vw, 72px);
    align-items: start;
    padding: clamp(28px, 4vw, 48px);
    border: 1px solid var(--astb-line);
    border-radius: 22px;
    background: rgba(16, 18, 28, .78);
}

.astb__sources h2 { font-size: clamp(27px, 3.3vw, 43px); }
.astb__sources > div > p:last-child { margin: 17px 0 0; color: var(--astb-copy); font-size: 13px; line-height: 1.65; }
.astb__source-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.astb__source-grid a { min-height: 116px; padding: 16px; border: 1px solid rgba(195, 205, 255, .12); border-radius: 13px; color: inherit; background: rgba(7, 8, 14, .65); transition: border-color .2s ease, transform .2s ease; }
.astb__source-grid a:hover { border-color: rgba(85, 230, 186, .38); color: inherit; transform: translateY(-2px); }
.astb__source-grid span { display: block; color: var(--astb-mint); font-size: 9px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.astb__source-grid strong { display: block; margin-top: 24px; font-size: 12px; line-height: 1.4; }

.astb__first-lot {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 34px;
    align-items: center;
    padding: clamp(28px, 4.5vw, 52px);
    border: 1px solid rgba(85, 230, 186, .22);
    border-radius: 22px;
    background: linear-gradient(125deg, rgba(85, 230, 186, .1), rgba(122, 156, 255, .07) 48%, rgba(170, 134, 255, .08));
}

.astb__first-lot > div { max-width: 790px; }
.astb__first-lot p:last-child { max-width: 760px; margin: 16px 0 0; color: var(--astb-copy); font-size: 14px; line-height: 1.65; }
.astb__cta { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 13px 18px; border: 1px solid var(--astb-mint); border-radius: 7px; color: #07100e; background: var(--astb-mint); font-size: 13px; font-weight: 900; white-space: nowrap; }
.astb__cta:hover { border-color: #82f3d3; color: #07100e; background: #82f3d3; }

.astb__boundaries {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.astb__boundaries a { min-height: 126px; padding: 17px; border: 1px solid rgba(195, 205, 255, .1); border-radius: 13px; color: inherit; background: rgba(255, 255, 255, .02); transition: border-color .2s ease, background .2s ease; }
.astb__boundaries a:hover { border-color: rgba(122, 156, 255, .38); color: inherit; background: rgba(122, 156, 255, .07); }
.astb__boundaries span { display: block; color: #8992ad; font-size: 9px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.astb__boundaries strong { display: block; margin: 18px 0 4px; font-size: 14px; }
.astb__boundaries small { display: block; color: #8e96aa; font-size: 10px; line-height: 1.4; }

@media (max-width: 1080px) {
    .astb__topbar { grid-template-columns: auto 1fr auto; }
    .astb__topbar ol { display: none; }
    .astb__workspace { grid-template-columns: 1fr; }
    .astb__manifest { border-top: 1px solid var(--astb-line); border-left: 0; }
    .astb__constellation { min-height: 430px; gap: 62px 122px; }
}

@media (max-width: 780px) {
    .astb__container { width: min(100% - 28px, 680px); }
    .astb__heading { grid-template-columns: 1fr; gap: 22px; }
    .astb__heading h2 { font-size: clamp(36px, 10vw, 54px); }
    .astb__heading > p { max-width: none; }
    .astb__constellation { display: grid; grid-template-columns: 1fr; gap: 9px; min-height: 0; padding: 0; }
    .astb__core { position: relative; top: auto; left: auto; width: 100%; height: auto; min-height: 108px; border-radius: 15px; transform: none; }
    .astb__core::before,
    .astb__core::after,
    .astb__beam { display: none; }
    .astb__path { min-height: 116px; }
    .astb__receipt,
    .astb__migration > header,
    .astb__sources,
    .astb__first-lot { grid-template-columns: 1fr; }
    .astb__wave-grid { grid-template-columns: 1fr; }
    .astb__wave-grid article { min-height: 0; }
    .astb__wave-grid p { min-height: 0; }
    .astb__countertests { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .astb__boundaries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .astb__cta { justify-self: start; white-space: normal; }
}

@media (max-width: 520px) {
    .astb__container { width: min(100% - 20px, 420px); padding-top: 56px; }
    .astb__heading h2 { font-size: 36px; }
    .astb__desk { border-radius: 18px; }
    .astb__topbar { grid-template-columns: auto minmax(0, 1fr); padding: 13px; }
    .astb__topbar > div:nth-child(2) { min-width: 0; }
    .astb__topbar strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
    .astb__status { grid-column: 1 / -1; justify-self: start; }
    .astb__map,
    .astb__manifest { padding: 20px 14px; }
    .astb__manifest li { grid-template-columns: auto minmax(0, 1fr); }
    .astb__manifest li b { grid-column: 2; }
    .astb__receipt { gap: 18px; padding: 20px 14px; }
    .astb__receipt dl div { grid-template-columns: 84px minmax(0, 1fr); }
    .astb__countertests,
    .astb__source-grid,
    .astb__boundaries { grid-template-columns: 1fr; }
    .astb__sources,
    .astb__first-lot { padding: 24px 18px; }
    .astb__source-grid a,
    .astb__boundaries a { min-height: 0; }
    .astb__source-grid strong,
    .astb__boundaries strong { margin-top: 12px; }
    .astb__cta { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .astb__source-grid a,
    .astb__boundaries a { transition: none; }
}
