/* FreeEntry — postal theme: paper, ink, stamp red, airmail blue. */
:root {
    --paper: #f7f3ea;
    --paper-2: #efe8d8;
    --card: #fffdf8;
    --ink: #17233a;
    --ink-2: #33415a;
    --muted: #66708a;
    --line: #e2d9c6;
    --rule: #c9dcef;          /* index-card blue rules */
    --stamp: #c8202f;         /* postal red */
    --stamp-dark: #a3151f;
    --air: #1d4fa0;           /* airmail blue */
    --great: #1d7a4b;
    --fair: #a86a10;
    --token: #7c8496;
    --warn-bg: #fff3e0;
    --warn: #9a4a00;
    --radius: 10px;
    --shadow: 0 1px 0 rgba(23, 35, 58, .04), 0 6px 18px -8px rgba(23, 35, 58, .18);
    --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --display: "Archivo", "Inter", system-ui, sans-serif;
    --hand: "Caveat", "Segoe Print", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }   /* jump links land below the sticky header */
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 16px/1.55 var(--font);
}
a { color: var(--air); text-underline-offset: 2px; }
a:hover { color: var(--stamp); }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0; letter-spacing: -.01em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

.preview-bar {
    background: repeating-linear-gradient(-45deg, #fff4c2 0 14px, #ffe98a 14px 28px);
    color: #5a4300; font-size: 13px; font-weight: 600; text-align: center; padding: 6px 12px;
}

/* ---- header ---------------------------------------------------------------- */
.site-header {
    background: var(--card);
    border-bottom: 1px solid var(--line);
    position: sticky; top: 0; z-index: 10;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-stamp {
    display: grid; place-items: center; width: 36px; height: 36px;
    background: var(--stamp); color: #fff; font: 800 14px/1 var(--display); letter-spacing: .02em;
    /* perforated stamp edge: a dotted border in the page colour over a red halo */
    border: 3px dotted var(--card); box-shadow: 0 0 0 2px var(--stamp);
}
.brand-name { font: 800 22px/1 var(--display); letter-spacing: -.02em; }
.brand-name span { color: var(--stamp); }
.site-nav { display: flex; align-items: center; gap: 22px; font-weight: 500; font-size: 15px; }
.site-nav a { color: var(--ink-2); text-decoration: none; }
.site-nav a:hover { color: var(--stamp); }
.site-nav .nav-cta {
    color: #fff; background: var(--ink); padding: 8px 14px; border-radius: 999px;
}
.site-nav .nav-cta:hover { background: var(--stamp); color: #fff; }

/* ---- hero ------------------------------------------------------------------ */
.hero {
    position: relative;
    background: linear-gradient(180deg, var(--card) 0%, var(--paper) 100%);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}
.hero::before {   /* airmail stripe edge */
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px;
    background: repeating-linear-gradient(-45deg, var(--stamp) 0 16px, var(--card) 16px 26px, var(--air) 26px 42px, var(--card) 42px 52px);
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding: 64px 20px 72px; }
.eyebrow {
    display: inline-block; margin: 0 0 14px; padding: 4px 10px;
    border: 1.5px solid var(--stamp); color: var(--stamp); border-radius: 4px;
    font: 700 12px/1.2 var(--display); letter-spacing: .12em; text-transform: uppercase;
    transform: rotate(-1.5deg);
}
.hero h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 800; }
.hero h1 span { color: var(--stamp); }
.lede { font-size: 19px; color: var(--ink-2); max-width: 36em; margin: 20px 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 13px 20px; border-radius: 999px; font-weight: 600; text-decoration: none;
    transition: transform .12s ease, background .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--stamp); color: #fff; }
.btn-primary:hover { background: var(--stamp-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-ghost:hover { color: var(--stamp); border-color: var(--stamp); }
.hero-stats { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 12px 28px; color: var(--muted); font-size: 14px; }
.hero-stats strong { display: block; font: 800 26px/1.1 var(--display); color: var(--ink); }

/* hero art: envelope + index card */
.hero-art { position: relative; height: 360px; }
.envelope {
    position: absolute; right: 0; top: 10px; width: 92%; height: 220px;
    background: var(--card); border-radius: 6px; box-shadow: var(--shadow);
    border: 1px solid var(--line);
    transform: rotate(3deg);
}
.envelope::before {  /* airmail border */
    content: ""; position: absolute; inset: 0; border-radius: 6px; padding: 7px;
    background: repeating-linear-gradient(-45deg, var(--stamp) 0 12px, transparent 12px 20px, var(--air) 20px 32px, transparent 32px 40px);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
}
.stamp {
    position: absolute; right: 22px; top: 22px; width: 64px; height: 76px;
    background: var(--stamp); color: #fff; display: grid; place-content: center; text-align: center;
    font: 800 15px/1 var(--display);
    border: 4px dotted var(--card); box-shadow: 0 0 0 3px var(--stamp);
}
.stamp small { font-size: 9px; letter-spacing: .14em; margin-top: 3px; }
.postmark {
    position: absolute; right: 70px; top: 52px; width: 96px; height: 96px; border-radius: 50%;
    border: 2px solid rgba(23, 35, 58, .45); color: rgba(23, 35, 58, .55);
    display: grid; place-content: center; text-align: center;
    font: 700 9px/1.25 var(--display); letter-spacing: .08em; transform: rotate(-14deg);
}
.env-address { position: absolute; left: 34%; top: 112px; display: grid; gap: 2px; font: 600 22px/1.15 var(--hand); color: var(--ink-2); }
.index-card {
    position: absolute; left: 0; bottom: 0; width: 72%; height: 196px;
    background:
        linear-gradient(var(--card), var(--card)) padding-box,
        var(--card);
    background-image: repeating-linear-gradient(transparent 0 25px, var(--rule) 25px 26px);
    background-position: 0 40px;
    border: 1px solid var(--line); border-radius: 4px; box-shadow: var(--shadow);
    padding: 44px 20px 10px; transform: rotate(-4deg);
}
.ic-red { position: absolute; left: 0; right: 0; top: 34px; height: 2px; background: rgba(200, 32, 47, .55); }
.hand { margin: 0; font: 600 21px/26px var(--hand); color: var(--air); }
.ic-note { position: absolute; right: 12px; bottom: 8px; font-size: 11px; color: var(--muted); }

/* ---- sections ---------------------------------------------------------------- */
.section { padding: 64px 0; }
.section-alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 38px); font-weight: 800; }
.section-head p { margin: 0; color: var(--muted); max-width: 46em; }
.section-more { margin: 24px 0 0; font-weight: 600; }
.section-more a { text-decoration: none; }
.empty { color: var(--muted); }

/* ---- contest cards (index-card look) ------------------------------------------ */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
    position: relative; display: flex; flex-direction: column; gap: 10px;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 20px 20px 16px; box-shadow: var(--shadow);
    transition: transform .14s ease, box-shadow .14s ease;
}
.card-media {
    margin: -20px -20px 2px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0;
    background: var(--paper-2); border-bottom: 2px solid rgba(200, 32, 47, .45);   /* the red rule of a 3x5 card */
}
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.card:hover .card-media img { transform: scale(1.03); }
.card-media-fallback { object-fit: cover; }

.contest-media-block { display: grid; gap: 16px; }
.contest-figure { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.contest-figure img { width: 100%; max-height: 460px; object-fit: cover; display: block; background: var(--paper-2); }
.contest-figure figcaption { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 14px; font-size: 13px; color: var(--muted); }
.contest-figure figcaption a { font-weight: 600; text-decoration: none; }
.yt-facade { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; cursor: pointer; background: #000; }
.yt-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.yt-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 78px; height: 54px; border: 0; border-radius: 14px;
    background: var(--stamp); color: #fff; font-size: 24px; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.yt-facade:hover .yt-play { background: var(--stamp-dark); }
.yt-note { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 12px; font-size: 12.5px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.7)); }
.yt-playing .yt-note, .yt-playing .yt-play { display: none; }
.card:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(23,35,58,.04), 0 14px 28px -12px rgba(23,35,58,.28); }
.card-late { opacity: .82; }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 22px; margin-top: 4px; }
.card-operator { font: 700 12px/1.2 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card-title { font-size: 19px; font-weight: 700; margin-top: 8px; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; }  /* whole card is the link */
.card-title a:hover { color: var(--stamp); }
.card-prize {
    margin: 0; color: var(--ink-2); font-size: 14.5px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-facts {
    display: grid; grid-template-columns: repeat(3, 1fr); margin: 6px 0 0; padding: 12px 0;
    border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line);
}
.card-facts dt { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.card-facts dd { margin: 2px 0 0; font: 700 17px/1.2 var(--display); }
.card-method { margin: 0; font-size: 13.5px; color: var(--ink-2); }
.card-warning {
    margin: 0; padding: 8px 10px; border-radius: 6px; background: var(--warn-bg);
    color: var(--warn); font-size: 13px; font-weight: 600;
}
.card-foot { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 4px; position: relative; z-index: 1; }
.card-foot > span { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.value-great { background: #e3f3ea; color: var(--great); }
.value-fair  { background: #fbf0dc; color: var(--fair); }
.value-token { background: #eceef2; color: var(--token); }
.verified { background: #e6eefb; color: var(--air); }
.verified::before { content: "✓ "; }
.states { background: #f4ecec; color: #7a3a3a; }
.chip { background: var(--paper-2); color: var(--ink-2); }
.tag { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 4px; }
.tag-preview { background: #fff1b8; color: #6b5200; }
.tag-extended, .badge-extended { background: var(--warn-bg); color: var(--warn); }
.extension-note { margin: 10px 0 0; padding: 10px 14px; border-left: 3px solid var(--warn); background: var(--warn-bg); color: var(--ink-2); font-size: 14.5px; max-width: 46em; }

/* ---- hubs -------------------------------------------------------------------- */
.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hub {
    display: grid; gap: 4px; padding: 20px 22px; border-radius: var(--radius);
    background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--ink);
    border-left: 5px solid var(--air);
    transition: border-color .12s ease, transform .12s ease;
}
.hub:nth-child(even) { border-left-color: var(--stamp); }
.hub:hover { transform: translateY(-2px); color: var(--ink); }
.hub-name { font: 800 20px/1.2 var(--display); }
.hub-blurb { color: var(--muted); font-size: 14px; }
.hub-count { font-size: 13px; font-weight: 600; color: var(--air); }

/* ---- how it works ------------------------------------------------------------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
    background-image: repeating-linear-gradient(transparent 0 27px, rgba(201, 220, 239, .55) 27px 28px);
    background-position: 0 70px;
}
.step-num {
    display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
    background: var(--ink); color: #fff; font: 800 16px/1 var(--display); margin-bottom: 12px;
}
.steps h3 { font-size: 19px; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* ---- trust -------------------------------------------------------------------- */
.section-trust { background: var(--ink); color: #e9edf5; }
.trust { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.trust h2 { font-size: clamp(28px, 3.4vw, 38px); color: #fff; }
.trust p { color: #b8c1d4; }
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.trust-list li { padding: 14px 16px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); color: #c9d1e1; }
.trust-list strong { color: #fff; }

/* ---- contest detail ------------------------------------------------------------ */
.crumbs { font-size: 13px; color: var(--muted); padding-top: 18px; padding-bottom: 4px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--stamp); }
.crumbs span { margin: 0 4px; }
.crumbs span:last-child { color: var(--ink-2); }
.contest-hero { border-bottom: 1px solid var(--line); }
.contest-hero-inner { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; padding-top: 18px; padding-bottom: 36px; }
.contest-hero h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; margin-top: 8px; }
.contest-prize { font-size: 18px; color: var(--ink-2); margin: 14px 0 18px; max-width: 42em; }
.contest-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.contest-badges > span { font-size: 13px; font-weight: 600; padding: 4px 11px; border-radius: 999px; }
.badge { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.badge-open { background: #e3f3ea; color: var(--great); }
.badge-closed { background: #eceef2; color: var(--token); }
.countdown {
    grid-column: 1 / -1; order: -1; display: flex; align-items: center; gap: 18px;
    padding: 16px 20px; border-radius: var(--radius); color: #fff;
    background: linear-gradient(100deg, var(--stamp) 0%, var(--stamp-dark) 100%);
    box-shadow: 0 10px 24px -14px rgba(163, 21, 31, .8);
}
.countdown-num {
    flex: none; display: grid; place-items: center; width: 74px; height: 74px; border-radius: 12px;
    background: #fffdf8; color: var(--stamp); border: 3px dotted var(--stamp); outline: 3px solid #fffdf8;
}
.countdown-num span { font: 900 34px/1 var(--display); margin-top: 6px; }
.countdown-num small { font: 700 11px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; margin-top: -10px; }
.countdown h2 { font-size: 26px; font-weight: 800; color: #fff; }
.countdown p { margin: 4px 0 0; color: #ffe3e5; font-size: 15px; }
.countdown strong { color: #fff; }
.countdown a { color: #fff; font-weight: 700; margin-left: 6px; white-space: nowrap; }
.key-facts {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
    padding: 6px 20px; position: relative; overflow: hidden;
}
.key-facts::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px;
    background: repeating-linear-gradient(-45deg, var(--stamp) 0 10px, var(--card) 10px 16px, var(--air) 16px 26px, var(--card) 26px 32px); }
.key-facts dl { margin: 0; }
.key-facts dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.key-facts dl > div:last-child { border-bottom: 0; }
.key-facts dt { color: var(--muted); font-size: 14px; }
.key-facts dd { margin: 0; font: 700 16px/1.3 var(--display); text-align: right; }

.contest-body { display: grid; grid-template-columns: 1fr 320px; gap: 40px; padding-top: 36px; padding-bottom: 64px; align-items: start; }
.contest-main > section { margin-bottom: 44px; }
.contest-main h2 { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.section-lede { color: var(--ink-2); margin: 0 0 18px; }
.notice { border-radius: var(--radius); padding: 14px 16px; margin-bottom: 28px; font-size: 15px; }
.notice-warn { background: var(--warn-bg); color: var(--warn); border: 1px solid #f3d3a6; }
.notice-closed { background: #eceef2; color: var(--ink-2); border: 1px solid #d9dde5; }

/* Closed giveaway: what happened, then where to go instead (BACKLOG §10). */
.closed-panel {
    position: relative; background: #eceef2; border: 1px solid #d9dde5; border-radius: var(--radius);
    padding: 20px 22px; margin-bottom: 28px; color: var(--ink-2);
}
.closed-panel h2 { margin: 0 0 6px; font-size: 22px; color: var(--ink); padding-right: 110px; }
.closed-panel p { margin: 6px 0 0; }
.closed-next { font-weight: 600; }
.closed-stamp {
    position: absolute; top: 16px; right: 18px; transform: rotate(-8deg);
    border: 3px double #8a909c; color: #8a909c; border-radius: 6px; padding: 2px 10px;
    font: 800 15px/1.4 Archivo, sans-serif; letter-spacing: .12em; text-transform: uppercase;
}
.legal-page { max-width: 760px; }
.legal-page h2 { margin: 28px 0 8px; font-size: 21px; }
.legal-page ul { padding-left: 22px; }
.similar { margin-top: 36px; }
.similar-closed { margin: 0 0 36px; }
.similar h2 { margin-bottom: 14px; }
@media (max-width: 640px) {
    .closed-panel h2 { padding-right: 0; padding-top: 30px; font-size: 19px; }
}
.notice-info { background: #e9f0fb; color: #1d3f78; border: 1px solid #cddcf3; margin-top: 16px; }

.checklist { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist > li {
    counter-increment: step; position: relative; background: var(--card); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 18px 20px 18px 66px;
}
.checklist > li::before {
    content: counter(step); position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; border-radius: 50%;
    display: grid; place-items: center; background: var(--stamp); color: #fff; font: 800 15px/1 var(--display);
}
.checklist h3 { font-size: 18px; margin-bottom: 8px; }
.checklist p { margin: 8px 0 0; }
.needs { margin: 0; padding-left: 18px; color: var(--ink-2); }
.needs li { margin: 3px 0; }
.write-list { margin: 6px 0 0; padding-left: 22px; font-weight: 600; }
.rules-quote {
    margin: 12px 0 0; padding: 12px 14px; background: var(--paper); border-left: 3px solid var(--air);
    border-radius: 0 8px 8px 0; color: var(--ink-2); font-size: 14.5px;
}
.rules-quote-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--air); margin-bottom: 4px; }
.bonus { background: #fff6e0; padding: 8px 12px; border-radius: 6px; }
.link-strong { font-weight: 600; text-decoration: none; }
.address-box { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--paper); border: 1.5px dashed var(--ink-2); border-radius: 8px; }
.address-box address { flex: 1; font: 600 19px/1.4 var(--display); font-style: normal; white-space: pre-line; }
.copy-btn {
    flex: none; border: 1px solid var(--ink); background: var(--card); color: var(--ink); border-radius: 999px;
    padding: 6px 14px; font: 600 13px/1 var(--font); cursor: pointer;
}
.copy-btn:hover { background: var(--ink); color: #fff; }
.fine { font-size: 13.5px; color: var(--muted); }
.deadlines { margin: 0; display: grid; gap: 6px; }
.deadlines > div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.deadlines dt { color: var(--muted); }
.deadlines dd { margin: 0; font-weight: 600; text-align: right; }
.deadline-key dt, .deadline-key dd { color: var(--stamp); font-weight: 700; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-block { display: flex; width: 100%; margin-top: 10px; }

/* printable card */
.print-head { display: flex; justify-content: space-between; align-items: start; gap: 20px; flex-wrap: wrap; }
.print-card {
    position: relative; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.print-watermark {
    position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none;
    font: 800 28px/1 var(--display); color: rgba(200, 32, 47, .13); transform: rotate(-16deg); letter-spacing: .06em; text-align: center;
}
.pc-card, .pc-envelope { border: 1px solid #b9c7da; border-radius: 4px; padding: 14px 16px; min-height: 190px; position: relative; background: #fff; }
.pc-card { background-image: repeating-linear-gradient(transparent 0 27px, var(--rule) 27px 28px); background-position: 0 38px; }
.pc-card::before { content: ""; position: absolute; left: 0; right: 0; top: 36px; height: 1.5px; background: rgba(200, 32, 47, .5); }
.pc-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.pc-line { height: 28px; border-bottom: 1px solid transparent; font-size: 13px; color: var(--muted); display: flex; align-items: end; }
.pc-rules { margin: 0; font-size: 12px; font-weight: 700; }
.pc-rules-text { margin: 4px 0 6px; font-size: 12px; color: var(--ink-2); }
.pc-return { font-size: 12px; color: var(--muted); }
.pc-to { position: absolute; left: 30%; right: 16px; top: 46%; font: 600 15px/1.35 var(--display); white-space: pre-line; }
.pc-foot { grid-column: 1 / -1; margin: 0; font-size: 12px; color: var(--muted); text-align: center; }

.tiers { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 15px; }
.tiers th, .tiers td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.tiers th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: var(--paper); }
.tiers td:nth-child(n+2), .tiers th:nth-child(n+2) { text-align: right; }
.tier-free td { font-weight: 700; color: var(--great); background: #f1f8f4; }

.details { margin: 0; display: grid; gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 18px; }
.details > div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.details > div:last-child { border-bottom: 0; }
.details dt { color: var(--muted); }
.details dd { margin: 0; }
.excluded { display: block; margin-top: 6px; font-weight: 600; color: #7a3a3a; }
.others-head { font-size: 18px; margin: 22px 0 10px; }
.others { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.others li { display: flex; justify-content: space-between; gap: 12px; align-items: center; }

.contest-side { position: sticky; top: 84px; display: grid; gap: 16px; }
.side-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.side-card h2 { font-size: 19px; margin-bottom: 8px; }
.side-card p { font-size: 14px; color: var(--ink-2); margin: 0 0 6px; }
.side-scam { border-left: 4px solid var(--stamp); }

/* print: only the copy-by-hand card */
@media print {
    body * { visibility: hidden; }
    .print-card, .print-card * { visibility: visible; }
    .print-card { position: absolute; left: 0; top: 0; width: 100%; border: 0; box-shadow: none; }
    .print-watermark { color: rgba(200, 32, 47, .25); }
    .preview-bar, .site-header { display: none; }
}

/* ---- footer ------------------------------------------------------------------- */
.site-footer { background: var(--card); border-top: 1px solid var(--line); padding: 48px 0 32px; font-size: 14px; }
.footer-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; }
.footer-brand p { color: var(--muted); margin: 10px 0 0; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-cols h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 10px; }
.footer-cols a { display: block; color: var(--ink-2); text-decoration: none; padding: 3px 0; }
.footer-cols a:hover { color: var(--stamp); }
.footer-legal { grid-column: 1 / -1; color: var(--muted); font-size: 12.5px; border-top: 1px solid var(--line); padding-top: 20px; margin: 8px 0 0; }

/* ---- responsive --------------------------------------------------------------- */
@media (max-width: 960px) {
    .hero-inner { grid-template-columns: 1fr; padding: 56px 20px 56px; gap: 24px; }
    .hero-art { height: 300px; max-width: 520px; }
    .card-grid-3, .hub-grid, .steps { grid-template-columns: 1fr 1fr; }
    .trust, .footer-inner { grid-template-columns: 1fr; }
    .contest-hero-inner, .contest-body { grid-template-columns: 1fr; }
    .contest-side { position: static; }
    .site-nav a:not(.nav-cta) { display: none; }
}
@media (max-width: 640px) {
    .wrap { padding: 0 16px; }
    .hero-inner { padding: 40px 16px 44px; }   /* .wrap above would otherwise zero the hero's vertical padding */
    .hero-art { display: none; }
    .card-grid, .card-grid-3, .hub-grid, .steps { grid-template-columns: 1fr; }
    .footer-cols { grid-template-columns: 1fr 1fr; }
    .section { padding: 48px 0; }
    .lede { font-size: 17px; }
    .print-card { grid-template-columns: 1fr; padding: 16px; }
    .details > div { grid-template-columns: 1fr; gap: 2px; }
    .countdown { align-items: flex-start; padding: 14px 16px; gap: 14px; }
    .countdown-num { width: 60px; height: 60px; }
    .countdown h2 { font-size: 21px; }
    .checklist > li { padding: 16px 16px 16px 58px; }
    .address-box { flex-direction: column; align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---- prize cards (no photo) ------------------------------------------------- */
.card-art {
    position: relative; height: 100%; min-height: 170px; padding: 16px 18px; display: flex; flex-direction: column;
    justify-content: flex-end; gap: 4px; color: #fff; overflow: hidden; background: var(--a, #17233a);
}
.card-art::before {   /* postmark rings */
    content: ""; position: absolute; right: -46px; top: -46px; width: 170px; height: 170px; border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, .16); box-shadow: 0 0 0 14px rgba(255, 255, 255, .05), inset 0 0 0 14px rgba(255, 255, 255, .05);
}
.card-art::after {    /* airmail edge */
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px;
    background: repeating-linear-gradient(-45deg, #fff 0 10px, var(--b, #c8202f) 10px 20px);
}
.art-kicker { font: 700 11px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.art-prize { font: 800 22px/1.12 var(--display); letter-spacing: -.01em; max-width: 92%; }
.art-value { font: 800 15px/1 var(--display); color: var(--c, #ffd76a); }
.art-0 { --a: linear-gradient(135deg, #17233a, #24406f); --b: #c8202f; --c: #ffd76a; }
.art-1 { --a: linear-gradient(135deg, #a3151f, #d6392f); --b: #17233a; --c: #ffe39a; }
.art-2 { --a: linear-gradient(135deg, #0f5c45, #1d8a63); --b: #e7b43a; --c: #ffe39a; }
.art-3 { --a: linear-gradient(135deg, #1d4fa0, #3b7bd6); --b: #c8202f; --c: #ffe39a; }
.art-4 { --a: linear-gradient(135deg, #3a2a1c, #7a5230); --b: #e7b43a; --c: #ffd76a; }
.art-5 { --a: linear-gradient(135deg, #2c2150, #5a3f9e); --b: #e7b43a; --c: #ffd76a; }
.contest-art { min-height: 300px; border-radius: var(--radius); padding: 28px; }
.contest-art .art-prize { font-size: 34px; }
.contest-art .art-value { font-size: 22px; }

/* ---- home hero: prize photos as postage stamps ------------------------------- */
.hero { background: radial-gradient(1100px 500px at 78% 30%, #24406f 0%, #17233a 60%); color: #fff; }
.hero .eyebrow { color: #ffd76a; }
.hero h1 { color: #fff; }
.hero h1 span { color: #ff6a5e; }
.hero .lede { color: #d6dcea; }
.hero .lede a { color: #fff; font-weight: 600; white-space: nowrap; }
.hero-stats strong { color: #fff; }
.hero-stats li { color: #b9c3d8; }
.btn-ghost-light { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .4); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); }
.hero-stamps { position: relative; height: 430px; }
.stamp-photo {
    position: absolute; display: block; background: #fffdf8; background-clip: border-box; padding: 7px; width: 56%; aspect-ratio: 4 / 3;
    border: 7px dotted #1c3054;   /* hero color over the paper edge reads as perforations */
    box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .6);
    transition: transform .2s;
}
.stamp-photo:hover { transform: rotate(0) scale(1.03); z-index: 9; }
.stamp-photo picture, .stamp-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.stamp-value {
    position: absolute; right: 16px; bottom: 15px; padding: 3px 8px; background: #17233a; color: #ffd76a;
    font: 800 15px/1.2 var(--display);
}
.stamp-0 { top: 0; left: 4%; transform: rotate(-5deg); z-index: 3; }
.stamp-1 { top: 16px; right: 0; transform: rotate(4deg); z-index: 2; width: 50%; }
.stamp-2 { top: 190px; left: 0; transform: rotate(3deg); z-index: 4; width: 50%; }
.stamp-3 { top: 210px; right: 2%; transform: rotate(-3deg); z-index: 5; }
.stamp-4 { top: 120px; left: 28%; transform: rotate(-1deg); z-index: 1; width: 44%; opacity: .75; }

/* ---- category buttons and list view ------------------------------------------ */
.section-tight { padding-top: 26px; padding-bottom: 26px; }
.cat-bar { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.cat-btn {
    display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: var(--card);
    border: 1px solid var(--line); color: var(--ink); font: 600 14px/1.2 var(--font); text-decoration: none;
}
.cat-btn span { color: var(--muted); font-weight: 500; font-size: 13px; }
.cat-btn:hover { border-color: var(--ink); }
.cat-btn.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.cat-btn.is-active span { color: #c6cede; }
.cat-urgent { color: var(--stamp); border-color: #eeb9b5; }
.view-toggle { display: inline-flex; margin: 4px 0 16px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.view-toggle button { padding: 7px 16px; background: var(--card); border: 0; font: 600 14px var(--font); color: var(--ink-2); cursor: pointer; }
.view-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.list-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.list-tools input, .list-tools select { padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); font: 14px var(--font); color: var(--ink); }
.list-search { flex: 1 1 220px; }
.list-count { color: var(--muted); font-size: 14px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.contest-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.contest-table th { position: sticky; top: 0; background: #f1ebdd; text-align: left; padding: 10px 12px; font-weight: 700; white-space: nowrap; }
.contest-table th[data-sort] { cursor: pointer; }
.contest-table th[aria-sort="ascending"]::after { content: " \25B2"; font-size: 10px; }
.contest-table th[aria-sort="descending"]::after { content: " \25BC"; font-size: 10px; }
.contest-table td { padding: 10px 12px; border-top: 1px solid var(--line); vertical-align: top; }
.contest-table td a { font-weight: 600; color: var(--ink); }
.contest-table small { display: block; color: var(--muted); }
.contest-table .num { text-align: right; white-space: nowrap; }
.states-cell { color: var(--muted); font-size: 13px; }
.category-copy { margin-top: 34px; color: var(--ink-2); column-count: 2; column-gap: 44px; }
.category-copy p { margin-top: 0; break-inside: avoid; }
.cat-bar-other { align-items: center; margin: 0 0 18px; }
.cat-label { font: 700 13px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.cat-bar-other .cat-btn { background: transparent; font-weight: 500; font-size: 13px; padding: 6px 12px; }
a.card-operator { text-decoration: none; color: inherit; }
a.card-operator:hover { text-decoration: underline; }
.row-main { display: flex; gap: 12px; align-items: center; min-width: 280px; }
.row-thumb { flex: none; width: 64px; height: 46px; object-fit: cover; border-radius: 6px; background: var(--a, #ddd); display: block; }
.contest-table small a { font-weight: 400; color: var(--muted); }
.contest-table td.act-3 { color: #b4261f; font-weight: 600; white-space: nowrap; }
.contest-table td.act-2 { color: #d81e14; font-weight: 800; white-space: nowrap; }
.contest-table td.act-1 { font-weight: 800; white-space: nowrap; }
.contest-table td.act-1 span { color: #fff; background: #e0160c; padding: 2px 8px; border-radius: 999px; }
.more-from { margin: 14px 0 0; font-weight: 600; }
.past-giveaways { margin-top: 30px; }
.past-giveaways summary { cursor: pointer; font: 700 16px var(--font); }
.operator-note { margin-top: 28px; }
@media (max-width: 760px) { .category-copy { column-count: 1; } }
.section-more a + a { margin-left: 18px; }

@media (max-width: 960px) {
    .hero-stamps { height: 340px; max-width: 560px; }
}
@media (max-width: 640px) {
    .hero-stamps { display: none; }
    .art-prize { font-size: 20px; }
}
.past-head { margin: 32px 0 10px; font-size: 22px; }
