:root { --brand:#1f6feb; --brand-dark:#0b1f44; --ink:#15181d; --muted:#5b6472; --bg:#f4f6fa; --radius:16px; }
* { box-sizing: border-box; }
body { margin:0; font:16px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif; color:var(--ink); background:var(--bg); }
.hero { position:relative; overflow:hidden; background:linear-gradient(140deg,var(--brand-dark),var(--brand)); color:#fff; padding:28px 20px 96px; }
.banner { position:absolute; inset:0; background-size:cover; background-position:center; opacity:.25; }
.hero-inner { position:relative; max-width:560px; margin:0 auto; padding-right:0; }
.topbar { display:flex; align-items:center; justify-content:space-between; gap:12px 20px; flex-wrap:wrap; margin-bottom:18px; }
.brand-link { color:inherit; text-decoration:none; display:inline-block; border-radius:12px; }
.brand-link:focus-visible { outline:3px solid rgba(255,255,255,.8); outline-offset:3px; }
.cuelinks-logo { height:22px; width:auto; opacity:.95; }
.logo-chip { display:inline-block; background:#fff; padding:9px 16px; border-radius:12px; box-shadow:0 2px 8px rgba(0,0,0,.15); }
.logo.logo-light { max-height:34px; } /* white artwork sits directly on the header, no chip */
.logo { display:block; height:auto; max-height:84px; max-width:240px; } /* wide logos keep their natural size; square badges get room to be legible */
.logo-text { font-weight:800; letter-spacing:.3px; font-size:1.3rem; opacity:.95; }
h1 { font-size:1.6rem; line-height:1.2; margin:0 0 8px; max-width:15em; }
.sub { margin:0; opacity:.9; max-width:26em; }
.mascot { position:absolute; right:-20px; bottom:-18px; width:190px; height:auto; pointer-events:none; }
.card { position:relative; max-width:560px; margin:-64px auto 0; background:#fff; border-radius:var(--radius); padding:24px 20px; box-shadow:0 10px 30px rgba(15,25,50,.12); }
.plain .card { margin:15vh auto 0; text-align:center; }
.plain-mark { font-size:2.2rem; margin-bottom:6px; }
h2 { margin:0 0 4px; font-size:1.25rem; }
.muted { color:var(--muted); margin:0 0 16px; }
.stack { display:flex; flex-direction:column; gap:10px; }
label { font-weight:600; font-size:.9rem; }
input { font:inherit; padding:14px; border:1.5px solid #cdd3dd; border-radius:12px; width:100%; }
input:focus { outline:3px solid color-mix(in srgb,var(--brand) 30%,transparent); border-color:var(--brand); }
#otp { letter-spacing:.5em; text-align:center; font-size:1.4rem; }
.phone { display:flex; align-items:stretch; gap:8px; }
.phone span { display:flex; align-items:center; padding:0 12px; background:#eef1f6; border-radius:12px; font-weight:600; }
button, .button { font:inherit; font-weight:700; padding:14px 18px; border:0; border-radius:12px; background:var(--brand); color:#fff; cursor:pointer; text-align:center; text-decoration:none; display:block; }
button:hover, .button:hover { filter:brightness(.95); }
button.ghost { background:#eef1f6; color:var(--ink); padding:8px 14px; margin-top:10px; display:inline-block; }
button.link { background:none; color:var(--muted); font-weight:500; text-decoration:underline; padding:8px 0; }
.proof { text-align:center; margin:14px 0 0; font-size:.95rem; color:var(--ink); background:color-mix(in srgb,var(--brand) 8%,#fff); border-radius:10px; padding:8px 10px; }
.trust { list-style:none; margin:12px 0 0; padding:0; font-size:.86rem; color:var(--muted); display:grid; gap:4px; }
.consent { font-size:.78rem; color:var(--muted); margin:10px 0 0; text-align:center; }
.consent a, .hint a { color:inherit; }
details.terms { margin-top:14px; border-top:1px solid #e5e8ee; padding-top:10px; }
details.terms summary { cursor:pointer; font-weight:600; font-size:.92rem; color:var(--ink); }
.terms-list { padding-left:1.2rem; margin:10px 0; font-size:.85rem; color:var(--muted); line-height:1.5; }
.terms-list li { margin-bottom:8px; }
.terms-list strong { color:var(--ink); }
.hint { font-size:.82rem; color:var(--muted); text-align:center; margin:8px 0 0; }
.link-form { margin-top:8px; text-align:center; }
.flash { padding:10px 12px; border-radius:10px; margin:0 0 14px; font-size:.95rem; }
.flash.info { background:#fff6e0; color:#6b4300; }
.flash.ok { background:#e7f7ec; color:#14532d; } .flash.err { background:#fdecec; color:#7f1d1d; }
.voucher { border:2px dashed var(--brand); border-radius:14px; padding:18px; text-align:center; margin:8px 0 16px; background:color-mix(in srgb,var(--brand) 6%,#fff); }
.voucher .label { display:block; font-size:.8rem; color:var(--muted); text-transform:uppercase; letter-spacing:.06em; }
.voucher code { display:block; font-size:1.5rem; font-weight:800; letter-spacing:.06em; margin:8px 0 0; word-break:break-all; user-select:all; }
.voucher .valid { display:block; margin-top:10px; font-size:.9rem; color:var(--muted); }
footer { max-width:560px; margin:18px auto 32px; padding:0 20px; text-align:center; }
.social { display:flex; gap:10px; justify-content:center; flex-wrap:wrap; margin-bottom:12px; }
.follow { margin:0 0 10px; font-weight:700; font-size:.95rem; color:var(--brand-dark); }
.social a { display:inline-flex; align-items:center; gap:8px; padding:9px 16px 9px 12px; border-radius:999px; background:#fff; color:var(--brand-dark); text-decoration:none; font-weight:600; font-size:.9rem; box-shadow:0 1px 3px rgba(0,0,0,.08); }
.social a:focus-visible { outline:3px solid var(--brand); outline-offset:2px; }
.social svg { width:20px; height:20px; flex:none; }
.fine { font-size:.78rem; color:var(--muted); margin:4px 0; }
@media (min-width:640px) { .hero { padding-bottom:110px; } h1 { font-size:2rem; } .mascot { width:260px; right:0; } }
@media (max-width:639px) { .hero-inner h1, .hero-inner .sub { padding-right:110px; } } /* keep text clear of the mascot */
