.dgx-stage {
    margin: 0;
    min-height: 460px;
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
    background:
        radial-gradient(ellipse 70% 55% at 50% 18%, rgba(255, 176, 92, 0.38), transparent 58%),
        linear-gradient(180deg, #1b1d22 0%, #2c241c 100%);
    box-shadow: var(--shadow);
}
.dgx-stage::after {
    content: "";
    position: absolute;
    inset: -20% auto -20% -40%;
    width: 42%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
    transform: skewX(-18deg);
    animation: dgx-sheen 1.5s ease 0.35s both;
    pointer-events: none;
}
.dgx-chassis {
    width: min(280px, 72%);
    aspect-ratio: 1;
    border-radius: 36px;
    padding: 26px 24px 20px;
    display: flex;
    flex-direction: column;
    color: var(--ink);
    background:
        linear-gradient(165deg, #fff8f1 0%, #ffe0bf 46%, #f0b072 100%);
    box-shadow:
        0 28px 50px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
    animation: dgx-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.dgx-chassis-kicker {
    margin: 0;
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8a5a32;
}
.dgx-chassis-name {
    margin: 18px 0 0;
    font-size: 64px;
    line-height: 0.9;
    font-weight: 700;
    letter-spacing: -0.06em;
}
.dgx-chassis-sub {
    margin: 8px 0 0;
    color: #6a5344;
    font-size: 15px;
}
.dgx-chassis-stats {
    list-style: none;
    margin: auto 0 0;
    padding: 14px 0 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    border-top: 1px solid rgba(138, 90, 50, 0.2);
}
.dgx-chassis-stats b {
    display: block;
    font-size: 18px;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
}
.dgx-chassis-stats span {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    line-height: 1.35;
    color: #6a5344;
}

.dgx-section { padding: 72px 0 8px; }
.dgx-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 28px;
}
.dgx-head h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 44px);
    letter-spacing: -0.042em;
    line-height: 1.14;
}

.dgx-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.dgx-facts article {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 22px 22px 20px;
    box-shadow: var(--shadow-soft);
}
.dgx-facts b {
    display: block;
    font-size: clamp(26px, 3vw, 34px);
    letter-spacing: -0.05em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    color: var(--price);
}
.dgx-facts span {
    display: block;
    margin: 10px 0 8px;
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8a6a3d;
}
.dgx-facts p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}
.dgx-spec-line {
    max-width: 46em;
    margin: 22px auto 0;
    text-align: center;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.dgx-uses {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.dgx-uses article {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 22px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.dgx-uses article:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}
.dgx-no {
    display: block;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0.12em;
    color: #8a6a3d;
}
.dgx-uses h3 {
    margin: 0 0 8px;
    font-size: 22px;
    letter-spacing: -0.03em;
}
.dgx-uses p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.dgx-order {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 22px;
    align-items: start;
}
.dgx-block {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 22px;
    margin: 0 0 14px;
    box-shadow: var(--shadow-soft);
}
.dgx-block h2,
.dgx-checks legend {
    margin: 0 0 8px;
    padding: 0;
    font-size: 18px;
    font-weight: 650;
    letter-spacing: -0.03em;
}
.dgx-checks legend {
    float: left;
    width: 100%;
}
.dgx-note {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.65;
}
.dgx-presets {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 14px;
}
.dgx-presets button,
.dgx-stepper button {
    font: inherit;
    cursor: pointer;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.dgx-presets button {
    min-height: 48px;
    border-radius: 14px;
    font-weight: 600;
}
.dgx-presets button[aria-pressed="true"] {
    border-color: var(--ink);
    box-shadow: 0 0 0 1px var(--ink);
}
.dgx-presets button:hover,
.dgx-stepper button:hover { transform: translateY(-1px); }
.dgx-stepper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px 4px 4px;
    border-radius: 999px;
    background: var(--soft);
}
.dgx-stepper button {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    font-size: 18px;
}
.dgx-stepper button:disabled {
    opacity: 0.38;
    cursor: not-allowed;
    transform: none;
}
.dgx-stepper input {
    width: 64px;
    border: 0;
    background: transparent;
    text-align: center;
    font: inherit;
    font-variant-numeric: tabular-nums;
    font-weight: 650;
}
.dgx-stepper span {
    font-size: 14px;
    color: var(--muted);
    margin-right: 6px;
}

.dgx-checks { border: 1px solid var(--line); min-inline-size: 0; }
.dgx-checks.is-attention {
    border-color: #f0d4ad;
    box-shadow: 0 0 0 4px rgba(255, 137, 28, 0.16);
}
.dgx-checks label {
    clear: both;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px 0;
    border-top: 1px solid #f1efe9;
    font-size: 14.5px;
    line-height: 1.5;
}
.dgx-checks label:first-of-type { border-top: 0; }
.dgx-checks input {
    margin-top: 3px;
    accent-color: var(--ink);
}

.dgx-aside { position: sticky; top: 88px; }
.dgx-quote {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 22px;
    box-shadow: var(--shadow);
}
.dgx-kicker {
    margin: 0 0 6px;
    color: #8a6a3d;
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.dgx-quote h2 {
    margin: 0 0 12px;
    font-size: 22px;
    letter-spacing: -0.03em;
}
.dgx-quote-meta { margin: 0; }
.dgx-quote-meta div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-top: 1px solid #f1efe9;
    font-size: 13.5px;
}
.dgx-quote-meta dt { color: #8a8e98; }
.dgx-quote-meta dd {
    margin: 0;
    text-align: right;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
.dgx-due {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin: 14px 0 4px;
}
.dgx-due span { color: var(--muted); }
.dgx-due strong {
    font-size: clamp(28px, 3vw, 36px);
    letter-spacing: -0.05em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    color: var(--price);
}
.dgx-due strong.is-tick { animation: dgx-tick 0.32s ease; }
.dgx-formula {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 13px;
}
#dgx-checkout:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.pay-box { margin: 16px 0; }
.pay-label { font-size: 13px; font-weight: 600; margin: 0 0 8px; }
.pay-list { display: flex; flex-direction: column; gap: 8px; }
.pay-loading, .od-pay-empty {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 12px 2px;
    color: var(--muted);
    font-size: 13.5px;
}
.pay-spin { animation: pay-spin 1s linear infinite; }
@keyframes pay-spin { to { transform: rotate(360deg); } }
.pay-option { display: block; margin: 0; }
.pay-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.pay-card:hover { border-color: #f0d4ad; }
.pay-option input { position: absolute; opacity: 0; pointer-events: none; }
.pay-option:has(input:checked) .pay-card {
    border-color: var(--ink);
    box-shadow: 0 0 0 1px var(--ink);
}
.pay-logo {
    width: 40px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.pay-card img, .pay-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pay-meta { flex: 1; min-width: 0; }
.pay-title { display: block; font-size: 14px; font-weight: 550; }
.pay-currencies { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.pay-radio {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    border: 2px solid var(--line);
    border-radius: 50%;
}
.pay-option:has(input:checked) .pay-radio {
    border-color: var(--ink);
    background: var(--ink);
    box-shadow: inset 0 0 0 3px #fff;
}
.dgx-quote .dgx-note { margin: 12px 0 0; }

.dgx-table-wrap {
    max-width: 560px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}
.dgx-table {
    width: 100%;
    border-collapse: collapse;
}
.dgx-table caption {
    caption-side: bottom;
    padding: 12px 16px 14px;
    text-align: left;
    color: var(--muted);
    font-size: 13px;
}
.dgx-table th,
.dgx-table td {
    padding: 14px 18px;
    text-align: left;
    border-top: 1px solid #f1efe9;
}
.dgx-table th {
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8a6a3d;
    font-weight: 650;
    border-top: 0;
}
.dgx-table td:last-child,
.dgx-table th:last-child { text-align: right; font-variant-numeric: tabular-nums; }

.faq-list { max-width: 720px; margin: 0 auto; text-align: left; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    text-align: left;
    background: none;
    border: 0;
    padding: 18px 0;
    font: inherit;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.02em;
    cursor: pointer;
    color: var(--ink);
}
.faq-chevron {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-right: 1.6px solid #9aa0ab;
    border-bottom: 1.6px solid #9aa0ab;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}
.faq-item.is-open .faq-chevron { transform: rotate(-135deg); }
.faq-item dd {
    display: none;
    margin: -4px 28px 18px 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}
.faq-item.is-open dd { display: block; }

.dgx-close {
    margin: 72px 0 12px;
    padding: 68px 28px;
    text-align: center;
    border-radius: 28px;
    background:
        radial-gradient(ellipse 70% 80% at 50% 0%, rgba(255, 176, 92, 0.22), transparent 60%),
        var(--cream);
}
.dgx-close h2 {
    margin: 0 0 12px;
    font-size: clamp(30px, 4vw, 46px);
    letter-spacing: -0.042em;
}
.dgx-close .section-lead { margin-bottom: 22px; }
.dgx-close-actions { justify-content: center; }

.reveal {
    opacity: 0;
    transform: translateY(18px);
    animation: dgx-reveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-play-state: paused;
}
.reveal.is-in { animation-play-state: running; }

@keyframes dgx-rise {
    from { opacity: 0; transform: translateY(16px) scale(0.98); }
    to { opacity: 1; transform: none; }
}
@keyframes dgx-sheen {
    from { transform: translateX(0) skewX(-18deg); }
    to { transform: translateX(320%) skewX(-18deg); }
}
@keyframes dgx-reveal {
    to { opacity: 1; transform: none; }
}
@keyframes dgx-tick {
    from { opacity: 0.35; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
    .dgx-facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
    .dgx-stage { min-height: 380px; }
    .dgx-uses,
    .dgx-order { grid-template-columns: 1fr; }
    .dgx-aside { position: static; }
    .dgx-section { padding-top: 56px; }
    .dgx-presets { grid-template-columns: 1fr 1fr; }
    .dgx-close { padding: 48px 20px; border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
    .dgx-stage::after,
    .dgx-chassis,
    .dgx-due strong.is-tick,
    .reveal {
        animation: none;
        opacity: 1;
        transform: none;
    }
    .dgx-uses article,
    .dgx-presets button,
    .dgx-stepper button,
    .pay-spin { transition: none; animation: none; }
}
