.guide-hero {
    padding: 76px 0 42px;
}

.guide-hero h1 {
    max-width: 780px;
    margin: 17px 0 0;
    font-size: 50px;
    line-height: 1.04;
    font-weight: 820;
}

.guide-hero .lead {
    max-width: 760px;
}

.safety-notice {
    position: relative;
    max-width: 820px;
    margin-top: 30px;
    padding: 18px 20px 18px 24px;
    border: 1px solid rgba(237, 199, 95, 0.3);
    background: rgba(211, 166, 63, 0.07);
}

.safety-notice::before {
    content: "";
    position: absolute;
    top: -1px;
    bottom: -1px;
    left: -1px;
    width: 4px;
    background: var(--amber-bright);
}

.safety-notice strong,
.safety-notice p {
    display: block;
}

.safety-notice strong {
    color: #f2d37c;
    font-size: 13px;
}

.safety-notice p {
    margin: 7px 0 0;
    color: #bbc3c0;
    font-size: 12px;
    line-height: 1.65;
}

.guide-layout {
    padding: 28px 0 88px;
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 58px;
    align-items: start;
}

.guide-index {
    position: sticky;
    top: 96px;
}

.guide-index > span {
    color: #717d80;
    font-size: 9px;
    font-weight: 850;
    text-transform: uppercase;
}

.guide-index nav {
    margin-top: 14px;
    border-left: 1px solid var(--line-strong);
    display: grid;
}

.guide-index a {
    min-height: 37px;
    padding: 9px 0 9px 15px;
    color: #8f999b;
    display: flex;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
}

.guide-index a:hover,
.guide-index a:focus-visible {
    margin-left: -1px;
    border-left: 2px solid var(--amber-bright);
    color: var(--text);
    outline: 0;
}

.guide-content {
    min-width: 0;
}

.guide-section {
    scroll-margin-top: 92px;
    padding: 0 0 56px;
}

.guide-section + .guide-section {
    padding-top: 56px;
    border-top: 1px solid var(--line);
}

.guide-section h2 {
    margin: 0;
    font-size: 30px;
    line-height: 1.12;
}

.guide-section > p {
    max-width: 690px;
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.72;
}

.release-panel {
    margin-top: 27px;
    border: 1px solid var(--line-strong);
    background: #0c1113;
}

.release-panel-head {
    min-height: 64px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.release-panel-head strong,
.release-panel-head span {
    display: block;
}

.release-panel-head strong {
    font-size: 13px;
}

.release-panel-head span {
    margin-top: 3px;
    color: #778285;
    font-size: 10px;
}

.release-status {
    margin: 0 !important;
    color: #e8c763 !important;
    font-size: 10px !important;
    font-weight: 800;
    text-align: right;
}

.release-status[data-state="ready"] {
    color: #75dda1 !important;
}

.release-status[data-state="error"] {
    color: #ef8d88 !important;
}

.release-data {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.release-data > div {
    min-width: 0;
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
}

.release-data > div:nth-child(odd) {
    border-right: 1px solid var(--line);
}

.release-data > div:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    border-right: 0;
}

.release-data dt {
    color: #768184;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.release-data dd {
    min-width: 0;
    margin: 7px 0 0;
    color: #dce2df;
    font-size: 12px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.release-hash {
    padding: 18px;
}

.release-hash-label {
    color: #899497;
    display: block;
    font-size: 10px;
    font-weight: 800;
}

.hash-line {
    margin-top: 10px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.hash-line code,
.command-line code {
    min-width: 0;
    padding: 11px 12px;
    border: 1px solid var(--line);
    background: #070a0c;
    color: #cbd2cf;
    font-family: Consolas, "Cascadia Mono", monospace;
    font-size: 10px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.guide-button {
    min-height: 40px;
    padding: 0 15px;
    border: 1px solid var(--line-strong);
    border-radius: 4px;
    background: #151c1f;
    color: #e1e6e3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font: inherit;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
}

.guide-button:hover:not(:disabled),
.guide-button:focus-visible {
    border-color: rgba(237, 199, 95, 0.58);
    background: #20282c;
    outline: 0;
}

.guide-button:disabled {
    opacity: 0.45;
    cursor: wait;
}

.guide-button-primary {
    border-color: #ddb345;
    background: #ddb345;
    color: #0a0c0d;
}

.guide-button-primary:hover,
.guide-button-primary:focus-visible {
    border-color: #f0cc66;
    background: #f0cc66;
}

.command-block {
    margin-top: 20px;
}

.command-block > strong {
    font-size: 12px;
}

.command-line {
    margin-top: 9px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.command-line code {
    display: block;
    white-space: pre-wrap;
}

.command-block p,
.hash-note {
    margin: 9px 0 0;
    color: #778285;
    font-size: 10px;
    line-height: 1.6;
}

.release-actions {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

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

.guide-steps li {
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 16px;
}

.guide-steps .step-number {
    color: var(--amber-bright);
    font-size: 10px;
    font-weight: 850;
}

.guide-steps h3,
.guide-steps p {
    margin: 0;
}

.guide-steps h3 {
    font-size: 14px;
    line-height: 1.35;
}

.guide-steps p {
    margin-top: 7px;
    color: #9da7a8;
    font-size: 12px;
    line-height: 1.65;
}

.section-note {
    margin-top: 22px;
    padding: 13px 15px;
    border-left: 3px solid #778285;
    background: rgba(255, 255, 255, 0.025);
    color: #abb3b1;
    font-size: 11px;
    line-height: 1.65;
}

.reason-list {
    margin-top: 27px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.reason-list article {
    min-width: 0;
    padding: 22px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.reason-list h3,
.reason-list p {
    margin: 0;
}

.reason-list h3 {
    font-size: 13px;
}

.reason-list p {
    margin-top: 8px;
    color: #909b9d;
    font-size: 11px;
    line-height: 1.65;
}

.do-not-list,
.report-list {
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 11px;
}

.do-not-list li,
.report-list li {
    position: relative;
    padding-left: 22px;
    color: #aab3b1;
    font-size: 12px;
    line-height: 1.6;
}

.do-not-list li::before,
.report-list li::before {
    position: absolute;
    top: 0;
    left: 0;
    font-weight: 900;
}

.do-not-list li::before {
    content: "×";
    color: #ef8d88;
}

.report-list li::before {
    content: "•";
    color: #75dda1;
}

.support-actions,
.source-links {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.source-links a {
    min-height: 38px;
    padding: 9px 12px;
    border: 1px solid var(--line);
    color: #aeb7b5;
    display: inline-flex;
    align-items: center;
    font-size: 10px;
    font-weight: 700;
}

.source-links a:hover,
.source-links a:focus-visible {
    border-color: rgba(95, 207, 127, 0.42);
    color: #8adfa5;
    outline: 0;
}

@media (max-width: 760px) {
    .guide-hero {
        padding: 52px 0 28px;
    }

    .guide-hero h1 {
        font-size: 34px;
    }

    .guide-layout {
        padding-top: 12px;
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .guide-index {
        position: static;
    }

    .guide-index nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        border-top: 1px solid var(--line-strong);
        border-left: 0;
    }

    .guide-index a {
        padding-inline: 0;
        border-bottom: 1px solid var(--line);
    }

    .guide-index a:hover,
    .guide-index a:focus-visible {
        margin-left: 0;
        border-left: 0;
        color: var(--amber-bright);
    }

    .guide-section,
    .guide-section + .guide-section {
        padding-top: 42px;
        padding-bottom: 42px;
    }

    .guide-section:first-child {
        padding-top: 0;
    }

    .guide-section h2 {
        font-size: 25px;
    }

    .release-panel-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .release-status {
        text-align: left;
    }

    .release-data {
        grid-template-columns: 1fr;
    }

    .release-data > div:nth-child(odd) {
        border-right: 0;
    }

    .hash-line,
    .command-line {
        grid-template-columns: 1fr;
    }

    .hash-line .guide-button,
    .command-line .guide-button {
        width: 100%;
    }

    .reason-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 440px) {
    .guide-topbar .nav a:last-child {
        display: none;
    }

    .guide-hero h1 {
        font-size: 30px;
    }

    .guide-index nav {
        grid-template-columns: 1fr;
    }

    .release-actions .guide-button,
    .support-actions .guide-button {
        width: 100%;
    }
}
