/* Sortis Agency — "Obiect în lumină". One object (the card from the parcel), calm neutral light, one red. */

@font-face { font-family: "Hanken Grotesk"; font-weight: 100 900; font-display: swap; src: url(/fonts/hanken-grotesk-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Hanken Grotesk"; font-weight: 100 900; font-display: swap; src: url(/fonts/hanken-grotesk-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ground: var(--b-ground, #f3f3f1); --surface: #fff; --surface-2: #e9e9e5; --line: #d9d9d3;
  --text: #16181b; --text-2: #52565c; --text-3: #63676e;
  --accent: var(--b-accent, #fe5133); --accent-hover: var(--b-accent-hover, #fe6950); --on-accent: var(--b-on-accent, #061a2c);
  --accent-ink: var(--b-accent-ink, #c63f28); /* same hue, dark enough for small text */
  --ok: #1f7a4d; --error: #b3261e;
  --paper: #fff; --paper-ink: #16181b; --paper-2: #6b6f76; --code-ink: var(--b-accent-ink, #c63f28);
  --font: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --object: 0 40px 80px -30px rgb(22 24 27 / .35), 0 2px 6px rgb(22 24 27 / .08);
  --head-h: 68px;
  --logo-tile: #061a2c; --logo-s: #fe5133; --logo-text: #061a2c;
  --wrap: 1200px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #111214; --surface: #1a1c1f; --surface-2: #232529; --line: #303338;
    --text: #ecebe7; --text-2: #b0b3b9; --text-3: #8f939a;
    --accent: #fe5133; --accent-hover: #ff6e52; --on-accent: #111214; --accent-ink: #fe5133;
    --ok: #4cc38a; --error: #f07067;
    --logo-tile: #fcf5e8; --logo-s: #fe5133; --logo-text: #fcf5e8;
    --object: 0 40px 90px -30px rgb(0 0 0 / .7), 0 2px 6px rgb(0 0 0 / .4);
  }  body:not(.is-premium) .btn, body:not(.is-premium) .cta-float { background: var(--text); color: var(--ground); }
  body:not(.is-premium) .btn:hover { background: #fff; }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
body { margin: 0; background: var(--ground); color: var(--text); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 3px solid color-mix(in oklab, var(--accent) 55%, transparent); outline-offset: 3px; border-radius: 6px; }
input, button, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.i { width: 20px; height: 20px; flex: none; }
.muted { color: var(--text-2); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--text); color: var(--ground); padding: 10px 16px; border-radius: 10px; z-index: 50; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
h1 { font-size: clamp(40px, 5.6vw, 76px); line-height: 1.02; font-weight: 500; letter-spacing: -.035em; text-wrap: balance; }
h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; font-weight: 500; letter-spacing: -.015em; text-wrap: balance; }
h3 { font-size: 20px; line-height: 1.3; font-weight: 500; }
.lead { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.55; color: var(--text-2); max-width: 46ch; text-wrap: pretty; }
p, li, dd, figcaption, .lead { text-wrap: pretty; }
h3, summary { text-wrap: balance; }

/* ---------- header, nav, the always-there entry button ---------- */
.demo { margin: 0; padding: 8px 16px; text-align: center; font-size: 13px; color: var(--text-2); background: var(--surface-2); }
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in oklab, var(--ground) 94%, transparent); border-bottom: 1px solid color-mix(in oklab, var(--line) 70%, transparent); }
.top-in { height: var(--head-h); display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 20px; letter-spacing: -.01em; }
.cardmark { width: 32px; height: 22px; color: var(--text); }
.brand-lockup { display: block; height: 44px; width: auto; }
@media (max-width: 600px) { .brand-lockup { height: 38px; } }
.foot-brand .brand-lockup { height: 56px; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--text-2); font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--text); }
.cta-pill { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 10px; background: var(--text); color: var(--ground); text-decoration: none; font-weight: 500; font-size: 15px; transition: background .18s; }
.cta-pill:hover { background: color-mix(in oklab, var(--text) 82%, var(--ground)); }
.cta-float { display: none; }
.client { display: inline-flex; align-items: center; min-height: 40px; }
.client img { max-height: 44px; max-width: 200px; width: auto; object-fit: contain; }
.client-name { font-weight: 600; font-size: 22px; letter-spacing: -.02em; }
.is-premium .cta-pill { margin-left: auto; }

.foot { margin-top: 120px; background: var(--surface-2); padding: 56px 0 64px; }
.foot-in { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-brand p { max-width: 40ch; margin-top: 12px; color: var(--text-2); font-size: 15px; }
.foot-nav { display: grid; grid-template-columns: repeat(2, auto); gap: 12px 40px; align-content: start; }
.foot-nav a { color: var(--text-2); text-decoration: none; font-size: 15px; }
.foot-nav a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.foot-premium { padding: 28px 0; margin-top: 80px; }
.foot-legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line, rgb(0 0 0 / .1)); display: grid; gap: 6px; font-size: 13.5px; color: var(--text-2); }
.foot-legal a { color: inherit; text-underline-offset: 3px; }
.foot-legal p:empty { display: none; }
.foot-premium .foot-in { align-items: center; font-size: 14px; color: var(--text-2); }

/* ---------- buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 0 24px; border-radius: 10px; border: 0; background: var(--accent); color: var(--on-accent); font-weight: 500; font-size: 17px; text-decoration: none; transition: background .18s, transform .12s; }
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .55; cursor: progress; }
.btn-quiet { display: inline-flex; align-items: center; min-height: 56px; padding: 0 24px; border-radius: 10px; border: 1.5px solid var(--line); background: transparent; color: var(--text); font-weight: 500; font-size: 16px; text-decoration: none; transition: border-color .18s; }
.btn-quiet:hover { border-color: var(--text); }
.link { color: var(--text); font-weight: 500; text-decoration: underline; text-decoration-color: color-mix(in oklab, var(--accent) 60%, transparent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.link:hover { text-decoration-color: var(--accent); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* ---------- the card: the object at the centre ---------- */
.card { width: clamp(280px, 29vw, 420px); aspect-ratio: 1.68; background: var(--paper); color: var(--paper-ink); border-radius: 18px; box-shadow: var(--object); padding: 7%; display: grid; grid-template-columns: 38% 1fr; gap: 7%; align-items: center; }
.card-qr svg { width: 100%; height: auto; }
.card-txt { display: grid; gap: 6px; min-width: 0; }
.card-head { font-size: clamp(10px, .8vw, 12px); color: var(--paper-2); }
.card-prize { font-size: clamp(15px, 1.4vw, 21px); line-height: 1.2; font-weight: 500; }
.card-code { font: 600 clamp(13px, 1.25vw, 18px)/1.3 var(--mono); letter-spacing: .06em; color: var(--code-ink); padding: 4px 0; border-radius: 4px; transition: background .5s var(--ease), padding .5s var(--ease), box-shadow .5s var(--ease); white-space: nowrap; }
.card-small { width: min(100%, 340px); }
.card-tilt { transform: rotate(-5deg); }

/* ---------- home: the story ---------- */
.story-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.step { min-height: 88vh; display: flex; flex-direction: column; justify-content: center; padding: 64px 0; position: relative; }
.step-first { min-height: calc(100svh - var(--head-h) - 40px); padding-top: 32px; }
.step .lead { margin-top: 24px; }
.step .link { margin-top: 24px; align-self: flex-start; }
.anchor { position: absolute; top: 0; }
.story-ready .step:not(.step-first) > * { transition: opacity .5s var(--ease); }
.story-ready .step:not(.is-active):not(.step-first) > * { color: var(--text-3); }
.story-ready .step:not(.is-active):not(.step-first) .lead { color: var(--text-3); }
.stage { position: sticky; top: var(--head-h); height: calc(100svh - var(--head-h)); display: grid; place-items: center; }
.stage-in { position: relative; width: 100%; height: 78%; perspective: 1400px; }
.layer { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 20px; transition: opacity .22s var(--ease), transform .5s var(--ease); }
.layer-card .card { transform: rotate(-7deg) rotateY(14deg); transition: transform .8s var(--ease); }
.layer-prize, .layer-urn, .layer-shops { opacity: 0; transform: translateY(24px) scale(.97); pointer-events: none; }
.stage-date { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--text-2); }
.stage[data-stage="2"] .layer-card .card { transform: rotate(0) rotateY(0) scale(1.1); }
.stage[data-stage="2"] .card-code { background: color-mix(in oklab, var(--code-ink) 8%, transparent); padding: 4px 8px; box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--code-ink) 50%, transparent); }
.stage[data-stage="3"] .layer-card, .stage[data-stage="4"] .layer-card, .stage[data-stage="5"] .layer-card { opacity: 0; transform: translate(-18%, 22%) scale(.6); }
.stage[data-stage="3"] .layer-prize, .stage[data-stage="4"] .layer-urn, .stage[data-stage="5"] .layer-shops { opacity: 1; transform: none; }
/* the arriving layer waits until the leaving one is gone, so two objects never show at once */
.stage[data-stage="1"] .layer-card, .stage[data-stage="2"] .layer-card, .stage[data-stage="3"] .layer-prize, .stage[data-stage="4"] .layer-urn, .stage[data-stage="5"] .layer-shops { transition: opacity .45s var(--ease) .2s, transform .6s var(--ease) .2s; }
.prize-photo { margin: 0; display: grid; gap: 8px; }
.prize-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; box-shadow: var(--object); background: var(--surface); }
.prize-photo figcaption { font-size: 14px; color: var(--text-2); }
.prize-photo.big { width: min(100%, 520px); }
.prize-panel { width: min(100%, 460px); aspect-ratio: 4 / 3; border-radius: 20px; background: var(--surface); box-shadow: var(--object); padding: 36px; display: grid; align-content: end; gap: 8px; }
.prize-panel .pp-label { font-size: 14px; color: var(--text-2); }
.prize-panel strong { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.08; font-weight: 500; letter-spacing: -.025em; }
.prize-panel .pp-value { color: var(--text-2); }
.urn { display: grid; grid-template-columns: repeat(6, 44px); gap: 12px; padding: 32px; border-radius: 20px; background: var(--surface); box-shadow: var(--object); }
.chip { height: 28px; border-radius: 6px; background: var(--surface-2); }
.chip.won { background: var(--code-ink); }
.stage[data-stage="4"] .chip.won { animation: pick .9s var(--ease) .35s both; }
@keyframes pick { from { transform: scale(.6); opacity: .3; } to { transform: scale(1); opacity: 1; } }
.fan { position: relative; width: 340px; height: 230px; }
.fan-card { position: absolute; inset: 0; background: var(--paper); border-radius: 16px; box-shadow: var(--object); transform: rotate(calc((var(--i) - 1) * 9deg)) translateX(calc((var(--i) - 1) * 46px)); padding: 24px; display: grid; align-content: start; gap: 12px; }
.fan-card span { width: 14px; height: 14px; border-radius: 50%; background: var(--dot); }
.fan-card i { display: block; height: 10px; border-radius: 5px; background: #e6e6e2; width: 70%; }
.fan-card i + i { width: 45%; }
.progress { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: grid; gap: 8px; }
.progress li { width: 6px; height: 6px; border-radius: 3px; background: var(--line); transition: height .4s var(--ease), background .4s; }
.progress li.on { height: 24px; background: var(--text); }

/* ---------- entry ---------- */
.intra { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; padding-top: 96px; }
.intra-copy { position: sticky; top: calc(var(--head-h) + 40px); display: grid; gap: 28px; }
.intra-copy .lead { margin-top: -8px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 3vw, 40px); }
.entry { display: grid; gap: 20px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; align-content: start; }
.field label, .seg legend { font-size: 15px; font-weight: 500; }
.field input, .field textarea { width: 100%; min-height: 56px; background: var(--ground); border: 1.5px solid var(--line); border-radius: 10px; padding: 14px 16px; font-size: 17px; transition: border-color .16s, box-shadow .16s; }
.field textarea { min-height: 0; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:hover, .field textarea:hover { border-color: color-mix(in oklab, var(--text) 35%, var(--line)); }
.field input:focus, .field textarea:focus { outline: none; background: var(--surface); border-color: var(--text); box-shadow: 0 0 0 4px color-mix(in oklab, var(--text) 12%, transparent); }
.field-code input { min-height: 64px; font: 500 clamp(19px, 2vw, 22px)/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.hint { font-size: 14px; color: var(--text-2); }
.hint.is-found { color: var(--text); }
.err { font-size: 14px; font-weight: 500; color: var(--error); }
.err:empty { display: none; }
.has-err input { border-color: var(--error); }
.checks { display: grid; gap: 12px; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 15px; line-height: 1.5; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check .box { width: 24px; height: 24px; border: 1.5px solid color-mix(in oklab, var(--text) 45%, var(--line)); border-radius: 6px; display: grid; place-items: center; background: var(--surface); margin-top: 1px; transition: background .15s, border-color .15s; }
.check .box .i { width: 16px; height: 16px; color: var(--ground); opacity: 0; transform: scale(.6); transition: opacity .15s, transform .2s var(--ease); }
.check input:checked + .box { background: var(--text); border-color: var(--text); }
.check input:checked + .box .i { opacity: 1; transform: none; }
.check input:focus-visible + .box { outline: 3px solid color-mix(in oklab, var(--accent) 55%, transparent); outline-offset: 2px; }
.check a { font-weight: 500; text-underline-offset: 3px; }
.entry .btn { width: 100%; min-height: 60px; font-size: 18px; }
.form-err { font-weight: 500; color: var(--error); }
.form-err:empty { display: none; }
.done { display: grid; gap: 12px; justify-items: start; }
.done:focus { outline: none; }
.done-mark { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #fff; }
.done-mark .i { width: 26px; height: 26px; }
.is-done .done-mark { animation: pop .5s var(--ease) both; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.done h2 { font-size: clamp(26px, 2.6vw, 34px); }
.done-serial strong { font: 600 20px var(--mono); letter-spacing: .04em; }
.done-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 8px; }

/* ---------- lists of raffles and results ---------- */
.block { margin-top: clamp(96px, 12vh, 140px); }
.block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px 40px; flex-wrap: wrap; margin-bottom: 28px; }
.block-head p { color: var(--text-2); max-width: 52ch; }
.raffles { display: grid; border-top: 1px solid var(--line); }
.raffle a { display: grid; grid-template-columns: 88px 1fr auto; gap: 24px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.raffle a:hover .raffle-txt strong { text-decoration: underline; text-underline-offset: 4px; }
.raffle-visual { width: 88px; aspect-ratio: 4 / 3; border-radius: 12px; background: var(--surface); display: grid; place-items: center; overflow: hidden; }
.raffle-visual img { width: 100%; height: 100%; object-fit: cover; }
.raffle-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--shop); }
.raffle-txt { display: grid; gap: 2px; }
.raffle-txt strong { font-size: 20px; font-weight: 500; }
.raffle-txt span { color: var(--text-2); font-size: 15px; }
.raffle-txt .promo { justify-self: start; margin-top: 4px; font-size: 12px; font-weight: 500; color: var(--text); background: var(--surface-2); padding: 2px 8px; border-radius: 6px; }
.raffle-date { display: grid; justify-items: end; text-align: right; }
.raffle-date strong { font-size: 18px; font-weight: 500; }
.raffle-date span { font-size: 14px; color: var(--text-2); }
.results { display: grid; border-top: 1px solid var(--line); }
.results li { display: grid; grid-template-columns: 1fr auto auto auto; gap: 24px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.res-prize { display: grid; }
.res-prize span, .res-date { color: var(--text-2); font-size: 15px; }
.res-ticket { font: 500 15px var(--mono); }
.empty { padding: 28px; border-radius: 16px; background: var(--surface); color: var(--text-2); }

/* ---------- raffle page & Premium ---------- */
.page-raffle main { padding-top: 40px; }
.hero-raffle { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.hero-raffle h1 { font-size: clamp(30px, 3.3vw, 46px); }
.page-raffle .panel { padding: 24px 28px; }
.page-raffle .entry { gap: 16px; }
.hr-form { display: grid; gap: 20px; }
.hr-form .lead { margin-bottom: 8px; }
.hr-visual { display: grid; gap: 20px; justify-items: start; position: sticky; top: calc(var(--head-h) + 24px); }
.hr-visual .prize-photo.big, .hr-visual .prize-panel.big { width: 100%; }
.hr-facts { display: grid; grid-template-columns: repeat(3, auto); gap: 24px; }
.hr-facts dt { font-size: 14px; color: var(--text-2); }
.hr-facts dd { font-weight: 500; }
.winner { display: flex; align-items: baseline; gap: 16px 32px; flex-wrap: wrap; padding: 28px 32px; border-radius: 20px; background: var(--surface); }
.winner strong { font: 600 28px var(--mono); }
.facts h2 { margin-bottom: 32px; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--line); margin-bottom: 40px; }
.timeline li { padding: 16px 16px 0 0; display: grid; gap: 2px; position: relative; color: var(--text-2); }
.timeline li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--ground); border: 2px solid var(--line); }
.timeline li.on::before { background: var(--text); border-color: var(--text); }
.timeline li:last-child::before { border-color: var(--accent); }
.timeline strong { font-size: 18px; color: var(--text); }
.factlist { display: grid; border-top: 1px solid var(--line); }
.factlist > div { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.factlist dt { font-weight: 500; }
.factlist dd { color: var(--text-2); display: grid; gap: 6px; justify-items: start; }
.hash { font: 500 13px/1.5 var(--mono); word-break: break-all; background: var(--surface); padding: 4px 8px; border-radius: 8px; color: var(--text); }

.is-premium { --ground: var(--brand-ground); --text: var(--brand-ink); --text-2: color-mix(in oklab, var(--brand-ink) 86%, var(--brand-ground)); --text-3: color-mix(in oklab, var(--brand-ink) 80%, var(--brand-ground)); --line: color-mix(in oklab, var(--brand-ink) 18%, var(--brand-ground)); --surface: color-mix(in oklab, #fff 70%, var(--brand-ground)); --surface-2: color-mix(in oklab, var(--brand-ink) 6%, var(--brand-ground)); --accent: var(--brand-ink); --accent-hover: color-mix(in oklab, var(--brand-ink) 82%, #000); --on-accent: var(--brand-ground); color-scheme: light; }
.is-premium .top { background: var(--ground); }
.is-premium .cta-pill { background: var(--brand-ink); color: var(--brand-ground); }

/* ---------- documents ---------- */
.doc { max-width: 780px; padding-top: 56px; display: grid; gap: 24px; }
.doc.wide { max-width: var(--wrap); }
.doc h1 { font-size: clamp(36px, 4.4vw, 56px); }
.doc h2 { margin-top: 32px; }
.legal p { max-width: 68ch; margin-bottom: 14px; color: var(--text-2); }
.proof { counter-reset: p; display: grid; border-top: 1px solid var(--line); }
.proof li { counter-increment: p; display: grid; grid-template-columns: 40px 1fr; gap: 4px 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.proof li::before { content: counter(p); grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font-weight: 500; font-size: 15px; }
.proof p { color: var(--text-2); max-width: 64ch; }
.picks { display: grid; gap: 12px; }
.picks li { display: grid; grid-template-columns: 140px 180px 1fr; gap: 16px; align-items: baseline; padding: 16px 20px; border-radius: 12px; background: var(--surface); }
.picks li:first-child strong { color: var(--accent-ink); }
.picks strong { font: 600 20px var(--mono); }
.picks code { font: 14px var(--mono); color: var(--text-2); }
.verify-out { display: grid; gap: 8px; }
.verify-out p { display: flex; gap: 10px; }
.verify-out .ok { color: var(--ok); }
.verify-out .bad { color: var(--error); }
.winners { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 28px; margin-top: 16px; }
.winners li { display: grid; gap: 16px; }
.winners .prize-panel { width: 100%; padding: 28px; }
.w-txt { display: grid; gap: 4px; }
.w-txt strong { font-size: 20px; }
.w-txt span { color: var(--text-2); font-size: 15px; }
.w-txt .link { justify-self: start; margin-top: 8px; }
.msg { justify-items: start; padding-top: 80px; }
.msg .card { margin-bottom: 24px; transform: rotate(-4deg); }

/* ---------- shops ---------- */
.shops-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: center; min-height: calc(88svh - var(--head-h)); padding-top: 24px; }
.shops-hero h1 { font-size: clamp(40px, 5vw, 68px); }
.shops-hero .lead { margin-top: 24px; }
.shops-visual { display: grid; justify-items: center; gap: 28px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.split h2 { max-width: 18ch; }
.what { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; margin-top: 32px; border-top: 1px solid var(--line); }
.what > div { padding: 24px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.what dt { font-weight: 500; font-size: 20px; }
.what dd { color: var(--text-2); }
.sequence { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 32px; }
.sequence li { counter-increment: s; display: grid; gap: 8px; align-content: start; border-top: 2px solid var(--text); padding-top: 16px; }
.sequence li::before { content: counter(s); font-weight: 500; color: var(--text-3); }
.sequence p { color: var(--text-2); }
.packs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
.pack { background: var(--surface); border-radius: 20px; padding: 36px; display: grid; gap: 8px; align-content: start; }
.pack h3 { font-size: 28px; }
.pack ul { margin-top: 16px; display: grid; }
.pack li { padding: 12px 0; border-top: 1px solid var(--line); }
.pack-premium { background: var(--text); color: var(--ground); }
.pack-premium .muted { color: color-mix(in oklab, var(--ground) 70%, var(--text)); }
.pack-premium li { border-color: color-mix(in oklab, var(--ground) 20%, var(--text)); }
.offer { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.offer .lead { margin-top: 16px; }
.lead-form { display: grid; gap: 16px; }
.seg { border: 0; padding: 0; margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.seg legend { margin-bottom: 8px; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 10px; font-weight: 500; cursor: pointer; transition: background .15s, border-color .15s; }
.seg input:checked + span { background: var(--text); color: var(--ground); border-color: var(--text); }
.seg input:focus-visible + span { outline: 3px solid color-mix(in oklab, var(--accent) 55%, transparent); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.ok-msg { display: flex; gap: 12px; align-items: center; font-size: 19px; font-weight: 500; color: var(--ok); }

/* ---------- tablet & phone ---------- */
@media (max-width: 980px) {
  .nav { display: none; }
  .cta-pill { margin-left: auto; }
  .story-in { grid-template-columns: 1fr; gap: 0; }
  .stage { order: -1; top: var(--head-h); height: 40svh; z-index: 5; background: var(--ground); box-shadow: 0 12px 16px -6px var(--ground); }
  .stage-in { height: 100%; }
  .card { width: min(64vw, 320px); }
  .prize-photo.big, .prize-panel.big { width: min(70vw, 340px); }
  .prize-panel.big { padding: 24px; }
  .urn { grid-template-columns: repeat(6, 32px); gap: 8px; padding: 16px; }
  .chip { height: 20px; }
  .fan { transform: scale(.72); }
  .progress { right: 0; }
  .step { min-height: 62svh; padding: 40px 0; }
  .step-first { min-height: 0; padding-top: 8px; }
  .intra, .hero-raffle, .shops-hero, .split, .offer { grid-template-columns: 1fr; gap: 32px; }
  .intra-copy, .hr-visual { position: static; }
  .intra-copy .card-small { display: none; }
  .what, .packs { grid-template-columns: 1fr; }
  .sequence { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: min(100% - 32px, var(--wrap)); }
  :root { --head-h: 60px; }
  .top-in { gap: 16px; }
  .top .cta-pill { display: none; }
  .cta-float { display: inline-flex; position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 30; align-items: center; height: 56px; padding: 0 24px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 500; font-size: 17px; text-decoration: none; box-shadow: 0 12px 30px -10px rgb(0 0 0 / .45); transition: opacity .25s, transform .25s var(--ease); }
  .cta-float.is-hidden { opacity: 0; transform: translateY(16px); pointer-events: none; }
  .row2 { gap: 12px; }
  .row2 .hint { display: none; }
  .page-raffle .field-code .hint:not(.is-found) { display: none; }
  .page-raffle .panel { padding: 16px; border-radius: 16px; }
  .page-raffle .entry { gap: 12px; }
  .page-raffle .lead { font-size: 16px; }
  .field input { min-height: 52px; padding: 12px 16px; font-size: 16px; }
  .field-code input { min-height: 56px; }
  .check { font-size: 14px; }
  .entry .btn { min-height: 58px; }
  .page-raffle main { padding-top: 16px; }
  .hero-raffle h1 { font-size: 26px; }
  .hr-form { gap: 12px; }
  .hr-visual { order: 2; }
  .hr-facts { grid-template-columns: 1fr 1fr; }
  .raffle a { grid-template-columns: 64px 1fr; gap: 16px; }
  .raffle-visual { width: 64px; }
  .raffle-date { grid-column: 2; justify-items: start; text-align: left; }
  .results li { grid-template-columns: 1fr auto; gap: 4px 16px; }
  .res-date { grid-column: 1; }
  .factlist > div { grid-template-columns: 1fr; gap: 4px; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 24px; border-top: 0; }
  .timeline li { border-top: 2px solid var(--line); }
  .picks li { grid-template-columns: 1fr; gap: 2px; }
  .sequence { grid-template-columns: 1fr; }
  .foot { margin-top: 80px; padding-bottom: 104px; }
  .foot-nav { grid-template-columns: 1fr; }
  .demo { font-size: 12px; }
}
/* ---------- which raffle this form enters (always visible above the code field) ---------- */
.entry-for { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; padding: 0 0 16px; border-bottom: 1px solid var(--line); }
.ef-thumb { width: 96px; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--surface-2); display: grid; place-items: center; color: var(--text-2); }
.ef-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ef-thumb .i { width: 28px; height: 28px; }
.ef-txt { display: grid; gap: 2px; min-width: 0; }
.ef-txt > span:first-child { font-size: 14px; color: var(--text-2); }
.ef-txt strong { font-size: 19px; line-height: 1.25; font-weight: 500; }
.ef-txt .muted { font-size: 14px; }
.hint .entry-for.found { margin-top: 6px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); grid-template-columns: 72px 1fr; }
.hint .entry-for.found:not(:has(.ef-thumb)) { grid-template-columns: 1fr; }
.hint .entry-for.found .ef-thumb { width: 72px; }
.others-note { margin: -16px 0 24px; }

/* ---------- marketplace of active raffles ---------- */
.market { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 28px; }
.mcard a { display: grid; gap: 16px; text-decoration: none; height: 100%; }
.mc-visual { position: relative; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: var(--surface); display: grid; align-content: end; }
.mc-visual img { transition: opacity .18s; }
.mcard a:hover .mc-visual img { opacity: .9; }
.mc-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mc-visual:has(.mc-fallback) { background: color-mix(in oklab, var(--shop) 12%, var(--surface)); }
.mc-fallback { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; color: color-mix(in oklab, var(--shop) 70%, var(--text)); font-size: 14px; }
.mc-fallback .i { width: 40px; height: 40px; }
.mc-visual .promo { position: absolute; top: 12px; left: 12px; font-size: 12px; font-weight: 500; color: var(--text); background: var(--surface-2); padding: 2px 8px; border-radius: 6px; }
.mc-body { display: grid; gap: 4px; }
.mc-shop { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); }
.mc-shop i { width: 10px; height: 10px; border-radius: 50%; background: var(--shop); }
.mc-prize { font-size: 21px; line-height: 1.2; font-weight: 500; }
.mcard a:hover .mc-prize { text-decoration: underline; text-underline-offset: 4px; }
.mc-cond { color: var(--text-2); font-size: 15px; }
.mc-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-2); }
.mc-foot strong { color: var(--text); font-weight: 500; }
@media (max-width: 640px) {
  .entry-for { grid-template-columns: 104px 1fr; gap: 16px; padding-bottom: 16px; }
  .ef-thumb { width: 104px; }
  .ef-txt strong { font-size: 18px; }
  .page-raffle .hr-visual .prize-photo, .page-raffle .hr-visual .prize-panel { display: none; }
}

/* ---------- editable brand & FAQ ---------- */
.font-system body { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.brand-logo { max-height: 36px; max-width: 180px; width: auto; object-fit: contain; }
.faq h2 { margin-bottom: 24px; }
.faq-list { border-top: 1px solid var(--line); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 500; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 20px; color: var(--text-2); max-width: 64ch; }
/* ---------- final review fixes ---------- */
.nav a[aria-current] { color: var(--text); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.hr-banner { display: none; }
.factlist dt small { display: block; font-weight: 400; font-size: 13px; color: var(--text-2); margin-top: 2px; }
@media (max-width: 640px) {
  .page-raffle .hr-banner { display: block; width: 100%; aspect-ratio: 2.3 / 1; object-fit: cover; border-radius: 16px; box-shadow: var(--object); }
  .page-raffle .hr-banner ~ .panel .ef-thumb { display: none; }
  .page-raffle .hr-banner ~ .panel .entry-for { grid-template-columns: 1fr; padding-bottom: 12px; }
  .page-raffle .hr-banner ~ .panel .ef-txt { display: block; font-size: 14px; color: var(--text-2); }
  .page-raffle .hr-banner ~ .panel .ef-txt strong { display: none; }
  .page-raffle .hr-banner ~ .panel .ef-txt .muted::before { content: " · "; }
  .page-raffle .hr-lede { display: none; }
}
@media (max-width: 520px) { body:not(.page-raffle) .row2 { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .layer-card .card, .stage[data-stage] .layer-card .card { transform: none; }
}
/* short laptop screens (1366×768): the raffle form and its button must fit without scrolling */
@media (min-width: 641px) and (max-height: 820px) {
  .page-raffle main { padding-top: 20px; }
  .hero-raffle h1 { font-size: clamp(28px, 2.8vw, 38px); }
  .hr-form { gap: 12px; }
  .page-raffle .row2 .hint, .page-raffle .field-code .hint:not(.is-found) { display: none; }
  .page-raffle .panel { padding: 20px 24px; }
  .page-raffle .entry { gap: 12px; }
  .page-raffle .field input { min-height: 48px; padding: 12px 16px; }
  .page-raffle .field-code input { min-height: 54px; }
  .page-raffle .checks { gap: 8px; }
}

/* ---------- customer account: "Tombolele mele" ---------- */
.top-acc { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.top-acc:hover, .top-acc[aria-current] { color: var(--text); }
.top-acc .i { width: 20px; height: 20px; }
.nav + .top-acc { margin-left: 4px; }
.done-account:empty { display: none; }
.acc-auth { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 380px); gap: clamp(32px, 6vw, 96px); padding-top: 56px; padding-bottom: 96px; align-items: start; }
.acc-auth-main { display: grid; gap: 24px; }
.acc-auth h1, .acc-head h1 { font-size: clamp(36px, 4.4vw, 56px); }
.acc-form, .acc-add { display: grid; gap: 20px; }
.acc-form .btn, .acc-add .btn { width: 100%; }
.acc-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.acc-optional { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; }
.acc-optional legend { font-size: 15px; font-weight: 500; margin-bottom: 12px; }
.acc-why { padding-top: 8px; display: grid; gap: 16px; }
.acc-why h2 { font-size: 20px; letter-spacing: 0; }
.acc-why ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--text-2); }
.acc-danger h2 { font-size: 20px; letter-spacing: 0; }
.acc-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; padding-top: 56px; }
.acc-head .lead { margin-top: 12px; }
.acc-who { display: flex; align-items: center; gap: 16px; }
.acc-who .btn-quiet { min-height: 44px; }
.acc-empty { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; padding-top: 48px; }
.acc-empty .card { width: 300px; }
.acc-list h2 { font-size: 20px; letter-spacing: 0; margin-bottom: 16px; }
.tks { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.tk { display: grid; grid-template-columns: 200px 1fr; gap: 28px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.tk-thumb { aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--surface-2, var(--ground)); display: grid; place-items: center; color: var(--text-3); }
.tk-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tk-thumb .i { width: 40px; height: 40px; }
.tk-body { display: grid; gap: 8px; align-content: start; min-width: 0; }
.tk-status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.tk-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-3); }
.tk-inscris .tk-dot, .tk-asteptare .tk-dot, .tk-azi .tk-dot { background: var(--text); }
.tk-castigat .tk-status { color: var(--ok); }
.tk-castigat .tk-dot { background: var(--ok); }
.tk-castigat { border-color: color-mix(in oklab, var(--ok) 45%, var(--line)); }
.tk-anulat .tk-status { color: var(--error); }
.tk-anulat .tk-dot { background: var(--error); }
.tk h3 { font-size: 20px; }
.tk h3 a { color: inherit; text-decoration: none; }
.tk h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tk-shop { color: var(--text-2); font-size: 15px; }
.tk-text { max-width: 62ch; }
.tk-steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; max-width: 520px; }
.tk-steps li { display: grid; gap: 2px; padding-top: 10px; border-top: 3px solid var(--line); font-size: 14px; }
.tk-steps li.is-done { border-top-color: var(--text); }
.tk-steps span { font-weight: 500; }
.tk-steps time { color: var(--text-2); }
.tk-meta { display: flex; flex-wrap: wrap; gap: 8px 32px; margin: 8px 0 0; font-size: 14px; }
.tk-meta div { display: flex; gap: 8px; }
.tk-meta dt { color: var(--text-2); }
.tk-meta dd { margin: 0; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.tk-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; margin-top: 4px; }
.tk-links:empty { display: none; }
.acc-add { max-width: 760px; }
.acc-add h2 { font-size: 20px; letter-spacing: 0; }
@media (max-width: 980px) {
  .acc-auth { grid-template-columns: 1fr; }
  .top-in > .top-acc { margin-left: auto; }
  .top-acc + .cta-pill { margin-left: 0; }
}
@media (max-width: 640px) {
  .top-acc span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .top-in > .top-acc { margin-left: auto; width: 44px; height: 44px; justify-content: center; }
  .top-acc .i { width: 24px; height: 24px; }
  .acc-auth, .acc-head { padding-top: 32px; }
  .acc-empty { grid-template-columns: 1fr; gap: 24px; }
  .acc-empty .card { width: 100%; max-width: 320px; }
  .tk { grid-template-columns: 1fr; gap: 16px; padding: 16px; }
  .tk-thumb { aspect-ratio: 21 / 9; }
  .acc-head .lead { font-size: 18px; }
}
.acc-list.block { margin-top: 64px; }
.acc-list + .acc-list, .acc-list + .block { margin-top: 64px; }
