/* ==========================================================
   Curiouzz giveaway pages (/giveaway, /giveaway/rules, /giveaway/claim)
   Same ground as the home page: navy, ivory serif, gold for the prize.
   ========================================================== */
:root{
	--night:#0A0735;
	--night-deep:#06041F;
	--night-raised:#15104A;
	--ivory:#F4EFE6;
	--mist:#B4AFBF;
	--hush:#8A86A0;
	--rule:rgba(244,239,230,.12);
	--pink:#FA69B9;
	--purple:#8C50FD;
	--gold:#D2A95E;
	--gold-soft:#E6C98F;
	--glow:rgba(140,80,253,.16);
	--field:#0E0A3C;
	--field-line:rgba(244,239,230,.28);

	--serif:"Newsreader",Georgia,"Times New Roman",serif;
	--sans:"Figtree",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
	--ease:cubic-bezier(.2,.7,.1,1);
	--gutter:16px;
}
@media (min-width:600px){ :root{ --gutter:24px; } }
@media (min-width:960px){ :root{ --gutter:40px; } }
@media (prefers-contrast:more){
	:root{ --hush:#B4AFBF; --rule:rgba(244,239,230,.3); --field-line:rgba(244,239,230,.6); }
}

*,*::before,*::after{ box-sizing:border-box; }
html{ background:var(--night); -webkit-text-size-adjust:100%; text-size-adjust:100%; }
body{
	margin:0; background:var(--night); color:var(--ivory);
	font:400 17px/1.6 var(--sans);
	-webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
	overflow-x:hidden;
}
h1,h2,h3,p,ol,ul,figure{ margin:0; }
p,li,figcaption{ text-wrap:pretty; }
ul,ol{ padding:0; list-style:none; }
img,svg{ display:block; max-width:100%; }
a{ color:inherit; }
strong{ font-weight:600; }
[hidden]{ display:none !important; }
:focus-visible{ outline:2px solid var(--purple); outline-offset:3px; }
main:focus,[tabindex="-1"]:focus{ outline:none; }
.sr-only{
	position:absolute !important; width:1px; height:1px; padding:0; margin:-1px;
	overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap; border:0;
}
.wrap{ width:min(1120px, 100% - 2*var(--gutter)); margin-inline:auto; }
.wrap-narrow{ width:min(720px, 100% - 2*var(--gutter)); margin-inline:auto; }

/* links */
.lk{
	color:var(--ivory); text-decoration:underline; text-decoration-color:rgba(244,239,230,.45);
	text-underline-offset:3px; text-decoration-thickness:1px;
}
.lk:hover{ text-decoration-color:var(--purple); }

/* skip link */
.skip{
	position:fixed; left:16px; top:-80px; z-index:100; padding:10px 18px; border-radius:999px;
	background:var(--ivory); color:var(--night); font-weight:600; font-size:15px; text-decoration:none;
}
.skip:focus{ top:12px; }

/* ---------- header ---------- */
.gw-nav{ height:64px; border-bottom:1px solid var(--rule); }
.gw-nav .wrap{ height:100%; display:flex; align-items:center; gap:16px; }
.gw-logo{ display:inline-flex; align-items:center; min-height:44px; margin-right:auto; border-radius:4px; }
.gw-logo img{ height:28px; width:auto; }
.gw-nav-link{
	display:inline-flex; align-items:center; min-height:44px; font-size:15px; font-weight:500; color:var(--mist);
	text-decoration:none;
}
.gw-nav-link:hover{ color:var(--ivory); }
@media (min-width:960px){ .gw-nav{ height:72px; } .gw-logo img{ height:32px; } }

/* ---------- banners (draft / preview) ---------- */
.gw-banners{ display:grid; gap:8px; }
.gw-banners:not(:empty){ padding-top:16px; }
.gw-banner{
	padding:12px 16px; border-radius:12px; font-size:15px; line-height:1.45; font-weight:500;
	border:1px solid rgba(210,169,94,.55); background:rgba(210,169,94,.12); color:var(--gold-soft);
}
.gw-banner strong{ display:block; font-weight:600; letter-spacing:.06em; color:var(--gold); }
.gw-banner.is-preview{ border-color:rgba(140,80,253,.6); background:rgba(140,80,253,.14); color:var(--ivory); }

/* ---------- type ---------- */
.label{
	display:block; margin:0 0 14px;
	font:600 12px/1.3 var(--sans); letter-spacing:.2em; text-transform:uppercase; color:var(--pink);
}
.gw-h1{
	font-family:var(--serif); font-weight:400; font-size:clamp(1.875rem,1.4rem + 2.4vw,3.25rem);
	line-height:1.06; letter-spacing:-.005em; text-wrap:balance; font-optical-sizing:auto;
}
.gw-h1 .city{
	display:block; margin-bottom:12px;
	font:600 13px/1.3 var(--sans); letter-spacing:.32em; color:var(--pink);
}
.gw-h1 .gold{ color:var(--gold); }
.gw-sub{
	margin-top:14px; font-family:var(--serif); font-style:italic; font-weight:300;
	font-size:clamp(1.25rem,1.15rem + .5vw,1.5rem); line-height:1.35; color:var(--ivory);
}
.gw-copy{ margin-top:20px; color:var(--mist); font-size:17px; line-height:1.6; max-width:34rem; }
.gw-copy + .gw-copy{ margin-top:10px; }
.gw-copy.em{ color:var(--ivory); font-weight:600; }
.gw-dates{
	display:flex; flex-wrap:wrap; gap:4px 12px; margin-top:16px; font-size:15px; line-height:1.5; color:var(--mist);
}
.gw-dates span{ display:inline-flex; align-items:flex-start; gap:8px; }
.gw-dates span::before{ content:""; width:6px; height:6px; margin-top:.62em; border-radius:50%; background:var(--gold); flex:none; }
.meta{ font-size:14px; line-height:1.5; color:var(--hush); }

/* ---------- hero ---------- */
.gw-hero{ position:relative; padding:28px 0 48px; }
.gw-hero::before{
	content:""; position:absolute; z-index:0; pointer-events:none;
	left:50%; top:-120px; width:620px; height:620px; margin-left:-310px; border-radius:50%;
	background:radial-gradient(closest-side, var(--glow), rgba(140,80,253,0));
}
.gw-grid{ position:relative; z-index:1; display:grid; gap:32px; }
.gw-fig{ margin-top:24px; }
.gw-fig img{
	width:100%; height:auto; aspect-ratio:864/832; border-radius:18px; background:var(--night-raised);
	box-shadow:0 30px 60px -30px rgba(2,1,18,.9), inset 0 0 0 1px rgba(255,255,255,.06);
}
.gw-fig figcaption{ margin-top:8px; font-size:12.5px; line-height:1.4; color:var(--hush); }
@media (min-width:960px){
	.gw-hero{ padding:56px 0 80px; }
	.gw-grid{ grid-template-columns:minmax(0,1fr) minmax(0,440px); column-gap:64px; align-items:start; }
	.gw-hero::before{ left:30%; width:820px; height:820px; margin-left:-410px; }
	.gw-panel{ position:sticky; top:24px; }
}

/* ---------- panel (form, states, success) ---------- */
.gw-card{
	background:var(--night-raised); border:1px solid var(--rule); border-radius:20px;
	padding:24px 16px 20px; box-shadow:0 30px 60px -36px rgba(2,1,18,.9);
}
@media (min-width:400px){ .gw-card{ padding:28px 20px 24px; } }
@media (min-width:960px){ .gw-card{ padding:32px 28px 28px; } }
.gw-card-title{ font-family:var(--serif); font-weight:400; font-size:1.625rem; line-height:1.15; letter-spacing:-.01em; }
.gw-card-title:focus{ outline:none; }
.gw-card p{ color:var(--mist); }
.gw-card p + p{ margin-top:10px; }
.gw-card-title + p{ margin-top:12px; }

.gw-loading{ display:flex; align-items:center; gap:12px; min-height:120px; color:var(--mist); }
.gw-spin{
	width:20px; height:20px; border-radius:50%; flex:none;
	border:2px solid rgba(244,239,230,.2); border-top-color:var(--gold);
	animation:gwspin 900ms linear infinite;
}
@keyframes gwspin{ to{ transform:rotate(360deg); } }

/* fields */
.gw-form{ display:grid; gap:16px; }
.gw-form-head{ margin-bottom:4px; }
.gw-form-head .meta{ margin-top:6px; }
.gw-row2{ display:grid; gap:16px; }
@media (min-width:360px){ .gw-row2{ grid-template-columns:1fr 1fr; gap:12px; } }
.gw-field{ display:grid; gap:6px; min-width:0; }
.gw-field > label{ font-size:15px; font-weight:600; color:var(--ivory); }
.gw-field input[type="text"],.gw-field input[type="email"]{
	width:100%; min-height:48px; padding:12px 14px; border-radius:12px;
	border:1px solid var(--field-line); background:var(--field); color:var(--ivory);
	font:400 16px/1.3 var(--sans); /* 16px stops iOS zooming on focus */
	-webkit-appearance:none; appearance:none;
	transition:border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.gw-field input::placeholder{ color:var(--hush); opacity:1; }
.gw-field input:hover{ border-color:rgba(244,239,230,.45); }
.gw-field input:focus{ outline:none; border-color:var(--purple); box-shadow:0 0 0 3px rgba(140,80,253,.35); }
.gw-field input[aria-invalid="true"]{ border-color:var(--pink); }
.gw-field input[aria-invalid="true"]:focus{ box-shadow:0 0 0 3px rgba(250,105,185,.3); }
.gw-hint{ font-size:13.5px; line-height:1.4; color:var(--hush); }
.gw-err{ position:relative; padding-left:22px; font-size:14px; line-height:1.4; color:#FF8FCB; font-weight:600; }
.gw-err::before{
	content:"!"; position:absolute; left:0; top:1px; width:16px; height:16px; border-radius:50%;
	background:var(--pink); color:var(--night); font:800 11px/16px var(--sans); text-align:center;
}
.gw-err:empty{ display:none; }

/* checkboxes: native box, big tap row */
.gw-checks{ display:grid; gap:4px; margin-top:4px; }
.gw-check{ display:grid; gap:2px; }
.gw-check label{
	display:flex; align-items:flex-start; gap:12px; min-height:44px; padding:10px 0;
	font-size:15.5px; line-height:1.45; color:var(--ivory); cursor:pointer;
}
.gw-check input{
	flex:none; width:22px; height:22px; margin:0; margin-top:1px; accent-color:var(--purple); cursor:pointer;
}
.gw-check input:focus-visible{ outline:2px solid var(--purple); outline-offset:3px; }
.gw-check .gw-err{ margin-left:34px; }
.gw-check.is-optional label{ color:var(--mist); font-size:14.5px; }
.gw-opt{ display:inline-block; margin-left:4px; font-size:12px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--hush); }

/* honeypot: off screen, out of the accessibility tree */
.gw-hp{ position:absolute !important; left:-10000px; top:auto; width:1px; height:1px; overflow:hidden; }

/* button */
.gw-btn{
	position:relative; display:inline-flex; align-items:center; justify-content:center; gap:10px;
	width:100%; min-height:54px; padding:14px 20px; border:0; border-radius:999px;
	background:var(--gold); color:var(--night);
	font:700 16px/1 var(--sans); letter-spacing:.08em; text-transform:uppercase; cursor:pointer;
	transition:background-color 200ms var(--ease), transform 200ms var(--ease);
}
.gw-btn:hover{ background:var(--gold-soft); }
.gw-btn:active{ transform:scale(.99); }
.gw-btn:focus-visible{ outline:2px solid var(--ivory); outline-offset:3px; }
.gw-btn[disabled]{ cursor:progress; background:#A9894F; }
.gw-btn .gw-spin{ border-color:rgba(10,7,53,.25); border-top-color:var(--night); width:18px; height:18px; }
.gw-btn-plain{ text-transform:none; letter-spacing:.01em; font-size:17px; }
.gw-btn-ghost{
	background:transparent; color:var(--ivory); border:1px solid rgba(244,239,230,.4);
	font-weight:600; letter-spacing:.02em; text-transform:none; min-height:48px;
}
.gw-btn-ghost:hover{ background:rgba(244,239,230,.08); }
.gw-under{ margin-top:12px; font-size:13.5px; line-height:1.5; color:var(--mist); text-align:center; }
.gw-formerr{
	padding:12px 14px; border-radius:12px; font-size:15px; line-height:1.45;
	background:rgba(250,105,185,.1); border:1px solid rgba(250,105,185,.45); color:var(--ivory);
}
.gw-formerr:empty{ display:none; }

.gw-privacy{ margin-top:16px; font-size:13px; line-height:1.55; color:var(--hush); }
.gw-privacy a{ color:var(--mist); }

/* success */
.gw-success .gw-card-title{ font-size:1.875rem; }
.gw-curious{ margin-top:24px; padding-top:24px; border-top:1px solid var(--rule); }
.gw-curious h3{ font-family:var(--serif); font-weight:400; font-size:1.375rem; line-height:1.2; color:var(--ivory); }
.gw-curious h3 + p{ margin-top:8px; }
.gw-curious .live{ color:var(--ivory); font-weight:600; }
.badges{ display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin-top:18px; }
.badges a{ display:block; border-radius:8px; transition:opacity 200ms var(--ease); }
.badges a:hover{ opacity:.85; }
.badges img{ height:44px; width:auto; }
@media (max-width:359px){ .badges{ gap:8px; } .badges img{ height:40px; } }
@media (min-width:960px){ .badges img{ height:48px; } }
.gw-curious .meta{ margin-top:14px; }
.gw-linkbtn{
	display:inline-flex; align-items:center; min-height:44px; margin-top:4px; padding:0; border:0; background:none;
	color:var(--mist); font:500 15px/1 var(--sans); text-decoration:underline; text-underline-offset:3px; cursor:pointer;
}
.gw-linkbtn:hover{ color:var(--ivory); }

/* ---------- key details ---------- */
.gw-details{ background:var(--night-deep); padding:48px 0 56px; }
.gw-details h2{ font-family:var(--serif); font-weight:400; font-size:clamp(1.625rem,1.4rem + .9vw,2.125rem); line-height:1.15; }
.gw-list{ margin-top:20px; display:grid; gap:0; }
.gw-list li{
	position:relative; padding:12px 0 12px 22px; border-top:1px solid var(--rule);
	font-size:15.5px; line-height:1.5; color:var(--mist);
}
.gw-list li:last-child{ border-bottom:1px solid var(--rule); }
.gw-list li::before{
	content:""; position:absolute; left:2px; top:21px; width:7px; height:7px; border-radius:50%; background:var(--gold);
}
.gw-details .gw-more{ margin-top:20px; }
.gw-arrow{ display:inline-flex; align-items:center; min-height:44px; font-weight:600; }
@media (min-width:960px){
	.gw-details{ padding:72px 0 80px; }
	.gw-details .wrap{ display:grid; grid-template-columns:minmax(0,4fr) minmax(0,7fr); column-gap:64px; }
	.gw-list{ margin-top:0; }
}

/* ---------- rules page ---------- */
.gw-doc{ padding:32px 0 64px; }
.gw-doc h1{ font-family:var(--serif); font-weight:400; font-size:clamp(2rem,1.6rem + 1.8vw,3rem); line-height:1.08; letter-spacing:-.01em; text-wrap:balance; }
.gw-doc .gw-version{ margin-top:10px; }
.gw-toc{ margin-top:28px; padding:16px 18px; border:1px solid var(--rule); border-radius:14px; background:var(--night-raised); }
.gw-toc h2{ font:600 12px/1.3 var(--sans); letter-spacing:.2em; text-transform:uppercase; color:var(--hush); }
.gw-toc ol{ margin-top:8px; list-style:none; padding-left:0; color:var(--hush); }
.gw-toc li{ font-size:15px; }
.gw-toc a{ display:inline-block; padding:6px 0; color:var(--mist); text-decoration:none; }
.gw-toc a:hover{ color:var(--ivory); text-decoration:underline; }
.gw-sec{ margin-top:36px; scroll-margin-top:20px; }
.gw-sec h2{ font-family:var(--serif); font-weight:400; font-size:1.5rem; line-height:1.2; color:var(--ivory); }
.gw-sec h2:target{ color:var(--gold-soft); }
.gw-sec p{ margin-top:12px; color:var(--mist); font-size:16.5px; line-height:1.65; overflow-wrap:anywhere; }
.gw-sec a{ color:var(--ivory); }
mark{ background:rgba(210,169,94,.28); color:var(--gold-soft); padding:0 3px; border-radius:3px; font-weight:600; }
.gw-back{ margin-top:40px; }

/* ---------- claim page ---------- */
.gw-claim{ padding:40px 0 72px; }
.gw-claim .gw-card{ max-width:560px; margin-inline:auto; }
.gw-claim .gw-btn{ margin-top:22px; }
.gw-steps{ margin-top:14px; display:grid; gap:8px; }
.gw-steps li{ position:relative; padding-left:22px; color:var(--mist); font-size:16px; line-height:1.5; }
.gw-steps li::before{ content:""; position:absolute; left:2px; top:10px; width:7px; height:7px; border-radius:50%; background:var(--gold); }
.gw-deadline{ margin-top:16px; padding:12px 14px; border-radius:12px; background:rgba(210,169,94,.12); border:1px solid rgba(210,169,94,.4); color:var(--gold-soft) !important; font-weight:500; }

/* ---------- footer ---------- */
.gw-foot{ background:var(--night-deep); color:var(--mist); padding:40px 0 32px; border-top:1px solid var(--rule); }
.gw-foot .gw-logo img{ height:28px; }
.gw-foot ul{ display:flex; flex-wrap:wrap; gap:0 20px; margin-top:12px; }
.gw-foot li a{ display:inline-flex; align-items:center; min-height:44px; font-size:15px; color:var(--mist); text-decoration:none; }
.gw-foot li a:hover{ color:var(--ivory); text-decoration:underline; }
.gw-foot-bottom{ display:grid; gap:6px; margin-top:20px; padding-top:20px; border-top:1px solid var(--rule); font-size:13px; line-height:1.5; color:var(--hush); }

@media (prefers-reduced-motion:reduce){
	*,*::before,*::after{ animation:none !important; transition:none !important; }
}
