
:root {
    --primary: #7f7f7f;
    --primary-hover: #999999;
    --primary-active: #6a6a6a;
    --bg: #161616;
    --bg-secondary: #262626;
    --bg-tertiary: #1e1e1e;
    --text: #ECECEC;
    --text-muted: #9a9a9a;
    --text-dim: #6a6a6a;
    --border: #3a3a3a;
    --border-light: #333333;
    --green: #6fca85;
    --green-bg: rgba(46, 160, 67, 0.08);
    --green-border: rgba(46, 160, 67, 0.25);

    --max-width: 730px;
    --radius: 6px;
    --radius-lg: 10px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --duration: 200ms;
}



*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.65;
    min-height: 100vh;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--duration) var(--ease);
}
a:hover {
    color: var(--text);
}

code {
    font-family: "Source Code Pro", "SF Mono", "Fira Code", "Cascadia Code", monospace;
    background: rgba(127, 127, 127, 0.15);
    padding: 0.15em 0.4em;
    border-radius: 3px;
    font-size: 0.88em;
    color: var(--text);
}

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

::selection {
    background: var(--primary);
    color: var(--bg);
}

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}



.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--primary);
    color: var(--bg);
    padding: 8px 16px;
    border-radius: var(--radius);
    font-weight: 600;
    z-index: 1000;
    transition: top var(--duration) var(--ease);
}
.skip-link:focus {
    top: 16px;
}



.app-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2.5rem 1.5rem 2rem;
}



.app-title {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.emoji {
    font-style: normal;
}

.app-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.section-heading {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.85rem;
    letter-spacing: -0.01em;
}



.app-header {
    margin-bottom: 2rem;
}

.banner-figure {
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;

    background: var(--bg-secondary);
}

.banner-figure--hero {
    margin-bottom: 0;
}

.banner-figure--secondary {
    margin-bottom: 1.25rem;
}

.banner-image {
    width: 100%;
    display: block;
    object-fit: cover;
}

.banner-caption {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
    color: var(--text-dim);
    text-align: center;
    border-top: 1px solid var(--border-light);
}



.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.cta-group--center {
    justify-content: center;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 1.4rem;
    border-radius: var(--radius);
    font-size: 0.92rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    border: none;
    transition: background-color var(--duration) var(--ease),
                transform 100ms var(--ease),
                box-shadow var(--duration) var(--ease);
    text-decoration: none;
}

.cta-btn__icon {
    flex-shrink: 0;
}

.cta-btn--primary {
    background: var(--primary);
    color: var(--bg);
}

.cta-btn--primary:hover {
    background: var(--primary-hover);
    color: var(--bg);
    box-shadow: 0 4px 20px rgba(127, 127, 127, 0.2);
}

.cta-btn--primary:active {
    background: var(--primary-active);
    transform: scale(0.98);
}

.cta-btn--secondary {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
}

.cta-btn--secondary:hover {
    background: rgba(127, 127, 127, 0.08);
    color: var(--text);
    border-color: var(--primary);
}

.cta-btn--secondary:active {
    transform: scale(0.98);
}



.steps-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.step-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.step-item__number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
}

.step-item__title {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.2rem;
}

.step-item__text {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.65;
}



.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.benefit-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.15rem 1.1rem;
}

.benefit-card__title {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.4rem;
}

.benefit-card__text {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.65;
}



.qs-intro {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.qs-note {
    font-size: 0.82rem;
    color: var(--text-dim);
    margin-top: 0.65rem;
}

.code-block {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 1rem 1.15rem;
    overflow-x: auto;
}

.code-block pre {
    margin: 0;
}

.code-block code {
    background: none;
    padding: 0;
    font-size: 0.82rem;
    color: var(--green);
    white-space: pre;
    line-height: 1.7;
}



.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.faq-item {
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-secondary);
}

.faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    list-style: none;
    transition: background-color var(--duration) var(--ease);
    user-select: none;
}

.faq-item__question::-webkit-details-marker {
    display: none;
}

.faq-item__question::after {
    content: '+';
    font-size: 1.15rem;
    font-weight: 300;
    color: var(--text-dim);
    flex-shrink: 0;
    margin-left: 1rem;
    transition: transform var(--duration) var(--ease);
}

.faq-item[open] .faq-item__question::after {
    content: '\2212';
}

.faq-item__question:hover {
    background: rgba(127, 127, 127, 0.06);
}

.faq-item__answer {
    padding: 0 1rem 1rem;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.faq-item__answer p {
    margin: 0;
}



.final-cta {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
}

.final-cta__heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.final-cta__text {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}



.divider {
    border: none;
    border-top: 1px solid var(--border-light);
    margin: 2.25rem 0;
}



.app-footer {
    margin-top: 3rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 0.75rem;
}

.footer-links a {
    font-size: 0.82rem;
    color: var(--text-dim);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.footer-links a:hover {
    color: var(--text);
}

.app-footer > p {
    font-size: 0.78rem;
    color: var(--text-dim);
}



@media (max-width: 780px) {
    .app-container {
        padding: 1.5rem 1rem 1.5rem;
    }

    .app-title {
        font-size: 1.4rem;
    }

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

@media (max-width: 480px) {
    .app-title {
        font-size: 1.2rem;
    }

    .cta-group {
        flex-direction: column;
    }

    .cta-btn {
        justify-content: center;
    }

    .step-item {
        gap: 0.75rem;
    }

    .final-cta {
        padding: 1.75rem 1rem;
    }

    .final-cta__heading {
        font-size: 1.1rem;
    }
}



@media print {
    body {
        background: #fff;
        color: #000;
    }

    .cta-btn,
    .banner-figure {
        display: none;
    }

    .benefit-card,
    .faq-item {
        border: 1px solid #ccc;
        background: #f9f9f9;
    }

    .code-block {
        background: #f4f4f4;
        border: 1px solid #ccc;
    }

    .code-block code {
        color: #333;
    }
}


.badge-row {
    display: flex;
    align-items: center;
    padding-top: 0.75rem;
    padding-bottom: 0.25rem;
}

.badge-row img {
    height: 20px;
    width: auto;
    border-radius: 3px;
}
