:root {
    --guide-panel: rgba(5, 15, 36, 0.91);
    --guide-panel-soft: rgba(7, 19, 43, 0.78);
    --guide-line: rgba(76, 195, 255, 0.18);
    --guide-copy: #b8c5d9;
}

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

body {
    overflow-x: hidden;
}

.guide-page {
    width: min(1580px, calc(100% - 24px));
    margin: 0 auto;
    padding: 12px 0 24px;
}

.guide-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid rgba(76, 195, 255, 0.27);
    border-radius: 22px;
    background: linear-gradient(125deg, rgba(5, 17, 40, 0.97), rgba(7, 13, 36, 0.95) 54%, rgba(27, 8, 50, 0.94));
    box-shadow: 0 26px 75px rgba(0, 0, 0, 0.36);
}

.guide-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 620px;
    height: 620px;
    right: -190px;
    top: -280px;
    border: 1px solid rgba(119, 125, 255, 0.25);
    border-radius: 50%;
    box-shadow:
        0 0 0 68px rgba(174, 49, 255, 0.035),
        0 0 0 146px rgba(98, 66, 255, 0.024);
}

.guide-topbar {
    min-height: 82px;
    padding: 12px clamp(18px, 2.5vw, 30px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid rgba(76, 195, 255, 0.14);
    background: rgba(2, 7, 19, 0.28);
}

.guide-brand {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 16px;
    color: inherit;
    text-decoration: none;
}

.guide-brand img {
    display: block;
    width: clamp(155px, 13vw, 195px);
    height: auto;
    object-fit: contain;
}

.guide-brand span {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.guide-brand strong {
    color: #f4f7ff;
    font: 800 0.95rem/1.25 Montserrat, Inter, sans-serif;
}

.guide-brand small {
    margin-top: 3px;
    color: var(--cyan);
    font-size: 0.58rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    line-height: 1.4;
    text-transform: uppercase;
}

.guide-topbar-actions,
.guide-final-cta > div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
}

.guide-button {
    min-height: 42px;
    padding: 9px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(76, 195, 255, 0.3);
    border-radius: 10px;
    color: #e8f2ff;
    background: rgba(5, 20, 46, 0.84);
    font-size: 0.66rem;
    font-weight: 900;
    text-decoration: none;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.guide-button:hover,
.guide-button:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(76, 195, 255, 0.6);
}

.guide-button.primary {
    color: #03101e;
    border-color: transparent;
    background: linear-gradient(100deg, var(--cyan), #76e0ff);
    box-shadow: 0 10px 24px rgba(76, 195, 255, 0.15);
}

.guide-hero-content {
    padding: clamp(38px, 5vw, 72px) clamp(26px, 5vw, 76px) 36px;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(310px, 0.55fr);
    align-items: center;
    gap: clamp(34px, 5vw, 70px);
}

.guide-eyebrow,
.section-kicker {
    margin: 0;
    color: var(--cyan);
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.guide-hero-copy h1 {
    max-width: 980px;
    margin: 11px 0 14px;
    color: #fff;
    font: 900 clamp(2.5rem, 5vw, 5rem)/1.02 Montserrat, Inter, sans-serif;
    letter-spacing: -0.055em;
}

.guide-lead {
    color: #dfe9fa !important;
    font-size: clamp(1rem, 1.35vw, 1.22rem) !important;
    font-weight: 650;
}

.guide-hero-copy > p:not(.guide-eyebrow) {
    max-width: 900px;
    margin: 11px 0 0;
    color: var(--guide-copy);
    font-size: 0.93rem;
    line-height: 1.78;
}

.guide-hero-note {
    padding: 24px;
    border: 1px solid rgba(208, 35, 232, 0.35);
    border-radius: 18px;
    background: rgba(8, 13, 39, 0.8);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.guide-note-label {
    color: var(--cyan);
    font-size: 0.56rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.guide-hero-note > strong {
    display: block;
    margin-top: 9px;
    color: #f4f7ff;
    font: 800 1.05rem/1.45 Montserrat, Inter, sans-serif;
}

.guide-hero-note ul {
    margin: 17px 0 0;
    padding: 0;
    display: grid;
    gap: 9px;
    list-style: none;
}

.guide-hero-note li {
    position: relative;
    padding-left: 20px;
    color: #aebbd0;
    font-size: 0.73rem;
    line-height: 1.5;
}

.guide-hero-note li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.48em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 10px rgba(70, 230, 168, 0.7);
}

.guide-stage-strip {
    margin: 0;
    padding: 0 clamp(20px, 4vw, 58px) 34px;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    list-style: none;
}

.guide-stage-strip li {
    min-width: 0;
    min-height: 78px;
    padding: 12px;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-content: center;
    column-gap: 8px;
    border: 1px solid rgba(76, 195, 255, 0.13);
    border-left: 0;
    background: rgba(4, 14, 34, 0.66);
}

.guide-stage-strip li:first-child {
    border-left: 1px solid rgba(76, 195, 255, 0.13);
    border-radius: 12px 0 0 12px;
}

.guide-stage-strip li:last-child {
    border-radius: 0 12px 12px 0;
}

.guide-stage-strip span {
    width: 28px;
    height: 28px;
    grid-row: 1 / 3;
    display: grid;
    place-items: center;
    border: 1px solid rgba(76, 195, 255, 0.38);
    border-radius: 8px;
    color: #8ae1ff;
    background: rgba(76, 195, 255, 0.08);
    font-size: 0.56rem;
    font-weight: 900;
}

.guide-stage-strip strong {
    color: #eef5ff;
    font-size: 0.68rem;
}

.guide-stage-strip small {
    margin-top: 2px;
    overflow: hidden;
    color: #7787a1;
    font-size: 0.54rem;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.guide-layout {
    margin-top: 22px;
    display: grid;
    grid-template-columns: 245px minmax(0, 1fr);
    align-items: start;
    gap: 18px;
}

.guide-navigation {
    position: sticky;
    top: 16px;
    padding: 18px;
    border: 1px solid var(--guide-line);
    border-radius: 16px;
    background: rgba(3, 12, 29, 0.92);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
}

.guide-navigation > p {
    margin: 0 0 10px;
    color: #8292ab;
    font-size: 0.55rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.guide-navigation nav {
    display: grid;
    gap: 3px;
}

.guide-navigation nav a {
    padding: 9px 10px;
    border-radius: 8px;
    color: #aebbd0;
    font-size: 0.65rem;
    font-weight: 750;
    line-height: 1.35;
    text-decoration: none;
}

.guide-navigation nav a:hover,
.guide-navigation nav a:focus-visible {
    color: #effaff;
    background: rgba(76, 195, 255, 0.09);
}

.guide-navigation-cta {
    margin-top: 14px;
    padding: 10px 11px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    border: 1px solid rgba(76, 195, 255, 0.35);
    border-radius: 9px;
    color: #03101e;
    background: linear-gradient(100deg, var(--cyan), #70dfff);
    font-size: 0.63rem;
    font-weight: 900;
    text-decoration: none;
}

.guide-content {
    min-width: 0;
    display: grid;
    gap: 18px;
}

.guide-section,
.guide-final-cta {
    scroll-margin-top: 20px;
    padding: clamp(24px, 3.5vw, 46px);
    border: 1px solid var(--guide-line);
    border-radius: 18px;
    background: var(--guide-panel);
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.24);
}

.guide-section h2,
.guide-final-cta h2 {
    margin: 8px 0 0;
    color: #f4f7ff;
    font: 850 clamp(1.55rem, 2.7vw, 2.5rem)/1.16 Montserrat, Inter, sans-serif;
    letter-spacing: -0.035em;
}

.guide-section > p,
.guide-final-cta > p {
    color: var(--guide-copy);
    font-size: 0.83rem;
    line-height: 1.75;
}

.section-intro {
    max-width: 940px;
    margin: 12px 0 0;
}

.comparison-grid,
.guide-columns,
.verification-grid,
.best-practice-grid {
    margin-top: 23px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.comparison-card,
.mini-card,
.verification-grid section,
.best-practice-grid section {
    padding: 20px;
    border: 1px solid rgba(76, 195, 255, 0.15);
    border-radius: 14px;
    background: var(--guide-panel-soft);
}

.comparison-card > span {
    color: var(--cyan);
    font-size: 0.56rem;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.comparison-card.lab-card {
    border-color: rgba(208, 35, 232, 0.35);
    background: linear-gradient(135deg, rgba(41, 17, 64, 0.58), rgba(5, 24, 48, 0.72));
}

.comparison-card h3,
.mini-card h3,
.verification-grid h3,
.best-practice-grid h3 {
    margin: 8px 0 0;
    color: #edf4ff;
    font: 800 0.95rem/1.35 Montserrat, Inter, sans-serif;
}

.comparison-card ul {
    margin: 14px 0 0;
    padding-left: 18px;
    color: #aebbd0;
    font-size: 0.73rem;
    line-height: 1.7;
}

.mini-card p,
.verification-grid p,
.best-practice-grid p {
    margin: 8px 0 0;
    color: #9eacc1;
    font-size: 0.72rem;
    line-height: 1.65;
}

.guide-callout {
    margin-top: 20px;
    padding: 18px 20px;
    border-left: 3px solid var(--cyan);
    border-radius: 0 12px 12px 0;
    background: rgba(7, 28, 52, 0.72);
}

.guide-callout.caution-callout {
    border-left-color: #ffd166;
    background: rgba(62, 43, 10, 0.22);
}

.guide-callout strong {
    color: #eef7ff;
    font: 800 0.88rem/1.35 Montserrat, Inter, sans-serif;
}

.guide-callout p {
    margin: 6px 0 0;
    color: #aebcd0;
    font-size: 0.76rem;
    line-height: 1.7;
}

.project-flow {
    margin-top: 23px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.project-flow > div {
    min-width: 0;
    min-height: 130px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(76, 195, 255, 0.14);
    border-left: 0;
    background: rgba(4, 16, 36, 0.7);
}

.project-flow > div:first-child {
    border-left: 1px solid rgba(76, 195, 255, 0.14);
    border-radius: 12px 0 0 12px;
}

.project-flow > div:last-child {
    border-radius: 0 12px 12px 0;
}

.project-flow span,
.detail-list > section > span,
.working-steps > li > span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(76, 195, 255, 0.36);
    border-radius: 8px;
    color: #86dcff;
    background: rgba(76, 195, 255, 0.08);
    font-size: 0.58rem;
    font-weight: 900;
}

.project-flow strong {
    margin-top: 13px;
    color: #eef5ff;
    font-size: 0.76rem;
}

.project-flow small {
    margin-top: 5px;
    color: #8190a8;
    font-size: 0.62rem;
    line-height: 1.45;
}

.guide-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.application-guide-grid {
    margin-top: 23px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.application-guide-card {
    --app-accent: var(--cyan);
    position: relative;
    overflow: hidden;
    padding: 22px;
    border: 1px solid color-mix(in srgb, var(--app-accent) 30%, transparent);
    border-radius: 15px;
    background: linear-gradient(145deg, rgba(7, 19, 43, 0.94), rgba(4, 11, 29, 0.92));
}

.application-guide-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--app-accent), transparent);
}

.application-guide-card.accent-purple { --app-accent: #a878ff; }
.application-guide-card.accent-blue { --app-accent: #5f8fff; }
.application-guide-card.accent-green { --app-accent: #46e6a8; }
.application-guide-card.accent-gold { --app-accent: #ffd166; }
.application-guide-card.accent-pink { --app-accent: #d96aff; }

.application-number {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--app-accent) 46%, transparent);
    border-radius: 10px;
    color: var(--app-accent);
    background: color-mix(in srgb, var(--app-accent) 9%, transparent);
    font-size: 0.67rem;
    font-weight: 900;
}

.application-guide-card > span {
    display: block;
    margin-top: 16px;
    color: var(--app-accent);
    font-size: 0.55rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.application-guide-card h3 {
    margin: 6px 0 0;
    color: #f1f5ff;
    font: 800 1.05rem/1.3 Montserrat, Inter, sans-serif;
}

.application-guide-card > p {
    margin: 8px 0 0;
    color: #a2b0c5;
    font-size: 0.73rem;
    line-height: 1.65;
}

.application-guide-card dl {
    margin: 17px 0 0;
    display: grid;
    gap: 10px;
}

.application-guide-card dl > div {
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.application-guide-card dt {
    color: #dce7f8;
    font-size: 0.6rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.application-guide-card dd {
    margin: 4px 0 0;
    color: #8999b0;
    font-size: 0.68rem;
    line-height: 1.6;
}

.detail-list,
.working-steps {
    margin: 23px 0 0;
    padding: 0;
    display: grid;
    gap: 9px;
    list-style: none;
}

.detail-list > section,
.working-steps > li {
    padding: 15px 17px;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    border: 1px solid rgba(76, 195, 255, 0.13);
    border-radius: 11px;
    background: rgba(4, 16, 36, 0.64);
}

.detail-list h3,
.working-steps h3 {
    margin: 0;
    color: #edf4ff;
    font: 800 0.82rem/1.4 Montserrat, Inter, sans-serif;
}

.detail-list p,
.working-steps p {
    margin: 4px 0 0;
    color: #94a4bb;
    font-size: 0.71rem;
    line-height: 1.6;
}

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

.status-grid section {
    padding: 19px;
    border: 1px solid rgba(76, 195, 255, 0.14);
    border-radius: 13px;
    background: rgba(4, 16, 36, 0.68);
}

.status-dot {
    width: 9px;
    height: 9px;
    display: block;
    border-radius: 50%;
}

.status-dot.working { background: #a878ff; box-shadow: 0 0 11px rgba(168, 120, 255, 0.7); }
.status-dot.build { background: var(--cyan); box-shadow: 0 0 11px rgba(76, 195, 255, 0.7); }
.status-dot.launch { background: var(--green); box-shadow: 0 0 11px rgba(70, 230, 168, 0.7); }

.status-grid h3 {
    margin: 11px 0 0;
    color: #eef5ff;
    font: 800 0.88rem/1.4 Montserrat, Inter, sans-serif;
}

.status-grid p {
    margin: 6px 0 0;
    color: #92a2b9;
    font-size: 0.69rem;
    line-height: 1.6;
}

.verification-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.responsibility-table-wrap {
    margin-top: 23px;
    overflow-x: auto;
    border: 1px solid rgba(76, 195, 255, 0.15);
    border-radius: 13px;
}

.responsibility-table {
    width: 100%;
    min-width: 780px;
    border-collapse: collapse;
    background: rgba(3, 14, 33, 0.7);
}

.responsibility-table th,
.responsibility-table td {
    padding: 14px 15px;
    border-bottom: 1px solid rgba(76, 195, 255, 0.1);
    color: #a8b5c9;
    font-size: 0.69rem;
    line-height: 1.55;
    text-align: left;
    vertical-align: top;
}

.responsibility-table th {
    color: #dff7ff;
    background: rgba(8, 31, 58, 0.82);
    font-size: 0.61rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.responsibility-table td:first-child {
    color: #edf4ff;
    font-weight: 800;
}

.responsibility-table tbody tr:last-child td {
    border-bottom: 0;
}

.best-practice-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faq-list {
    margin-top: 22px;
    display: grid;
    gap: 8px;
}

.faq-list details {
    border: 1px solid rgba(76, 195, 255, 0.14);
    border-radius: 11px;
    background: rgba(4, 16, 36, 0.64);
}

.faq-list summary {
    padding: 15px 17px;
    color: #e9f1ff;
    font-size: 0.76rem;
    font-weight: 800;
    cursor: pointer;
}

.faq-list details[open] summary {
    border-bottom: 1px solid rgba(76, 195, 255, 0.1);
}

.faq-list details p {
    margin: 0;
    padding: 14px 17px 17px;
    color: #9cabc0;
    font-size: 0.72rem;
    line-height: 1.68;
}

.guide-final-cta {
    text-align: center;
    background: linear-gradient(135deg, rgba(7, 28, 54, 0.95), rgba(33, 12, 52, 0.94));
}

.guide-final-cta > p:not(.section-kicker) {
    max-width: 850px;
    margin: 12px auto 0;
}

.guide-final-cta > div {
    margin-top: 20px;
    justify-content: center;
}

.guide-footer {
    margin-top: 26px;
    padding: 36px 20px 42px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    border-top: 1px solid rgba(76, 195, 255, 0.14);
    color: #8796ad;
    text-align: center;
}

.guide-footer img {
    width: 170px;
    height: auto;
}

.guide-footer strong {
    color: #e8f0fd;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.guide-footer span,
.guide-footer small {
    font-size: 0.62rem;
    line-height: 1.5;
}

@media (max-width: 1180px) {
    .guide-layout {
        grid-template-columns: 210px minmax(0, 1fr);
    }

    .verification-grid,
    .best-practice-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 940px) {
    .guide-topbar,
    .guide-hero-content {
        align-items: stretch;
        grid-template-columns: 1fr;
    }

    .guide-topbar {
        flex-direction: column;
    }

    .guide-topbar-actions {
        justify-content: flex-start;
    }

    .guide-stage-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
    }

    .guide-stage-strip li,
    .guide-stage-strip li:first-child,
    .guide-stage-strip li:last-child {
        border: 1px solid rgba(76, 195, 255, 0.13);
        border-radius: 10px;
    }

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

    .guide-navigation {
        position: static;
    }

    .guide-navigation nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .project-flow {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .project-flow > div,
    .project-flow > div:first-child,
    .project-flow > div:last-child {
        min-height: 0;
        border: 1px solid rgba(76, 195, 255, 0.14);
        border-radius: 10px;
    }

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

@media (max-width: 720px) {
    .guide-page {
        width: min(100% - 14px, 1580px);
        padding-top: 7px;
    }

    .guide-brand {
        align-items: flex-start;
    }

    .guide-brand img {
        width: 150px;
    }

    .guide-brand small {
        font-size: 0.5rem;
    }

    .guide-hero-content {
        padding: 30px 19px 26px;
    }

    .guide-stage-strip {
        padding: 0 17px 24px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .comparison-grid,
    .application-guide-grid,
    .status-grid,
    .verification-grid,
    .best-practice-grid {
        grid-template-columns: 1fr;
    }

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

    .guide-section,
    .guide-final-cta {
        padding: 23px 18px;
    }
}

@media (max-width: 500px) {
    .guide-topbar-actions,
    .guide-final-cta > div {
        align-items: stretch;
        flex-direction: column;
    }

    .guide-button {
        width: 100%;
    }

    .guide-stage-strip {
        grid-template-columns: 1fr;
    }
}
