:root {
    --black: #090909;
    --ink: #111;
    --paper: #f1ede4;
    --paper-2: #dcd4c7;
    --red: #e1172a;
    --yellow: #ffd51f;
    --white: #fffdf6;
    --muted: #b9b3a9;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--black);
    color: var(--white);
    font-family: Georgia, 'Times New Roman', serif;
    overflow-x: hidden;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 99;
    opacity: .11;
    background-image:
        radial-gradient(circle at 20% 20%, #fff 0 1px, transparent 1.2px),
        radial-gradient(circle at 80% 45%, #fff 0 1px, transparent 1.2px),
        radial-gradient(circle at 30% 80%, #000 0 1px, transparent 1.3px);
    background-size: 11px 13px, 17px 19px, 23px 21px;
    mix-blend-mode: overlay;
}

a { color: inherit; }

.site-header {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 14px clamp(18px, 4vw, 64px);
    background: #0b0b0b;
    border-bottom: 1px solid #2c2c2c;
    position: relative;
    z-index: 20;
}

.brand {
    position: relative;
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    column-gap: 10px;
    text-decoration: none;
    line-height: 1;
}
.brand-crown {
    grid-row: 1 / 3;
    align-self: center;
    font-family: Impact, sans-serif;
    font-size: 42px;
    color: var(--yellow);
    transform: rotate(-10deg);
}
.brand-name {
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    letter-spacing: .5px;
    font-size: clamp(24px, 3vw, 38px);
    white-space: nowrap;
}
.brand-name strong { color: var(--red); }
.brand-tagline {
    margin-top: 4px;
    font-size: 12px;
    opacity: .9;
}

.top-nav {
    display: flex;
    gap: 24px;
    font-size: 14px;
}
.top-nav a {
    text-decoration: none;
    border-bottom: 2px solid transparent;
    padding: 8px 0;
}
.top-nav a:hover,
.top-nav a:focus-visible { border-bottom-color: var(--yellow); }

.hero {
    position: relative;
    min-height: 780px;
    display: grid;
    place-items: center;
    padding: 64px 20px 86px;
    background:
        linear-gradient(180deg, rgba(0,0,0,.38), rgba(0,0,0,.72)),
        url('landing-bg.png') center 37% / cover no-repeat;
    isolation: isolate;
}
.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, #0b0b0b);
    z-index: -1;
}
.hero-grain,
.hero-vignette {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}
.hero-grain {
    opacity: .24;
    background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 3px);
    mix-blend-mode: soft-light;
}
.hero-vignette {
    background: radial-gradient(circle at 50% 35%, transparent 0 28%, rgba(0,0,0,.78) 78%);
}

.hero-content {
    width: min(980px, 100%);
    text-align: center;
    position: relative;
}
.eyebrow {
    display: inline-block;
    background: var(--black);
    border: 1px solid rgba(255,255,255,.3);
    padding: 9px 14px;
    margin: 0 0 18px;
    font: 700 13px/1.2 Arial, sans-serif;
    letter-spacing: 1.7px;
    transform: rotate(-1deg);
    box-shadow: 8px 8px 0 rgba(0,0,0,.3);
}
.status-sticker {
    position: absolute;
    right: -35px;
    top: -46px;
    padding: 16px 22px 13px;
    background: var(--red);
    color: #fff;
    font: 800 20px/1.05 'Courier New', monospace;
    transform: rotate(7deg);
    clip-path: polygon(4% 9%, 98% 0, 94% 90%, 3% 100%, 8% 72%, 0 51%, 8% 32%);
    text-shadow: 2px 2px 0 rgba(0,0,0,.2);
}

.paper-card {
    position: relative;
    background: var(--paper);
    color: var(--ink);
    padding: clamp(30px, 5vw, 62px) clamp(22px, 5vw, 70px) 34px;
    box-shadow: 0 18px 50px rgba(0,0,0,.45);
    transform: rotate(-.35deg);
    clip-path: polygon(1% 2%, 7% 0, 13% 2%, 20% 0, 29% 2%, 39% 0, 48% 2%, 58% 0, 68% 2%, 78% 0, 89% 2%, 99% 0, 98% 14%, 100% 29%, 98% 44%, 100% 57%, 98% 70%, 100% 85%, 98% 99%, 86% 97%, 73% 99%, 61% 97%, 49% 100%, 36% 98%, 23% 100%, 12% 97%, 1% 99%, 2% 83%, 0 69%, 2% 54%, 0 40%, 2% 25%);
}
.paper-card::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .15;
    background:
        repeating-linear-gradient(7deg, transparent 0 9px, rgba(0,0,0,.15) 9px 10px),
        radial-gradient(circle at 20% 20%, #000 0 .7px, transparent .8px);
    background-size: auto, 9px 9px;
    pointer-events: none;
}
.hero-paper h1 {
    position: relative;
    margin: 0;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: clamp(46px, 8vw, 94px);
    line-height: .92;
    letter-spacing: .5px;
    text-transform: uppercase;
    text-shadow: 2px 2px 0 #d6d1c8;
}
.hero-paper h1::after {
    content: "";
    display: block;
    width: 55%;
    height: 9px;
    margin: 18px auto 22px;
    background: var(--red);
    transform: rotate(-1deg) skewX(-11deg);
}
.lead {
    max-width: 720px;
    margin: 0 auto;
    font: 700 clamp(18px, 2.2vw, 25px)/1.35 'Courier New', monospace;
}
.handwritten {
    margin: 18px 0 0;
    color: var(--red);
    font: 700 clamp(22px, 3.1vw, 34px)/1.1 'Comic Sans MS', 'Segoe Print', cursive;
    transform: rotate(-2deg);
}
.scribble {
    position: absolute;
    z-index: 2;
    color: var(--red);
    font: 800 34px/1 'Comic Sans MS', cursive;
    transform: rotate(-8deg);
}
.scribble-top { left: 9%; top: 19px; }

.countdown-wrap {
    margin: 28px auto 0;
    padding: 22px 18px 20px;
    max-width: 850px;
    background: rgba(9,9,9,.92);
    border: 1px solid #3a3a3a;
    box-shadow: 10px 12px 0 rgba(225,23,42,.25);
    transform: rotate(.35deg);
}
.countdown-kicker {
    margin: 0 0 3px;
    color: var(--yellow);
    font: 900 17px/1.1 Arial, sans-serif;
    letter-spacing: 2.4px;
}
.launch-date {
    margin: 0;
    font: 900 clamp(25px, 4vw, 42px)/1 Impact, sans-serif;
    letter-spacing: 1px;
}
.launch-date span { color: var(--red); }
.launch-zone {
    margin: 7px 0 18px;
    color: #cac4ba;
    font: 12px/1.2 'Courier New', monospace;
}
.countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.countdown-box {
    min-width: 0;
    padding: 16px 8px 13px;
    background: var(--paper);
    color: var(--ink);
    border: 2px solid #000;
    box-shadow: 4px 4px 0 var(--red);
}
.countdown-box strong {
    display: block;
    font: 900 clamp(35px, 7vw, 70px)/.95 Impact, sans-serif;
}
.countdown-box span {
    display: block;
    margin-top: 8px;
    font: 800 12px/1 Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.launch-message {
    margin: 20px 0 0;
    color: #eee6dc;
    font: 700 15px/1.3 'Courier New', monospace;
}
.launch-message.is-live {
    color: var(--yellow);
    font-size: 19px;
}
.noscript { color: #fff; }

.features {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--paper);
    color: var(--ink);
    padding: 58px clamp(18px, 5vw, 76px) 66px;
}
.features article {
    text-align: center;
    padding: 12px clamp(18px, 4vw, 48px) 20px;
    border-right: 1px solid #aaa399;
}
.features article:last-child { border-right: 0; }
.feature-icon {
    display: inline-grid;
    place-items: center;
    min-width: 76px;
    min-height: 66px;
    padding: 8px 16px;
    background: var(--yellow);
    font: 900 42px/1 Arial, sans-serif;
    transform: rotate(-5deg);
    clip-path: polygon(5% 10%, 95% 0, 100% 84%, 8% 100%, 0 51%);
}
.feature-icon.jester { background: var(--red); color: white; transform: rotate(4deg); }
.features h2 {
    margin: 15px 0 8px;
    font: 900 28px/1 Impact, sans-serif;
}
.features p {
    max-width: 360px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.5;
}

.manifesto {
    display: grid;
    grid-template-columns: 280px 1fr;
    align-items: center;
    gap: clamp(28px, 7vw, 90px);
    padding: 70px clamp(20px, 6vw, 96px);
    background:
        linear-gradient(rgba(0,0,0,.8), rgba(0,0,0,.92)),
        url('landing-bg.png') center 70% / cover;
}
.manifesto-note {
    background: #e5ded2;
    color: #111;
    padding: 28px 20px;
    font: 800 24px/1.2 'Comic Sans MS', cursive;
    text-align: center;
    transform: rotate(-5deg);
    box-shadow: 8px 10px 0 var(--red);
}
.manifesto-small {
    margin: 0 0 8px;
    color: var(--yellow);
    font: 700 14px/1.2 'Courier New', monospace;
    text-transform: uppercase;
    letter-spacing: 1.8px;
}
.manifesto h2 {
    margin: 0 0 10px;
    font: 900 clamp(42px, 6vw, 78px)/.95 Impact, sans-serif;
}
.manifesto p:last-child {
    max-width: 820px;
    margin: 0;
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.45;
    color: #ddd5c9;
}

.site-footer {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 24px clamp(18px, 4vw, 64px);
    background: #070707;
    border-top: 1px solid #242424;
}
.footer-brand .brand-name { font-size: 25px; }
.footer-brand .brand-crown { font-size: 34px; }
.footer-links {
    display: flex;
    gap: 18px;
    align-items: center;
    font-size: 13px;
    color: #c5beb5;
}
.footer-links a:hover { color: var(--yellow); }

@media (max-width: 840px) {
    .site-header { align-items: flex-start; }
    .top-nav { display: none; }
    .status-sticker { right: 0; top: -54px; font-size: 16px; }
    .hero { min-height: 720px; padding-top: 72px; }
    .countdown { grid-template-columns: repeat(2, 1fr); }
    .features { grid-template-columns: 1fr; gap: 0; }
    .features article { border-right: 0; border-bottom: 1px solid #aaa399; padding-block: 26px; }
    .features article:last-child { border-bottom: 0; }
    .manifesto { grid-template-columns: 1fr; }
    .manifesto-note { max-width: 300px; }
    .site-footer { flex-direction: column; align-items: flex-start; }
    .footer-links { flex-direction: column; align-items: flex-start; gap: 6px; }
}

@media (max-width: 520px) {
    .brand-crown { font-size: 33px; }
    .brand-name { font-size: 23px; }
    .brand-tagline { font-size: 10px; }
    .hero { padding-inline: 12px; }
    .hero-paper h1 { font-size: clamp(41px, 14vw, 62px); }
    .paper-card { padding-inline: 18px; }
    .scribble-top { left: 5%; font-size: 26px; }
    .countdown-wrap { padding-inline: 10px; }
    .countdown-box strong { font-size: 44px; }
    .manifesto { padding-inline: 20px; }
}

@media (prefers-reduced-motion: no-preference) {
    .status-sticker { animation: jitter 5s steps(1, end) infinite; }
    @keyframes jitter {
        0%, 93%, 100% { transform: rotate(7deg) translate(0); }
        94% { transform: rotate(6deg) translate(-2px, 1px); }
        96% { transform: rotate(8deg) translate(2px, -1px); }
    }
}
