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

:root {
    --crimson: #A3202F;
    --crimson-d: #7C1623;
    --night: #190A0E;
    --silver: #C7CBD1;
    --paper: #F4F5F6;
    --ink: #1C1416;
    --mute: #665F63;
    --line: #DCDFE3;
    --free: #38B26F
}

* {
    box-sizing: border-box
}

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

body {
    margin: 0;
    font: 17px/1.65 Barlow, system-ui, Segoe UI, Arial, sans-serif;
    color: var(--ink);
    background: var(--paper)
}

img {
    max-width: 100%;
    height: auto
}

a {
    color: var(--crimson)
}

h1,
h2,
h3 {
    font-family: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
    line-height: 1.02;
    margin: 0;
    font-weight: 800
}

:focus-visible {
    outline: 3px solid #E8A3AD;
    outline-offset: 3px;
    border-radius: 4px
}

.wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: .6em;
    padding: .8em 1.4em;
    border-radius: 10px;
    background: var(--crimson);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--crimson);
    transition: background .15s
}

.btn:hover {
    background: var(--crimson-d);
    border-color: var(--crimson-d)
}

.btn.ghost {
    background: none;
    border-color: #ffffff40
}

.btn.ghost:hover {
    background: #ffffff14
}

.btn.sm {
    padding: .45em 1em;
    font-size: 15px
}

.btn svg {
    width: 1.1em;
    height: 1.1em;
    fill: currentColor
}

/* header */
.nav {
    background: var(--night);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid #ffffff14
}

.nav .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 68px
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    font: 800 24px 'Barlow Condensed', sans-serif;
    letter-spacing: .02em
}

.brand img {
    width: 38px;
    height: auto
}

.nav nav {
    display: flex;
    align-items: center;
    gap: 26px
}

.nav nav a:not(.btn) {
    color: #D9D3D5;
    text-decoration: none;
    font-weight: 500
}

.nav nav a:not(.btn):hover {
    color: #fff
}

/* hero */
.hero {
    background: var(--night);
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: 72px 0 96px
}

.hero::before {
    content: "";
    position: absolute;
    width: 760px;
    height: 760px;
    border-radius: 50%;
    border: 2px solid #ffffff12;
    right: -180px;
    top: 50%;
    transform: translateY(-50%)
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(600px 420px at 78% 30%, #A3202F55, transparent 70%);
    pointer-events: none
}

.hero .wrap {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 48px;
    align-items: center
}

.hero h1 {
    font-size: clamp(52px, 8vw, 104px);
    text-transform: uppercase
}

.hero p.lead {
    font-size: 20px;
    color: #D9D3D5;
    max-width: 30em;
    margin: 22px 0 32px
}

.hero .cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px
}

.since {
    margin-top: 28px;
    color: #A99FA3;
    font-size: 15px
}

.stage {
    position: relative;
    min-height: 440px;
    display: grid;
    place-items: center
}

.stage .logo {
    width: min(300px, 62%);
    filter: drop-shadow(0 24px 50px #000a);
    animation: rise .9s cubic-bezier(.2, .7, .2, 1) both;
    margin-left: 175px;
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(24px) scale(.96)
    }
}

.board {
    position: absolute;
    left: -8px;
    bottom: -8px;
    width: 240px;
    background: #fff;
    color: var(--ink);
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 24px 60px #0008
}

.board .bh {
    display: flex;
    justify-content: space-between;
    margin: 0 0 10px;
    font-size: 14px;
    color: var(--mute)
}

.board .bh b {
    color: var(--ink);
    font-size: 16px
}

.board ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 5px
}

.board li {
    display: flex;
    justify-content: space-between;
    padding: 7px 10px;
    border-radius: 8px;
    background: #EEF7F2;
    font-size: 14px;
    font-weight: 600
}

.board li::after {
    content: "Free";
    color: #1E7A49
}

.board li.busy {
    background: #EEE;
    color: #8a8588
}

.board li.busy::after {
    content: "Booked";
    color: #8a8588
}

.board li.pick {
    background: var(--crimson);
    color: #fff
}

.board li.pick::after {
    content: "Your pick";
    color: #fff
}

.board .bf {
    margin: 10px 0 0;
    font-size: 13px;
    color: var(--mute)
}

/* sections */
section {
    padding: 88px 0
}

.sec-h {
    font-size: clamp(36px, 5vw, 56px);
    margin-bottom: 12px;
    text-transform: uppercase
}

.sec-p {
    color: var(--mute);
    max-width: 36em;
    margin: 0 0 40px
}

.rows .r {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 32px;
    padding: 34px 0;
    border-top: 1px solid var(--line)
}

.rows .r:last-child {
    border-bottom: 1px solid var(--line)
}

.rows h3 {
    font-size: 36px
}

.rows p {
    margin: 0;
    color: var(--mute)
}

.rows b {
    color: var(--ink)
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    counter-reset: s;
    list-style: none;
    padding: 0;
    margin: 0
}

.steps li {
    counter-increment: s;
    border-left: 4px solid var(--crimson);
    padding-left: 20px
}

.steps li::before {
    content: counter(s);
    display: block;
    font: 800 64px/1 'Barlow Condensed', sans-serif;
    color: var(--crimson)
}

.steps b {
    display: block;
    font-size: 20px;
    margin: 6px 0 4px
}

.steps span {
    color: var(--mute)
}

.academy {
    background: var(--crimson);
    color: #fff
}

.academy .sec-p {
    color: #F3D5D9
}

.academy .wrap {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 56px;
    align-items: center
}

.academy ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px
}

.academy li {
    padding: 16px 18px;
    background: #00000026;
    border-radius: 12px;
    font-weight: 500
}

.academy .btn {
    background: #fff;
    color: var(--crimson-d);
    border-color: #fff
}

.academy .btn:hover {
    background: #F4E3E5
}

.final {
    background: var(--night);
    color: #fff;
    text-align: center
}

.final h2 {
    font-size: clamp(40px, 4vw, 72px);
    text-transform: uppercase;
    margin-bottom: 58px
}

.final img {
    width: 110px;
    margin-bottom: 20px
}

footer {
    background: #0F0608;
    color: #A99FA3;
    padding: 32px 0;
    font-size: 15px
}

footer .wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px
}

footer a {
    color: #D9D3D5;
    margin-left: 20px;
    text-decoration: none
}

footer a:hover {
    color: #fff
}

footer a:first-child {
    margin-left: 0
}

/* legal pages */
.doc-h {
    background: var(--night);
    color: #fff;
    padding: 56px 0 48px
}

.doc-h h1 {
    font-size: clamp(44px, 7vw, 72px);
    text-transform: uppercase
}

.doc-h p {
    color: #A99FA3;
    margin: 10px 0 0
}

.doc {
    max-width: 780px;
    margin: 0 auto;
    padding: 48px 24px 80px
}

.doc h2 {
    font-size: 30px;
    margin: 44px 0 10px
}

.doc h2:first-child {
    margin-top: 0
}

.doc p,
.doc li {
    max-width: 68ch
}

.doc ul {
    padding-left: 1.2em
}

.doc li {
    margin: .35em 0
}

.doc table {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0;
    font-size: 16px
}

.doc th,
.doc td {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
    vertical-align: top
}

.doc th {
    color: var(--mute);
    font-weight: 600;
    background: #fff
}

.todo {
    background: #FFE9A8;
    color: #5a4300;
    padding: 0 .3em;
    border-radius: 3px;
    font-weight: 600
}

@media(max-width:820px) {
    .hero {
        padding: 48px 0 72px
    }

    .hero .wrap,
    .academy .wrap,
    .rows .r {
        grid-template-columns: 1fr
    }

    .steps {
        grid-template-columns: 1fr
    }

    .stage {
        min-height: 400px
    }

    .board {
        left: 0
    }

    .nav nav a:not(.btn) {
        display: none
    }

    section {
        padding: 64px 0
    }

    footer a {
        margin: 0 16px 0 0
    }

    .rows .r {
        gap: 10px
    }
}

@media(prefers-reduced-motion:reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important
    }
}