:root {
    --ag-wall: #F2F3EF;
    --ag-paper: #FFFFFF;
    --ag-ink: #1D2522;
    --ag-mute: #5B6761;
    --ag-line: #D5D9D2;
    --ag-accent: #2D3FA8;
    --ag-accent-ink: #FFFFFF;
    --ag-band: #1D2522;
    --ag-band-ink: #ECEEE8;
    --ag-band-mute: #AEB8B2;
    --ag-foot: #E7E9E3;
    --ag-frame: #A9B2AB;
    --ag-frame-hover: var(--ag-accent);
    --ag-shadow: 0 1px 0 rgba(29, 37, 34, .06), 0 14px 28px -18px rgba(29, 37, 34, .45);
    --ag-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, "URW Palladio L", P052, Georgia, serif;
    --ag-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --ag-wall: #141817;
        --ag-paper: #1D2321;
        --ag-ink: #E6E9E3;
        --ag-mute: #9DA8A2;
        --ag-line: #313936;
        --ag-accent: #A3AEFF;
        --ag-accent-ink: #141817;
        --ag-band: #222A28;
        --ag-band-ink: #E6E9E3;
        --ag-band-mute: #9DA8A2;
        --ag-foot: #101413;
        --ag-frame: transparent;
        --ag-frame-hover: transparent;
        --ag-shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 16px 30px -18px rgba(0, 0, 0, .9);
        color-scheme: dark;
    }
}

:root[data-theme="dark"] {
    --ag-wall: #141817;
    --ag-paper: #1D2321;
    --ag-ink: #E6E9E3;
    --ag-mute: #9DA8A2;
    --ag-line: #313936;
    --ag-accent: #A3AEFF;
    --ag-accent-ink: #141817;
    --ag-band: #222A28;
    --ag-band-ink: #E6E9E3;
    --ag-band-mute: #9DA8A2;
    --ag-foot: #101413;
    --ag-frame: transparent;
    --ag-frame-hover: transparent;
    --ag-shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 16px 30px -18px rgba(0, 0, 0, .9);
    color-scheme: dark;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

body {
    margin: 0;
    background: var(--ag-wall);
    color: var(--ag-ink);
}

.ag-site {
    font-family: var(--ag-sans);
    font-size: 17px;
    line-height: 1.6;
    background: var(--ag-wall);
    color: var(--ag-ink);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

.ag-site *, .ag-site *::before, .ag-site *::after {
    box-sizing: border-box;
}

.ag-site img {
    display: block;
    max-width: 100%;
    height: auto;
}

.ag-site a {
    color: inherit;
}

.ag-site h1, .ag-site h2, .ag-site h3 {
    font-family: var(--ag-serif);
    font-weight: 400;
    margin: 0;
    letter-spacing: -0.01em;
}

.ag-site :focus-visible {
    outline: 2px solid var(--ag-accent);
    outline-offset: 3px;
    border-radius: 2px;
}

.ag-wrap {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 48px);
}

.ag-skip {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 200;
    background: var(--ag-ink);
    color: var(--ag-wall) !important;
    padding: 10px 16px;
    text-decoration: none;
}

.ag-skip:focus {
    top: 12px;
}

.ag-head {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--ag-line);
}

.ag-head::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: color-mix(in srgb, var(--ag-wall) 92%, transparent);
    backdrop-filter: saturate(1.4) blur(10px);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
}

.ag-head-row {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 68px;
}

.ag-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--ag-ink);
    font-family: var(--ag-serif);
    font-size: 22px;
    white-space: nowrap;
}

.ag-logo svg {
    flex: none;
}

.ag-nav {
    margin-left: auto;
}

.ag-nav-top {
    display: none;
}

.ag-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.ag-ml {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    font: inherit;
    font-size: 16px;
    color: var(--ag-ink);
    background: none;
    border: 0;
    text-decoration: none;
    cursor: pointer;
    border-radius: 6px;
}

.ag-ml:hover {
    color: var(--ag-accent);
}

.ag-has-sub {
    position: relative;
}

.ag-sub-btn svg {
    transition: transform .2s ease;
}

.ag-sub-btn[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.ag-sub {
    list-style: none;
    margin: 0;
    padding: 8px;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    width: 300px;
    transform: translateX(-50%);
    background: var(--ag-paper);
    border: 1px solid var(--ag-line);
    border-radius: 10px;
    box-shadow: var(--ag-shadow);
    display: none;
}

.ag-sub.ag-open {
    display: block;
}

.ag-sub a {
    display: block;
    padding: 10px 12px;
    border-radius: 6px;
    text-decoration: none;
}

.ag-sub a:hover {
    background: var(--ag-wall);
}

.ag-sub b {
    display: block;
    font-weight: 600;
    font-size: 16px;
}

.ag-sub span {
    display: block;
    font-size: 14px;
    color: var(--ag-mute);
    line-height: 1.4;
}

.ag-tools {
    display: flex;
    align-items: center;
    gap: 4px;
}

.ag-ibtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: none;
    color: var(--ag-ink);
    cursor: pointer;
}

.ag-ibtn:hover {
    background: var(--ag-foot);
}

.ag-sun {
    display: none;
}

:root[data-theme="dark"] .ag-sun {
    display: block;
}

:root[data-theme="dark"] .ag-moon {
    display: none;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .ag-sun {
        display: block;
    }

    :root:not([data-theme="light"]) .ag-moon {
        display: none;
    }
}

.ag-burger {
    display: none;
}

.ag-scrim {
    display: none;
}

.ag-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 999px;
    border: 1.5px solid var(--ag-accent);
    background: var(--ag-accent);
    color: var(--ag-accent-ink) !important;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    line-height: 1.2;
    text-align: center;
}

.ag-btn:hover {
    filter: brightness(1.12);
}

.ag-btn-line {
    background: transparent;
    color: var(--ag-ink) !important;
    border-color: var(--ag-ink);
}

.ag-btn-line:hover {
    filter: none;
    background: var(--ag-ink);
    color: var(--ag-wall) !important;
}

.ag-btn-light {
    background: var(--ag-band-ink);
    border-color: var(--ag-band-ink);
    color: var(--ag-band) !important;
}

.ag-link {
    font-weight: 600;
    text-decoration-color: var(--ag-line);
    text-underline-offset: 5px;
    text-decoration-thickness: 1.5px;
}

.ag-link:hover {
    color: var(--ag-accent);
    text-decoration-color: currentColor;
}


.ag-foot {
    background: var(--ag-foot);
    border-top: 1px solid var(--ag-line);
    padding: 48px 0 28px;
    font-size: 15px;
}

.ag-foot-row {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 3fr);
    gap: 32px;
}

.ag-foot-brand p {
    margin: 12px 0 0;
    color: var(--ag-mute);
    max-width: 34ch;
}

.ag-foot-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 24px;
    align-content: start;
}

.ag-foot-links a {
    text-decoration: none;
}

.ag-foot-links a:hover {
    color: var(--ag-accent);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.ag-foot-contact b {
    display: block;
    font-weight: 600;
    margin-bottom: 12px;
}

.ag-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ag-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--ag-line);
    border-radius: 50%;
    color: var(--ag-ink);
}

.ag-social a:hover {
    color: var(--ag-accent);
    border-color: var(--ag-accent);
}

.ag-social svg {
    width: 24px;
    height: 24px;
}

.ag-copyline {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid var(--ag-line);
    color: var(--ag-mute);
    font-size: 14px;
}

.ag-totop {
    position: fixed;
    right: clamp(16px, 2.4vw, 32px);
    bottom: clamp(16px, 2.4vw, 32px);
    z-index: 90;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--ag-line);
    border-radius: 50%;
    background: var(--ag-paper);
    color: var(--ag-ink);
    box-shadow: var(--ag-shadow);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

.ag-totop.ag-show {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.ag-totop:hover {
    color: var(--ag-accent);
    border-color: var(--ag-accent);
}

.ag-ml[aria-current="page"] {
    color: var(--ag-accent);
}

.ag-site code {
    font-family: ui-monospace, "Cascadia Mono", Consolas, "Liberation Mono", monospace;
    font-size: .88em;
    background: var(--ag-foot);
    border: 1px solid var(--ag-line);
    border-radius: 4px;
    padding: 1px 5px;
}

.ag-hero {
    padding: clamp(40px, 6vw, 88px) 0 0;
}

.ag-hero-row {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: end;
}

.ag-hero h1 {
    font-size: clamp(40px, 5vw, 70px);
    line-height: 1.04;
    letter-spacing: -0.02em;
    max-width: 13ch;
}

.ag-lead {
    margin: 22px 0 0;
    font-size: clamp(17px, 1.35vw, 20px);
    color: var(--ag-mute);
    max-width: 48ch;
}

.ag-facts {
    list-style: none;
    margin: 26px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
}

.ag-facts li {
    display: flex;
    flex-direction: column;
}

.ag-facts b {
    font-family: var(--ag-serif);
    font-weight: 400;
    font-size: 22px;
    line-height: 1.2;
}

.ag-facts span {
    font-size: 14px;
    color: var(--ag-mute);
}

.ag-acts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.ag-hero-fig {
    margin: 0;
}

.ag-fig-acts {
    margin: 22px 0 0;
}

.ag-btn-yt {
    gap: 8px;
}

.ag-btn-yt svg {
    flex: none;
}

.ag-frame {
    display: block;
    padding: 8px;
    background: var(--ag-paper);
    border: 1px solid var(--ag-frame);
    box-shadow: var(--ag-shadow);
    transform: rotate(-1deg);
    transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s ease, border-color .15s ease;
}

.ag-frame:hover {
    transform: rotate(0deg) translateY(-8px) scale(1.06);
    border-color: var(--ag-frame-hover);
    box-shadow: 0 2px 0 rgba(0, 0, 0, .05), 0 34px 54px -24px rgba(0, 0, 0, .55);
}

.ag-hero-fig figcaption {
    margin-top: 16px;
    font-size: 14px;
    color: var(--ag-mute);
}

.ag-toc {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: clamp(40px, 5vw, 64px);
    padding: 18px 0;
    border-top: 1px solid var(--ag-line);
    border-bottom: 1px solid var(--ag-line);
}

.ag-toc a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 6px 14px;
    border: 1px solid var(--ag-line);
    border-radius: 999px;
    background: var(--ag-paper);
    font-size: 15px;
    text-decoration: none;
}

.ag-toc a:hover {
    border-color: var(--ag-ink);
}

.ag-sec {
    padding: clamp(52px, 6vw, 88px) 0;
}

.ag-sec + .ag-sec {
    border-top: 1px solid var(--ag-line);
}

.ag-sec h2 {
    font-size: clamp(30px, 3.2vw, 44px);
    line-height: 1.12;
}

.ag-sec h3 {
    font-size: 22px;
    line-height: 1.25;
}

.ag-sub-lead {
    margin: 12px 0 0;
    color: var(--ag-mute);
    max-width: 62ch;
}

.ag-trio {
    list-style: none;
    margin: 36px 0 0;
    padding: 0;
    counter-reset: ag-n;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 40px);
}

.ag-trio li {
    counter-increment: ag-n;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.ag-trio li::before {
    content: counter(ag-n);
    font-family: var(--ag-serif);
    font-size: 54px;
    line-height: 1;
    color: var(--ag-accent);
    margin-bottom: 14px;
}

.ag-trio p {
    margin: 8px 0 16px;
    color: var(--ag-mute);
}

.ag-say {
    margin-top: auto;
    display: inline-block;
    padding: 8px 14px;
    border-radius: 18px 18px 18px 4px;
    background: var(--ag-band);
    color: var(--ag-band-ink);
    font-size: 15px;
}

.ag-key {
    border-radius: 6px;
    font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .35);
}

.ag-real {
    background: var(--ag-paper);
}

.ag-real-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px clamp(20px, 3vw, 40px);
    margin-top: 32px;
}

.ag-real-grid h3 {
    padding-top: 14px;
    border-top: 2px solid var(--ag-ink);
}

.ag-real-grid p {
    margin: 8px 0 0;
    color: var(--ag-mute);
}

.ag-real-note {
    margin: 36px 0 18px;
    max-width: 66ch;
}

.ag-ways {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(18px, 2.4vw, 32px);
    margin-top: 32px;
}

.ag-way {
    display: flex;
    flex-direction: column;
    padding: clamp(22px, 2.6vw, 34px);
    background: var(--ag-paper);
    border: 1px solid var(--ag-line);
    border-radius: 10px;
    text-decoration: none;
    transition: transform .2s ease, border-color .15s ease, box-shadow .2s ease;
}

.ag-way:hover {
    border-color: var(--ag-accent);
    transform: translateY(-4px);
    box-shadow: var(--ag-shadow);
}

.ag-way-tag {
    align-self: flex-start;
    font-size: 13px;
    padding: 3px 10px;
    border: 1px solid var(--ag-line);
    border-radius: 4px;
    color: var(--ag-mute);
}

.ag-way h3 {
    margin-top: 14px;
    font-size: 28px;
}

.ag-way p {
    margin: 10px 0 0;
    color: var(--ag-mute);
}

.ag-way ul {
    margin: 18px 0 0;
    padding: 0 0 0 20px;
    font-size: 15px;
}

.ag-way li + li {
    margin-top: 6px;
}

.ag-way-go {
    margin-top: auto;
    padding-top: 22px;
    font-weight: 600;
    color: var(--ag-accent);
}

.ag-guide {
    background: var(--ag-paper);
}

.ag-narrow {
    max-width: 920px;
}

.ag-phase {
    margin: 32px 0 0;
    padding: 14px 18px;
    border-left: 3px solid var(--ag-accent);
    background: var(--ag-wall);
    max-width: 70ch;
}

.ag-steps {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
    counter-reset: ag-step;
    display: grid;
    gap: 36px;
}

.ag-steps[start="5"] {
    counter-reset: ag-step 4;
}

.ag-steps > li {
    counter-increment: ag-step;
    position: relative;
    padding-left: 60px;    min-width: 0;
}

.ag-steps > li::before {
    content: counter(ag-step);
    position: absolute;
    left: 0;
    top: -2px;
    width: 40px;
    height: 40px;
    border: 1px solid var(--ag-ink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--ag-serif);
    font-size: 19px;
}

.ag-steps p {
    margin: 8px 0 0;
    color: var(--ag-mute);
    max-width: 66ch;
}

.ag-code {
    margin-top: 14px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--ag-band);
    color: var(--ag-band-ink);
}

.ag-code-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 8px 6px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    font-size: 13px;
    color: var(--ag-band-mute);
}

.ag-copy {
    min-height: 32px;
    padding: 3px 12px;
    font: inherit;
    font-size: 13px;
    color: var(--ag-band-ink);
    background: transparent;
    border: 1px solid var(--ag-band-mute);
    border-radius: 6px;
    cursor: pointer;
}

.ag-copy:hover {
    border-color: var(--ag-band-ink);
}

.ag-code pre {
    margin: 0;
    padding: 14px 16px 16px;
    font-family: ui-monospace, "Cascadia Mono", Consolas, "Liberation Mono", monospace;
    font-size: 14px;
    line-height: 1.7;
    overflow-x: auto;
    white-space: pre;
}

.ag-code .ag-wrap-pre {
    white-space: pre-wrap;
    word-break: break-word;
}

.ag-split {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: start;
}

.ag-asks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.ag-asks li {
    padding: 10px 16px;
    border-radius: 18px 18px 18px 4px;
    background: var(--ag-band);
    color: var(--ag-band-ink);
}

.ag-asks li:nth-child(even) {
    margin-left: clamp(0px, 4vw, 48px);
}

.ag-cmds {
    margin: 28px 0 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 clamp(24px, 4vw, 56px);
}

.ag-cmds div {
    padding: 16px 0;
    border-top: 1px solid var(--ag-line);
}

.ag-cmds dt code {
    font-size: 17px;
    background: none;
    border: 0;
    padding: 0;
    color: var(--ag-accent);
}

.ag-cmds dd {
    margin: 6px 0 0;
    color: var(--ag-mute);
}

.ag-cmd-note {
    margin: 22px 0 0;
    max-width: 66ch;
}

.ag-online {
    background: var(--ag-band);
    color: var(--ag-band-ink);
}

.ag-sec.ag-online + .ag-sec {
    border-top: 0;
}

.ag-online p {
    margin: 0 0 16px;
    color: var(--ag-band-mute);
    max-width: 62ch;
}

.ag-online p:first-child {
    color: var(--ag-band-ink);
}

.ag-online .ag-btn {
    margin-top: 10px;
}

.ag-next {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 24px);
}

.ag-next a {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 22px;
    background: var(--ag-paper);
    border: 1px solid var(--ag-line);
    border-radius: 10px;
    text-decoration: none;
    transition: transform .2s ease, border-color .15s ease, box-shadow .2s ease;
}

.ag-next a:hover {
    border-color: var(--ag-accent);
    transform: translateY(-4px);
    box-shadow: var(--ag-shadow);
}

.ag-next b {
    font-family: var(--ag-serif);
    font-weight: 400;
    font-size: 22px;
    line-height: 1.2;
}

.ag-next span {
    margin-top: 8px;
    font-size: 15px;
    color: var(--ag-mute);
}

.ag-lp-link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ag-lp-link:hover {
    color: var(--ag-accent);
}

.ag-lp {
    width: min(780px, calc(100vw - 32px));
    max-width: none;
    height: min(86vh, 900px);
    max-height: none;
    margin: auto;
    padding: 0;
    border: 1px solid var(--ag-line);
    border-radius: 12px;
    background: var(--ag-paper);
    color: var(--ag-ink);
    box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .55);
    overflow: hidden;
}

.ag-lp[open] {
    display: flex;
    flex-direction: column;
}

.ag-lp::backdrop {
    background: rgba(10, 14, 12, .62);
}

.ag-lp-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 12px 12px 24px;
    border-bottom: 1px solid var(--ag-line);
}

.ag-lp-bar h2 {
    margin: 0;
    font-family: var(--ag-serif);
    font-size: 22px;
    font-weight: 400;
}

.ag-lp-x {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.ag-lp-x:hover {
    background: var(--ag-line);
}

.ag-lp-body {
    flex: 1 1 auto;
    min-height: 0;
    margin: 0;
    padding: 20px 24px 32px;
    overflow: auto;
    font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
    font-size: 13px;
    line-height: 1.6;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    color: var(--ag-ink);
}

.ag-lp-body:focus-visible {
    outline: 2px solid var(--ag-accent);
    outline-offset: -2px;
}

@media (max-width: 1100px) {
    .ag-real-grid, .ag-next {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .ag-hero-row, .ag-split, .ag-ways, .ag-trio {
        grid-template-columns: minmax(0, 1fr);
    }

    .ag-hero-fig {
        max-width: 640px;
    }

    .ag-cmds {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 560px) {
    .ag-real-grid, .ag-next {
        grid-template-columns: minmax(0, 1fr);
    }

    .ag-acts .ag-btn {
        width: 100%;
    }

    .ag-steps > li {
        padding-left: 0;
        padding-top: 52px;
    }

    .ag-code pre {
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ag-way, .ag-next a, .ag-frame {
        transition: none;
    }

    .ag-way:hover, .ag-next a:hover {
        transform: none;
    }

    .ag-frame:hover {
        transform: rotate(-1deg);
    }
}

@media (max-width: 900px) {
    .ag-burger {
        display: inline-flex;
    }

    .ag-tools {
        margin-left: auto;
    }

    .ag-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(340px, 86vw);
        background: var(--ag-paper);
        border-left: 1px solid var(--ag-line);
        padding: 16px 20px 32px;
        transform: translateX(100%);
        transition: transform .25s ease;
        z-index: 120;
        overflow-y: auto;
        visibility: hidden;
    }

    .ag-nav.ag-open {
        transform: none;
        visibility: visible;
    }

    .ag-nav-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 12px;
    }

    .ag-nav-top b {
        font-family: var(--ag-serif);
        font-weight: 400;
        font-size: 22px;
    }

    .ag-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .ag-menu > li {
        border-bottom: 1px solid var(--ag-line);
    }

    .ag-ml {
        width: 100%;
        justify-content: space-between;
        padding: 14px 4px;
        font-size: 18px;
    }

    .ag-sub {
        position: static;
        width: auto;
        transform: none;
        box-shadow: none;
        border: 0;
        padding: 0 0 10px;
        background: none;
    }

    .ag-scrim.ag-open {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(10, 14, 12, .45);
        z-index: 110;
    }

    .ag-foot-row {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .ag-foot-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .ag-site {
        font-size: 16px;
    }

    .ag-head-row {
        height: 60px;
        gap: 12px;
    }

    .ag-logo {
        font-size: 20px;
    }

    .ag-foot-row {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .ag-nav, .ag-sub-btn svg, .ag-totop {
        transition: none;
    }
}
