* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    background: linear-gradient(180deg, #102018 0%, #163024 55%, #0e1713 100%);
    color: #f4f7f2;
}

.page {
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto;
    padding: 48px 0 56px;
}

.hero {
    margin-bottom: 24px;
}

.hero-text {
    padding: 28px 30px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    background: rgba(10, 18, 14, 0.7);
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.eyebrow {
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.8rem;
    color: #8ee0a5;
}

h1 {
    margin: 0;
    text-align: left;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1;
}

.hero-text p {
    max-width: 64ch;
    line-height: 1.6;
    color: #d7e3d8;
}

.panel {
    padding: 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.panel-header h2 {
    margin: 0;
    font-size: 1.3rem;
}

#copy-button {
    border: 0;
    border-radius: 999px;
    padding: 12px 18px;
    background: #8ee0a5;
    color: #102018;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s ease, filter 0.15s ease;
}

#copy-button:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

#copy-button:active {
    transform: translateY(0);
}

.code-shell {
    margin: 0;
    padding: 20px;
    overflow-x: auto;
    border-radius: 20px;
    background: #08110d;
    border: 1px solid rgba(142, 224, 165, 0.18);
}

.code-shell code {
    display: block;
    white-space: pre;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.92rem;
    line-height: 1.5;
    color: #e8f2ea;
}

.link-row {
    margin: 18px 0 0;
    line-height: 1.6;
    color: #d7e3d8;
}

.link-row a {
    color: #8ee0a5;
    font-weight: 700;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    word-break: break-word;
}

.link-row a:hover {
    color: #b7f5c7;
}

@media (max-width: 640px) {
    .page {
        width: min(100% - 20px, 1100px);
        padding-top: 20px;
    }

    .hero-text,
    .panel {
        padding: 20px;
        border-radius: 18px;
    }

    .panel-header {
        align-items: flex-start;
        flex-direction: column;
    }

    #copy-button {
        width: 100%;
    }
}