:root {
    color-scheme: dark;
    --ink: #10101b;
    --paper: #f0efff;
    --muted: #cbcbe0;
    --accent: #bfc9ff;
    --rule: #666d93;
}

body {
    display: grid;
    align-items: center;
    min-block-size: 100svh;
    box-sizing: border-box;
    margin: 0;
    padding: clamp(1.25rem, 6vw, 5rem);
    background: var(--ink);
    color: var(--paper);
    font: 400 1rem/1.55 "Instrument Sans", system-ui, sans-serif;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: linear-gradient(100deg, var(--ink) 12%, #10101b44 82%),
        url("/assets/silk-screen/indigo-silk-gallery.webp") center right / cover no-repeat;
    opacity: .64;
}

.notice {
    inline-size: min(100%, 36rem);
    box-sizing: border-box;
    justify-self: center;
    padding: clamp(1.25rem, 5vw, 3.25rem);
    border-block-start: 1px solid var(--rule);
    background: linear-gradient(135deg, #1c1e30f5, #121320f0);
}

.notice h1 {
    margin: 0;
    font: 800 clamp(3.2rem, 10vw, 5.25rem)/.94 "Barlow Condensed", system-ui, sans-serif;
    letter-spacing: .005em;
}

.notice p {
    margin: 1.25rem 0 1.65rem;
    color: var(--muted);
    overflow-wrap: anywhere;
}

.notice p strong {
    display: inline-block;
    max-inline-size: 100%;
    color: var(--paper);
}

.notice__action {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(.65rem, 3vw, 1rem);
    align-items: center;
    padding: .8rem 1rem;
    background: var(--accent);
    color: var(--ink);
    text-decoration: none;
}

.notice__action--with-icon {
    grid-template-columns: auto minmax(0, 1fr) auto;
}

.notice__action:hover {
    background: var(--paper);
}

.notice__action-detail {
    display: block;
    font-size: .875rem;
    overflow-wrap: anywhere;
}

.notice__arrow {
    font: 400 1.35rem/1 system-ui, sans-serif;
}

.notice__secondary {
    display: inline-flex;
    align-items: center;
    min-block-size: 2.75rem;
    margin-block-start: .5rem;
    color: var(--muted);
    font-size: .925rem;
    text-decoration-color: var(--rule);
    text-underline-offset: .23em;
}

.notice__secondary:hover {
    text-decoration-color: currentColor;
}

.notice a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

@media (max-width: 27rem) {
    .notice {
        padding-inline: 1rem;
    }
}

@media (forced-colors: active) {
    body::before {
        display: none;
    }

    .notice__action {
        border: 1px solid LinkText;
    }

    .notice__action > img {
        visibility: hidden;
    }
}
