@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;800&display=swap');

:root {
    --accent: #ff3b00;
    --bg-color: #ffeee9;
    --dark-element: #050505;
    --muted: #6d5d59;
}

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

html {
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar {
    display: none;
}

body {
    height: 100%;
    overflow: hidden;
    background-color: var(--bg-color);
    color: var(--dark-element);
    font-family: 'Poppins', sans-serif;
}

main {
    height: 100svh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

main::-webkit-scrollbar {
    display: none;
}

main section {
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.container {
    width: min(1100px, calc(100% - 3rem));
    margin: 0 auto;
}

.hero {
    min-height: 100svh;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    padding: 2rem 0 6rem;
    text-align: center;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.logo-svg {
    width: 140px;
    height: auto;
    margin-right: 5px;
}

.logo-text {
    color: var(--accent);
    font-size: clamp(4.5rem, 12vw, 7rem);
    font-weight: 800;
    letter-spacing: -4px;
    line-height: 1;
}

.description {
    max-width: 620px;
    margin: 0 auto 3rem;
    color: var(--dark-element);
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    line-height: 1.4;
}

.actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

button,
.text-link {
    border: 0;
    cursor: pointer;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 500;
    transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

button {
    padding: 1rem 2.5rem;
    background: var(--dark-element);
    color: var(--accent);
}

button:hover,
button:focus-visible {
    opacity: 0.86;
    transform: translateY(-3px);
}

.scroll-cue {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    color: var(--dark-element);
    font-size: 0.8rem;
    text-decoration: none;
    transform: translateX(-50%);
    animation: float 2.2s ease-in-out infinite;
}

.arrow {
    color: var(--accent);
    font-size: 1.8rem;
    line-height: 1;
}

@keyframes float {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 6px); }
}

.about {
    min-height: 100svh;
    position: relative;
    display: flex;
    align-items: center;
    padding: clamp(3rem, 6vh, 5rem) 0 clamp(4.5rem, 9vh, 6rem);
    background: var(--dark-element);
    color: #fff7f4;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 5rem;
}

.eyebrow {
    margin-bottom: 1rem;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.about h2 {
    max-width: 520px;
    margin-bottom: 1.25rem;
    font-size: clamp(2.5rem, 6vw, 4.8rem);
    letter-spacing: -0.06em;
    line-height: 0.98;
}

.about-copy > p:not(.eyebrow) {
    max-width: 540px;
    color: #d8cbc7;
    font-size: 1.1rem;
    line-height: 1.7;
}

.features {
    display: grid;
    gap: 1.2rem;
    margin: 2.5rem 0;
}

.features article {
    display: grid;
    gap: 0.2rem;
    padding-left: 1rem;
    border-left: 2px solid var(--accent);
}

.features strong {
    font-size: 1.05rem;
}

.features span {
    color: #a99b97;
    font-size: 0.9rem;
}

.text-link {
    display: inline-flex;
    gap: 0.7rem;
    align-items: center;
    color: var(--accent);
    text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
    transform: translateX(4px);
}

.screenshot-card {
    margin: 0;
    padding: 0.65rem;
    background: #1b1919;
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.35);
    transform: rotate(2deg);
}

.screenshot-card img {
    display: block;
    width: 100%;
    height: auto;
}

.screenshot-card figcaption {
    padding: 0.9rem 0.5rem 0.45rem;
    color: #b9aaa6;
    font-size: 0.8rem;
}

.artifacthub {
    min-height: 100svh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 4rem 0 6rem;
    background: var(--dark-element);
    color: #fff7f4;
}

.artifacthub-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: clamp(3rem, 8vw, 8rem);
}

.artifacthub-copy {
    max-width: 480px;
}

.artifacthub h2 {
    margin-bottom: 1.25rem;
    font-size: clamp(2.5rem, 6vw, 4.8rem);
    letter-spacing: -0.06em;
    line-height: 0.98;
}

.artifacthub-copy > p:not(.eyebrow) {
    margin-bottom: 2rem;
    color: #d8cbc7;
    font-size: 1.1rem;
    line-height: 1.7;
}

.artifacthub-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.artifacthub-link {
    display: inline-flex;
    gap: 0.7rem;
    align-items: center;
    color: var(--accent);
    text-decoration: none;
}

.artifacthub-link:hover,
.artifacthub-link:focus-visible {
    transform: translateX(4px);
}

.project-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 0;
}

.project-cards .artifacthub-card {
    display: block;
}

.project-cards a.artifacthub-card {
    text-decoration: none;
}

.artifacthub-card {
    min-width: 0;
    padding: clamp(1rem, 2vw, 2rem);
    background: #1b1919;
    border: 1px solid #3a302d;
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.35);
}

.project-cards .artifacthub-card {
    height: 300px;
}

.artifacthub-widget,
.github-card {
    height: 228px;
    min-height: 228px;
}

.github-card {
    display: flex;
    flex-direction: column;
    color: #e6edf3;
    background: #232429;
    border: 1px solid #3a302d;
    padding: 1rem 1.2rem;
}

.github-card-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: -1rem -1.2rem 1rem;
    padding: 0.9rem 1.2rem;
    background: #131317;
    border-bottom: 1px solid #19181b;
    color: #58a6ff;
    font-size: 1.05rem;
    font-weight: 600;
}

.github-mark {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.github-card-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.github-card-public {
    margin-left: auto;
    padding: 0.15rem 0.5rem;
    border: 1px solid #4a4442;
    border-radius: 999px;
    color: #d8cbc7;
    font-size: 0.7rem;
    font-weight: 400;
    text-transform: lowercase;
    white-space: nowrap;
}

.github-card-desc {
    color: #d8cbc7;
    font-size: 0.95rem;
    line-height: 1.6;
}

.github-card-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.1rem;
    margin-top: auto;
    padding-top: 1rem;
    color: #a99b97;
    font-size: 0.85rem;
}

.github-card-stat strong {
    color: #fff7f4;
    font-weight: 600;
}

.artifacthub blockquote {
    margin: 0;
    color: #d8cbc7;
    line-height: 1.7;
}

.artifacthub blockquote a {
    color: var(--accent);
}

.site-footer {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 0;
    background: var(--dark-element);
    border-top: 2px solid var(--accent);
    color: #d8cbc7;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    width: 100%;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.footer-copy h2 {
    margin-bottom: 1rem;
    color: #fff7f4;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.footer-logo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-color);
}

.footer-logo-badge img {
    width: 100%;
    height: auto;
}

.footer-logo-svg {
    width: 26px;
    height: 26px;
}

.footer-logo-text {
    color: var(--accent);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
    color: #a99b97;
    font-size: 0.9rem;
    line-height: 1.9;
}

.site-footer a {
    position: relative;
    color: var(--accent);
    text-decoration: none;
}

.site-footer a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    border-radius: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.site-footer a:hover::after,
.site-footer a:focus-visible::after {
    transform: scaleX(1);
}

.footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.7rem;
}

.footer-nav a {
    color: #d8cbc7;
}

.footer-legal {
    grid-column: 1 / -1;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #252322;
    color: #8f817d;
    font-size: 0.85rem;
    line-height: 1.8;
}

.chooser {
    min-height: 100svh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 4rem 0;
    background: var(--bg-color);
}

.chooser-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: clamp(3rem, 8vw, 8rem);
}

.chooser-copy {
    max-width: 460px;
}

.chooser h2 {
    max-width: 650px;
    margin-bottom: 0.9rem;
    font-size: clamp(2.5rem, 6vw, 4.8rem);
    letter-spacing: -0.06em;
    line-height: 0.98;
}

.chooser-content {
    width: 100%;
}

.chooser-intro {
    max-width: 560px;
    margin-bottom: 1rem;
    color: var(--muted);
    font-size: 1.05rem;
}

.chooser-note {
    max-width: 380px;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.chooser-interaction {
    width: 100%;
    max-width: 680px;
    justify-self: center;
}

.question-panel {
    max-width: 780px;
    min-height: 220px;
    margin-top: 2.5rem;
}

.step-label {
    margin-bottom: 0.55rem;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.question-panel h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.choice {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 100px;
    padding: 1.25rem;
    background: #fff7f4;
    border: 2px solid transparent;
    color: var(--dark-element);
    text-align: left;
}

.choice span {
    margin-top: 0.35rem;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 400;
}

.choice:hover,
.choice:focus-visible {
    border-color: var(--accent);
    transform: translateY(-3px);
}

.is-hidden {
    display: none;
}

.recommendation {
    max-width: 780px;
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: var(--dark-element);
    color: #fff7f4;
}

.recommendation strong {
    color: var(--accent);
    font-size: 1.3rem;
}

.recommendation p {
    margin: 0.6rem 0 1rem;
    color: #d8cbc7;
}

.recommendation-link {
    color: var(--accent);
    font-weight: 500;
    text-decoration: none;
}

.reset-button {
    margin-left: 1rem;
    padding: 0;
    background: transparent;
    color: #d8cbc7;
    font-size: 0.9rem;
    text-decoration: underline;
}

.reset-button:hover,
.reset-button:focus-visible {
    color: #fff7f4;
}

.section-cue {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    display: flex;
    gap: 0.45rem;
    align-items: center;
    color: var(--accent);
    font-size: 0.8rem;
    text-decoration: none;
    transform: translateX(-50%);
}

.section-cue span {
    font-size: 1.5rem;
    line-height: 1;
}

.section-cue:hover,
.section-cue:focus-visible {
    text-decoration: underline;
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 2rem, 600px);
    }

    .hero-content {
        padding-bottom: 5rem;
    }

    .logo-svg {
        width: 90px;
    }

    .about {
        padding: 4rem 0 5.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .screenshot-card {
        transform: rotate(0);
    }

    .artifacthub {
        padding: 5rem 0 6rem;
    }

    .artifacthub-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-legal {
        margin-top: 1.5rem;
    }

    .chooser {
        min-height: 100svh;
        padding: 5rem 0;
    }

    .chooser-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .chooser-copy {
        max-width: 600px;
    }

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

    .reset-button {
        display: block;
        margin: 1rem 0 0;
    }
}
