@font-face {
    font-family: 'PixelatedElegance';
    src: url('assets/fonts/PixelatedEleganceRegular.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Cairopixel';
    src: url('assets/fonts/Cairopixel-Regular.ttf') format('truetype');
    font-display: swap;
}

:root {
    --page-bg: #f0ebe4;
    --paper: rgba(255, 253, 249, 0.97);
    --paper-edge: rgba(28, 34, 44, 0.1);
    --ink: #161b22;
    --muted: #58606d;
    --accent: #18263c;
    --accent-soft: #edf2f8;
    --brand-gold: #c9a564;
    --check: #18794e;
    --cross: #cb3d32;
    --rule: rgba(24, 38, 60, 0.12);
    --shadow: 0 24px 60px rgba(19, 27, 40, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top right, rgba(201, 165, 100, 0.18), transparent 28%),
        linear-gradient(180deg, rgba(24, 38, 60, 0.08), rgba(24, 38, 60, 0)),
        linear-gradient(180deg, #f6f2ec 0%, var(--page-bg) 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(71, 63, 52, 0.035) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(71, 63, 52, 0.035) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.2), transparent 78%);
    pointer-events: none;
}

.page-shell {
    position: relative;
    z-index: 1;
}

.site-header,
.content-wrap,
.site-footer {
    width: min(980px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    padding: 26px 0 14px;
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: inherit;
    text-decoration: none;
}

.site-brand-button {
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
}

.site-brand-button:hover .site-brand-icon,
.site-brand-button:focus-visible .site-brand-icon {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(16, 24, 40, 0.18);
}

.site-brand-icon {
    width: 58px;
    height: 58px;
    border-radius: 10px;
    border: 1px solid rgba(22, 27, 34, 0.1);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 28px rgba(16, 24, 40, 0.14);
    flex: 0 0 auto;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.site-brand-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.site-brand-copy strong {
    font-family: 'PixelatedElegance', 'Segoe UI', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
}

.site-brand-copy span {
    font-family: 'Cairopixel', 'Segoe UI', sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.notice-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(24, 38, 60, 0.1);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 8px 20px rgba(19, 27, 40, 0.06);
    font-family: 'Cairopixel', 'Segoe UI', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    text-decoration: none;
    font-size: 0.94rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(78, 69, 58, 0.2);
    padding-bottom: 2px;
}

.back-link:hover,
.back-link:focus-visible,
a:hover,
a:focus-visible {
    color: #111;
}

.store-modal {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms ease, visibility 180ms ease;
    z-index: 20;
}

.store-modal:target {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.store-modal a {
    text-decoration: none;
}

.store-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 12, 18, 0.58);
    backdrop-filter: blur(10px);
}

.store-modal-panel {
    position: relative;
    z-index: 1;
    width: min(720px, 100%);
    padding: clamp(24px, 4vw, 34px);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 240, 234, 0.96));
    border: 1px solid rgba(24, 38, 60, 0.12);
    box-shadow: 0 32px 90px rgba(10, 14, 20, 0.26);
}

.store-close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(24, 38, 60, 0.12);
    background: rgba(255, 255, 255, 0.72);
    font-family: 'Cairopixel', 'Segoe UI', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
}

.store-modal-copy {
    max-width: 56ch;
    margin-bottom: 0;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.store-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(24, 38, 60, 0.12);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 34px rgba(19, 27, 40, 0.08);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.store-option:hover,
.store-option:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(24, 38, 60, 0.26);
    box-shadow: 0 22px 42px rgba(19, 27, 40, 0.14);
}

.store-option-icon {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 20px;
    flex: 0 0 auto;
}

.store-option-apple .store-option-icon {
    background: linear-gradient(180deg, rgba(51, 167, 255, 0.16), rgba(20, 87, 229, 0.18));
}

.store-option-google .store-option-icon {
    background: linear-gradient(180deg, rgba(52, 168, 83, 0.14), rgba(0, 194, 255, 0.12));
}

.store-option svg {
    width: 44px;
    height: 44px;
    display: block;
}

.store-option-copy-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.store-option-title {
    color: var(--accent);
    font-size: 1.14rem;
    font-weight: 700;
    line-height: 1.2;
}

.store-option-copy-text {
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.55;
}

.content-wrap {
    padding-bottom: 40px;
}

.notice-paper {
    position: relative;
    overflow: hidden;
    padding: clamp(26px, 4vw, 54px);
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0)),
        var(--paper);
    border: 1px solid var(--paper-edge);
    box-shadow: var(--shadow);
}

.notice-paper::before {
    content: "";
    position: absolute;
    left: 28px;
    right: 28px;
    top: 22px;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), rgba(24, 38, 60, 0.18));
}

.notice-paper::after {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    right: -120px;
    top: -110px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 165, 100, 0.18), rgba(201, 165, 100, 0));
    pointer-events: none;
}

.notice-masthead {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(240px, 0.9fr);
    gap: 30px;
    padding-top: 18px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--rule);
}

.notice-identity {
    min-width: 0;
}

.brand-lockup {
    display: flex;
    align-items: flex-start;
}

.brand-copy {
    min-width: 0;
}

.eyebrow,
.subtitle,
.notice-meta dt,
.notice-badge,
.section-number,
.trust-strip span {
    font-family: 'Cairopixel', 'Segoe UI', sans-serif;
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--accent);
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    font-size: clamp(2.7rem, 5vw, 4.6rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
    font-weight: 800;
    color: var(--accent);
}

.subtitle {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 0.92rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-copy {
    margin: 22px 0 0;
    max-width: 640px;
    font-size: 1.08rem;
    line-height: 1.75;
    color: var(--muted);
}

.lead-note {
    margin: 20px 0 0;
    max-width: 700px;
    padding-left: 18px;
    border-left: 3px solid rgba(201, 165, 100, 0.75);
    color: var(--ink);
}

.lead-note strong {
    color: var(--accent);
}

.trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.trust-strip span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(237, 242, 248, 0.78);
    border: 1px solid rgba(24, 38, 60, 0.08);
    color: var(--accent);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.notice-meta {
    margin: 0;
    padding: 18px 22px;
    display: grid;
    gap: 14px;
    align-self: start;
    border: 1px solid rgba(24, 38, 60, 0.08);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(237, 242, 248, 0.72), rgba(255, 255, 255, 0.72));
}

.notice-meta div {
    padding: 12px 0;
    border-top: 1px solid var(--rule);
}

.notice-meta div:first-child {
    border-top: none;
}

.notice-meta dt {
    margin-bottom: 6px;
    font-size: 0.76rem;
    color: var(--muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.notice-meta dd {
    margin: 0;
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.6;
}

.summary-block {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin-top: 26px;
    border: 1px solid var(--rule);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.62);
}

.summary-column {
    padding: 24px 28px;
}

.summary-column+.summary-column {
    border-left: 1px solid var(--rule);
}

.summary-copy {
    margin-bottom: 16px;
}

.heading-mark {
    margin-right: 8px;
}

h2 {
    margin: 0 0 16px;
    font-size: 1.42rem;
    line-height: 1.18;
    letter-spacing: -0.02em;
    font-weight: 700;
    color: var(--accent);
}

p {
    margin: 0 0 14px;
    font-size: 1rem;
    line-height: 1.72;
    color: var(--muted);
}

a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.status-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.status-list li {
    position: relative;
    padding-left: 34px;
    color: var(--ink);
    line-height: 1.6;
}

.status-list li::before {
    position: absolute;
    left: 0;
    top: 0.05em;
    font-family: 'Segoe UI Emoji', 'Apple Color Emoji', sans-serif;
    font-size: 1.03rem;
}

.status-yes li::before {
    content: "✔️";
    color: var(--check);
}

.status-yes-strong li::before {
    content: "✅";
    color: var(--check);
}

.status-no li::before {
    content: "❌";
    color: var(--cross);
}

.compact-list {
    margin-bottom: 16px;
}

.section-block {
    padding: 26px 0;
    border-bottom: 1px solid var(--rule);
}

.section-block:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.section-heading {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 14px;
}

.section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(237, 242, 248, 0.9);
    color: var(--accent);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-heading h2 {
    margin: 0;
}

.contact-block {
    padding-bottom: 6px;
}

.site-footer {
    padding: 0 0 32px;
}

.site-footer p {
    margin: 0;
    text-align: center;
    font-size: 0.92rem;
    color: var(--muted);
}

@media (max-width: 900px) {

    .site-header-inner,
    .notice-masthead,
    .summary-block {
        grid-template-columns: 1fr;
    }

    .site-header-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .header-actions {
        width: 100%;
        justify-content: space-between;
    }

    .summary-column+.summary-column {
        border-left: none;
        border-top: 1px solid var(--rule);
    }

    .store-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {

    .site-header,
    .content-wrap,
    .site-footer {
        width: min(100% - 20px, 1120px);
    }

    .site-header {
        padding-top: 18px;
    }

    .notice-paper {
        padding: 22px;
        border-radius: 22px;
    }

    .notice-paper::before {
        left: 22px;
        right: 22px;
    }

    .site-brand-icon {
        width: 52px;
        height: 52px;
        border-radius: 16px;
    }

    .header-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .store-modal {
        padding: 16px;
    }

    .store-modal-panel {
        border-radius: 22px;
        padding-top: 56px;
    }

    .store-close {
        top: 14px;
        right: 14px;
    }

    .store-option {
        align-items: flex-start;
    }

    .section-heading {
        flex-direction: column;
        gap: 6px;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.28rem;
    }

    .summary-column {
        padding: 20px;
    }
}

/* Premium alignment pass: official notices as dark QILA papers with polygon structure. */
:root {
    --page-bg: #050608;
    --paper: rgba(247, 248, 244, 0.064);
    --paper-edge: rgba(247, 248, 244, 0.13);
    --ink: #f7f8f4;
    --muted: rgba(247, 248, 244, 0.66);
    --accent: #ffffff;
    --accent-soft: rgba(247, 248, 244, 0.08);
    --brand-gold: #d7dccf;
    --check: #d9f4e6;
    --cross: #f2c7c7;
    --rule: rgba(247, 248, 244, 0.13);
    --shadow: 0 28px 82px rgba(0, 0, 0, 0.44);
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background:
        linear-gradient(125deg, rgba(255, 255, 255, 0.075), transparent 33%),
        linear-gradient(180deg, #0b0d10 0%, #050608 52%, #0a0b0d 100%);
}

body::before {
    background-image:
        linear-gradient(to right, rgba(247, 248, 244, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(247, 248, 244, 0.035) 1px, transparent 1px);
    background-size: 40px 40px;
}

body::after {
    content: "";
    position: fixed;
    right: -13vw;
    top: 112px;
    width: min(52vw, 700px);
    aspect-ratio: 1;
    border: 1px solid rgba(247, 248, 244, 0.14);
    background:
        linear-gradient(135deg, rgba(247, 248, 244, 0.13), transparent 52%),
        repeating-linear-gradient(48deg, rgba(247, 248, 244, 0.11) 0 1px, transparent 1px 32px);
    clip-path: polygon(50% 0%, 86% 15%, 100% 50%, 82% 88%, 46% 100%, 8% 78%, 0% 38%, 18% 10%);
    opacity: 0.38;
    pointer-events: none;
    animation: noticePolygonDrift 20s ease-in-out infinite;
}

.site-header,
.content-wrap,
.site-footer {
    width: min(1120px, calc(100% - 40px));
}

.site-header-inner {
    min-height: 76px;
    padding: 10px 12px;
    border: 1px solid var(--rule);
    border-radius: 8px;
    background: rgba(5, 6, 8, 0.72);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(18px);
}

.site-brand-icon {
    border-radius: 8px;
    filter: grayscale(1) contrast(1.05) brightness(1.12);
}

.site-brand-copy strong,
.site-brand-copy span,
.notice-badge,
.back-link,
.eyebrow,
.subtitle,
.notice-meta dt,
.section-number,
.trust-strip span {
    font-family: 'Inter', system-ui, sans-serif;
}

.notice-badge,
.store-close,
.store-option,
.notice-paper,
.notice-meta,
.summary-block,
.trust-strip span,
.section-number {
    border-radius: 8px;
}

.notice-badge,
.store-close,
.back-link {
    border-color: var(--rule);
    background: rgba(247, 248, 244, 0.055);
    color: var(--ink);
}

.back-link {
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid var(--rule);
    border-radius: 8px;
    text-decoration: none;
}

.header-actions {
    gap: 10px;
}

.notice-paper {
    background:
        linear-gradient(180deg, rgba(247, 248, 244, 0.08), rgba(247, 248, 244, 0.025)),
        rgba(7, 9, 12, 0.82);
    box-shadow: var(--shadow);
}

.notice-paper::before {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(247, 248, 244, 0.62), transparent);
}

.notice-paper::after {
    right: 18px;
    top: 18px;
    width: 110px;
    height: auto;
    aspect-ratio: 1;
    border-radius: 0;
    border: 1px solid rgba(247, 248, 244, 0.14);
    background: transparent;
    clip-path: polygon(50% 0%, 100% 30%, 84% 100%, 20% 84%, 0% 22%);
    opacity: 0.52;
}

h1,
h2 {
    font-family: 'Newsreader', Georgia, serif;
    letter-spacing: 0;
}

h1 {
    font-weight: 600;
}

.hero-copy,
.lead-note,
p,
.summary-copy,
.notice-meta dd {
    color: var(--muted);
}

.lead-note,
.summary-block,
.notice-meta,
.store-option,
.summary-column,
.section-number,
.trust-strip span {
    background: rgba(247, 248, 244, 0.055);
    border-color: var(--rule);
}

.lead-note strong,
.status-list li,
.notice-meta dd,
.store-option-title {
    color: var(--ink);
}

.store-modal-panel {
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(247, 248, 244, 0.1), rgba(247, 248, 244, 0.04)),
        #080b0f;
    border-color: var(--rule);
}

.store-option-copy-text {
    color: var(--muted);
}

@keyframes noticePolygonDrift {

    0%,
    100% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }

    50% {
        transform: translate3d(-18px, 18px, 0) rotate(6deg);
    }
}

@media (max-width: 640px) {

    .site-header,
    .content-wrap,
    .site-footer {
        width: min(100% - 20px, 1120px);
    }

    body::after {
        opacity: 0.22;
    }
}