/* PAC Technology poster deck
   Palette: paper #f2efe8, signal red #e30613, black #111, white. */

@font-face {
    font-family: "Inter Tight";
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url("assets/fonts/inter-tight-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: "Inter Tight";
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url("assets/fonts/inter-tight-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --paper: #f2efe8;
    --ink: #111;
    --accent: #e30613;
    --red: #e30613;
    --white: #fff;
    --overprint: multiply;

    --font: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --m: clamp(14px, 2.2vw, 36px);
    --g: clamp(8px, 1.1vw, 18px);
    --chrome: 52px;
    --cols: 12;
    --module: 80px;
    --small: clamp(0.8rem, 0.42rem + 0.55vw, 1rem);
    --ease: cubic-bezier(.2, .7, .1, 1);
}

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

html {
    scroll-snap-type: y proximity;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

html.snap {
    scroll-snap-type: y mandatory;
}

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

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font);
    font-size: var(--small);
    line-height: 1.35;
    font-feature-settings: "tnum" 0, "ss01" 1;
    -webkit-font-smoothing: antialiased;
}

body.night {
    --paper: #111;
    --ink: #f2efe8;
    --accent: #e30613;
    --overprint: screen;
}

/* Paper: one SVG tile rasterised once, on a fixed layer that never repaints on scroll */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 60;
    pointer-events: none;
    background: url("assets/paper.svg?v=3") 0 0 / 400px 400px;
    mix-blend-mode: multiply;
    opacity: .5;
}

body.night::after {
    filter: invert(1);
    mix-blend-mode: screen;
    opacity: .35;
}

@media print {
    body::after {
        display: none;
    }
}

a {
    color: inherit;
}

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

.skip {
    position: fixed;
    left: var(--m);
    top: -100px;
    z-index: 200;
    background: var(--ink);
    color: var(--paper);
    padding: .6em 1em;
}

.skip:focus {
    top: var(--m);
}

/* ---------- Chrome ---------- */

.chrome,
.deck {
    transition: opacity .25s ease;
}

.is-booting .chrome,
.is-booting .deck {
    opacity: 0;
    transition: none;
}

.chrome {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    height: var(--chrome);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: var(--g);
    padding: 0 calc(var(--m) + 14px) 0 var(--m);
    background: color-mix(in srgb, var(--paper) 90%, transparent);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .01em;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: -.01em;
}

.brand img {
    height: 26px;
    width: auto;
    filter: brightness(0);
}

body.night .brand img {
    filter: brightness(0) invert(.94);
}

.index {
    display: flex;
    justify-content: center;
    gap: clamp(6px, 1.4vw, 22px);
}

.index a {
    display: flex;
    gap: 6px;
    text-decoration: none;
    padding: 6px 2px;
    border-top: 2px solid transparent;
    transition: color .2s, border-color .2s;
}

.index a b {
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.index a span {
    font-weight: 500;
}

.index a[aria-current="true"] {
    color: var(--red);
    border-top-color: var(--red);
}

.tools {
    display: flex;
    gap: 6px;
}

.tool {
    font: inherit;
    color: inherit;
    background: transparent;
    border: 1.5px solid currentColor;
    padding: 5px 9px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-variant-numeric: tabular-nums;
    transition: background .15s, color .15s;
}

.tool:hover,
.tool[aria-pressed="true"] {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}

#newEdition:hover {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

.tool-icon {
    display: inline-block;
    transition: transform .5s var(--ease);
}

#newEdition:hover .tool-icon {
    transform: rotate(180deg);
}

.progress {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    z-index: 51;
    pointer-events: none;
}

.progress span {
    display: block;
    height: 100%;
    width: 100%;
    background: var(--red);
    transform-origin: left;
    transform: scaleX(0);
}

/* ---------- Sheets ---------- */

.sheet {
    --paper-local: var(--paper);
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    padding: calc(var(--chrome) + var(--m) * .5) calc(var(--m) + 14px) var(--m) var(--m);
    background: var(--paper);
    color: var(--ink);
    scroll-snap-align: start;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.sheet+.sheet {
    border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
}

.sheet.sheet--red {
    --paper: #e30613;
    --ink: #111;
    --accent: #fff;
    --overprint: normal;
}

.grid {
    position: relative;
    flex: 1;
    min-height: calc(100vh - var(--chrome) - var(--m) * 1.5);
    min-height: calc(100svh - var(--chrome) - var(--m) * 1.5);
    display: grid;
    grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
    grid-template-rows: repeat(6, 1fr) auto;
    gap: var(--g);
}

.grid-lines {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: inherit;
    grid-template-rows: inherit;
    gap: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity .3s;
    z-index: 5;
}

.grid-lines i {
    background: color-mix(in srgb, var(--red) 7%, transparent);
    outline: 1px solid color-mix(in srgb, var(--red) 45%, transparent);
    outline-offset: -.5px;
}

.sheet--red .grid-lines i {
    background: rgba(255, 255, 255, .08);
    outline-color: rgba(255, 255, 255, .5);
}

body.show-grid .grid-lines {
    opacity: 1;
}

/* Zones */

.z-motif {
    position: relative;
    min-height: 0;
    min-width: 0;
}

.z-motif svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    overflow: hidden;
}

.z-head {
    container-type: inline-size;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: calc(var(--g) * 1.3);
    position: relative;
    z-index: 2;
}

.is-stack .z-head {
    justify-content: flex-end;
}

.is-stack .z-head .kicker {
    margin-bottom: auto;
}

.z-body {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(var(--bcols, 1), minmax(0, 1fr));
    column-gap: var(--g);
    row-gap: calc(var(--g) * 1.6);
    align-content: end;
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
    z-index: 2;
}

.is-stack .z-body {
    align-content: start;
    padding-top: calc(var(--g) * .5);
}

.z-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 6px var(--g);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .01em;
    align-self: end;
    border-top: 2px solid var(--ink);
    padding-top: 8px;
    position: relative;
    z-index: 2;
}

/* ---------- Type ---------- */

.kicker {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.kicker .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent);
    flex: none;
    animation: blink 2.4s steps(1) infinite;
}

@keyframes blink {
    50% {
        opacity: .15;
    }
}

.display {
    margin: 0;
    font-weight: 800;
    font-size: clamp(2rem, 9.4cqi, 7.5rem);
    line-height: .92;
    letter-spacing: -.045em;
}

.display .line {
    display: block;
    overflow: hidden;
    padding-bottom: .08em;
    margin-bottom: -.08em;
}

.display .line>span {
    display: inline-block;
}

.display-alt {
    margin: 0;
    max-width: 34ch;
    font-size: clamp(1rem, .6rem + .8vw, 1.45rem);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -.015em;
}

[data-slide="cover"] .display-alt {
    color: var(--accent);
    font-weight: 700;
}

.lead {
    margin: 0;
    max-width: 44ch;
    font-size: clamp(1rem, .7rem + .5vw, 1.25rem);
    font-weight: 500;
    line-height: 1.28;
    letter-spacing: -.01em;
}

.lead strong {
    font-weight: 800;
    color: var(--accent);
}

.item {
    border-top: 2px solid var(--ink);
    padding-top: 10px;
    min-width: 0;
}

.item h3 {
    margin: 0 0 .45em;
    font-size: 1.12em;
    font-weight: 750;
    line-height: 1.12;
    letter-spacing: -.01em;
}

.item p {
    margin: 0;
    max-width: 46ch;
    hyphens: manual;
}

.item .num {
    font-weight: 800;
    color: var(--accent);
    margin-bottom: .5em;
    font-variant-numeric: tabular-nums;
}

.item ul {
    list-style: none;
    margin: .8em 0 0;
    padding: 0;
    font-weight: 600;
}

.item li {
    padding: .28em 0;
    border-top: 1px solid color-mix(in srgb, var(--ink) 25%, transparent);
}

.stack-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .05em .35em;
    font-size: clamp(1.1rem, .55rem + 1.25vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.02;
}

.stack-list li::after {
    content: "/";
    color: var(--accent);
    margin-left: .35em;
    font-weight: 400;
}

.stack-list li:last-child::after {
    content: none;
}

.stack-tools {
    margin: 0;
    font-weight: 600;
}

.stack-tools div {
    display: grid;
    grid-template-columns: 5.5em 1fr;
    gap: var(--g);
    padding: 6px 0;
    border-top: 1px solid color-mix(in srgb, var(--ink) 25%, transparent);
}

.stack-tools div:first-child {
    border-top: 2px solid var(--ink);
}

.stack-tools dt {
    color: var(--accent);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-size: .8em;
    padding-top: .15em;
}

.stack-tools dd {
    margin: 0;
}

.date {
    color: var(--accent);
    font-weight: 800;
}

.date.is-panel {
    background: var(--accent);
    color: var(--paper);
    padding: 4px 8px 3px;
}

.sheet--red .date.is-panel {
    background: var(--ink);
    color: var(--red);
}

.edition {
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    font-size: 14px;
    letter-spacing: -.01em;
}

.imprint {
    position: absolute;
    right: calc(var(--m) * .35);
    bottom: var(--m);
    margin: 0;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
    max-height: calc(100% - var(--chrome) - var(--m) * 2);
    overflow: hidden;
    opacity: .8;
}

/* Small type hangs its cap height from the grid line */
@supports (text-box: trim-both cap alphabetic) {

    .kicker,
    .item h3,
    .item p,
    .lead,
    .display-alt,
    .z-meta>* {
        text-box: trim-both cap alphabetic;
    }
}

/* ---------- Buttons & form ---------- */

.cta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-self: end;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5em;
    font: inherit;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 18px;
    border: 2px solid var(--ink);
    background: transparent;
    color: var(--ink);
    text-decoration: none;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
}

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

.btn-primary::after {
    content: "\2192";
    transition: transform .2s var(--ease);
}

.btn-primary:hover {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

.sheet--red .btn-primary:hover {
    background: #fff;
    border-color: #fff;
    color: var(--ink);
}

.btn-primary:hover::after {
    transform: translateX(4px);
}

.btn-secondary:hover,
.btn-outline:hover {
    background: var(--ink);
    color: var(--paper);
}

.btn:disabled {
    opacity: .55;
    cursor: progress;
}

.details {
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--g);
}

.details div {
    border-top: 2px solid var(--ink);
    padding-top: 8px;
}

.details dt {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--accent);
}

.details dd {
    margin: 4px 0 0;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px var(--g);
}

.field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

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

.field label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.field input,
.field textarea {
    font: inherit;
    font-weight: 500;
    color: var(--ink);
    background: transparent;
    border: 0;
    border-bottom: 2px solid var(--ink);
    border-radius: 0;
    padding: 6px 0;
    resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
    color: color-mix(in srgb, var(--ink) 45%, transparent);
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-bottom-color: var(--red);
    background: color-mix(in srgb, var(--red) 6%, transparent);
}

.success-message {
    display: none;
    border-top: 2px solid var(--ink);
    padding-top: 12px;
}

.success-message.visible {
    display: block;
}

.success-title {
    font-size: 1.6em;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--accent);
    margin: 0 0 .3em;
}

.success-message .btn {
    margin-top: 1em;
}

.legal {
    margin: 0;
    font-size: 11px;
    font-weight: 500;
}

.linklike {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    padding: 0;
    text-decoration: underline;
    cursor: pointer;
}

/* ---------- Motion ---------- */

.js .sheet .display .line>span {
    transform: translateY(105%);
    transition: transform .9s var(--ease);
}

.js .sheet .display .line:nth-child(2)>span {
    transition-delay: .08s;
}

.js .sheet .display .line:nth-child(3)>span {
    transition-delay: .16s;
}

.js .sheet .display .line:nth-child(4)>span {
    transition-delay: .24s;
}

.js .sheet .kicker,
.js .sheet .display-alt,
.js .sheet .z-body>*,
.js .sheet .z-meta {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .6s ease, transform .8s var(--ease);
}

.js .sheet .display-alt {
    transition-delay: .2s;
}

.js .sheet .z-body> :nth-child(1) {
    transition-delay: .28s;
}

.js .sheet .z-body> :nth-child(2) {
    transition-delay: .36s;
}

.js .sheet .z-body> :nth-child(3) {
    transition-delay: .44s;
}

.js .sheet .z-body> :nth-child(4) {
    transition-delay: .52s;
}

.js .sheet .z-body> :nth-child(5) {
    transition-delay: .6s;
}

.js .sheet .z-meta {
    transition-delay: .5s;
}

.js .sheet.is-in .display .line>span,
.js .sheet.is-in .kicker,
.js .sheet.is-in .display-alt,
.js .sheet.is-in .z-body>*,
.js .sheet.is-in .z-meta {
    opacity: 1;
    transform: none;
}

/* SVG motif paint + motion */
.z-motif .k {
    fill: var(--ink);
}

.z-motif .r {
    fill: var(--accent);
}

.z-motif .p {
    fill: var(--paper);
}

.z-motif .w {
    fill: #fff;
}

.z-motif .pk {
    fill: var(--paper);
    stroke: var(--ink);
}

.z-motif .ks {
    fill: none;
    stroke: var(--ink);
}

.z-motif .rs {
    fill: none;
    stroke: var(--accent);
}

.z-motif .over {
    mix-blend-mode: var(--overprint);
}

.z-motif text {
    font-family: var(--font);
}

.z-motif .a {
    transition: transform 1.1s var(--ease), opacity .8s ease, stroke-dashoffset 1.4s var(--ease);
    transition-delay: var(--d, 0s);
    transform-box: fill-box;
}

.sheet:not(.is-in) .z-motif .a-draw {
    stroke-dashoffset: 1;
}

.z-motif .a-draw {
    stroke-dasharray: 1 1;
    stroke-dashoffset: 0;
}

.z-motif .a-grow {
    transform-origin: 50% 100%;
}

.sheet:not(.is-in) .z-motif .a-grow {
    transform: scaleY(0);
}

.z-motif .a-pop {
    transform-origin: 50% 50%;
}

.sheet:not(.is-in) .z-motif .a-pop {
    transform: scale(0);
}

.sheet:not(.is-in) .z-motif .a-rise {
    transform: translateY(105%);
}

.sheet:not(.is-in) .z-motif .a-slide {
    transform: translateX(-120%);
}

.sheet:not(.is-in) .z-motif .a-fade {
    opacity: 0;
}

.deck.is-recomposing .z-motif {
    opacity: 0;
    transition: opacity .18s;
}

.z-motif {
    transition: opacity .3s;
}

@media (prefers-reduced-motion: reduce) {

    .js .sheet *,
    .z-motif .a {
        transition: none !important;
        animation: none !important;
    }
}

/* ---------- Flow mode: portrait phones & tablets ---------- */

.is-flow .sheet {
    min-height: auto;
    scroll-snap-align: none;
}

.is-flow .grid {
    flex: none;
    min-height: 0;
}

.is-flow .z-body {
    align-content: start;
}

@media (max-width: 1180px) {
    .index a span {
        display: none;
    }
}

@media (max-width: 860px) {
    .brand span {
        display: none;
    }
}

@media (max-width: 520px) {
    :root {
        --chrome: 48px;
    }

    .index {
        gap: 0;
    }

    .index a {
        padding: 6px 2px;
        font-size: 11px;
    }

    .tool {
        padding: 4px 6px;
    }

    .tool-no {
        display: none;
    }

    .contact-form,
    .details {
        grid-template-columns: 1fr;
    }

    .imprint {
        font-size: 8px;
    }
}

/* ---------- Cookie consent (fixed palette, independent of sheet) ---------- */

.cookie-consent-banner {
    position: fixed;
    left: var(--m);
    bottom: calc(var(--m) + 4px);
    z-index: 100;
    width: min(34rem, calc(100vw - 2 * var(--m)));
    background: #111;
    color: #f2efe8;
    padding: 18px 20px 20px;
    border-top: 8px solid #e30613;
    transform: translateY(calc(100% + 60px));
    transition: transform .5s var(--ease);
    font-size: 14px;
}

.cookie-consent-banner.visible {
    transform: none;
}

.cookie-text h3 {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.cookie-text p {
    margin: 0 0 14px;
    opacity: .85;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cookie-consent-banner .btn,
.cookie-modal .btn {
    font-size: 13px;
    padding: 9px 14px;
}

.cookie-consent-banner .btn {
    border-color: #f2efe8;
    color: #f2efe8;
    background: transparent;
}

.cookie-consent-banner .btn-primary,
.cookie-modal .btn-primary {
    background: #e30613;
    border-color: #e30613;
    color: #fff;
}

.cookie-consent-banner .btn:hover {
    background: #f2efe8;
    color: #111;
    border-color: #f2efe8;
}

.cookie-consent-banner .btn-primary:hover,
.cookie-modal .btn-primary:hover {
    background: #fff;
    color: #111;
    border-color: #fff;
}

.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 110;
    background: rgba(17, 17, 17, .6);
    display: grid;
    place-items: center;
    padding: var(--m);
    opacity: 0;
    transition: opacity .3s;
}

.cookie-modal.visible {
    opacity: 1;
}

.cookie-modal-content {
    width: min(40rem, 100%);
    max-height: calc(100vh - 2 * var(--m));
    overflow: auto;
    background: #f2efe8;
    color: #111;
    border-top: 10px solid #e30613;
    transform: translateY(20px);
    transition: transform .4s var(--ease);
}

.cookie-modal.visible .cookie-modal-content {
    transform: none;
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px 0;
}

.cookie-modal-header h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -.03em;
}

.cookie-close {
    font: inherit;
    font-size: 30px;
    line-height: 1;
    background: none;
    border: 0;
    cursor: pointer;
    color: #111;
}

.cookie-close:hover {
    color: #e30613;
}

.cookie-modal-body {
    padding: 8px 22px 6px;
}

.cookie-category {
    border-top: 2px solid #111;
    padding: 12px 0;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.cookie-category h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
}

.cookie-category p {
    margin: 6px 0;
}

.cookie-category ul {
    margin: 0;
    padding-left: 1.1em;
    font-size: .92em;
}

.cookie-required {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #e30613;
}

.cookie-switch {
    position: relative;
    width: 44px;
    height: 24px;
    flex: none;
}

.cookie-switch input {
    position: absolute;
    opacity: 0;
    inset: 0;
    margin: 0;
    cursor: pointer;
    z-index: 1;
}

.cookie-slider {
    position: absolute;
    inset: 0;
    border: 2px solid #111;
    background: transparent;
    transition: background .2s;
}

.cookie-slider::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background: #111;
    transition: transform .2s var(--ease), background .2s;
}

.cookie-switch input:checked+.cookie-slider {
    background: #e30613;
    border-color: #e30613;
}

.cookie-switch input:checked+.cookie-slider::before {
    transform: translateX(20px);
    background: #fff;
}

.cookie-switch input:focus-visible+.cookie-slider {
    outline: 3px solid #e30613;
    outline-offset: 2px;
}

.cookie-modal-footer {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 12px 22px 22px;
    border-top: 2px solid #111;
    margin: 0 22px;
    padding-left: 0;
    padding-right: 0;
}

.cookie-modal .btn-secondary {
    border-color: #111;
    color: #111;
}

.cookie-modal .btn-secondary:hover {
    background: #111;
    color: #f2efe8;
}