:root {
    color-scheme: light dark;

    --grey-800: #222222;
    --grey-200: #d3d3d3;
    --turqoise-800: #0f4d52;
    --turqoise-700: #1c6368;
    --turqoise-600: #057982;
    --turqoise-50: #eaf7f8;

    --background: #ffffff;
    --surface: #ffffff;
    --border: var(--grey-200);
    --text: var(--grey-800);

    --font-heading: "FS Me", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: "FS Me", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-code: "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
    :root {
        --background: #14181d;
        --surface: #1c2229;
        --border: #2c343d;
        --text: #eef1f4;
        --turqoise-50: #12262a;
    }
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--background);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.5;
}

.layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: center;
    min-height: 100vh;
}

.content {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2.5rem;
    max-width: 37rem;
    padding: 3rem;
    margin: 0 auto;
    width: 100%;
}

.logo {
    display: block;
}

:where(#activated, #fallback) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
}

.heading {
    margin: 0;
    color: var(--grey-800);
    font-family: var(--font-heading);
    font-size: 1.9375rem;
    font-weight: 700;
    line-height: 125%;
    letter-spacing: -0.31px;
}

.paragraph {
    margin: 0;
    color: var(--grey-800);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 150%;
}

.accordion {
    align-self: stretch;
    border-radius: 24px;
    border: 1px solid var(--border);
    background: var(--surface);
    overflow: hidden;
}

.accordion-toggle {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px;
    border: none;
    background: transparent;
    color: var(--turqoise-700);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    line-height: 150%;
    text-align: left;
    cursor: pointer;
}

.accordion-toggle .chevron {
    flex-shrink: 0;
    color: var(--turqoise-700);
    transition: transform 0.2s ease;
}

.accordion-toggle[aria-expanded="true"] .chevron {
    transform: rotate(90deg);
}

.accordion-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 24px 24px;
}

.accordion-hint {
    margin: 0;
    color: var(--grey-800);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 150%;
}

.code-field {
    display: flex;
    height: 48px;
    padding: 4px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    border-radius: 8px;
    background: var(--turqoise-50);
}

.code-text {
    color: var(--turqoise-600);
    font-feature-settings: "liga" off, "clig" off;
    font-family: var(--font-code);
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 590;
    line-height: 25px;
    letter-spacing: -0.45px;
}

.hero {
    grid-column: 2;
    grid-row: 1;
    display: block;
    justify-self: end;
    align-self: center;
    width: 42rem;
    flex-shrink: 0;
    aspect-ratio: 1248 / 984;
    object-fit: cover;
    margin: 1.25rem 0;
    border-radius: 512px 0 0 512px;
}

[hidden] {
    display: none;
}

@media (max-width: 1300px) {
    .layout {
        grid-template-columns: 1fr;
    }

    .content {
        order: 1;
        align-items: center;
        padding: 2rem 1.5rem;
    }

    .hero {
        display: none;
    }

    :where(#activated, #fallback) {
        align-items: center;
    }
}
