/*
 * My E-Class landing page.
 *
 * Standalone stylesheet: the landing page does not load the Moodle theme, and no Moodle page loads this file.
 * Built from the "Option A" desktop (1440px) and mobile (390px) designs. Sizes that differ between the two
 * scale smoothly between those widths using --t, which runs from 0 (390px wide) to 1px (1440px wide and up).
 */

:root {
    --ink: #0E0F12;
    --paper: #F6F6F3;
    --line: #E4E4DE;
    --line-strong: #DCDCD5;
    --text-2: #4F525A;
    --text-3: #6E717A;

    /* The one brand colour. The three below are derived from it; change them together on browsers without color-mix. */
    --accent: #3355FF;
    --accent-tint: #E7EBFF;
    --accent-ink: #243CB3;
    --accent-on-dark: #8FA2FF;

    --font-display: 'Bricolage Grotesque', ui-sans-serif, sans-serif;
    --font-body: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-mono: 'Geist Mono', ui-monospace, monospace;

    --gutter: 20px;
    --t: clamp(0px, calc((100vw - 390px) / 1050), 1px);
    --section: calc(64px + 64 * var(--t));
}

@supports (color: color-mix(in srgb, red, blue)) {
    :root {
        --accent-tint: color-mix(in srgb, var(--accent) 12%, #FFFFFF);
        --accent-ink: color-mix(in srgb, var(--accent) 70%, #000000);
        --accent-on-dark: color-mix(in srgb, var(--accent) 55%, #FFFFFF);
    }
}

@media (min-width: 720px) {
    :root {
        --gutter: 32px;
    }
}

@media (min-width: 1100px) {
    :root {
        --gutter: 40px;
    }
}

/* Base */

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

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

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

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font-family: inherit;
}

button {
    cursor: pointer;
}

svg {
    flex-shrink: 0;
}

[id] {
    scroll-margin-top: 16px;
}

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

.features :focus-visible,
.cta :focus-visible,
.footer :focus-visible {
    outline-color: #FFFFFF;
}

.wrap {
    width: min(1200px, calc(100% - 2 * var(--gutter)));
    margin-inline: auto;
}

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

.skip:focus {
    left: 12px;
    top: 12px;
    z-index: 10;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--ink);
    color: #FFFFFF;
}

.eyebrow {
    font-family: var(--font-mono);
    font-size: calc(11px + var(--t));
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-ink);
}

.title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: calc(36px + 24 * var(--t));
    line-height: 1.04;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.title--sm {
    font-size: calc(32px + 20 * var(--t));
}

.sechead {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sechead__main {
    display: flex;
    flex-direction: column;
    gap: calc(14px + 6 * var(--t));
}

.sechead__side {
    font-size: calc(16px + var(--t));
    line-height: 1.55;
    color: var(--text-2);
}

@media (min-width: 1100px) {
    .title {
        line-height: 1.02;
    }

    .sechead--split {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
        gap: 64px;
    }

    .sechead--split .sechead__main {
        max-width: 720px;
    }

    .sechead--split .sechead__side {
        max-width: 380px;
    }

    .sechead--narrow {
        max-width: 760px;
    }
}

/* Header */

.nav {
    border-bottom: 1px solid var(--line);
}

.nav__bar {
    height: 63px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand__logo {
    display: block;
    width: auto;
    height: 34px;
}

.nav__links,
.nav__login,
.nav__cta,
.nav__join svg {
    display: none;
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.nav__join {
    height: 44px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.nav__links a:hover,
.nav__join:hover,
.nav__login:hover,
.menu a:hover,
.faq__intro a:hover {
    color: var(--accent);
}

.nav__toggle {
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
}

.menu {
    border-top: 1px solid var(--line);
    background: #FFFFFF;
    padding: 4px 0 20px;
}

.menu[hidden] {
    display: none;
}

.menu a {
    display: flex;
    align-items: center;
    height: 52px;
    border-bottom: 1px solid #F0F0EB;
    font-size: 16px;
    font-weight: 500;
}

.menu .menu__cta {
    justify-content: center;
    margin-top: 16px;
    border: 0;
    border-radius: 999px;
    background: var(--ink);
    color: #FFFFFF;
    font-weight: 600;
}

.menu .menu__cta:hover {
    color: #FFFFFF;
}

@media (min-width: 1100px) {
    .nav__bar {
        height: 75px;
        gap: 16px;
    }

    .brand__logo {
        height: 40px;
    }

    .nav__links {
        display: flex;
        align-items: center;
        gap: 24px;
        font-size: 15px;
        font-weight: 500;
    }

    .nav__actions {
        gap: 12px;
        font-size: 15px;
    }

    .nav__join {
        padding: 0 14px;
        font-size: 15px;
    }

    .nav__join svg {
        display: block;
    }

    .nav__login {
        display: flex;
        align-items: center;
        height: 44px;
        padding: 0 14px;
    }

    .nav__cta {
        display: flex;
        align-items: center;
        height: 44px;
        padding: 0 20px;
        border-radius: 999px;
        background: var(--ink);
        color: #FFFFFF;
    }

    .nav__toggle,
    .menu {
        display: none;
    }
}

@media (min-width: 1280px) {
    .nav__links {
        gap: 36px;
    }
}

/* Hero */

.hero {
    padding-block: calc(40px + 48 * var(--t)) calc(56px + 56 * var(--t));
}

.hero__inner {
    display: flex;
    flex-direction: column;
    gap: calc(32px + 32 * var(--t));
}

.hero__copy {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tag {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #FFFFFF;
    border: 1px solid var(--line);
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tag::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
}

.hero h1 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: calc(44px + 36 * var(--t));
    line-height: 1;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.hero h1 em {
    font-style: normal;
    color: var(--accent);
}

.hero__lede {
    font-size: calc(17px + 3 * var(--t));
    line-height: 1.5;
    color: var(--text-2);
    text-wrap: pretty;
}

.hero__cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 4px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 52px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
}

.btn--accent {
    background: var(--accent);
    color: #FFFFFF;
}

.btn--light {
    background: #FFFFFF;
    border-color: var(--line-strong);
}

.join {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    border-radius: 18px;
    background: #FFFFFF;
    border: 1px solid var(--line);
}

.join label {
    font-size: 14px;
    color: var(--text-2);
}

.join__row {
    display: flex;
    gap: 8px;
}

.join input {
    flex: 1;
    min-width: 0;
    height: 46px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: 16px;
}

.join button {
    height: 46px;
    padding: 0 18px;
    border: 0;
    border-radius: 12px;
    background: var(--ink);
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 600;
}

@media (min-width: 720px) {
    .hero__copy {
        align-items: center;
        gap: 24px;
        max-width: 980px;
        margin-inline: auto;
        text-align: center;
    }

    .tag {
        align-self: center;
        height: 30px;
        padding: 0 12px;
        font-size: 12px;
    }

    .tag::before {
        width: 8px;
        height: 8px;
    }

    .hero__lede {
        max-width: 680px;
    }

    .hero__cta {
        flex-direction: row;
        gap: 12px;
        padding-top: 8px;
    }

    .btn {
        height: 54px;
    }

    .btn--accent {
        padding: 0 28px;
    }

    .join {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        margin-top: 12px;
        padding: 8px 8px 8px 20px;
        border-radius: 999px;
    }

    .join label {
        white-space: nowrap;
    }

    .join__row {
        gap: 12px;
    }

    .join input {
        flex: none;
        width: 180px;
        height: 40px;
        border-radius: 999px;
        font-size: 14px;
        letter-spacing: 0.04em;
    }

    .join button {
        height: 44px;
        border-radius: 999px;
        font-size: 14px;
    }
}

@media (min-width: 1100px) {
    .hero h1 {
        line-height: 0.98;
    }
}

/* Product previews in the hero: a compact card on small screens, the full dashboard on large ones */

.modrow {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 44px;
    border-top: 1px solid #F0F0EB;
    font-size: 13px;
}

.modrow__n {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-3);
}

.modrow__t {
    flex: 1;
}

.modrow__t.is-dim {
    color: var(--text-3);
}

.pill {
    display: flex;
    align-items: center;
    gap: 5px;
    height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 11px;
}

.pill--ok {
    background: #E3F5EA;
    color: #13623A;
}

.pill--accent {
    background: var(--accent-tint);
    color: var(--accent-ink);
}

.pill--muted {
    background: #F0F0EB;
    color: var(--text-2);
}

.appmini {
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
    padding: 16px;
    border-radius: 20px;
    background: #FFFFFF;
    border: 1px solid #E1E1DA;
    box-shadow: 0 30px 60px -30px rgba(14, 15, 18, 0.3);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.appmini__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.appmini__head > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.appmini__meta {
    font-size: 11px;
    color: var(--text-3);
}

.appmini__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.02em;
}

.golive {
    display: flex;
    align-items: center;
    gap: 5px;
    height: 32px;
    padding: 0 12px;
    border-radius: 9px;
    background: var(--accent);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 600;
}

.golive::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #FFFFFF;
}

.appmini__live {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px;
    border-radius: 14px;
    background: var(--ink);
    color: #FFFFFF;
}

.appmini__live > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.appmini__live span {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #FF8A80;
}

.appmini__live strong {
    font-size: 13.5px;
    font-weight: 600;
}

.app {
    display: none;
}

@media (min-width: 1100px) {
    .appmini {
        display: none;
    }

    .app {
        display: flex;
        flex-direction: column;
        height: 580px;
        overflow: hidden;
        border-radius: 22px;
        background: #FFFFFF;
        border: 1px solid #E1E1DA;
        box-shadow: 0 40px 80px -40px rgba(14, 15, 18, 0.28), 0 2px 6px rgba(14, 15, 18, 0.04);
    }

    .app__top {
        flex-shrink: 0;
        height: 56px;
        padding: 0 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        border-bottom: 1px solid #EEEEE8;
    }

    .app__brand {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 14px;
        font-weight: 600;
    }

    .app__search {
        flex: 0 1 380px;
        height: 34px;
        padding: 0 12px;
        border-radius: 10px;
        background: #F4F4F0;
        display: flex;
        align-items: center;
        gap: 8px;
        color: var(--text-3);
        font-size: 13px;
    }

    .app__user {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 13px;
        color: var(--text-2);
    }

    .app__avatar {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background: var(--accent-tint);
        color: var(--accent-ink);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        font-weight: 600;
    }

    .app__body {
        flex: 1;
        min-height: 0;
        display: flex;
    }

    .app__side {
        flex-shrink: 0;
        width: 212px;
        padding: 18px 12px;
        border-right: 1px solid #EEEEE8;
        display: flex;
        flex-direction: column;
        gap: 2px;
        font-size: 13.5px;
        color: var(--text-2);
    }

    .app__side span {
        display: flex;
        align-items: center;
        gap: 10px;
        height: 36px;
        padding: 0 10px;
        border-radius: 9px;
    }

    .app__side .is-active {
        background: #F1F1EC;
        color: var(--ink);
        font-weight: 600;
    }

    .app__main {
        flex: 1;
        min-width: 0;
        padding: 24px 28px;
        background: #FBFBF9;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .app__head {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .app__heading {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .app__crumb {
        font-size: 12px;
        color: var(--text-3);
    }

    .app__title {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .app__title strong {
        font-family: var(--font-display);
        font-weight: 700;
        font-size: 24px;
        letter-spacing: -0.02em;
    }

    .app__title span {
        display: flex;
        align-items: center;
        height: 24px;
        padding: 0 10px;
        border-radius: 999px;
        background: #EFEFEA;
        font-size: 12px;
    }

    .app__btns {
        display: flex;
        gap: 8px;
    }

    .app__btn {
        display: flex;
        align-items: center;
        gap: 6px;
        height: 38px;
        padding: 0 14px;
        border: 1px solid #E1E1DA;
        border-radius: 10px;
        background: #FFFFFF;
        font-size: 13px;
        font-weight: 500;
    }

    .app__btn--live {
        border-color: transparent;
        background: var(--accent);
        color: #FFFFFF;
        font-weight: 600;
    }

    .app__btn--live::before {
        content: "";
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #FFFFFF;
    }

    .app__grid {
        flex: 1;
        min-height: 0;
        display: grid;
        grid-template-columns: 1.45fr 1fr;
        gap: 16px;
    }

    .app__card {
        padding: 18px;
        border-radius: 14px;
        background: #FFFFFF;
        border: 1px solid #ECECE6;
        display: flex;
        flex-direction: column;
    }

    .app__cardhead {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 12px;
        color: var(--text-3);
    }

    .app__cardhead strong {
        font-size: 14px;
        font-weight: 600;
        color: var(--ink);
    }

    .app__modules {
        gap: 4px;
    }

    .app__modules .app__cardhead {
        padding-bottom: 8px;
    }

    .app .modrow {
        gap: 12px;
        height: 54px;
        font-size: 14px;
    }

    .app .modrow__n {
        width: 26px;
        font-size: 12px;
    }

    .app .pill {
        height: 24px;
        padding: 0 10px;
        font-size: 12px;
        font-weight: 500;
    }

    .app__col {
        display: flex;
        flex-direction: column;
        gap: 16px;
        min-height: 0;
    }

    .app__live {
        padding: 18px;
        border-radius: 14px;
        background: var(--ink);
        color: #FFFFFF;
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .app__live strong {
        font-size: 16px;
        font-weight: 600;
    }

    .app__livetop,
    .app__livefoot {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 8px;
        font-size: 12px;
        color: #B4B7BF;
    }

    .app__livenow {
        display: flex;
        align-items: center;
        gap: 6px;
        font-family: var(--font-mono);
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: #FFFFFF;
    }

    .app__livenow::before {
        content: "";
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #FF5A4E;
    }

    .app__faces {
        display: flex;
    }

    .app__faces span {
        width: 30px;
        height: 30px;
        margin-left: -8px;
        border: 2px solid var(--ink);
        border-radius: 50%;
        background: #2A2D35;
        color: #FFFFFF;
        font-size: 11px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .app__faces span:first-child {
        margin-left: 0;
    }

    .app__faces span:nth-child(2) {
        background: #353944;
    }

    .app__faces span:nth-child(3) {
        background: #41464F;
    }

    .app__faces span:nth-child(4) {
        background: var(--accent);
    }

    .app__attention {
        flex: 1;
        min-height: 0;
        gap: 12px;
    }

    .app__bars {
        flex: 1;
        min-height: 60px;
        display: flex;
        align-items: flex-end;
        gap: 10px;
    }

    .app__bars span {
        flex: 1;
        border-radius: 6px 6px 2px 2px;
        background: #E7E7E1;
    }

    .app__bars .is-low {
        background: var(--accent);
    }

    .app__attention p {
        font-size: 13px;
        line-height: 1.45;
        color: var(--text-2);
    }
}

/* Numbers */

.stats {
    padding-bottom: calc(56px + 56 * var(--t));
}

.stats__grid {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--line-strong);
}

.stat {
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-bottom: 1px solid var(--line-strong);
}

.stat__n {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: calc(36px + 16 * var(--t));
    letter-spacing: -0.03em;
}

/* Content still to be supplied is shown greyed, as in the design. */
.stat__n.is-placeholder {
    color: #9A9DA5;
}

.voice.is-placeholder blockquote {
    color: #8A8D95;
}

.stat__l {
    font-size: calc(15px + var(--t));
    color: var(--text-2);
}

@media (min-width: 720px) {
    .stats__grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        border-bottom: 1px solid var(--line-strong);
    }

    .stat {
        padding: 36px 32px;
        gap: 8px;
        border-bottom: 0;
        border-right: 1px solid var(--line-strong);
    }

    .stat:first-child {
        padding-left: 0;
    }

    .stat:last-child {
        padding-right: 0;
        border-right: 0;
    }
}

/* Features */

.features {
    padding-block: var(--section);
    background: var(--ink);
    color: #F2F2EF;
}

.features > .wrap {
    display: flex;
    flex-direction: column;
    gap: calc(32px + 32 * var(--t));
}

.features .eyebrow {
    color: var(--accent-on-dark);
}

.features .sechead__side {
    color: #A9ACB4;
}

.fgrid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}

.fcard {
    padding: 22px;
    border-radius: 18px;
    background: #17181D;
    border: 1px solid #26282F;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fcard__text {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fcard__icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: #23252C;
    color: var(--accent-on-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fcard__icon svg {
    width: 19px;
    height: 19px;
}

.fcard h3 {
    padding-top: 4px;
    font-size: 19px;
    font-weight: 600;
}

.fcard p {
    font-size: 15px;
    line-height: 1.55;
    color: #A9ACB4;
}

.fcard--accent {
    background: var(--accent);
    border-color: transparent;
    color: #FFFFFF;
}

.fcard--accent p {
    color: rgba(255, 255, 255, 0.88);
}

.fcard--accent .fcard__icon {
    background: rgba(255, 255, 255, 0.16);
    color: #FFFFFF;
}

.outline,
.chips {
    display: none;
}

.codes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 6px;
    font-family: var(--font-mono);
    font-size: 12px;
}

.codes span {
    display: flex;
    align-items: center;
    height: 30px;
    padding: 0 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.16);
}

.skills {
    padding-top: 8px;
}

.skills__head,
.skills__note,
.skill.skill--more {
    display: none;
}

.skills__rows {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 12px;
    color: #D5D7DC;
}

.skill {
    display: grid;
    grid-template-columns: 96px 1fr 32px;
    align-items: center;
    gap: 8px;
}

.skill i {
    display: flex;
    height: 7px;
    border-radius: 99px;
    background: #26282F;
}

.skill b {
    border-radius: 99px;
    background: #7FD6A2;
}

.skill.is-low b {
    background: var(--accent-on-dark);
}

.skill span:last-child {
    text-align: right;
}

@media (min-width: 720px) {
    .fgrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .fcard {
        padding: 32px;
        border-radius: 20px;
        gap: 14px;
    }

    .fcard__text {
        gap: 14px;
    }

    .fcard__icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .fcard__icon svg {
        width: 20px;
        height: 20px;
    }

    .fcard h3 {
        padding-top: 8px;
        font-size: 22px;
        letter-spacing: -0.01em;
    }

    .fcard--wide,
    .fcard:last-child {
        grid-column: span 2;
    }

    .fcard--wide {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px;
        min-height: 300px;
    }

    .outline {
        align-self: center;
        padding: 16px;
        border-radius: 14px;
        background: var(--ink);
        border: 1px solid #26282F;
        display: flex;
        flex-direction: column;
        gap: 8px;
        font-size: 13px;
    }

    .outline div {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 38px;
        padding: 0 12px;
        border-radius: 9px;
        background: #1C1E24;
    }

    .outline .is-sub {
        height: 34px;
        padding-left: 28px;
        background: none;
        color: #A9ACB4;
    }

    .outline .is-held {
        color: #A9ACB4;
    }

    .outline .is-ok {
        color: #7FD6A2;
    }

    .outline .is-accent {
        color: var(--accent-on-dark);
    }

    .chips {
        margin-top: auto;
        padding-top: 12px;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .chips span {
        display: flex;
        align-items: center;
        height: 30px;
        padding: 0 12px;
        border: 1px solid #2F323A;
        border-radius: 999px;
        font-size: 12.5px;
        color: #D5D7DC;
    }

    .codes {
        margin-top: auto;
        padding-top: 12px;
        font-size: 12.5px;
    }

    .codes span {
        height: 32px;
        padding: 0 12px;
    }

    .skills {
        align-self: center;
        padding: 18px;
        border-radius: 14px;
        background: var(--ink);
        border: 1px solid #26282F;
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .skills__head {
        display: flex;
        justify-content: space-between;
        font-size: 13px;
    }

    .skills__head span:last-child,
    .skills__note {
        color: #A9ACB4;
    }

    .skills__note {
        display: block;
        font-size: 12.5px;
    }

    .skills__rows {
        gap: 10px;
        font-size: 12.5px;
    }

    .skill,
    .skill.skill--more {
        display: grid;
        grid-template-columns: 110px 1fr 36px;
        gap: 10px;
    }

    .skill i {
        height: 8px;
    }
}

@media (min-width: 1100px) {
    .fgrid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-auto-rows: minmax(300px, auto);
    }

    .fcard:last-child {
        grid-column: auto;
    }
}

/* How it works */

.how {
    padding-block: var(--section);
}

.how > .wrap {
    display: flex;
    flex-direction: column;
    gap: calc(28px + 28 * var(--t));
}

.steps {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--line-strong);
}

.step {
    padding: 20px 0;
    border-bottom: 1px solid var(--line-strong);
    display: grid;
    grid-template-columns: 40px 1fr;
    column-gap: 12px;
    row-gap: 4px;
}

.step__n {
    grid-row: 1 / span 2;
    padding-top: 3px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--accent-ink);
}

.step__t {
    font-size: 17px;
    font-weight: 600;
}

.step__d {
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-2);
}

@media (min-width: 1100px) {
    .steps {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 16px;
        border-top: 0;
    }

    .step {
        min-height: 240px;
        padding: 24px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: #FFFFFF;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .step__n {
        padding-top: 0;
    }

    .step__t {
        padding-top: 28px;
        font-size: 19px;
        letter-spacing: -0.01em;
    }

    .step__d {
        font-size: 14.5px;
        line-height: 1.55;
    }

    .step:last-child {
        border-color: transparent;
        background: var(--ink);
        color: #FFFFFF;
    }

    .step:last-child .step__n {
        color: var(--accent-on-dark);
    }

    .step:last-child .step__d {
        color: #B4B7BF;
    }
}

/* For students */

.students {
    padding-bottom: var(--section);
}

.students__card {
    padding: 28px 20px;
    border-radius: 24px;
    background: #FFFFFF;
    border: 1px solid var(--line);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
}

.students__intro,
.students__rest {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.students__intro p {
    font-size: calc(16px + var(--t));
    line-height: 1.55;
    color: var(--text-2);
}

.students__stage {
    padding: 24px 0;
    border-radius: 18px;
    background: var(--accent-tint);
    display: flex;
    justify-content: center;
    align-items: center;
}

.benefits {
    display: grid;
    gap: 16px;
}

.benefit {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.benefit strong {
    font-size: 16px;
    font-weight: 600;
}

.benefit span {
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-2);
}

.codeform {
    padding-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.codeform label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-2);
}

.codeform__row {
    display: flex;
    gap: 8px;
}

.codeform input {
    flex: 1;
    min-width: 0;
    height: 48px;
    padding: 0 14px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: 16px;
}

.codeform button {
    height: 48px;
    padding: 0 18px;
    border: 0;
    border-radius: 12px;
    background: var(--ink);
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 600;
}

.phone {
    width: 250px;
    height: 420px;
    padding: 9px;
    border-radius: 36px;
    background: var(--ink);
}

.phone__screen {
    height: 100%;
    padding: 24px 12px 12px;
    border-radius: 28px;
    background: var(--paper);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.phone__hi {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: var(--text-3);
}

.phone__hi b,
.phone__list .is-more {
    display: none;
}

.phone__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 17px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.phone__live {
    padding: 12px;
    border-radius: 14px;
    background: var(--ink);
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.phone__live small {
    font-family: var(--font-mono);
    font-size: 9.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #FF8A80;
}

.phone__live strong {
    font-size: 12.5px;
    font-weight: 600;
}

.phone__live span {
    height: 30px;
    border-radius: 9px;
    background: var(--accent);
    font-size: 11.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone__progress {
    padding: 12px;
    border-radius: 14px;
    background: #FFFFFF;
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 10px;
}

.phone__ring {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: conic-gradient(var(--accent) 0 68%, #E7E7E1 68% 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone__ring span {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #FFFFFF;
    font-size: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone__progress div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.phone__progress strong {
    font-size: 12px;
    font-weight: 600;
}

.phone__progress small {
    font-size: 10.5px;
    color: var(--text-3);
}

.phone__list {
    padding: 2px 12px;
    border-radius: 14px;
    background: #FFFFFF;
    border: 1px solid var(--line);
}

.phone__list div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 38px;
    font-size: 11.5px;
}

.phone__list div + div {
    border-top: 1px solid #F0F0EB;
}

.phone__list .is-due {
    color: var(--accent-ink);
    font-weight: 600;
}

.phone__list .is-score {
    color: #13623A;
    font-weight: 600;
}

.phone__list .is-meta {
    color: var(--text-3);
}

@media (min-width: 720px) {
    .students__card {
        padding: 40px;
        gap: 28px;
    }

    .benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .codeform {
        max-width: 420px;
    }
}

@media (min-width: 1100px) {
    .students__card {
        padding: 72px;
        border-radius: 28px;
        grid-template-columns: 1.1fr 1fr;
        grid-template-rows: 1fr auto auto 1fr;
        column-gap: 72px;
        row-gap: 0;
    }

    .students__intro {
        grid-area: 2 / 1;
        gap: 22px;
        padding-bottom: 22px;
    }

    .students__intro p {
        max-width: 520px;
    }

    .students__rest {
        grid-area: 3 / 1;
        gap: 22px;
    }

    .students__stage {
        grid-area: 1 / 2 / 5 / 3;
        height: 600px;
        padding: 0;
        border-radius: 22px;
    }

    .benefits {
        padding-top: 12px;
    }

    .benefit {
        gap: 6px;
    }

    .benefit span {
        font-size: 14.5px;
    }

    .codeform {
        max-width: none;
        margin-top: 12px;
        padding-top: 0;
    }

    .codeform__row {
        gap: 10px;
    }

    .codeform input {
        flex: none;
        width: 240px;
        padding: 0 16px;
        font-size: 15px;
    }

    .codeform button {
        padding: 0 22px;
    }

    .phone {
        width: 290px;
        height: 560px;
        padding: 10px;
        border-radius: 40px;
        box-shadow: 0 30px 60px -30px rgba(14, 15, 18, 0.45);
    }

    .phone__screen {
        padding: 28px 16px 16px;
        border-radius: 31px;
        gap: 12px;
    }

    .phone__hi {
        font-size: 12px;
    }

    .phone__hi b {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: var(--line);
        color: var(--ink);
        font-size: 11px;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .phone__title {
        font-size: 20px;
    }

    .phone__live {
        padding: 14px;
        border-radius: 16px;
        gap: 8px;
    }

    .phone__live small {
        font-size: 10.5px;
    }

    .phone__live strong {
        font-size: 14px;
    }

    .phone__live span {
        height: 34px;
        border-radius: 10px;
        font-size: 12.5px;
    }

    .phone__progress {
        padding: 14px;
        border-radius: 16px;
        gap: 12px;
    }

    .phone__ring {
        width: 46px;
        height: 46px;
    }

    .phone__ring span {
        width: 34px;
        height: 34px;
        font-size: 11px;
    }

    .phone__progress strong {
        font-size: 13px;
    }

    .phone__progress small {
        font-size: 11.5px;
    }

    .phone__list {
        padding: 4px 14px;
        border-radius: 16px;
    }

    .phone__list div,
    .phone__list .is-more {
        display: flex;
        height: 44px;
        font-size: 12.5px;
    }
}

/* Pricing */

.pricing {
    padding-bottom: var(--section);
}

.pricing > .wrap {
    display: flex;
    flex-direction: column;
    gap: calc(24px + 24 * var(--t));
}

.pricing__head {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pricing__head p {
    font-size: calc(16px + var(--t));
    line-height: 1.55;
    color: var(--text-2);
}

.billing {
    align-self: flex-start;
    margin-top: 10px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #FFFFFF;
    display: flex;
    gap: 4px;
}

.billing button {
    height: 40px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--text-2);
    font-size: 14px;
    font-weight: 500;
}

.billing button[aria-pressed="true"] {
    background: var(--ink);
    color: #FFFFFF;
    font-weight: 600;
}

.plans {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}

.plan {
    padding: 24px;
    border-radius: 20px;
    background: #FFFFFF;
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.plan__name {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.plan__badge {
    display: flex;
    align-items: center;
    height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--accent);
    font-family: var(--font-body);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.plan__price {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.plan__price strong {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: calc(36px + 8 * var(--t));
    letter-spacing: -0.03em;
}

.plan__price span {
    font-size: 14px;
    color: var(--text-3);
}

.plan__desc {
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-2);
}

.plan__feats {
    margin: 0;
    padding: 20px 0 0;
    list-style: none;
    border-top: 1px solid #EEEEE8;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.plan__feats li {
    display: flex;
    align-items: center;
    min-height: 20px;
    padding: 0 10px;
    border: 1px dashed #CFCFC7;
    border-radius: 6px;
    font-size: 12px;
    color: #8A8D95;
}

.plan__cta {
    margin-top: auto;
    height: 48px;
    border-radius: 999px;
    background: var(--ink);
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plan__cta--outline {
    border: 1px solid var(--ink);
    background: #FFFFFF;
    color: var(--ink);
}

.plan--dark {
    border-color: transparent;
    background: var(--ink);
    color: #FFFFFF;
    box-shadow: 0 30px 60px -30px rgba(14, 15, 18, 0.5);
}

.plan--dark .plan__price span {
    color: #A9ACB4;
}

.plan--dark .plan__desc {
    color: #B4B7BF;
}

.plan--dark .plan__feats {
    border-color: #26282F;
}

.plan--dark .plan__feats li {
    border-color: #3A3D45;
    color: #8E919A;
}

.plan--dark .plan__cta {
    background: var(--accent);
}

@media (min-width: 720px) {
    .pricing__head {
        align-items: center;
        gap: 20px;
        max-width: 760px;
        margin-inline: auto;
        text-align: center;
    }

    .billing {
        align-self: center;
        margin-top: 0;
    }

    .billing button {
        padding: 0 20px;
    }
}

@media (min-width: 960px) {
    .plans {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }

    .plan {
        min-height: 500px;
        padding: 32px;
        border-radius: 22px;
        gap: 20px;
    }

    .plan__name {
        font-size: 12px;
    }

    .plan__badge {
        height: 26px;
        font-size: 12px;
    }

    .plan__price span {
        font-size: 15px;
    }

    .plan__cta {
        height: 50px;
    }
}

/* Testimonials */

.voices {
    padding-bottom: var(--section);
}

.voices > .wrap {
    margin-bottom: calc(24px + 24 * var(--t));
}

.voices .sechead__side {
    display: none;
}

.voices__list {
    padding-inline: var(--gutter);
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
}

.voices__list::-webkit-scrollbar {
    display: none;
}

.voice {
    flex: 0 0 290px;
    margin: 0;
    padding: 22px;
    border-radius: 20px;
    background: #FFFFFF;
    border: 1px solid var(--line);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.voice blockquote {
    margin: 0;
    font-size: 17px;
    line-height: 1.45;
}

.voice figcaption {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.voice__photo {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border: 1px dashed #CFCFC7;
    border-radius: 50%;
}

.voice__who {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.voice__who strong {
    font-size: 14px;
    font-weight: 600;
}

.voice__who span {
    font-size: 13px;
    color: var(--text-3);
}

@media (min-width: 960px) {
    .voices__list {
        width: min(1200px, calc(100% - 2 * var(--gutter)));
        margin-inline: auto;
        padding-inline: 0;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
        overflow: visible;
    }

    .voice {
        min-height: 260px;
        padding: 32px;
        border-radius: 22px;
        gap: 28px;
    }

    .voice blockquote {
        font-size: 19px;
    }

    .voice figcaption {
        gap: 12px;
    }

    .voice__photo {
        width: 44px;
        height: 44px;
    }

    .voice__who strong {
        font-size: 15px;
    }

    .voice__who span {
        font-size: 13.5px;
    }
}

@media (min-width: 1100px) {
    .voices .sechead--split {
        gap: 48px;
    }

    .voices .sechead__side {
        display: block;
        max-width: 360px;
        font-size: 16px;
    }
}

/* FAQ */

.faq {
    padding-bottom: var(--section);
}

.faq > .wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq__intro {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq__intro p {
    display: none;
    font-size: 16px;
    line-height: 1.55;
    color: var(--text-2);
}

.faq__intro a {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.faq__list {
    border-top: 1px solid var(--line-strong);
}

.qa {
    border-bottom: 1px solid var(--line-strong);
}

.qa summary {
    min-height: 64px;
    padding: 16px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    list-style: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
}

.qa summary::-webkit-details-marker {
    display: none;
}

.qa summary svg {
    width: 18px;
    height: 18px;
}

.qa[open] .qa__v {
    display: none;
}

.qa p {
    padding: 0 24px 18px 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-2);
}

@media (min-width: 720px) {
    .faq__intro p {
        display: block;
    }
}

@media (min-width: 1100px) {
    .faq > .wrap {
        display: grid;
        grid-template-columns: 1fr 1.5fr;
        align-items: start;
        gap: 80px;
    }

    .qa summary {
        min-height: 72px;
        padding: 20px 0;
        gap: 24px;
        font-size: 18px;
    }

    .qa summary svg {
        width: 20px;
        height: 20px;
    }

    .qa p {
        padding: 0 48px 24px 0;
        font-size: 16px;
    }
}

/* Closing call to action */

.cta {
    padding-bottom: calc(56px + 64 * var(--t));
}

.cta__card {
    padding: 36px 24px;
    border-radius: 24px;
    background: var(--accent);
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.cta__copy {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.cta h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: calc(36px + 28 * var(--t));
    line-height: 1.02;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.cta p {
    font-size: calc(16px + 2 * var(--t));
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.88);
}

.cta__actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cta__btn {
    height: 52px;
    padding: 0 28px;
    border-radius: 999px;
    background: #FFFFFF;
    color: var(--ink);
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta__link {
    height: 44px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 720px) {
    .cta__card {
        padding: 56px 48px;
    }

    .cta__actions {
        align-self: flex-start;
    }
}

@media (min-width: 1100px) {
    .cta__card {
        padding: 88px 72px;
        border-radius: 28px;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
        gap: 48px;
    }

    .cta__copy {
        max-width: 760px;
        gap: 20px;
    }

    .cta h2 {
        line-height: 1;
    }

    .cta__actions {
        flex-shrink: 0;
        align-self: auto;
        gap: 12px;
    }

    .cta__btn {
        height: 56px;
    }
}

/* Footer */

.footer {
    padding: 40px 0 32px;
    background: var(--ink);
    color: #B4B7BF;
    font-size: 14.5px;
}

.footer > .wrap {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.footer__top {
    display: grid;
    gap: 28px;
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 14px;
}


.footer__tagline,
.footer__contact {
    display: none;
}

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

.footer__col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer__col strong {
    color: #FFFFFF;
    font-weight: 600;
}

.footer a:hover {
    color: #FFFFFF;
}

.footer__base {
    padding-top: 20px;
    border-top: 1px solid #26282F;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

@media (min-width: 720px) {
    .footer__tagline {
        display: block;
        max-width: 280px;
        line-height: 1.5;
    }

    .footer__contact {
        display: inline;
    }

    .footer__cols {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 32px;
    }
}

@media (min-width: 1100px) {
    .footer {
        padding: 64px 0 48px;
    }

    .footer > .wrap {
        gap: 48px;
    }

    .footer__top {
        grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr));
        gap: 32px;
    }

    .footer__cols {
        display: contents;
    }

    .footer__col {
        gap: 12px;
    }

    .footer__base {
        padding-top: 24px;
    }
}
