/* December Rewards: the public board and the claim page. (C) Claude, 2026-12-01.
   Look (redesign 2026-12-01, Claude's): the December Instagram graphics. A night-blue sky with gold string lights and
   faint snowflakes, a huge condensed headline (Oswald), sky-blue outlined boxes with line icons and a title set into the
   top line, big sky 1. 2. 3. steps, a sky pill for the bonus, a gold gift. Colours start from the STAR Prints tokens
   (star-prints-store assets/css/tokens.css: sky #82D5F4, navy, white) and go bluer to match the graphics.
   Fonts are self-hosted, OFL, licences beside them: Oswald (display, from @fontsource/oswald 5.3.0), Overpass (body). */
@font-face { font-family: "Oswald"; src: url("fonts/oswald-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Overpass"; src: url("fonts/overpass-wght-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --night: #061430;       /* top of the sky; text on sky buttons */
  --royal: #0E3A8F;       /* bottom of the sky */
  --deep: #0A2459;        /* inside the boxes */
  --sky: #82D5F4;         /* STAR Prints sky: lines, numbers, buttons, the pill */
  --sky-soft: rgba(130, 213, 244, .14);
  --gold: #F6C65B;        /* lights and the gift */
  --white: #FFFFFF;
  --frost: #C9D8EE;       /* body text on the sky: 10:1 on --deep */
  --muted: #9DB2D3;       /* sold-out names, struck through: 7:1 on --night */
  --line: rgba(130, 213, 244, .55);
  --good: #8BE3A8;
  --bad: #FFB0B0;
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Overpass", sans-serif;
  --radius-box: 18px;
  --radius-row: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--night); }
body {
  position: relative; margin: 0; min-height: 100vh; overflow-x: hidden; color: var(--white); font: 400 17px/1.55 var(--font-body);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280'%3E%3Cg fill='%23fff'%3E%3Ccircle cx='22' cy='40' r='1.2' opacity='.55'/%3E%3Ccircle cx='150' cy='18' r='1' opacity='.4'/%3E%3Ccircle cx='250' cy='96' r='1.4' opacity='.5'/%3E%3Ccircle cx='90' cy='150' r='1' opacity='.35'/%3E%3Ccircle cx='200' cy='210' r='1.2' opacity='.45'/%3E%3Ccircle cx='40' cy='250' r='1.4' opacity='.4'/%3E%3C/g%3E%3Cg stroke='%23fff' stroke-width='1.2' stroke-linecap='round' opacity='.16'%3E%3Cpath d='M210 30v24M199.6 36l20.8 12M199.6 48l20.8-12'/%3E%3Cpath d='M60 180v20M51.3 185l17.4 10M51.3 195l17.4-10'/%3E%3C/g%3E%3Cpath fill='%23F6C65B' opacity='.55' d='M120 92l1.6 4.4 4.4 1.6-4.4 1.6-1.6 4.4-1.6-4.4-4.4-1.6 4.4-1.6zM262 236l1.2 3.3 3.3 1.2-3.3 1.2-1.2 3.3-1.2-3.3-3.3-1.2 3.3-1.2z'/%3E%3C/svg%3E") 0 0 / 280px 280px repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280'%3E%3Cg fill='%23fff'%3E%3Ccircle cx='22' cy='40' r='1.2' opacity='.55'/%3E%3Ccircle cx='150' cy='18' r='1' opacity='.4'/%3E%3Ccircle cx='250' cy='96' r='1.4' opacity='.5'/%3E%3Ccircle cx='90' cy='150' r='1' opacity='.35'/%3E%3Ccircle cx='200' cy='210' r='1.2' opacity='.45'/%3E%3Ccircle cx='40' cy='250' r='1.4' opacity='.4'/%3E%3C/g%3E%3Cg stroke='%23fff' stroke-width='1.2' stroke-linecap='round' opacity='.16'%3E%3Cpath d='M210 30v24M199.6 36l20.8 12M199.6 48l20.8-12'/%3E%3Cpath d='M60 180v20M51.3 185l17.4 10M51.3 195l17.4-10'/%3E%3C/g%3E%3Cpath fill='%23F6C65B' opacity='.55' d='M120 92l1.6 4.4 4.4 1.6-4.4 1.6-1.6 4.4-1.6-4.4-4.4-1.6 4.4-1.6zM262 236l1.2 3.3 3.3 1.2-3.3 1.2-1.2 3.3-1.2-3.3-3.3-1.2 3.3-1.2z'/%3E%3C/svg%3E") 130px 170px / 430px 430px repeat,
    radial-gradient(120% 60% at 50% 100%, #1550B8 0%, rgba(21, 80, 184, 0) 70%),
    linear-gradient(180deg, var(--night) 0%, #0A2459 45%, var(--royal) 100%);
}
a { color: var(--sky); }
a:hover { color: var(--white); }
img, svg { max-width: 100%; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { position: relative; width: 100%; max-width: 760px; margin: 0 auto; padding: 0 16px; }

/* String lights in the two top corners (inline SVG, mirrored on the right). */
.lights { position: absolute; top: 0; left: 0; width: 118px; height: auto; pointer-events: none; z-index: 0; }
.lights.right { left: auto; right: 0; transform: scaleX(-1); }
.lights .wire { fill: none; stroke: #C99A3C; stroke-width: 1.4; opacity: .8; }
.lights .bulb circle { fill: #FFE9AE; filter: drop-shadow(0 0 4px #F6C65B) drop-shadow(0 0 9px rgba(246, 198, 91, .7)); }
.lights .bulb .glow { display: none; }

/* The top: logo, the big offer, the two actions. Compact on a phone. */
.hero { position: relative; z-index: 1; padding: 22px 0 8px; text-align: center; }
.hero .logo-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; }
.hero .logo { display: block; width: 140px; height: auto; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; margin: 0; text-transform: uppercase; letter-spacing: .005em; }
.hero h1 { margin-top: 10px; line-height: .9; }
.hero h1 .big { display: block; font-size: clamp(76px, 24vw, 148px); line-height: .9; letter-spacing: -.01em; }
.hero h1 .line2 { display: block; margin-top: 8px; font-size: clamp(25px, 7.4vw, 44px); line-height: 1; }
.lede { margin: 12px auto 0; max-width: 32ch; font-size: clamp(17px, 2.6vw, 20px); line-height: 1.45; color: var(--frost); }
.lede b { color: var(--white); }
.hero .cta-row { margin: 18px auto 0; display: grid; gap: 10px; max-width: 420px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 22px;
  border-radius: 999px; border: 2px solid transparent; font: 700 18px/1.1 var(--font-body); text-decoration: none; text-align: center; cursor: pointer; }
.btn-sky { background: var(--sky); color: var(--night); }
.btn-sky:hover { background: #B4E6F9; color: var(--night); }
.btn-line { border-color: var(--line); color: var(--white); background: rgba(6, 20, 48, .35); }
.btn-line:hover { border-color: var(--sky); color: var(--white); }
.btn[disabled] { opacity: .5; cursor: default; }

main.wrap { position: relative; z-index: 1; padding-top: 44px; padding-bottom: 48px; }
main > section + section { margin-top: 44px; }
.sub { margin: 4px 0 0; color: var(--frost); }

/* The graphics' outlined box: a sky line with its title set into the top edge. */
.frame { position: relative; border: 2px solid var(--line); border-radius: var(--radius-box); padding: 26px 16px 18px; background: rgba(10, 36, 89, .55); }
.frame-h { position: absolute; top: 0; left: 50%; transform: translate(-50%, -55%); max-width: calc(100% - 32px); white-space: nowrap;
  font-size: clamp(24px, 6.6vw, 34px); line-height: 1; color: var(--sky); }
.frame-h span { display: inline-block; padding: 0 12px; background: linear-gradient(180deg, transparent 0 40%, #0A2459 40% 60%, transparent 60%); }
.frame > .sub { text-align: center; }
.ico { flex: none; width: 48px; height: 48px; fill: none; stroke: var(--sky); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Every claim gets */
.credit-row { display: flex; gap: 14px; align-items: flex-start; }
.credit-row p { margin: 0; color: var(--frost); }
.amt { font: 700 26px/1.1 var(--font-display); text-transform: uppercase; color: var(--white) !important; }
.credit-row .amt { font-size: 32px; margin-bottom: 4px; }
.plus { display: flex; align-items: center; gap: 12px; margin: 18px 0 14px; font: 700 18px/1 var(--font-display); text-transform: uppercase; color: var(--sky); }
.plus::before, .plus::after { content: ""; flex: 1; height: 2px; background: var(--line); }
.picks { display: grid; gap: 14px; }
.pick { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; align-items: start; }
.pick .ico { grid-row: span 2; }
.pick p { margin: 0; color: var(--frost); }
.pick .amt { margin-bottom: 2px; }

/* Locations */
.places { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.place { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--radius-row); background: var(--sky-soft); }
.place .name { flex: 1; min-width: 0; font-weight: 700; overflow-wrap: anywhere; }
.place .val { font: 700 22px/1 var(--font-display); }
.place .left { flex: none; min-width: 72px; text-align: right; font-size: 15px; font-weight: 700; color: var(--sky); }
.place.out { background: rgba(255, 255, 255, .05); }
.place.out .name, .place.out .val { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 2px; }
.place.out .left { color: var(--bad); }
/* A partner's own line (2026-12-02): what it gets you (gold) · where · Website ↗, small, under the name. Sold out: dimmed,
   never struck through (they can still look the business up). The dots sit outside the link's underline. */
/* With a line, the row is a grid: name · value · left on top, the line across the whole row under them. */
.place { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; column-gap: 12px; row-gap: 2px; }
.place .who { display: contents; }
.place .who .name { grid-row: 1; grid-column: 1; }
.place .val { grid-row: 1; grid-column: 2; }
.place .left { grid-row: 1; grid-column: 3; }
.place .info { grid-row: 2; grid-column: 1 / -1; margin-top: 0; }
.info { display: block; margin-top: 3px; font: 400 14px/1.4 var(--font-body); color: var(--frost); overflow-wrap: anywhere; }
.info > * + *::before { content: "·"; display: inline-block; margin: 0 6px; color: var(--muted); text-decoration: none; }
.info .gets { color: var(--gold); font-weight: 700; }
.info a { color: var(--sky); font-weight: 700; white-space: nowrap; text-underline-offset: 2px; }
.info a:hover { color: var(--white); }
.place.out .info { opacity: .7; }
/* A local partner on the claim page: the radio and value beside the name, the partner's line and "N left" under it. */
.opt.local { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 12px; row-gap: 0; }
.opt.local input[type="radio"] { grid-column: 1; grid-row: 1 / span 3; align-self: center; }
.opt.local .o-name { grid-column: 2; grid-row: 1; align-self: center; }
.opt.local .o-val { grid-column: 3; grid-row: 1; align-self: center; }
.opt.local .info { grid-column: 2 / -1; grid-row: 2; margin-top: 2px; }
.opt.local .o-left { grid-column: 2 / -1; grid-row: 3; display: block; color: var(--frost); font-size: 14px; }
.code-card .local-info { margin: 4px 0 12px; }
.code-card.local .info { color: var(--frost); }
.empty, .loading { color: var(--frost); text-align: center; }

/* How to claim: the graphics' big sky numbers, the gold gift beside them. */
.how h2 { font-size: clamp(30px, 8vw, 44px); line-height: 1; text-align: center; }
.how-body { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.steps { flex: 1; list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: s; }
.steps li { counter-increment: s; display: flex; gap: 12px; align-items: center; font: 700 clamp(19px, 5.2vw, 26px)/1.25 var(--font-body); }
.steps li::before { content: counter(s) "."; flex: none; min-width: .95em; font: 700 clamp(46px, 13vw, 64px)/1 var(--font-display); color: var(--sky); }
.steps a { color: var(--white); text-decoration-color: var(--sky); text-underline-offset: 4px; }
.steps a:hover { color: var(--sky); }
.giftbox { display: none; flex: none; width: 170px; height: auto; }
.giftbox .box { fill: #1A4AA6; }
.giftbox .lid { fill: #2157BD; }
.giftbox .ribbon, .giftbox .bow, .giftbox .knot { fill: var(--gold); }
.giftbox .ribbon-d { fill: #C99A3C; }
.giftbox .spark { fill: #FFE6A3; opacity: .8; }

/* Bonus: the graphics' sky pill. */
.bonus { padding: 16px 22px; border-radius: 28px; background: var(--sky); color: var(--night); text-align: center; }
.bonus h2 { font-size: 24px; line-height: 1.1; }
.bonus p { margin: 6px 0 0; font-weight: 600; line-height: 1.4; }
.bonus a { color: var(--night); text-decoration-thickness: 2px; }
.bonus a:hover { color: var(--deep); }

.have-code { text-align: center; }
.have-code .btn { width: 100%; max-width: 420px; }
.fine { margin: 32px auto 0; max-width: 62ch; font-size: 14px; line-height: 1.55; color: var(--frost); text-align: center; }
.fine a { color: var(--frost); }
/* Footer (2026-12-02): one line to the Local Partner Program rules on the store (star.chaprints.com/partners/). */
.partner-foot { position: relative; z-index: 1; padding-bottom: 32px; text-align: center; font-size: 14px; line-height: 1.55; color: var(--frost); }
.partner-foot .wrap { margin: 0 auto; padding-top: 8px; border-top: 1px solid var(--line); max-width: calc(760px - 32px); width: calc(100% - 32px); }
.partner-foot a { display: inline-block; min-height: 44px; padding: 12px 4px; font-weight: 700; color: var(--sky); }
.partner-foot a:hover { color: var(--white); }
.closed { margin: 16px auto 0; max-width: 420px; padding: 12px 16px; border-radius: var(--radius-row); background: rgba(255, 255, 255, .12); color: var(--white); font-weight: 700; }

/* ── The claim page ─────────────────────────────────────────────────── */
.claim-hero { padding-bottom: 0; }
.claim-hero h1 { margin-top: 6px; font-size: clamp(40px, 11vw, 64px); line-height: 1; }
.claim-hero + main.wrap { padding-top: 20px; }
.card { position: relative; border: 2px solid var(--line); border-radius: var(--radius-box); padding: 20px 16px; background: rgba(10, 36, 89, .7); }
.card > h2 { font-size: clamp(26px, 7vw, 34px); line-height: 1.05; color: var(--sky); }
.card > h2:focus { outline: none; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; }
.field-gap { margin-top: 16px; }
input[type="text"] { width: 100%; min-height: 52px; padding: 12px 14px; border: 2px solid transparent; border-radius: var(--radius-row);
  font: 400 18px/1.2 var(--font-body); color: var(--night); background: var(--white); }
input[type="text"]::placeholder { color: #5B6E8A; }
input[type="text"]:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(246, 198, 91, .35); }
input.code-input { font: 700 26px/1.2 var(--font-display); letter-spacing: .14em; text-transform: uppercase; text-align: center; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 16px; }
.row .btn { width: 100%; }
.msg { margin: 12px 0 0; min-height: 1.5em; }
/* The email step (2026-12-01): the same field look as the code box; the deals box is a plain checkbox, never ticked for them. */
input[type="email"] { width: 100%; min-height: 52px; padding: 12px 14px; border: 2px solid transparent; border-radius: var(--radius-row);
  background: var(--white); color: var(--night); font: 400 18px/1.2 var(--font-body); }
input[type="email"]::placeholder { color: #5B6E8A; }
input[type="email"]:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(246, 198, 91, .35); }
input[type="email"][aria-invalid="true"] { border-color: var(--bad); }
.email-box { margin-top: 20px; padding-top: 16px; border-top: 2px solid var(--line); display: grid; gap: 12px; }
.email-box .hint { margin: 0; color: var(--frost); font-size: 15px; }
.check { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--sky); }
.confirm { margin: 6px 0 0; color: var(--frost); }
.confirm b { color: var(--gold); font: 700 22px/1.2 var(--font-display); letter-spacing: .06em; margin-left: 6px; overflow-wrap: anywhere; }
.mailed { overflow-wrap: anywhere; }
#card-mailed { overflow-wrap: anywhere; }
.msg.error { color: var(--bad); font-weight: 700; }
.msg.info { color: var(--sky); font-weight: 700; }

/* The build: the credit always in, then pick one. */
#bonus-line { display: inline-block; margin-top: 10px; padding: 4px 14px; border-radius: 999px; background: var(--gold); color: var(--night); font-weight: 700; }
.order-line { display: flex; gap: 12px; align-items: center; margin-top: 14px; padding: 14px; border-radius: var(--radius-row); background: var(--sky-soft); }
.order-line .what { flex: 1; min-width: 0; }
.order-line .what b { display: block; font: 700 22px/1.15 var(--font-display); text-transform: uppercase; }
.order-line .what span { color: var(--frost); font-size: 15px; }
.inc { color: var(--good); font-size: 14px; font-weight: 700; }
fieldset { border: 0; padding: 0; margin: 18px 0 0; min-width: 0; }
legend { padding: 0; font: 700 24px/1.1 var(--font-display); text-transform: uppercase; }
legend + .sub { margin-bottom: 4px; }
.group-h { margin: 16px 0 6px; font: 700 15px/1.3 var(--font-body); color: var(--sky); }
.opt { position: relative; display: flex; gap: 12px; align-items: center; min-height: 56px; padding: 12px 14px; margin-top: 8px;
  border: 2px solid rgba(201, 216, 238, .28); border-radius: var(--radius-row); background: rgba(6, 20, 48, .35); cursor: pointer; }
.opt:hover { border-color: var(--line); }
.opt input[type="radio"] { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--sky); }
.opt .o-name { flex: 1; min-width: 0; font-weight: 700; overflow-wrap: anywhere; }
.opt .o-name small { display: block; font-weight: 400; color: var(--frost); font-size: 14px; }
.opt .o-val { font: 700 22px/1 var(--font-display); }
.opt:has(input:checked) { border-color: var(--sky); background: var(--sky-soft); }
.opt:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.opt.out { cursor: default; opacity: .6; }
.opt.out:hover { border-color: rgba(201, 216, 238, .28); }
.opt.out .o-val { font: 700 14px/1 var(--font-body); color: var(--bad); }
.other-brand { margin: 8px 0 0 34px; }
.summary { margin-top: 20px; padding-top: 16px; border-top: 2px solid var(--line); }
.summary .tot { display: flex; justify-content: space-between; align-items: baseline; font: 700 28px/1 var(--font-display); text-transform: uppercase; }
.summary .tot .free { color: var(--gold); }
.summary #pick-line { margin-top: 6px; }
.summary .btn { width: 100%; margin-top: 16px; }

/* Confirmation: the codes are the point, so they get the biggest type on the page. */
.done > h2 { font-size: clamp(32px, 9vw, 48px); }
.code-card { margin-top: 16px; padding: 18px; border-radius: var(--radius-box); background: var(--white); color: var(--night); text-align: center; }
.code-card .k { display: block; font: 700 15px/1.3 var(--font-body); color: #0F4C7A; }
.code-card .code { display: block; margin: 8px 0 10px; font: 700 clamp(30px, 9vw, 42px)/1.1 var(--font-display); letter-spacing: .08em; overflow-wrap: anywhere; user-select: all; }
.code-card p { margin: 0 0 14px; color: #31435E; font-size: 16px; }
.code-card .btn { width: 100%; }
.code-card .btn-sky { background: var(--night); color: var(--white); }
.code-card .btn-sky:hover { background: var(--royal); color: var(--white); }
.code-card.local { background: transparent; color: var(--white); border: 2px solid var(--sky); }
.code-card.local .k { color: var(--sky); }
.code-card.local p { color: var(--frost); }
.code-card.local .btn-sky { background: var(--sky); color: var(--night); }
.code-card.local .btn-sky:hover { background: #B4E6F9; }
.note-card { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-row); border: 2px solid var(--gold); color: var(--white); text-align: center; }
.note-card b { display: block; font: 700 22px/1.2 var(--font-display); text-transform: uppercase; color: var(--gold); }
.keep { margin-top: 16px; font-weight: 700; text-align: center; }

@media (min-width: 720px) {
  .lights { width: 300px; }
  .hero { padding-top: 32px; }
  .hero .logo { width: 200px; }
  .hero h1 { margin-top: 28px; }
  .hero .cta-row { grid-template-columns: 1fr 1fr; max-width: 560px; margin-top: 26px; }
  main.wrap { padding-top: 60px; }
  .frame { padding: 34px 28px 26px; }
  .picks { grid-template-columns: 1fr 1fr; gap: 0; }
  .pick + .pick { border-left: 2px solid var(--line); padding-left: 24px; margin-left: 0; }
  .pick:first-child { padding-right: 24px; }
  .giftbox { display: block; }
  .how-body { justify-content: center; gap: 40px; }
  .steps { flex: 0 1 auto; }
  .bonus { border-radius: 999px; padding: 18px 40px; }
  .card { padding: 30px 28px; }
  .claim-hero h1 { margin-top: 20px; }
}

/* The one moving thing: the lights twinkle slowly. Off for anyone who asks for less motion. */
@media (prefers-reduced-motion: no-preference) {
  .lights .bulb { animation: twinkle 3.2s ease-in-out infinite; }
  .lights .bulb.b1 { animation-delay: -1.1s; }
  .lights .bulb.b2 { animation-delay: -2.2s; }
  .btn, .opt { transition: background-color .15s, border-color .15s; }
}
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
