.db-hosting {
    --db-ink: #17213a;
    --db-muted: #4d596e;
    --db-line: #d6d9e5;
    --db-accent: #5142b3;
    --db-night: #111025;
    background: #fff;
    color: var(--db-ink);
}
.db-hosting .db-wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.db-hosting :is(h1, h2, h3, p, dl, dd, ol) { margin: 0; }
.db-hosting h1, .db-hosting h2, .db-hosting h3 { color: inherit; text-wrap: balance; }
.db-hosting p { font-size: 1rem; line-height: 1.65; color: var(--db-muted); }
.db-hosting h2 { font-size: clamp(1.77rem, 3.2vw, 2.85rem); line-height: 1.12; letter-spacing: -.038em; }
.db-hosting a:focus-visible, .db-hosting summary:focus-visible { outline: 3px solid #8873ff; outline-offset: 3px; }
.db-hosting :is(#pricing, #db-launch, #db-faq) { scroll-margin-top: 90px; }

.db-hero {
    color: #fff;
    background: radial-gradient(ellipse at 80% 48%, #242047 0, transparent 59%), var(--db-night);
    overflow: hidden;
}
.db-hero-grid { display: grid; grid-template-columns: 1.06fr 1fr; align-items: center; gap: 2%; }
.db-intro { position: relative; z-index: 1; padding-block: clamp(46px, 5vw, 76px); min-width: 0; }
.db-hosting .db-runtimes {
    display: inline-flex; align-items: center; gap: .72rem;
    color: #e0dcff; font: 600 .88rem/1.4 ui-monospace, monospace;
}
.db-runtimes span { color: #b4a5ff; }
.db-runtimes i { width: 1px; height: 1em; background: #756e90; }
#discord-studio .db-hero h1 {
    margin-block: 1.1rem; max-width: 15ch; color: #fff;
    font-size: clamp(3rem, 5.5vw, 5rem); font-weight: 750;
    letter-spacing: -.055em; line-height: 1.02; overflow-wrap: anywhere;
}
.db-hero h1 em { color: #c6baff; font-style: normal; }
.db-hosting .db-lead { max-width: 53ch; color: #e1dfed; font-size: clamp(1rem, 1.3vw, 1.13rem); }
.db-hero-actions { display: flex; gap: 16px 24px; align-items: center; flex-wrap: wrap; margin-top: 1.75rem; }
.db-hosting a.db-button {
    display: inline-flex; align-items: center; justify-content: center; min-height: 46px;
    border-radius: 9px; padding: .66rem 1.15rem; font-size: 1rem; font-weight: 700; line-height: 1.4;
    text-decoration: none; color: #fff; background: var(--db-accent);
}
.db-hosting a.db-button:hover { background: #40328d; color: #fff; }
.db-hosting .db-hero a.db-button { background: #d4caff; color: #211849; }
.db-hosting .db-hero a.db-button:hover { background: #e6e0ff; }
.db-hosting .db-start { color: #e1dfed; font-size: .88rem; line-height: 1.35; }
.db-start span { display: block; font-size: .82rem; }
.db-start bdi { font-size: 1.43rem; font-weight: 730; color: #fff; }
.db-art { position: relative; min-width: 0; isolation: isolate; }
.db-art img {
    display: block; max-width: none; width: 116%; height: auto; margin-inline: -8%;
    mask-image: radial-gradient(ellipse 65% 67% at 50% 49%, #000 52%, transparent 87%);
}
.db-shortcuts { background: #f6f5fc; border-bottom: 1px solid #e1dfed; }
.db-shortcuts .db-wrap { display: flex; align-items: center; gap: .25rem 2rem; flex-wrap: wrap; padding-block: .6rem; }
.db-shortcuts a { display: inline-flex; align-items: center; min-height: 34px; color: #423966; font-size: .94rem; font-weight: 650; text-decoration: none; }
.db-hosting :is(.db-shortcuts a, a.db-text-link):hover { text-decoration: underline; text-underline-offset: .2em; }

.db-pricing { padding-block: clamp(42px, 5.5vw, 80px); background: #f9f9fd; }
.db-section-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 22px 30px; margin-bottom: 26px; }
.db-section-head > div { flex: 1 1 380px; }
.db-section-head h2 { max-width: 23ch; }
.db-section-head p { max-width: 62ch; margin-top: .85rem; }
.db-periods { display: flex; align-items: stretch; padding: 4px; background: #edecf5; border: 1px solid #dad8e5; border-radius: 12px; }
.db-hosting .db-periods a {
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2px;
    min-width: 72px; min-height: 46px; padding: .3rem .65rem; border-radius: 8px;
    color: #303b50; font-size: .9rem; line-height: 1.2; font-weight: 600; text-decoration: none;
}
.db-periods a small { color: #4d4370; font-size: .8rem; line-height: 1.25; }
.db-hosting .db-periods a[aria-current] { background: #35296a; color: white; }
.db-periods a[aria-current] small { color: #e0d9ff; }
.db-periods a:hover { background: #dfddeb; }
.db-plans {
    display: grid; background: #fff; border: 1px solid #d7d5e4; border-radius: 18px;
    overflow: hidden; box-shadow: 0 8px 28px #221c5710;
}
.db-plan {
    display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr) minmax(0, 1.1fr) minmax(120px, auto);
    align-items: center; gap: 12px 24px; padding: 22px 26px; min-width: 0; background: #fff;
}
.db-plan + .db-plan { border-top: 1px solid #e2dfeb; }
.db-plan:focus-within { background: #f7f5ff; }
#discord-studio .db-plan h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem; margin: 0; font-size: 1.26rem; text-align: start; }
.db-memory { font-weight: 730; letter-spacing: -.04em; white-space: nowrap; }
.db-unit-label { font-size: .81rem; color: #54546b; font-weight: 500; }
.db-specs { display: grid; grid-template-columns: .85fr 1.15fr; align-items: baseline; gap: 8px; color: #4a4861; font-size: 1rem; }
.db-specs bdi { color: #29263f; font-weight: 600; }
#discord-studio .db-price { display: flex; align-items: baseline; gap: .25rem .4rem; flex-wrap: wrap; line-height: 1.15; color: #221b40; }
.db-price strong { font-size: clamp(1.4rem, 2vw, 1.85rem); font-weight: 740; letter-spacing: -.04em; }
.db-price span, #discord-studio .db-renewal { font-size: .86rem; }
#discord-studio .db-plan a.db-button { min-height: 44px; background: #eee9ff; color: #422884; border: 1px solid #d6cafa; }
#discord-studio .db-plan a.db-button:hover { background: #4c3095; color: white; border-color: #4c3095; }
.db-hosting .db-note { margin-top: 1rem; font-size: .89rem; }

.db-hosting .db-setup { display: grid; grid-template-columns: .85fr 1.4fr; align-items: start; gap: clamp(1.6rem, 5vw, 5rem); }
.db-hosting .db-setup { padding-block: clamp(46px, 6vw, 86px); }
.db-setup-intro h2 { max-width: 17ch; }
.db-hosting a.db-text-link { display: inline-block; padding-block: .5rem; color: #463693; text-decoration: underline; text-underline-offset: .2em; font-size: 1rem; font-weight: 600; }
.db-setup-intro a { margin-top: .9rem; }
.db-hosting .db-steps { padding: 0; list-style: none; counter-reset: deploy; }
.db-steps li { counter-increment: deploy; position: relative; padding-inline-start: 3.35rem; padding-bottom: 1.55rem; }
.db-steps li:last-child { padding-bottom: 0; }
.db-steps li::before {
    content: counter(deploy); position: absolute; inset-inline-start: 0; top: -.1rem; display: grid; place-items: center;
    width: 2.2rem; height: 2.2rem; border-radius: 50%; color: #514289; background: #eeeafa; font-weight: 700;
}
.db-steps li:not(:last-child)::after { position: absolute; content: ""; inset-inline-start: 1.06rem; top: 2.5rem; bottom: .4rem; width: 1px; background: #d8d4e6; }
.db-hosting .db-steps h3 { font-size: 1.24rem; line-height: 1.45; text-align: start; }
.db-steps p { margin-top: .35rem; }
main:has(#discord-studio) .cs-search-advice { background: #f7f6fb; }
main:has(#discord-studio) .cs-search-kicker { display: none; }
@media (max-width: 900px) {
    .db-plan { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 8px 15px; padding: 18px; }
    .db-specs { display: flex; flex-wrap: wrap; gap: 3px 10px; }
}
@media (max-width: 740px) {
    .db-hosting .db-wrap { width: calc(100% - 36px); }
    .db-hero-grid, .db-hosting .db-setup { grid-template-columns: minmax(0, 1fr); }
    .db-intro { padding-block: 34px 0; }
    #discord-studio .db-hero h1 { font-size: clamp(2.5rem, 8vw, 3.5rem); }
    .db-art { width: min(100%, 430px); margin: 0 auto; }
    .db-art img { width: 100%; margin: 0; }
    .db-shortcuts .db-wrap { gap: .15rem 1.15rem; }
    .db-shortcuts a { font-size: .89rem; }
    .db-section-head { align-items: start; }
}
@media (max-width: 520px) {

    .db-periods { width: 100%; }
    .db-hosting .db-periods a { flex: 1; min-width: 0; padding-inline: .2rem; }
    .db-steps li { padding-inline-start: 2.9rem; }
}

@media (max-width: 740px) {
    .db-plan { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "memory price" "specs action"; padding: 14px 16px; gap: 6px 12px; }
    .db-plan h3 { grid-area: memory; }
    .db-plan .db-cost { grid-area: price; text-align: end; }
    #discord-studio .db-price { justify-content: flex-end; }
    .db-plan .db-specs { grid-area: specs; font-size: .88rem; }
    .db-plan :is(a.db-button, .db-unavailable) { grid-area: action; justify-self: end; }
    #discord-studio .db-plan a.db-button { min-height: 40px; padding: .45rem .8rem; font-size: .9rem; }
}
