@font-face { font-family: 'Proxima Nova'; font-weight: 300; font-display: swap; src: url(fonts/proxima-nova-300.woff2) format('woff2'); }
@font-face { font-family: 'Proxima Nova'; font-weight: 400; font-display: swap; src: url(fonts/proxima-nova-400.woff2) format('woff2'); }
@font-face { font-family: 'Proxima Nova'; font-weight: 600; font-display: swap; src: url(fonts/proxima-nova-600.woff2) format('woff2'); }
@font-face { font-family: 'Proxima Nova'; font-weight: 700; font-display: swap; src: url(fonts/proxima-nova-700.woff2) format('woff2'); }

/* CF 2026 palette, and the kiosk's own inks (src/brand.js CF_UI). The page is
   always the kiosk's night blue: it is a sign in a shopping centre, not a
   document, so it does not follow the phone's light or dark setting. */
:root {
  --midnight: #0d2240;
  --sky: #78caf1;
  --red: #dd0031;
  --gold-1: #e2b24f;
  --gold-2: #f3cd77;
  --gold-3: #fdde93;
  --gold-ramp: linear-gradient(90deg, var(--gold-1), var(--gold-2), var(--gold-3));
  --ink: #ffffff;
  --soft: rgba(255,255,255,.78);
  --line: rgba(184,218,229,.2);
  --card: rgba(255,255,255,.06);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--midnight); }
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(130% 55% at 50% 0%, #15396a 0%, var(--midnight) 62%) var(--midnight) no-repeat;
  color: var(--ink);
  font: 400 17px/1.45 'Proxima Nova', 'Helvetica Neue', Arial, sans-serif;
  text-align: center;
}
main { max-width: 460px; margin: 0 auto; padding: max(32px, env(safe-area-inset-top)) 20px max(36px, env(safe-area-inset-bottom)); }
section { padding: 36px 0; border-top: 1px solid var(--line); }
h2 { margin: 0 0 6px; font-weight: 700; font-size: 25px; line-height: 1.15; }
.sub { margin: 0 auto 24px; max-width: 320px; color: var(--soft); }

/* The CF monogram, gold, as on the kiosk's masthead: a mask over the ramp */
.mark {
  width: 104px; height: 50px; margin: 0 auto 14px;
  background: linear-gradient(160deg, var(--gold-1), var(--gold-2), var(--gold-3));
  -webkit-mask: url(cf-mark.png) center / contain no-repeat;
          mask: url(cf-mark.png) center / contain no-repeat;
}
.mark.small { width: 64px; height: 31px; margin-bottom: 8px; }

/* Hero: the kiosk's lockup — Tree Designer in Proxima Light, then
   DESIGN YOUR over a gold LIGHT SHOW, as on the share card */
.hero { padding-bottom: 34px; }
h1 { margin: 0; font-weight: 300; font-size: clamp(40px, 12vw, 50px); line-height: 1; letter-spacing: -.01em; text-shadow: 0 0 24px rgba(120,202,241,.25); }
.kicker { margin: 16px 0 0; font-weight: 600; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; }
.kicker span {
  display: block; margin-top: 2px; font-weight: 700; font-size: clamp(34px, 10.5vw, 44px); letter-spacing: .01em; line-height: 1.05;
  background: var(--gold-ramp); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tree { display: block; width: 150px; height: auto; margin: 22px auto 4px; }
.lede { margin: 6px auto 0; max-width: 300px; font-size: 19px; color: var(--soft); }

/* Steps: the kiosk's red with its gold rim, one step to a row */
ol.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
ol.steps li { display: grid; justify-items: center; gap: 4px; }
.n {
  width: 40px; height: 40px; border-radius: 50%; margin-bottom: 6px;
  display: grid; place-items: center;
  background: var(--red); color: #fff; font-weight: 700; font-size: 19px;
  box-shadow: 0 0 0 2px var(--gold-1), 0 4px 14px rgba(221,0,49,.35);
}
ol.steps strong { font-size: 19px; font-weight: 600; }
ol.steps li > span:last-child { color: var(--soft); max-width: 310px; }

/* Quick facts: one panel cut into four by hairlines, a one-line label under
   each number, so the four read as a set and sit at the same height */
.facts {
  display: grid; grid-template-columns: 1fr 1fr; margin-top: 22px;
  border-radius: 18px; background: var(--card); border: 1px solid var(--line); overflow: hidden;
}
.fact { padding: 18px 8px 16px; }
.fact:nth-child(odd) { border-right: 1px solid var(--line); }
.fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.fact b {
  display: block; font-size: 40px; font-weight: 700; line-height: 1;
  background: var(--gold-ramp); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.fact span { display: block; margin-top: 6px; font-size: 15px; line-height: 1.3; color: var(--soft); white-space: nowrap; }

/* Before your turn */
.tips { display: grid; gap: 28px; margin-top: 22px; }
.tips strong { display: block; font-size: 19px; font-weight: 600; }
.tips span { display: block; color: var(--soft); max-width: 310px; margin: 4px auto 0; }
.sw { list-style: none; padding: 0; margin: 14px 0 0; display: flex; justify-content: center; gap: 10px; }
.sw li { display: grid; justify-items: center; gap: 6px; width: 58px; font-size: 13px; line-height: 1.15; color: var(--soft); }
.sw i { width: 36px; height: 36px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255,255,255,.75), 0 0 16px -2px var(--glow); }
.c-red { background: #dd0031; --glow: #dd0031; }
.c-blue { background: #2f6fb0; --glow: #2f6fb0; }
.c-green { background: #149a90; --glow: #149a90; }
.c-lightblue { background: #6ec6f0; --glow: #6ec6f0; }
.c-pink { background: #ff2e7d; --glow: #ff2e7d; }

footer { padding-top: 30px; border-top: 1px solid var(--line); color: var(--soft); }
footer p { margin: 0; font-size: 16px; }

@media (max-width: 350px) {
  body { font-size: 16px; }
  .sw { gap: 4px; }
  .sw li { width: 52px; }
  .fact b { font-size: 34px; }
  .fact span { font-size: 14px; }
}
