/*
 |--------------------------------------------------------------------------
 | Posgala - landing page
 |--------------------------------------------------------------------------
 |
 | Sengaja tidak memakai Tailwind/Vite. Halaman ini dipublikasikan sebagai
 | situs pemasaran di root domain, sementara `public/build` tidak ikut ter-commit
 | (`npm run build` tidak dijalankan di server). Kalau halaman ini bergantung
 | pada manifest Vite, seluruh tema hilang begitu backend di-upload tanpa build.
 | Karena itu styling-nya mandiri dan dilayani langsung dari `public/`.
 |
 | Palet diambil dari logo dan warna brand yang dipakai di aplikasi mobile.
 |
 */

:root {
    /* Biru tua / navy - warna dasar brand */
    --navy-950: #04101f;
    --navy-900: #071a30;
    --navy-800: #0a2540;
    --navy-700: #0f3057;
    --navy-600: #164a80;

    /* Oranye - aksen utama, CTA */
    --orange-600: #d97706;
    --orange-500: #ff8c00;
    --orange-400: #ff9900;
    --orange-300: #ffb84d;

    /* Biru muda / sian - aksen sekunder */
    --sky-500: #2196f3;
    --cyan-500: #00bcd4;

    /* Kuning / emas - aksen highlight */
    --gold-500: #ffcc00;

    --ink: #0f2036;
    --muted: #55677d;
    --line: #e4ecf6;
    --surface: #ffffff;
    --surface-alt: #f4f8fd;

    --shadow-sm: 0 1px 2px rgb(10 37 64 / 6%), 0 2px 8px rgb(10 37 64 / 6%);
    --shadow-md: 0 8px 24px rgb(10 37 64 / 8%), 0 2px 6px rgb(10 37 64 / 6%);
    --shadow-lg: 0 24px 60px rgb(10 37 64 / 14%), 0 6px 18px rgb(10 37 64 / 8%);
    --shadow-brand: 0 12px 32px rgb(255 140 0 / 28%);

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 999px;

    --container: 1160px;
    --gutter: clamp(1.25rem, 4vw, 2.5rem);
    --section-y: clamp(4rem, 9vw, 7.5rem);

    --font-sans: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto,
        'Helvetica Neue', Arial, 'Noto Sans', sans-serif;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    scroll-behavior: smooth;
    /* Judul anchor tidak tertutup header lengket. */
    scroll-padding-top: 5.5rem;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--navy-700);
    text-decoration: none;
}

a:hover {
    color: var(--orange-600);
}

h1,
h2,
h3,
h4 {
    margin: 0;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--navy-800);
    font-weight: 800;
}

p {
    margin: 0;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

:focus-visible {
    outline: 3px solid var(--sky-500);
    outline-offset: 3px;
    border-radius: 6px;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 100;
    padding: 0.75rem 1.25rem;
    background: var(--navy-800);
    color: #fff;
    border-radius: var(--radius-sm);
    transition: top 0.2s var(--ease);
}

.skip-link:focus {
    top: 1rem;
    color: #fff;
}

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

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

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

.section-head {
    max-width: 46rem;
    margin: 0 auto clamp(2.5rem, 5vw, 4rem);
    text-align: center;
}

.section-head p {
    margin-top: 1rem;
    color: var(--muted);
    font-size: 1.0625rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-pill);
    background: rgb(255 140 0 / 12%);
    color: var(--orange-600);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.eyebrow--sky {
    background: rgb(33 150 243 / 12%);
    color: #1565c0;
}

h2.section-title {
    font-size: clamp(1.75rem, 3.6vw, 2.5rem);
}

/* ---------------------------------------------------------------- Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
        background-color 0.18s var(--ease), color 0.18s var(--ease);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn--primary {
    background: linear-gradient(135deg, var(--orange-400), var(--orange-600));
    color: #fff;
    box-shadow: var(--shadow-brand);
}

.btn--primary:hover {
    color: #fff;
    box-shadow: 0 16px 40px rgb(255 140 0 / 36%);
}

.btn--navy {
    background: var(--navy-800);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.btn--navy:hover {
    background: var(--navy-700);
    color: #fff;
}

.btn--ghost {
    border-color: var(--line);
    background: var(--surface);
    color: var(--navy-800);
}

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

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgb(255 255 255 / 88%);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.site-header.is-stuck {
    border-bottom-color: var(--line);
    box-shadow: var(--shadow-sm);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 4.5rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--navy-800);
}

.brand:hover {
    color: var(--navy-800);
}

.brand img {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-sm);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--ink);
    font-size: 0.9375rem;
    font-weight: 600;
}

.nav-links a:hover {
    color: var(--orange-600);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-toggle {
    display: none;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--navy-800);
    cursor: pointer;
}

.nav-toggle svg {
    width: 1.375rem;
    height: 1.375rem;
}

.nav-menu {
    display: none;
}

@media (max-width: 900px) {
    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav-links {
        position: absolute;
        inset: 4.5rem var(--gutter) auto;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
        padding: 1rem;
        background: var(--surface);
        border: 1px solid var(--line);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-lg);
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-links a {
        padding: 0.625rem 0.75rem;
        border-radius: var(--radius-sm);
    }

    .nav-links a:hover {
        background: var(--surface-alt);
    }

    .nav-actions .btn--primary {
        display: none;
    }
}

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

.hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(3.5rem, 8vw, 6rem);
    background: radial-gradient(
            120% 120% at 88% 4%,
            rgb(255 140 0 / 16%) 0%,
            rgb(255 140 0 / 0%) 55%
        ),
        radial-gradient(90% 90% at 6% 10%, rgb(33 150 243 / 18%) 0%, rgb(33 150 243 / 0%) 55%),
        linear-gradient(180deg, var(--surface) 0%, var(--surface-alt) 100%);
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgb(10 37 64 / 4%) 1px, transparent 1px),
        linear-gradient(90deg, rgb(10 37 64 / 4%) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(70% 60% at 50% 0%, #000 0%, transparent 100%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: clamp(2.5rem, 6vw, 4.5rem);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.875rem 0.375rem 0.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--muted);
}

.hero-badge img {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: var(--radius-pill);
}

.hero h1 {
    font-size: clamp(2.25rem, 5.2vw, 3.5rem);
}

.hero h1 .text-brand {
    background: linear-gradient(120deg, var(--orange-400), var(--orange-600));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-lead {
    margin-top: 1.25rem;
    font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
    color: var(--muted);
    max-width: 34rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
    margin-top: 2rem;
}

.hero-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    margin-top: 1.75rem;
    color: var(--muted);
    font-size: 0.875rem;
}

.hero-notes li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-notes svg {
    width: 1.125rem;
    height: 1.125rem;
    flex: none;
    color: var(--cyan-500);
}

/* Mockup perangkat, digambar murni dengan CSS supaya tidak perlu aset foto. */
.device {
    position: relative;
    padding: 0.875rem;
    border-radius: 2rem;
    background: linear-gradient(160deg, var(--navy-800), var(--navy-600));
    box-shadow: var(--shadow-lg);
}

.device::before {
    content: '';
    position: absolute;
    inset: -14% -8% auto;
    height: 60%;
    background: radial-gradient(50% 50% at 50% 50%, rgb(255 140 0 / 28%), transparent 70%);
    filter: blur(24px);
    z-index: -1;
}

.device-screen {
    border-radius: 1.375rem;
    background: var(--surface);
    overflow: hidden;
}

.device-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: linear-gradient(120deg, var(--navy-800), var(--navy-600));
    color: #fff;
}

.device-bar img {
    width: 2rem;
    height: 2rem;
    border-radius: 0.625rem;
}

.device-bar strong {
    font-size: 0.9375rem;
    font-weight: 700;
}

.device-bar .device-total {
    margin-left: auto;
    font-size: 1.0625rem;
    font-weight: 800;
    color: var(--gold-500);
}

.device-body {
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
}

.device-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0.875rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
}

.device-row span:first-child {
    color: var(--muted);
}

.device-row strong {
    font-weight: 700;
    color: var(--navy-800);
}

.device-row .pill {
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-pill);
    background: rgb(0 188 212 / 12%);
    color: #00838f;
    font-size: 0.75rem;
    font-weight: 700;
}

.device-row .pill--amber {
    background: rgb(255 140 0 / 14%);
    color: var(--orange-600);
}

.device-foot {
    display: flex;
    gap: 0.5rem;
    padding: 0 1rem 1rem;
}

.device-foot span {
    flex: 1;
    padding: 0.625rem;
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 700;
}

.device-foot .pay {
    background: var(--navy-800);
    color: #fff;
}

.device-foot .scan {
    background: rgb(33 150 243 / 12%);
    color: #1565c0;
}

@media (max-width: 980px) {
    .hero .container {
        grid-template-columns: 1fr;
    }

    .device {
        max-width: 30rem;
        margin-inline: auto;
    }
}

/* ------------------------------------------------------------------ Stats */

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding-block: 2.5rem;
}

.stat {
    padding: 1.25rem 1.5rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.stat strong {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--navy-800);
}

.stat span {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: var(--muted);
}

@media (max-width: 760px) {
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ----------------------------------------------------------------- Fitur */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.75rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
        border-color 0.25s var(--ease);
}

.feature:hover {
    transform: translateY(-4px);
    border-color: rgb(255 140 0 / 40%);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgb(255 140 0 / 16%), rgb(255 204 0 / 16%));
    color: var(--orange-600);
}

.feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.feature:nth-child(3n + 2) .feature-icon {
    background: linear-gradient(135deg, rgb(33 150 243 / 16%), rgb(0 188 212 / 16%));
    color: #1565c0;
}

.feature:nth-child(3n + 3) .feature-icon {
    background: linear-gradient(135deg, rgb(10 37 64 / 10%), rgb(10 37 64 / 4%));
    color: var(--navy-700);
}

.feature h3 {
    font-size: 1.125rem;
}

.feature p {
    color: var(--muted);
    font-size: 0.9375rem;
}

@media (max-width: 900px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* ------------------------------------------------------------- Cara kerja */

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    counter-reset: step;
}

.step {
    position: relative;
    padding: 2rem 1.75rem 1.75rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.step::before {
    counter-increment: step;
    content: counter(step);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 1rem;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, var(--orange-400), var(--orange-600));
    color: #fff;
    font-weight: 800;
}

.step h3 {
    font-size: 1.125rem;
}

.step p {
    margin-top: 0.5rem;
    color: var(--muted);
    font-size: 0.9375rem;
}

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

/* ----------------------------------------------------------------- Harga */

.plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
    gap: 1.5rem;
}

.plan {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    height: 100%;
    padding: 2rem 1.75rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.plan--featured {
    position: relative;
    border-color: transparent;
    background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
    color: rgb(255 255 255 / 78%);
    box-shadow: var(--shadow-lg);
    transform: translateY(-0.75rem);
}

.plan--featured h3,
.plan--featured .plan-price {
    color: #fff;
}

.plan-flag {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-pill);
    background: var(--gold-500);
    color: var(--navy-900);
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.plan h3 {
    font-size: 1.25rem;
}

.plan-desc {
    color: var(--muted);
    font-size: 0.9375rem;
}

.plan--featured .plan-desc {
    color: rgb(255 255 255 / 70%);
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 0.375rem;
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--navy-800);
    letter-spacing: -0.03em;
}

.plan-price small {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--muted);
}

.plan--featured .plan-price small {
    color: rgb(255 255 255 / 60%);
}

.plan-price .is-empty {
    color: var(--orange-500);
    letter-spacing: 0.02em;
}

.plan--featured .plan-price .is-empty {
    color: var(--gold-500);
}

.plan-price-note {
    margin-top: -0.75rem;
    font-size: 0.8125rem;
    color: var(--muted);
}

.plan--featured .plan-price-note {
    color: rgb(255 255 255 / 60%);
}

.plan ul {
    display: grid;
    gap: 0.625rem;
    font-size: 0.9375rem;
}

.plan li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
}

.plan li svg {
    width: 1.125rem;
    height: 1.125rem;
    flex: none;
    margin-top: 0.2rem;
    color: var(--cyan-500);
}

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

.plan--featured .btn--ghost {
    border-color: rgb(255 255 255 / 24%);
    background: transparent;
    color: #fff;
}

.plan--featured .btn--ghost:hover {
    border-color: #fff;
    color: #fff;
}

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

    .plan--featured {
        transform: none;
    }
}

/* ------------------------------------------------------------------- FAQ */

.faq {
    display: grid;
    gap: 0.875rem;
    max-width: 52rem;
    margin-inline: auto;
}

.faq details {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.2s var(--ease);
}

.faq details[open] {
    border-color: rgb(255 140 0 / 45%);
}

.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.125rem 1.25rem;
    cursor: pointer;
    font-weight: 700;
    color: var(--navy-800);
    list-style: none;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: '';
    width: 1rem;
    height: 1rem;
    flex: none;
    background: currentcolor;
    color: var(--orange-500);
    transition: transform 0.2s var(--ease);
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
}

.faq details[open] summary::after {
    transform: rotate(45deg);
}

.faq p {
    padding: 0 1.25rem 1.25rem;
    color: var(--muted);
    font-size: 0.9375rem;
}

/* -------------------------------------------------------------------- CTA */

.cta {
    position: relative;
    overflow: hidden;
    padding-block: clamp(3.5rem, 7vw, 5.5rem);
    background: linear-gradient(135deg, var(--navy-800), var(--navy-950));
    color: rgb(255 255 255 / 80%);
    text-align: center;
}

.cta::before {
    content: '';
    position: absolute;
    inset: auto -10% -60% -10%;
    height: 120%;
    background: radial-gradient(50% 50% at 50% 50%, rgb(255 140 0 / 22%), transparent 70%);
    pointer-events: none;
}

.cta .container {
    position: relative;
}

.cta h2 {
    color: #fff;
    font-size: clamp(1.75rem, 3.6vw, 2.5rem);
}

.cta p {
    max-width: 40rem;
    margin: 1rem auto 0;
    font-size: 1.0625rem;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.875rem;
    margin-top: 2rem;
}

.cta .btn--ghost {
    border-color: rgb(255 255 255 / 30%);
    background: transparent;
    color: #fff;
}

.cta .btn--ghost:hover {
    border-color: #fff;
    color: #fff;
}

/* ----------------------------------------------------------------- Footer */

.site-footer {
    padding-block: 3.5rem 2rem;
    background: var(--navy-950);
    color: rgb(255 255 255 / 62%);
    font-size: 0.9375rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgb(255 255 255 / 10%);
}

.site-footer .brand {
    color: #fff;
}

.site-footer .brand:hover {
    color: #fff;
}

.footer-about p {
    max-width: 24rem;
    margin-top: 1rem;
    font-size: 0.9375rem;
}

.footer-heading {
    margin-bottom: 0.875rem;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
}

.footer-links {
    display: grid;
    gap: 0.625rem;
}

.site-footer a {
    color: rgb(255 255 255 / 62%);
}

.site-footer a:hover {
    color: var(--orange-300);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 2rem;
    font-size: 0.875rem;
}

.footer-bottom nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

@media (max-width: 820px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* --------------------------------------------------------------- Reveal */

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
