/* Serendipity: "teacher's notebook". Warm paper, red pen, highlighter. */

:root {
    --paper: #f8f1e5;
    --paper-deep: #f0e4d0;
    --card: #fffaf1;
    --ink: #2f2925;
    --ink-soft: #66584c;
    --red: #b3442a;
    --red-dark: #93341e;
    --green: #33544a;
    --marker: rgb(246 196 72 / 0.6);
    --line: rgb(47 41 37 / 0.13);

    --font-display: "Alegreya", Georgia, serif;
    --font-body: "Alegreya Sans", "Trebuchet MS", sans-serif;
    --font-hand: "Caveat", "Comic Sans MS", cursive;

    --radius: 1.25rem;
    --shadow: 0 1px 2px rgb(70 45 20 / 0.06), 0 18px 40px -20px rgb(70 45 20 / 0.35);
    --wrap: 72rem;
    --gutter: clamp(1rem, 4vw, 2rem);
    --section: clamp(3.5rem, 8vw, 6.5rem);
}

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

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

body {
    margin: 0;
    background-color: var(--paper);
    color: var(--ink);
    font: 400 clamp(1.075rem, 0.3vw + 1rem, 1.2rem) / 1.6 var(--font-body);
    text-rendering: optimizeLegibility;
}

/* Paper grain */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .25 0 0 0 0 .15 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

a {
    color: var(--red);
    text-underline-offset: 0.18em;
    text-decoration-thickness: 1px;

    &:hover {
        color: var(--red-dark);
    }
}

:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 3px;
    border-radius: 4px;
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.12;
    margin: 0 0 0.6em;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.6rem);
    letter-spacing: -0.01em;
}

h2 {
    font-size: clamp(1.8rem, 3.6vw, 2.7rem);
}

h3 {
    font-size: 1.35rem;
}

p {
    margin: 0 0 1em;
    text-wrap: pretty;
}

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

.hand {
    font-family: var(--font-hand);
    font-size: 1.45em;
    line-height: 1.15;
    color: var(--red);
}

.todo {
    font-family: var(--font-hand);
    font-size: 1.3rem;
    color: var(--green);
    background: rgb(51 84 74 / 0.08);
    border-left: 3px solid var(--green);
    padding: 0.5rem 0.9rem;
    border-radius: 0 0.5rem 0.5rem 0;
}

/* Highlighter stroke */
mark {
    color: inherit;
    background: linear-gradient(100deg, transparent 0.3em, var(--marker) 0.4em, var(--marker) calc(100% - 0.4em), transparent calc(100% - 0.3em))
        0 88% / 0% 42% no-repeat;
    padding-inline: 0.1em;
    box-decoration-break: clone;
    animation: highlight 0.9s 0.7s cubic-bezier(0.6, 0, 0.2, 1) forwards;
}

@keyframes highlight {
    to {
        background-size: 100% 42%;
    }
}

/* ---------- Header ---------- */

.site-header {
    padding-block: 1.1rem;
    border-bottom: 1px dashed var(--line);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    flex-wrap: wrap;
}

.logo {
    display: grid;
    text-decoration: none;
    color: var(--ink);
    line-height: 1;

    &:hover {
        color: var(--ink);
    }
}

.logo__name {
    font: italic 500 1.55rem var(--font-display);
}

.logo__note {
    font: 500 1.15rem var(--font-hand);
    color: var(--red);
    transform: rotate(-3deg) translate(1.2rem, 0.1rem);
    transform-origin: left;
}

.nav {
    display: flex;
    align-items: center;
    gap: 0.4rem 1.4rem;
    overflow-x: auto;
    scrollbar-width: none;

    & a:not(.btn) {
        color: var(--ink);
        text-decoration: none;
        white-space: nowrap;
        padding-block: 0.35rem;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 8' preserveAspectRatio='none'%3E%3Cpath d='M1 5 C 20 2, 35 7, 55 4 S 85 3, 99 5' fill='none' stroke='%23b3442a' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E")
            0 100% / 0% 0.45rem no-repeat;
        transition: background-size 0.3s ease;
    }

    & a:not(.btn):hover,
    & a[aria-current="page"]:not(.btn) {
        background-size: 100% 0.45rem;
    }
}

@media (max-width: 40rem) {
    .nav {
        width: 100%;
        flex-wrap: wrap;
        font-size: 1rem;
    }
}

/* ---------- Buttons & links ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    border: 2px solid var(--red);
    border-radius: 999px;
    background: var(--red);
    color: var(--card);
    font: 700 1.05rem var(--font-body);
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 3px 0 var(--red-dark);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;

    &:hover {
        color: var(--card);
        background: var(--red-dark);
        transform: translateY(-2px) rotate(-0.6deg);
        box-shadow: 0 5px 0 rgb(0 0 0 / 0.25);
    }

    &:active {
        transform: translateY(1px);
        box-shadow: 0 1px 0 var(--red-dark);
    }
}

.btn--ghost {
    background: transparent;
    color: var(--red);
    box-shadow: none;

    &:hover {
        box-shadow: none;
    }
}

.btn--small {
    padding: 0.45rem 1.05rem;
    font-size: 0.98rem;
    box-shadow: 0 2px 0 var(--red-dark);
}

.link-arrow {
    font-weight: 700;
    text-decoration: none;

    &::after {
        content: " →";
        display: inline-block;
        transition: transform 0.2s ease;
    }

    &:hover::after {
        transform: translateX(4px);
    }
}

.actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.6rem;
    margin-top: 1.8rem;
}

/* ---------- Hero ---------- */

.hero,
.page-head {
    padding-block: clamp(2.5rem, 7vw, 5.5rem) var(--section);
}

.hero__grid {
    display: grid;
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: center;

    @media (min-width: 52rem) {
        grid-template-columns: 1.25fr 0.75fr;
    }
}

.eyebrow {
    font: 500 1.4rem var(--font-hand);
    color: var(--green);
    margin-bottom: 0.4rem;
}

.lead {
    font-size: 1.22em;
    color: var(--ink);
    max-width: 38rem;
}

.hero__text > p:not(.eyebrow),
.page-head p {
    max-width: 38rem;
    color: var(--ink-soft);
}

.hero__text .lead,
.page-head .lead {
    color: var(--ink);
}

/* Photo in a taped polaroid */
.polaroid {
    position: relative;
    margin: 0 auto;
    width: min(100%, 22rem);
    padding: 0.9rem 0.9rem 1.2rem;
    background: #fffdf8;
    box-shadow: var(--shadow);
    rotate: 2.5deg;

    &::before,
    &::after {
        content: "";
        position: absolute;
        width: 5.5rem;
        height: 1.6rem;
        background: rgb(236 216 170 / 0.75);
        box-shadow: 0 1px 2px rgb(0 0 0 / 0.08);
    }

    &::before {
        top: -0.7rem;
        left: -1.2rem;
        rotate: -32deg;
    }

    &::after {
        top: -0.7rem;
        right: -1.2rem;
        rotate: 32deg;
    }

    & figcaption {
        margin-top: 0.9rem;
        text-align: center;
    }
}

.polaroid--left {
    rotate: -2deg;
}

.photo {
    aspect-ratio: 4 / 5;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 30% 25%, rgb(255 255 255 / 0.5), transparent 55%),
        linear-gradient(160deg, #e9d6b9, #d9b48f);
    color: rgb(47 41 37 / 0.45);
    font: 500 1.4rem var(--font-hand);
}

img.photo {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ---------- Sections ---------- */

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

.section--paper {
    background: var(--paper-deep);
    border-block: 1px dashed var(--line);
}

.split {
    display: grid;
    gap: 1rem 4rem;

    @media (min-width: 52rem) {
        grid-template-columns: 0.85fr 1.15fr;
        align-items: start;
    }
}

.prose {
    max-width: 40rem;

    & > :last-child {
        margin-bottom: 0;
    }
}

.note {
    color: var(--ink-soft);
    max-width: 44rem;
}

/* Red-pen correction */
.correction {
    display: inline-block;
    margin-top: 1.8rem;
    padding: 2rem 1.4rem 1rem;
    font: italic 500 clamp(1.5rem, 3vw, 2rem) var(--font-display);
    background:
        repeating-linear-gradient(transparent 0 calc(1.6em - 1px), rgb(51 84 74 / 0.2) calc(1.6em - 1px) 1.6em),
        var(--card);
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    rotate: -1.5deg;

    & del {
        position: relative;
        text-decoration: none;
        color: var(--ink-soft);

        &::after {
            content: "";
            position: absolute;
            left: -4%;
            right: -4%;
            top: 52%;
            height: 3px;
            background: var(--red);
            border-radius: 2px;
            rotate: -6deg;
        }
    }

    & ins {
        display: inline-block;
        width: 0;
        white-space: nowrap;
        text-decoration: none;
        font: 700 1.1em var(--font-hand);
        color: var(--red);
        translate: -2.4em -1.05em;
        rotate: -5deg;
    }
}

/* Facts */
.facts {
    list-style: none;
    padding: 0;
    margin: 1rem 0 2rem;
    display: grid;
    gap: 1.2rem;

    @media (min-width: 46rem) {
        grid-template-columns: repeat(3, 1fr);
    }

    & li {
        padding: 1.3rem 1.4rem;
        background: var(--card);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        color: var(--ink-soft);
    }

    & strong {
        display: block;
        font: 700 1.3rem var(--font-display);
        color: var(--ink);
        margin-bottom: 0.3rem;
    }
}

/* Index cards */
.cards {
    display: grid;
    gap: 1.3rem;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
    margin-top: 1rem;
}

.card {
    position: relative;
    padding: 1.6rem 1.4rem 1.2rem;
    background:
        linear-gradient(var(--red), var(--red)) 0 2.9rem / 100% 1px no-repeat,
        repeating-linear-gradient(transparent 0 1.8rem, rgb(51 84 74 / 0.14) 1.8rem calc(1.8rem + 1px)) 0 3.1rem,
        var(--card);
    border-radius: 0.4rem;
    box-shadow: var(--shadow);
    transition: rotate 0.25s ease, translate 0.25s ease;

    &:nth-child(odd) {
        rotate: -0.6deg;
    }

    &:nth-child(even) {
        rotate: 0.7deg;
    }

    &:hover {
        rotate: 0deg;
        translate: 0 -4px;
    }

    & h3 {
        font-style: italic;
        margin-bottom: 1rem;
    }

    & p {
        margin: 0;
        line-height: 1.8rem;
        color: var(--ink-soft);
    }
}

/* Lists */
.checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 1em;

    & li {
        position: relative;
        padding-left: 1.9rem;
        margin-bottom: 0.45rem;

        &::before {
            content: "✓";
            position: absolute;
            left: 0.1rem;
            top: -0.15rem;
            font: 700 1.5rem var(--font-hand);
            color: var(--red);
        }
    }
}

/* Offers */
.offers {
    display: grid;
    gap: 1.5rem;

    @media (min-width: 60rem) {
        grid-template-columns: repeat(3, 1fr);
    }
}

.offer {
    display: flex;
    flex-direction: column;
    padding: 2rem 1.7rem;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);

    & h2 {
        font-size: 1.75rem;
        margin-bottom: 0.2rem;
    }

    & p:not(.offer__for) {
        color: var(--ink-soft);
    }

    & .btn {
        margin-top: auto;
        align-self: flex-start;
    }
}

.offer__for {
    margin-bottom: 1.1rem;
    font-size: 1.35rem;
}

/* Consultation */
.ticket {
    margin: 0;
    padding: 1.6rem 1.8rem;
    background: var(--card);
    border: 2px dashed rgb(179 68 42 / 0.45);
    border-radius: var(--radius);
    rotate: 1.5deg;
    display: grid;
    gap: 1rem;

    & div {
        display: flex;
        justify-content: space-between;
        gap: 1rem;
        border-bottom: 1px dashed var(--line);
        padding-bottom: 0.7rem;
    }

    & div:last-child {
        border: 0;
        padding: 0;
    }

    & dt {
        color: var(--ink-soft);
    }

    & dd {
        margin: 0;
        font: 700 1.15rem var(--font-display);
    }
}

.steps {
    list-style: none;
    counter-reset: step;
    padding: 0;
    margin: 1.5rem 0 0;
    display: grid;
    gap: 2.4rem;
    max-width: 50rem;

    & > li {
        counter-increment: step;
        position: relative;
        padding-left: clamp(3.8rem, 8vw, 5rem);

        &::before {
            content: counter(step);
            position: absolute;
            left: 0;
            top: -0.4rem;
            width: 2.9rem;
            height: 2.9rem;
            display: grid;
            place-items: center;
            font: 700 1.9rem var(--font-hand);
            color: var(--red);
            border: 2px solid var(--red);
            border-radius: 48% 52% 45% 55% / 55% 45% 55% 45%;
            rotate: -8deg;
        }
    }

    & p {
        color: var(--ink-soft);
    }
}

.margin-note {
    margin: 1.2rem 0 0;
    padding: 1.2rem 1.4rem;
    background: rgb(246 196 72 / 0.22);
    border-radius: 0.3rem 1rem 1rem 1rem;
    rotate: -0.6deg;

    & .hand {
        margin-bottom: 0.4rem;
    }

    & p:last-child {
        margin: 0;
        color: var(--ink);
    }
}

/* Form */
.form-card {
    max-width: 38rem;
    margin-inline: auto;
    padding: clamp(1.6rem, 4vw, 2.6rem);
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);

    & h2 {
        font-size: clamp(1.6rem, 3vw, 2.1rem);
    }
}

.form-card--sent {
    text-align: center;
    border-top: 6px solid var(--green);

    & p {
        margin: 0;
        color: var(--ink-soft);
    }
}

.form-card__alert {
    padding: 0.7rem 1rem;
    background: rgb(179 68 42 / 0.1);
    color: var(--red-dark);
    border-radius: 0.6rem;
    font-weight: 500;
}

.field {
    margin: 0 0 1.4rem;
    padding: 0;
    border: 0;

    & label,
    & legend {
        display: block;
        margin-bottom: 0.35rem;
        font-weight: 700;
        padding: 0;
    }

    & input:where([type="text"], [type="email"], [type="password"], [type="tel"]),
    & textarea {
        width: 100%;
        padding: 0.7rem 0.9rem;
        font: inherit;
        color: var(--ink);
        background: var(--paper);
        border: 1.5px solid rgb(47 41 37 / 0.2);
        border-radius: 0.7rem;
        transition: border-color 0.15s ease, box-shadow 0.15s ease;

        &:focus {
            outline: none;
            border-color: var(--green);
            box-shadow: 0 0 0 4px rgb(51 84 74 / 0.15);
        }

        &[aria-invalid="true"] {
            border-color: var(--red);
        }
    }

    & textarea {
        resize: vertical;
    }
}

.field__hint {
    margin: 0.35rem 0 0;
    font-size: 0.95rem;
    color: var(--ink-soft);
}

.field__optional {
    font-weight: 400;
    color: var(--ink-soft);
    font-size: 0.92rem;
    margin-left: 0.3rem;
}

.field__error {
    margin: 0.4rem 0 0;
    color: var(--red-dark);
    font-weight: 500;
}

.field--trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.choices {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.choice {
    position: relative;
    font-weight: 400 !important;
    margin: 0 !important;

    & input {
        position: absolute;
        opacity: 0;
    }

    & span {
        display: inline-block;
        padding: 0.55rem 1rem;
        border: 1.5px solid rgb(47 41 37 / 0.2);
        border-radius: 999px;
        background: var(--paper);
        cursor: pointer;
        transition: all 0.15s ease;
    }

    & input:checked + span {
        background: var(--green);
        border-color: var(--green);
        color: var(--card);
    }

    & input:focus-visible + span {
        outline: 3px solid var(--red);
        outline-offset: 2px;
    }
}

/* CTA */
.cta {
    padding-block: var(--section);
    text-align: center;
}

.cta__inner {
    max-width: 40rem;

    & p {
        color: var(--ink-soft);
        margin-bottom: 1.8rem;
    }
}

/* Footer */
.site-footer {
    padding-block: 3rem;
    background: var(--green);
    color: rgb(255 250 241 / 0.85);

    & a {
        color: var(--card);
        text-decoration: none;

        &:hover {
            color: var(--marker);
        }
    }

    & p {
        margin: 0;
    }
}

.site-footer__inner {
    display: grid;
    gap: 1.5rem 3rem;

    @media (min-width: 52rem) {
        grid-template-columns: 1fr auto auto;
        align-items: start;
    }
}

.site-footer__name {
    font: italic 500 1.4rem var(--font-display);
    color: var(--card);
}

.site-footer__nav {
    display: grid;
    gap: 0.35rem;
}

/* Page-load reveal */
.reveal {
    animation: rise 0.7s calc(var(--i, 0) * 110ms) cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes rise {
    from {
        opacity: 0;
        translate: 0 18px;
    }
}

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

    mark {
        background-size: 100% 42%;
    }
}

/* Legal pages: contract sheet */
.legal-page {
    border-top: 0;
}

.legal-page__pdf {
    max-width: 50rem;
    margin: 0 auto 1rem;
    text-align: right;
}

.legal-sheet {
    max-width: 50rem;
    margin-inline: auto;
    padding: clamp(1.5rem, 5vw, 4rem) clamp(1.2rem, 6vw, 4.5rem);
    background: #fffdf8;
    box-shadow: var(--shadow);
    font: 400 1.05rem / 1.65 var(--font-display);

    & h2 {
        margin: 2.2rem 0 0.9rem;
        font-size: 1.05rem;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        text-align: center;
    }
}

.legal-sheet__head {
    text-align: center;
    margin-bottom: 2rem;

    & h1 {
        margin-bottom: 0.2rem;
        font-size: clamp(1.5rem, 3.6vw, 2.1rem);
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    & > p {
        margin: 0;
        font-style: italic;
    }
}

.legal-sheet__place {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem 2rem;
    margin-top: 1.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--line);
    font-size: 0.95rem;
    color: var(--ink-soft);
}

.legal-sheet__preamble {
    text-indent: 2.5em;
    text-align: justify;
    hyphens: auto;
}

.clause {
    display: grid;
    grid-template-columns: 3.4rem 1fr;
    margin: 0 0 0.5rem;
}

.clause__n {
    font-weight: 700;
}

.clause-group .clause {
    grid-template-columns: 4rem 1fr;
    padding-left: 3.4rem;
}

@media (max-width: 36rem) {
    .clause,
    .clause-group .clause {
        grid-template-columns: 3.2rem 1fr;
        padding-left: 0;
    }
}

.legal__requisites {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0.4rem 1.5rem;
    margin: 0;

    & dt {
        color: var(--ink-soft);
    }

    & dd {
        margin: 0;
        overflow-wrap: anywhere;
    }
}

@media print {
    body::before,
    .site-header,
    .site-footer,
    .legal-page__pdf {
        display: none;
    }

    .legal-sheet {
        box-shadow: none;
        padding: 0;
        max-width: none;
        font-size: 10pt;
        line-height: 1.4;

        & h2 {
            margin: 1.1rem 0 0.4rem;
            break-after: avoid;
        }
    }

    .clause {
        margin-bottom: 0.2rem;
        break-inside: avoid;
    }

    @page {
        margin: 16mm 16mm 18mm;
    }

    body {
        background: #fff;
        font-size: 11pt;
    }

    .section,
    .page-head {
        padding: 0;
        background: none;
        border: 0;
    }

    .reveal {
        animation: none;
    }
}

/* Landing */
@media (min-width: 40rem) {
    .site-header {
        position: sticky;
        top: 0;
        z-index: 10;
        background: rgb(248 241 229 / 0.92);
        backdrop-filter: blur(8px);
    }

    section[id],
    #form {
        scroll-margin-top: 5rem;
    }
}

.section-title {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    margin-bottom: 1.2rem;
}

.section-lead {
    font-size: 1.15em;
    max-width: 44rem;
    margin-bottom: 2rem;
}

.block + .block {
    margin-top: clamp(2.5rem, 6vw, 4rem);
}

.block h3 {
    font-size: clamp(1.45rem, 2.6vw, 1.9rem);
}

.card h4 {
    font: italic 700 1.35rem var(--font-display);
    margin: 0 0 1rem;
}

.offer h3 {
    font-size: 1.6rem;
    margin-bottom: 0.2rem;
}

.offers + .note {
    margin-top: 2rem;
}

.steps h4 {
    font: 700 1.25rem var(--font-display);
    margin: 0 0 0.5rem;
}

#konsultatsiya > .wrap > h3 {
    margin-top: 1rem;
    font-size: clamp(1.45rem, 2.6vw, 1.9rem);
}

.form-wrap {
    margin-top: clamp(3rem, 7vw, 5rem);
}

.form-card h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

/* LangFit platform callout */
.platform {
    display: grid;
    gap: 1.5rem 3rem;
    align-items: center;
    margin-bottom: 2.5rem;
    padding: clamp(1.5rem, 4vw, 2.4rem);
    background: var(--card);
    border: 2px solid var(--green);
    border-radius: var(--radius);
    box-shadow: var(--shadow);

    @media (min-width: 52rem) {
        grid-template-columns: 1.3fr 1fr;
    }

    & h3 {
        font-size: clamp(1.6rem, 3vw, 2.2rem);
        margin-bottom: 0.6rem;
    }

    & p:last-child {
        margin: 0;
        color: var(--ink-soft);
    }
}

.platform__note {
    margin: 0 0 0.2rem;
    color: var(--green);
}

.platform__points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.7rem;

    & li {
        padding: 0.75rem 1.1rem;
        background: rgb(51 84 74 / 0.08);
        border-radius: 0.8rem;
        font-weight: 700;
        color: var(--green);
    }
}

.platform__points .platform__app {
    background: var(--marker);
    color: var(--ink);
    rotate: -1deg;
}
