/* Sei un centro? Black head, chalk benefits, black steps, then the form on a paper plate. */

.cn-why__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(28px, 4vw, 56px) clamp(28px, 5vw, 96px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.cn-why__list li {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 6px 16px;
}

.cn-why__list .br {
    grid-row: span 2;
    width: 32px;
    height: 28px;
    margin-top: 4px;
    stroke-width: 6;
}

.cn-why__list b {
    font-family: var(--fd);
    font-variation-settings: var(--fd-var);
    font-weight: 800;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    line-height: 1.02;
}

.cn-why__list span {
    color: var(--on-ink-muted);
    max-width: 44ch;
}

/* ---------- Steps ---------- */

.cn-steps__title {
    margin-bottom: clamp(40px, 6vw, 80px);
}

.cn-steps__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px clamp(20px, 3vw, 48px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.cn-steps__list li {
    display: grid;
    align-content: start;
    gap: 10px;
    padding-top: 18px;
    border-top: 2px solid var(--ink);
}

.cn-steps__n {
    font-size: clamp(3.6rem, 6vw, 5.4rem);
    line-height: .9;
    color: var(--accent);
}

.cn-steps__list b {
    font-family: var(--fd);
    font-variation-settings: var(--fd-var);
    font-weight: 800;
    font-size: clamp(1.5rem, 2.2vw, 1.9rem);
    line-height: 1;
}

.cn-steps__list span {
    color: rgba(242, 240, 236, .72);
    max-width: 36ch;
}

/* ---------- Form ---------- */

.cn-form-sec {
    padding-top: 0;
    scroll-margin-top: var(--hdr);
}

.cn-form-wrap {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    align-items: start;
    gap: 40px clamp(32px, 6vw, 112px);
}

.cn-aside {
    display: grid;
    gap: 20px;
    justify-items: start;
    position: sticky;
    top: calc(var(--hdr-top) + 32px);
}

.cn-aside p {
    max-width: 38ch;
    font-weight: 500;
}

.cn-aside__label {
    margin-top: 24px;
    color: rgba(242, 240, 236, .72);
}

.cn-logos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cn-logos img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.cn-form,
.cn-done {
    display: grid;
    gap: 22px;
    justify-items: start;
    padding: clamp(24px, 4vw, 56px);
    background: var(--paper);
}

.cn-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
}

.fld {
    display: grid;
    align-content: start;
    gap: 8px;
}

.fld--wide {
    grid-column: 1 / -1;
}

.fld label {
    font-size: .875rem;
    font-weight: 700;
}

.fld label span {
    font-weight: 500;
    color: var(--on-ink-muted);
}

.fld input,
.fld select,
.fld textarea {
    width: 100%;
    min-height: 56px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    background: var(--paper-2);
    box-shadow: inset 0 0 0 2px transparent;
    font-weight: 500;
    transition: box-shadow .2s;
}

.fld textarea {
    padding: 16px 22px;
    border-radius: 0;
    resize: vertical;
    line-height: 1.5;
}

.fld select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c0c0c' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 18px;
    cursor: pointer;
}

.fld input::placeholder,
.fld textarea::placeholder {
    color: var(--on-ink-muted);
}

.fld input:hover,
.fld select:hover,
.fld textarea:hover {
    box-shadow: inset 0 0 0 2px var(--ink-line);
}

.fld input:focus-visible,
.fld select:focus-visible,
.fld textarea:focus-visible {
    outline: none;
    box-shadow: inset 0 0 0 2px var(--ink);
}

.fld [aria-invalid="true"] {
    box-shadow: inset 0 0 0 2px var(--accent);
}

.fld__err {
    color: var(--accent);
    font-size: .875rem;
    font-weight: 700;
}

.cn-form__ok {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: .9375rem;
    font-weight: 500;
    cursor: pointer;
}

.cn-form__ok input {
    flex: none;
    width: 22px;
    height: 22px;
    margin: 1px 0 0;
    accent-color: var(--ink);
}

.cn-form__demo {
    font-size: .8125rem;
    font-weight: 500;
    color: var(--on-ink-muted);
}

.cn-done {
    min-height: 100%;
    align-content: center;
}

.cn-done:focus {
    outline: none;
}

.cn-done__tick {
    width: 64px;
    height: 52px;
    stroke-width: 6;
}

.cn-done__title {
    font-family: var(--fd);
    font-variation-settings: var(--fd-var);
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
}

.cn-note {
    grid-column: 1 / -1;
    margin-top: 0;
}

@media (max-width: 900px) {
    .cn-why__list,
    .cn-steps__list,
    .cn-form-wrap {
        grid-template-columns: 1fr;
    }

    .cn-aside {
        position: static;
    }
}

@media (max-width: 640px) {
    .cn-form__grid {
        grid-template-columns: 1fr;
    }
}
