/* Passei. Generated from docs/brand/ by scripts/build.mjs and src/styles.css. */
@font-face {
    font-family: 'Bricolage Grotesque';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url('/fonts/bricolage-grotesque-latin-ext-opsz-normal.woff2') format('woff2');
    unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
    font-family: 'Bricolage Grotesque';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url('/fonts/bricolage-grotesque-latin-opsz-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
    color-scheme: light dark;
    --bg: #F5F4F0;
    --surface: #FFFFFF;
    --text: #111214;
    --muted: #5F5E5A;
    --line: #E2E0D9;
    --brand: #4ADE80;
    --on-brand: #111214;
    --brand-text: #15803D;
    --correct: #15803D;
    --not-quite: #B45309;
    --streak: #EA580C;
    --font-ui: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
    --opsz-ui: 14;
    --opsz-display: 96;
    --weight-display: 700;
    --tracking-display: -0.02em;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #111214;
        --surface: #1C1D21;
        --text: #F5F4F0;
        --muted: #A3A29C;
        --line: #2C2D33;
        --brand: #4ADE80;
        --on-brand: #111214;
        --brand-text: #4ADE80;
        --correct: #4ADE80;
        --not-quite: #FBBF24;
        --streak: #FB923C;
    }
}

.s-639 {
    --subject: #E5484D;
    --subject-on: #111214;
}

.chip.s-639 {
    background: var(--subject);
    color: var(--subject-on);
}

.s-635 {
    --subject: #3B5BFF;
    --subject-on: #FFFFFF;
}

.chip.s-635 {
    background: var(--subject);
    color: var(--subject-on);
}

.s-715 {
    --subject: #0EA5E9;
    --subject-on: #111214;
}

.chip.s-715 {
    background: var(--subject);
    color: var(--subject-on);
}

.s-702 {
    --subject: #0FA3A3;
    --subject-on: #111214;
}

.chip.s-702 {
    background: var(--subject);
    color: var(--subject-on);
}

.s-623 {
    --subject: #EA7317;
    --subject-on: #111214;
}

.chip.s-623 {
    background: var(--subject);
    color: var(--subject-on);
}

.s-719 {
    --subject: #C99A06;
    --subject-on: #111214;
}

.chip.s-719 {
    background: var(--subject);
    color: var(--subject-on);
}

.s-712 {
    --subject: #DB2777;
    --subject-on: #FFFFFF;
}

.chip.s-712 {
    background: var(--subject);
    color: var(--subject-on);
}

.s-714 {
    --subject: #C026D3;
    --subject-on: #FFFFFF;
}

.chip.s-714 {
    background: var(--subject);
    color: var(--subject-on);
}

.s-835 {
    --subject: #6E56CF;
    --subject-on: #FFFFFF;
}

.chip.s-835 {
    background: var(--subject);
    color: var(--subject-on);
}

/* Colours, fonts and radii come only from docs/brand/tokens.json, through the variables above. */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-ui);
    font-size: 1.0625rem;
    line-height: 1.5;
    font-variation-settings: 'opsz' var(--opsz-ui);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--brand-text);
}

:focus-visible {
    outline: 3px solid var(--brand-text);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.page {
    display: grid;
    gap: 2.5rem;
    max-width: 40rem;
    margin: 0 auto;
    padding: 2rem 1rem 3rem;
}

.logo {
    display: block;
    height: 3.5rem;
    margin-left: -0.25rem;
}

.logo svg {
    display: block;
    width: auto;
    height: 100%;
}

.logo-dark {
    display: none;
}

@media (prefers-color-scheme: dark) {
    .logo-light {
        display: none;
    }

    .logo-dark {
        display: block;
    }
}

.hero {
    display: grid;
    gap: 1.25rem;
    justify-items: start;
    padding-top: 1rem;
}

.tagline {
    margin: 0;
    font-size: clamp(2rem, 8.5vw, 3.25rem);
    font-weight: var(--weight-display);
    line-height: 1.08;
    letter-spacing: var(--tracking-display);
    font-variation-settings: 'opsz' var(--opsz-display);
}

.subline {
    margin: 0;
    color: var(--muted);
    font-size: 1.1875rem;
}

h1,
h2,
h3 {
    margin: 0;
    font-weight: var(--weight-display);
    letter-spacing: var(--tracking-display);
    font-variation-settings: 'opsz' var(--opsz-display);
}

h1 {
    font-size: 2.25rem;
    line-height: 1.1;
}

h2 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    line-height: 1.2;
}

.button {
    display: inline-block;
    min-height: 3rem;
    padding: 0.7rem 1.25rem;
    border: 0;
    border-radius: var(--radius-md);
    background: var(--brand);
    color: var(--on-brand);
    font: inherit;
    font-weight: 600;
    font-variation-settings: inherit;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.button:disabled {
    opacity: 0.6;
    cursor: wait;
}

.points {
    display: grid;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 1.1875rem;
    font-weight: 500;
}

.points li {
    display: flex;
    gap: 0.75rem;
    align-items: baseline;
}

.points li::before {
    content: '';
    flex: none;
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    background: var(--brand);
}

.chips,
.subject-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.chip {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    font-weight: 600;
}

.plans {
    display: grid;
    gap: 1rem;
}

.plan {
    display: grid;
    align-content: start;
    gap: 0.75rem;
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.plan h3 {
    font-size: 1.25rem;
    line-height: 1.2;
}

.plan ul {
    margin: 0;
    padding-left: 1.1rem;
}

.plan li + li {
    margin-top: 0.35rem;
}

@media (min-width: 40rem) {
    .plans {
        grid-template-columns: 1fr 1fr;
    }
}

.card {
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    scroll-margin-top: 1rem;
}

form {
    display: grid;
    gap: 1.25rem;
}

.field {
    display: grid;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
    border: 0;
}

.field > span,
legend {
    padding: 0;
    margin-bottom: 0.4rem;
    font-weight: 600;
}

input[type='email'] {
    width: 100%;
    min-height: 3rem;
    padding: 0.6rem 0.8rem;
    border: 1px solid var(--muted);
    border-radius: var(--radius-sm);
    background: var(--bg);
    color: var(--text);
    font: inherit;
    font-variation-settings: inherit;
}

.years {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.years input,
.subject-options input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.years span,
.subject-option {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    min-height: 2.75rem;
    padding: 0.45rem 0.75rem;
    border: 1px solid var(--muted);
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
}

.years span {
    justify-content: center;
}

.years input:checked + span {
    border-color: var(--text);
    background: var(--text);
    color: var(--bg);
    font-weight: 600;
}

.years input:focus-visible + span,
.subject-option:has(input:focus-visible) {
    outline: 3px solid var(--brand-text);
    outline-offset: 2px;
}

.subject-option::before {
    content: '';
    flex: none;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: var(--subject);
}

.subject-option small {
    color: var(--muted);
    font-size: 0.8125rem;
    font-weight: 400;
}

.subject-option:has(input:checked) {
    border-color: var(--subject);
    background: var(--subject);
    color: var(--subject-on);
    font-weight: 600;
}

.subject-option:has(input:checked)::before {
    background: var(--subject-on);
}

.subject-option:has(input:checked) small {
    color: inherit;
}

.trap {
    position: absolute;
    left: -9999px;
}

form .button {
    width: 100%;
}

.note {
    margin: 0;
    color: var(--muted);
    font-size: 0.875rem;
}

.message {
    margin: 0;
    font-weight: 500;
}

.message:empty {
    display: none;
}

.message-success {
    color: var(--correct);
}

.message-problem {
    color: var(--not-quite);
}

.footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    justify-content: space-between;
    max-width: 40rem;
    margin: 0 auto;
    padding: 1.5rem 1rem 2.5rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.9375rem;
}

.footer strong {
    color: var(--text);
    font-weight: 600;
}

.footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
}

.prose {
    gap: 0;
}

.prose h1 {
    margin: 1.5rem 0 1rem;
}

.prose h2 {
    margin: 2rem 0 0.5rem;
}

.prose p,
.prose ul {
    margin: 0 0 0.75rem;
}

.prose ul {
    padding-left: 1.25rem;
}

.home-logo {
    justify-self: start;
    display: block;
}

.home-logo .logo {
    height: 3rem;
}

.action {
    display: grid;
    gap: 1rem;
    justify-items: start;
}

@media (min-width: 40rem) {
    .page {
        padding-top: 3rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
