/* Fonts: Unbounded (headings) and Manrope (text), SIL Open Font License, self-hosted subsets from Google Fonts */
@font-face {
    font-family: "Unbounded";
    font-style: normal;
    font-weight: 500 800;
    font-display: swap;
    src: url("fonts/unbounded-cyrillic.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: "Unbounded";
    font-style: normal;
    font-weight: 500 800;
    font-display: swap;
    src: url("fonts/unbounded-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Unbounded";
    font-style: normal;
    font-weight: 500 800;
    font-display: swap;
    src: url("fonts/unbounded-latin-ext.woff2") format("woff2");
    unicode-range: U+20A0-20AB, U+20AD-20C0;
}
@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("fonts/manrope-cyrillic.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("fonts/manrope-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("fonts/manrope-latin-ext.woff2") format("woff2");
    unicode-range: U+20A0-20AB, U+20AD-20C0;
}

:root {
    --bg: #1b1b31;
    --bg-alt: #222240;
    --surface: #2a2a4b;
    --surface-2: #33335a;
    --line: rgb(255 255 255 / 0.09);
    --text: #f5f4fb;
    --muted: #b3b1cf;
    --accent: #ffb020;
    --accent-hover: #ffc24d;
    --accent-ink: #1b1b31;
    --lavender: #8f8cc6;
    --danger: #ff8a7a;
    --success: #6fdc9b;

    --font-display: "Unbounded", "Arial Black", system-ui, sans-serif;
    --font-text: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --radius: 20px;
    --radius-sm: 12px;
    --gutter: clamp(16px, 4vw, 32px);
    --header-h: 68px;

    color-scheme: dark;
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-text);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Components set their own display, which would otherwise override the hidden attribute */
[hidden] {
    display: none !important;
}

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

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

h2 {
    font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.6rem);
}

h3 {
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.3;
}

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

a {
    color: inherit;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.icon {
    width: 1.15em;
    height: 1.15em;
    flex: none;
}

.accent {
    color: var(--accent);
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    min-height: 48px;
    padding: 0.75em 1.5em;
    border: 2px solid transparent;
    border-radius: 999px;
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.btn:active {
    transform: translateY(1px);
}

.btn--primary {
    background: var(--accent);
    color: var(--accent-ink);
}

.btn--primary:hover {
    background: var(--accent-hover);
}

.btn--ghost {
    border-color: var(--line);
    background: rgb(255 255 255 / 0.04);
    color: var(--text);
}

.btn--ghost:hover {
    border-color: var(--accent);
}

.btn--link {
    min-height: 40px;
    padding: 0.5em 0.25em;
    background: none;
    color: var(--accent);
}

.btn--link:hover .icon {
    transform: translateX(3px);
}

.btn--link .icon {
    transition: transform 0.2s;
}

.btn--sm {
    min-height: 40px;
    padding: 0.5em 1.1em;
    font-size: 0.93rem;
}

.btn--lg {
    min-height: 56px;
    padding-inline: 1.9em;
}

.btn--block {
    width: 100%;
}

.btn[disabled] {
    opacity: 0.6;
    cursor: progress;
}

/* Header */

.header {
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid var(--line);
    background: rgb(27 27 49 / 0.82);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.header__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    height: var(--header-h);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: auto;
    text-decoration: none;
}

.brand__logo {
    width: 36px;
}

.brand__text {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.nav {
    display: flex;
    gap: 24px;
}

.nav a {
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.nav a:hover {
    color: var(--text);
}

.header__phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.header__phone .icon {
    color: var(--accent);
}

@media (max-width: 1040px) {
    .nav {
        display: none;
    }
}

@media (max-width: 640px) {
    .brand__text {
        display: none;
    }

    .header__inner {
        gap: 12px;
    }

    /* Phone collapses to a round icon button */
    .header__phone {
        justify-content: center;
        width: 40px;
        height: 40px;
        border: 2px solid var(--line);
        border-radius: 50%;
    }

    .header__phone span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
    }
}

/* Hero */

.hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(40px, 8vw, 96px) clamp(56px, 9vw, 112px);
    isolation: isolate;
}

/* Soft glows; the mask fades them out before the section edge, so there is no visible seam */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(50% 60% at 80% 30%, rgb(143 140 198 / 0.26), transparent 70%),
        radial-gradient(40% 50% at 5% 75%, rgb(255 176 32 / 0.1), transparent 70%);
    -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent);
    mask-image: linear-gradient(to bottom, #000 60%, transparent);
    pointer-events: none;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
}

.eyebrow {
    display: inline-block;
    margin-bottom: 20px;
    padding: 6px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgb(255 255 255 / 0.05);
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 600;
}

h1 {
    font-size: clamp(2rem, 1.2rem + 3.6vw, 3.9rem);
    font-weight: 800;
    line-height: 1.05;
}

.hero h1 .accent {
    display: block;
}

.lead {
    max-width: 36em;
    margin-top: 24px;
    color: var(--muted);
    font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.stats {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 40px;
    margin: 44px 0 0;
}

.stats div {
    display: flex;
    flex-direction: column;
}

.stats dt {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1.2;
}

.stats dd {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.hero__media {
    position: relative;
}

.hero__photo {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 46% 54% 42% 58% / 52% 40% 60% 48%;
    box-shadow: 0 0 0 10px rgb(143 140 198 / 0.35), 0 30px 80px rgb(0 0 0 / 0.45);
}

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

.hero__badge {
    position: absolute;
    bottom: 6%;
    left: -6%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgb(42 42 75 / 0.92);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 12px 30px rgb(0 0 0 / 0.35);
}

.hero__badge .icon {
    color: var(--accent);
}

@media (max-width: 860px) {
    .hero__inner {
        grid-template-columns: 1fr;
    }

    .hero__media {
        width: min(80%, 360px);
        margin: 16px auto 24px;
    }

    .hero__badge {
        left: 50%;
        bottom: -8%;
        transform: translateX(-50%);
        white-space: nowrap;
    }

}

@media (max-width: 480px) {
    .hero__actions .btn {
        width: 100%;
    }

    .stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .stats dt {
        font-size: 1.1rem;
    }

    .stats dd {
        font-size: 0.8rem;
        line-height: 1.35;
    }
}

/* Sections */

.section {
    padding-block: clamp(64px, 9vw, 112px);
}

.section--alt {
    background: var(--bg-alt);
}

/* Neighbours on the same background would otherwise get double spacing */
.hero + .section,
.section:not(.section--alt) + .section:not(.section--alt) {
    padding-top: 0;
}

.section__title {
    max-width: 22em;
    margin-bottom: clamp(28px, 4vw, 48px);
}

.section__lead {
    max-width: 40em;
    margin: calc(-1 * clamp(12px, 2vw, 28px)) 0 clamp(28px, 4vw, 44px);
    color: var(--muted);
}

/* About */

.about__inner {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: clamp(32px, 6vw, 80px);
}

.about__photo {
    overflow: hidden;
    border-radius: var(--radius) var(--radius) var(--radius) 120px;
    aspect-ratio: 4 / 4.2;
}

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

.about__text p {
    margin-top: 20px;
    color: var(--muted);
    font-size: 1.08rem;
}

.about__text h2 + p {
    margin-top: 28px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
}

.tags li {
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--surface);
    color: var(--accent);
    font-weight: 700;
    font-size: 0.95rem;
}

@media (max-width: 860px) {
    .about__inner {
        grid-template-columns: 1fr;
    }

    .about__photo {
        aspect-ratio: 16 / 10;
        border-radius: var(--radius) var(--radius) var(--radius) 72px;
    }
}

/* Features */

.features {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.feature {
    grid-column: span 2;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-alt);
}

.feature:nth-child(-n + 2) {
    grid-column: span 3;
}

.feature__icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
    border-radius: 16px;
    background: rgb(255 176 32 / 0.12);
    color: var(--accent);
}

.feature__icon .icon {
    width: 26px;
    height: 26px;
}

.feature p {
    margin-top: 10px;
    color: var(--muted);
}

@media (max-width: 960px) {
    .features {
        grid-template-columns: 1fr 1fr;
    }

    .feature,
    .feature:nth-child(-n + 2) {
        grid-column: auto;
    }

    .feature:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .features {
        grid-template-columns: 1fr;
    }

    /* Icon next to the text: five stacked cards would be too tall */
    .feature {
        display: grid;
        grid-template-columns: 44px 1fr;
        gap: 0 16px;
        padding: 20px;
    }

    .feature__icon {
        grid-row: span 2;
        width: 44px;
        height: 44px;
        margin: 0;
        border-radius: 12px;
    }

    .feature__icon .icon {
        width: 22px;
        height: 22px;
    }

    .feature p {
        margin-top: 6px;
    }
}

/* Formats */

.formats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.format {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.format__image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.format__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 26px;
}

.format__body p {
    margin-top: 12px;
    color: var(--muted);
}

.format__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.92rem;
    font-weight: 700;
}

.format__meta li {
    display: flex;
    align-items: center;
    gap: 6px;
}

.format__meta .icon {
    color: var(--accent);
}

.format__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    margin-top: auto;
    padding-top: 22px;
}

@media (max-width: 760px) {
    .formats {
        grid-template-columns: 1fr;
    }

    .format__body {
        padding: 22px;
    }
}

/* Prices */

.prices {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
    gap: 20px;
}

.plan {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 32px 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-alt);
}

.plan--featured {
    border: 2px solid var(--accent);
    background: linear-gradient(180deg, rgb(255 176 32 / 0.1), transparent 45%), var(--bg-alt);
}

.plan__price {
    margin-top: 18px;
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--accent);
}

.plan__price span {
    display: block;
    margin-top: 6px;
    font-family: var(--font-text);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--muted);
}

.plan__min {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.95rem;
}

.plan__items {
    display: grid;
    gap: 10px;
    margin: 24px 0 28px;
    padding: 24px 0 0;
    border-top: 1px solid var(--line);
    list-style: none;
}

.plan__items li {
    display: flex;
    gap: 10px;
    line-height: 1.45;
}

.plan__items .icon {
    margin-top: 0.15em;
    color: var(--accent);
}

.plan .btn {
    margin-top: auto;
}

@media (max-width: 960px) {
    .prices {
        grid-template-columns: 1fr;
        max-width: 520px;
    }

    .plan {
        padding: 26px 22px;
    }
}

/* How it works */

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

.step {
    position: relative;
    padding: 28px;
    border-radius: var(--radius);
    background: var(--surface);
    counter-increment: step;
}

.step::before {
    content: counter(step, decimal-leading-zero);
    display: block;
    margin-bottom: 18px;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    color: var(--lavender);
}

.step p,
.note p {
    margin-top: 10px;
    color: var(--muted);
}

.notes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.note {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.note--accent {
    border-color: rgb(255 176 32 / 0.4);
    background: rgb(255 176 32 / 0.06);
}

.note h3 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.note h3 .icon {
    color: var(--accent);
}

@media (max-width: 860px) {
    .steps,
    .notes {
        grid-template-columns: 1fr;
    }

    .step,
    .note {
        padding: 22px;
    }
}

/* Clients */

.clients {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.clients li {
    display: grid;
    place-items: center;
    height: 96px;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    background: #fff;
}

.clients img {
    max-height: 46px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.85;
    transition: filter 0.3s, opacity 0.3s;
}

.clients li:hover img {
    filter: none;
    opacity: 1;
}

@media (max-width: 600px) {
    .clients {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .clients li {
        height: 80px;
        padding: 10px 14px;
    }

    .clients img {
        max-height: 40px;
    }
}

/* Contact */

.contact__card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 5vw, 64px);
    overflow: hidden;
    padding: clamp(24px, 5vw, 64px);
    border-radius: calc(var(--radius) + 8px);
    background:
        radial-gradient(circle at 0% 100%, rgb(255 176 32 / 0.18), transparent 50%),
        radial-gradient(circle at 100% 0%, rgb(143 140 198 / 0.3), transparent 55%),
        var(--surface);
}

.contact__text p {
    margin-top: 16px;
    color: var(--muted);
    font-size: 1.08rem;
}

.contact__phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 0.9rem + 1vw, 1.5rem);
    font-weight: 700;
    text-decoration: none;
}

.contact__phone .icon {
    color: var(--accent);
}

.contact__logo {
    width: 150px;
    margin-top: 40px;
    opacity: 0.9;
}

@media (max-width: 860px) {
    .contact__card {
        grid-template-columns: 1fr;
    }

    .contact__logo {
        display: none;
    }
}

/* Form */

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

.field label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.92rem;
    font-weight: 700;
}

.field__optional {
    color: var(--muted);
    font-weight: 500;
}

.field input,
.field textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid rgb(255 255 255 / 0.16);
    border-radius: var(--radius-sm);
    background: rgb(0 0 0 / 0.2);
    color: var(--text);
    font: inherit;
    font-size: 16px; /* 16px keeps iOS from zooming into the field */
    transition: border-color 0.2s, background-color 0.2s;
}

.field textarea {
    resize: vertical;
    min-height: 92px;
}

.field input::placeholder,
.field textarea::placeholder {
    color: rgb(179 177 207 / 0.6);
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgb(0 0 0 / 0.3);
}

.field [aria-invalid="true"] {
    border-color: var(--danger);
}

.consent {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.45;
    cursor: pointer;
}

.consent input {
    flex: none;
    width: 20px;
    height: 20px;
    margin: 1px 0 0;
    accent-color: var(--accent);
}

.consent.is-invalid {
    color: var(--danger);
}

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

.form__error {
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    background: rgb(255 138 122 / 0.12);
    color: var(--danger);
    font-size: 0.95rem;
    font-weight: 600;
}

.form__done {
    padding: 24px 0;
    text-align: center;
}

.form__done-icon {
    display: inline-grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgb(111 220 155 / 0.15);
    color: var(--success);
}

.form__done-icon .icon {
    width: 32px;
    height: 32px;
}

.form__done-title {
    margin-top: 16px;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
}

.form__done-text {
    margin-top: 8px;
    color: var(--muted);
}

/* Dialog */

.dialog {
    width: min(100% - 32px, 460px);
    max-height: calc(100dvh - 32px);
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 4px);
    background: var(--surface);
    color: var(--text);
    box-shadow: 0 30px 80px rgb(0 0 0 / 0.5);
}

html:has(.dialog[open]) {
    overflow: hidden;
}

.dialog::backdrop {
    background: rgb(10 10 22 / 0.7);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.dialog[open] {
    animation: dialog-in 0.25s ease-out;
}

@keyframes dialog-in {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }
}

.dialog__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.dialog__head h2 {
    font-size: 1.4rem;
}

.dialog__close {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin: -8px -8px 0 0;
    border: 0;
    border-radius: 50%;
    background: rgb(255 255 255 / 0.06);
    color: var(--text);
    cursor: pointer;
}

.dialog__close:hover {
    background: rgb(255 255 255 / 0.12);
}

.dialog__topic {
    margin: -8px 0 18px;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    background: rgb(255 176 32 / 0.1);
    color: var(--accent);
    font-size: 0.92rem;
    font-weight: 700;
}

@media (max-width: 480px) {
    .dialog {
        padding: 22px 18px;
    }
}

/* Footer */

.footer {
    padding-block: 28px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.9rem;
}

.footer__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
}

.footer a {
    font-weight: 700;
    text-decoration: none;
}

/* Scroll reveal: only with JS, so the page is fully visible without it */

@media (prefers-reduced-motion: no-preference) {
    .js .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }

    .js .reveal.is-visible {
        opacity: 1;
        transform: none;
    }
}
