/*
Theme Name: Kruelia v2
Theme URI: https://kruelia.pl
Author: Fundacja KRUELIA
Author URI: https://kruelia.pl
Description: Motyw WordPress Fundacji KRUELIA. Jednostronicowa aplikacja (SPA) z
motywem konturu biletu — minimalistyczny homepage, edytorskie podstrony, kampania
Międzystacja, zbiórka z generatorem biletu i formularz zgłoszeniowy dla osób w kryzysie.
Treści są przygotowane jako placeholdery gotowe do podmiany.
Version: 2.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kruelia-v2
*/
:root {
    --navy: #0B1E3D;
    --navy-soft: #16294D;
    --bottle: #173A2E;
    --bottle-soft: #0F2A20;
    --accent-blue: #2F6FED;
    --accent-blue-soft: #1E56C4;
    --paper: #FFFFFF;
    --paper-warm: #FAFAF9;
    --line: rgba(11, 30, 61, 0.14);
    --line-soft: rgba(11, 30, 61, 0.08);
    --muted: #5C6B85;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.kruelia {
    font-family: 'Poppins', system-ui, sans-serif;
    color: var(--navy);
    background: var(--paper);
    min-height: 100vh;
    position: relative;
    margin: 0;
    overscroll-behavior-y: none;
    /* stop rubber-band overscroll repaint glitches on iOS */
}

/* Applied to <body> while the fullscreen menu is open, so the page behind it can't be scrolled at the same time (this was letting the menu's own position:fixed layer and the page scroll get out of sync, which is what produced the ghosted text and the "can't scroll all the way down" bug). */
body.menu-open {
    position: fixed;
    left: 0;
    right: 0;
    overflow: hidden;
}

body.kruelia h1,
body.kruelia h2,
body.kruelia h3,
body.kruelia h4 {
    font-family: 'Poppins', Georgia, sans-serif;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0 0 0.4em 0;
}

body.kruelia p {
    line-height: 1.7;
    color: var(--navy-soft);
    margin: 0 0 1em 0;
}

body.kruelia button {
    font-family: inherit;
    cursor: pointer;
}

body.kruelia ul,
body.kruelia ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (prefers-reduced-motion: reduce) {
    body.kruelia * {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
}

/* ---- topbar ---- */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 32px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.menu-btn {
    background: none;
    border: 1px solid var(--line);
    border-radius: 999px;
    width: 44px;
    height: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: border-color .2s ease;
}

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

.menu-btn span {
    width: 16px;
    height: 1px;
    background: var(--navy);
    display: block;
}

/* ---- fullscreen overlay menu ---- */
.overlay-menu {
    position: fixed;
    inset: 0;
    background: var(--navy);
    color: var(--paper-warm);
    z-index: 100;
    display: flex;
    flex-direction: column;
    transform: translate3d(0, -100%, 0);
    transition: transform .55s cubic-bezier(.65, 0, .35, 1), visibility 0s linear .55s;
    padding: 28px 32px;
    /* Fully out of the paint/hit-test tree while closed: prevents the closed menu from ever bleeding through as ghost text and from swallowing scroll/touch input near the top edge of the viewport on mobile Safari. */
    visibility: hidden;
    pointer-events: none;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
}

.overlay-menu.is-open {
    transform: translate3d(0, 0, 0);
    visibility: visible;
    pointer-events: auto;
    transition: transform .55s cubic-bezier(.65, 0, .35, 1), visibility 0s linear 0s;
}

.overlay-menu__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu-close {
    background: none;
    border: 1px solid rgba(250, 250, 249, 0.3);
    color: var(--paper-warm);
    border-radius: 999px;
    width: 44px;
    height: 44px;
    font-size: 16px;
}

.overlay-menu__nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    max-width: 640px;
}

.overlay-menu__link {
    background: none;
    border: none;
    text-align: left;
    color: rgba(250, 250, 249, 0.55);
    font-family: 'Poppins', Georgia, sans-serif;
    font-size: clamp(24px, 5vw, 42px);
    font-weight: 400;
    padding: 8px 0;
    display: flex;
    align-items: baseline;
    gap: 18px;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .5s ease, transform .5s ease, color .2s ease;
}

.overlay-menu.is-open .overlay-menu__link {
    opacity: 1;
    transform: translateY(0);
}

.overlay-menu__link:hover,
.overlay-menu__link.is-current {
    color: var(--paper-warm);
}

.overlay-menu__num {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: rgba(250, 250, 249, 0.35);
}

.overlay-menu__foot {
    font-size: 13px;
    color: rgba(250, 250, 249, 0.4);
    padding-top: 20px;
}

/* ---- ticket frame ---- */
.ticket-frame {
    position: relative;
}

.ticket-frame__svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.ticket-frame__content {
    position: relative;
}

.ticket-field {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    color: var(--navy);
}

/* ---- logo (wordmark, peeled-corner mark) ---- */
.logo-seal {
    position: relative;
    background: none;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: opacity .25s ease;
}

.logo-seal:hover {
    opacity: 0.75;
}

.logo-mark {
    display: block;
    height: 22px;
    width: auto;
}

.logo-mark--light {
    height: 20px;
}

/* ---- split / torn-paper wordmark ---- */
/* ---- home ---- */
.home {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
    padding: 32px;
}

.home__center {
    text-align: center;
    position: relative;
    z-index: 2;
}

.home__word {
    display: block;
    height: auto;
    width: clamp(220px, 42vw, 520px);
    margin: 0 auto;
    animation: riseIn .9s cubic-bezier(.2, .8, .2, 1) both;
}

.home__title {
    font-size: clamp(30px, 5.5vw, 54px);
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0;
    color: var(--navy);
    max-width: 16ch;
    margin-left: auto;
    margin-right: auto;
    animation: riseIn .9s cubic-bezier(.2, .8, .2, 1) both;
}

.home__claim {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: clamp(15px, 2vw, 19px);
    color: var(--muted);
    margin: 18px 0 44px 0;
    animation: riseIn .9s .15s cubic-bezier(.2, .8, .2, 1) both;
}

.home__ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: riseIn .9s .3s cubic-bezier(.2, .8, .2, 1) both;
}

@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- buttons ---- */
.btn {
    display: inline-block;
    text-decoration: none;
    text-align: center;
    border-radius: 999px;
    padding: 16px 30px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    border: 1px solid transparent;
    transition: all .25s ease;
}

.btn--primary {
    background: var(--navy);
    color: var(--paper-warm);
}

.btn--primary:hover {
    background: var(--navy-soft);
    transform: translateY(-1px);
}

.btn--outline {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}

.btn--outline:hover {
    background: var(--navy);
    color: var(--paper-warm);
}

.btn--outline-light {
    background: transparent;
    color: var(--paper-warm);
    border-color: rgba(250, 250, 249, 0.5);
}

.btn--outline-light:hover {
    background: rgba(250, 250, 249, 0.1);
}

.btn--ghost {
    background: transparent;
    color: var(--muted);
}

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

.btn--ghost-light {
    background: transparent;
    color: var(--paper-warm);
    border: 1px solid rgba(250, 250, 249, 0.4);
    border-radius: 999px;
    padding: 12px 22px;
    font-size: 13px;
}

.btn--ghost-light:hover {
    background: rgba(250, 250, 249, 0.1);
}

.btn--bottle {
    background: var(--bottle);
    color: var(--paper-warm);
    border-color: var(--bottle);
}

.btn--bottle:hover {
    background: var(--bottle-soft);
    transform: translateY(-1px);
}

.btn--outline-bottle {
    background: transparent;
    color: var(--bottle);
    border-color: var(--bottle);
}

.btn--outline-bottle:hover {
    background: var(--bottle);
    color: var(--paper-warm);
}

.btn--accent {
    background: var(--accent-blue);
    color: var(--paper-warm);
    border-color: var(--accent-blue);
    box-shadow: 0 8px 24px rgba(47, 111, 237, 0.35);
    font-weight: 600;
}

.btn--accent:hover {
    background: var(--accent-blue-soft);
    border-color: var(--accent-blue-soft);
    transform: translateY(-1px);
}

.btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* ---- page shell ---- */
.main {
    position: relative;
}

.page-transition {
    animation: pageIn .5s cubic-bezier(.2, .8, .2, 1) both;
}

@keyframes pageIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page {
    max-width: 920px;
    margin: 0 auto;
    padding: 150px 32px 90px 32px;
}

.page--dark {
    max-width: 100%;
    background: var(--navy);
    color: var(--paper-warm);
    padding-left: 0;
    padding-right: 0;
}

.page--dark .page-head,
.page--dark .prose-grid,
.page--dark .ticket-mock,
.page--dark .cta-row {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 32px;
    padding-right: 32px;
}

.page--dark h3 {
    color: var(--paper-warm);
}

.page--dark p {
    color: rgba(250, 250, 249, 0.7);
}

.page--dark .page-head__title {
    color: var(--paper-warm);
}

.page--calm {
    animation: none !important;
}

.page--calm .page-transition {
    animation: none !important;
}

.page--formal {
    max-width: 760px;
}

.eyebrow {
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 14px;
}

.eyebrow--light {
    color: rgba(250, 250, 249, 0.55);
}

.page-head {
    margin-bottom: 68px;
}

.page-head__title {
    font-size: clamp(30px, 5vw, 54px);
    max-width: 14ch;
}

.page-head__lead {
    font-size: 17px;
    max-width: 56ch;
    color: var(--muted);
}

.quote-block {
    background: var(--navy);
    color: var(--paper-warm);
    text-align: center;
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    padding: 76px 32px;
    margin-top: 64px;
    margin-bottom: 64px;
}

.quote-block__text {
    font-family: 'Poppins', Georgia, sans-serif;
    font-size: clamp(24px, 4vw, 38px);
    font-weight: 400;
    line-height: 1.45;
    max-width: 26ch;
    margin: 0 auto;
}

.prose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    margin-bottom: 52px;
}

.prose-grid h3 {
    font-size: 18px;
    margin-top: 0;
    font-weight: 700;
}

.prose-grid p {
    font-size: 15px;
}

@media (max-width:720px) {
    .prose-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

.value-list li {
    padding: 13px 0;
    border-top: 1px solid var(--line-soft);
    color: var(--navy-soft);
    font-size: 15px;
}

.value-list li:last-child {
    border-bottom: 1px solid var(--line-soft);
}

.tile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 52px;
}

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

.tile__num {
    display: block;
    font-family: 'Poppins', Georgia, sans-serif;
    font-size: 26px;
    color: var(--line);
    margin-bottom: 12px;
}

.tile__title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.tile__body {
    font-size: 14px;
    color: var(--navy-soft);
    margin: 0;
    line-height: 1.6;
}

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

.divider {
    height: 14px;
    margin: 56px 0;
    opacity: 0.3;
}

/* ---- mission scale ---- */
.mission__statement {
    font-size: 20px;
    font-family: 'Poppins', Georgia, sans-serif;
    font-weight: 400;
    max-width: 34ch;
    line-height: 1.6;
    margin-bottom: 60px;
}

.scale {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 20px;
}

.scale__chip {
    width: 88px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.scale__chip span {
    font-size: 13px;
    font-weight: 600;
}

.scale__chip--full {
    background: var(--navy);
    color: var(--paper-warm);
    border-radius: 6px;
}

.scale__line {
    flex: 1;
    height: 1px;
    background: repeating-linear-gradient(to right, var(--line-soft) 0 6px, transparent 6px 12px);
    margin: 0 4px;
}

.scale__caption {
    font-size: 13px;
    color: var(--muted);
}

/* ---- steps ---- */
.steps {
    display: flex;
    flex-direction: column;
}

.steps__item {
    display: flex;
    gap: 28px;
    padding: 32px 0;
    border-top: 1px solid var(--line-soft);
    align-items: flex-start;
}

.steps__item:last-child {
    border-bottom: 1px solid var(--line-soft);
}

.steps__num {
    font-family: 'Poppins', Georgia, sans-serif;
    font-size: 30px;
    font-weight: 400;
    color: var(--line);
    width: 64px;
    flex-shrink: 0;
}

.steps__item h4 {
    margin: 0 0 6px 0;
    font-size: 16px;
    font-weight: 700;
}

.steps__item p {
    margin: 0;
    font-size: 15px;
}

/* ---- interstation ticket mock ---- */
.ticket-mock {
    margin: 48px 0;
}

.ticket-mock__frame {
    padding: 2px;
}

.ticket-mock__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 44px;
    flex-wrap: wrap;
}

.ticket-mock__inner h2 {
    color: var(--paper-warm);
    font-size: 34px;
    margin: 6px 0;
}

.ticket-mock__inner p {
    color: rgba(250, 250, 249, 0.6);
    max-width: 32ch;
    margin: 0;
}

.ticket-mock__stub {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    color: rgba(250, 250, 249, 0.6);
}

.ticket-mock__stub strong {
    font-size: 26px;
    color: var(--paper-warm);
    font-family: 'Poppins', Georgia, sans-serif;
    font-weight: 700;
}

.cta-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 8px;
}

/* ---- fundraiser ---- */
.fund {
    margin-bottom: 44px;
}

.fund__numbers {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.fund__raised {
    font-family: 'Poppins', Georgia, sans-serif;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
}

.fund__raised span {
    font-size: 16px;
    color: var(--muted);
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    margin-left: 8px;
}

.fund__pct {
    font-size: 15px;
    color: var(--muted);
}

.progress {
    height: 3px;
    background: var(--line-soft);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 14px;
}

.progress__bar {
    height: 100%;
    background: var(--navy);
    transition: width 1.2s cubic-bezier(.2, .8, .2, 1);
}

.fund__meta {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: var(--muted);
}

.donate-panel {
    border: none;
    border-top: 1px solid var(--line);
    padding: 32px 0 0 0;
}

.donate-panel--done {
    background: none;
}

.donate-panel h3 {
    margin-bottom: 16px;
}

.amount-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.chip-btn {
    border: 1px solid var(--line);
    background: transparent;
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 14px;
    color: var(--navy);
}

.chip-btn.is-active {
    background: var(--navy);
    color: var(--paper-warm);
    border-color: var(--navy);
}

.amount-custom {
    border: 1px solid var(--line);
    background: transparent;
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 14px;
    width: 130px;
}

.donate-note {
    font-size: 13px;
    color: var(--muted);
    max-width: 48ch;
    margin-bottom: 20px;
}

.ticket-canvas-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-top: 18px;
}

.ticket-canvas {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 12px;
}

/* ---- help ---- */
.help-block {
    margin-bottom: 52px;
    padding-bottom: 52px;
    border-bottom: 1px solid var(--line-soft);
}

.help-block:last-child {
    border-bottom: none;
}

.help-block--urgent {
    background: var(--paper-warm);
    border: none;
    border-radius: 0;
    border-left: 2px solid var(--navy);
    padding: 24px 0 24px 28px;
}

.help-numbers li {
    padding: 13px 0;
    border-top: 1px solid var(--line-soft);
    font-size: 15px;
}

.help-numbers li strong {
    font-family: 'Poppins', Georgia, sans-serif;
    font-size: 17px;
    margin-right: 10px;
}

.help-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 520px;
}

.help-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    color: var(--muted);
}

.help-form input[type="text"],
.help-form input[type="email"],
.help-form select,
.help-form textarea,
.help-form input[type="file"] {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 15px;
    color: var(--navy);
    font-family: inherit;
    background: var(--paper);
}

.help-form__consent {
    flex-direction: row !important;
    align-items: center;
    gap: 10px !important;
}

.help-form__consent input {
    width: 16px;
    height: 16px;
}

.help-sent {
    font-size: 15px;
}

/* ---- bip ---- */
.bip-list li {
    display: flex;
    justify-content: space-between;
    padding: 18px 0;
    border-top: 1px solid var(--line-soft);
    font-size: 15px;
}

.bip-list li:last-child {
    border-bottom: 1px solid var(--line-soft);
}

.bip-list__status {
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.contact-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.contact-list li>div:first-child {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-list__details {
    display: flex;
    gap: 18px;
    font-size: 13px;
    color: var(--muted);
}

/* ---- contact widget (expandable: e-mail, telefon) ---- */
.contact-fab {
    position: fixed;
    bottom: 22px;
    right: 22px;
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.contact-fab.is-hidden {
    display: none;
}

.contact-fab__btn {
    background: var(--bottle);
    color: var(--paper-warm);
    border: none;
    border-radius: 999px;
    padding: 14px 22px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 6px 24px rgba(23, 58, 46, 0.35);
    cursor: pointer;
}

.contact-fab__panel {
    background: var(--navy);
    color: var(--paper-warm);
    border-radius: 14px;
    padding: 8px;
    min-width: 230px;
    box-shadow: 0 10px 34px rgba(11, 23, 40, 0.35);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(8px) scale(0.98);
    transform-origin: bottom right;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
}

.contact-fab.is-open .contact-fab__panel {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.contact-fab__row {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 14px;
    border-radius: 9px;
    color: inherit;
    text-decoration: none;
}

.contact-fab__row:hover {
    background: rgba(250, 250, 249, 0.08);
}

.contact-fab__label {
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(250, 250, 249, 0.5);
}

.contact-fab__value {
    font-size: 14px;
}

/* ---- footer ---- */
.footer {
    background: var(--navy);
    color: var(--paper-warm);
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    margin-top: 100px;
}

.footer__inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 64px 32px 40px 32px;
}

.footer__logo-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 48px;
}

.footer__logo-word {
    height: 24px;
    width: auto;
}

.footer__block {
    margin-bottom: 44px;
}

.footer__block h4 {
    font-family: 'Poppins', Georgia, sans-serif;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.01em;
    color: var(--paper-warm);
    margin: 0 0 14px 0;
}

.footer__block p {
    color: rgba(250, 250, 249, 0.7);
    max-width: 56ch;
    margin: 0 0 18px 0;
}

.footer__block:last-of-type p {
    margin-bottom: 22px;
}

.footer__lines {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__lines li {
    font-size: 14px;
    color: rgba(250, 250, 249, 0.85);
}

.footer__lines li span {
    color: rgba(250, 250, 249, 0.5);
    margin-right: 6px;
}

.footer__lines a {
    color: rgba(250, 250, 249, 0.85);
    text-decoration: none;
}

.footer__lines a:hover {
    color: var(--paper-warm);
    text-decoration: underline;
}

.footer__bottom {
    font-size: 12px;
    color: rgba(250, 250, 249, 0.45);
    border-top: 1px solid rgba(250, 250, 249, 0.15);
    padding-top: 20px;
}

.footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin-top: 14px;
}

.footer__legal a,
.footer__legal button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    color: rgba(250, 250, 249, 0.55);
    text-decoration: none;
}

.footer__legal a:hover,
.footer__legal button:hover {
    color: var(--paper-warm);
    text-decoration: underline;
}

@media (max-width:600px) {
    .page {
        padding: 120px 20px 60px 20px;
    }

    .topbar {
        padding: 20px;
    }

    .footer__inner {
        padding: 48px 20px 32px 20px;
    }
}