/* Consonant's own Lime, for its step numbers and icons */
.dark {
    --lime: #c6f432;
}

.back-to-projects {
    display: inline-block;
    margin-top: 1.5rem;
}

/* The sign-in page, in a simple window like Serum's demo */
.shot {
    max-width: 1100px;
    margin: 1rem auto 4.5rem;
}

.shot-window {
    border-radius: var(--radius);
    overflow: hidden;
    border: var(--border);
    box-shadow: var(--shadow);
    background: #0e0f13;
}

.shot-chrome {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: #17181c;
    border-bottom: 1px solid #24242b;
}

.shot-chrome span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #31313a;
}

.shot-chrome p {
    margin: 0 auto;
    padding-right: 51px;
    font-size: 0.8rem;
    color: var(--ink-soft);
}

.shot img {
    display: block;
    width: 100%;
    height: auto;
}

.shot-caption {
    max-width: 760px;
    margin: 1.75rem auto 0;
    text-align: center;
    font-size: 0.95rem;
    color: var(--ink-soft);
    text-wrap: balance;
}

/* How it works: three numbered steps, like Consonant's own help page */
.steps {
    list-style: none;
    counter-reset: step;
    max-width: 980px;
    margin: 1.5rem auto 4.5rem;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.steps li {
    counter-increment: step;
    padding: 0;
}

.steps li::before {
    content: counter(step);
    display: grid;
    place-items: center;
    width: 2.2rem;
    height: 2.2rem;
    margin-bottom: 0.8rem;
    border-radius: 50%;
    background: var(--lime);
    color: #0e0f13;
    font-family: var(--font-display);
    font-weight: 600;
}

.steps h3,
.point h3 {
    font-size: 1.25rem;
    margin-bottom: 0.4rem;
}

.steps p,
.point p {
    color: var(--ink-soft);
    margin: 0;
    text-wrap: pretty;
}

/* The parts I'm proudest of: sticker cards, two to a row */
.points {
    max-width: 980px;
    margin: 1.5rem auto 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

.point {
    background: var(--card);
    border: var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    transform: rotate(-0.4deg);
}

.point:nth-child(even) {
    transform: rotate(0.4deg);
}

.point-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 0.9rem;
    border-radius: 50%;
    background: color-mix(in srgb, var(--lime) 16%, transparent);
    color: var(--lime);
}

.built {
    max-width: 680px;
    margin: 4.5rem auto 3rem;
    text-align: center;
}

.built p {
    color: var(--ink-soft);
    text-wrap: balance;
}

.meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.meta span {
    border: var(--border);
    border-radius: 999px;
    padding: 0.15rem 0.75rem;
    font-size: 0.85rem;
    color: var(--ink-soft);
}

h1, .lead p {
    text-wrap: balance;
}

@media (max-width: 800px) {
    .steps,
    .points {
        grid-template-columns: minmax(0, 1fr);
    }
}
