/* Win Pool — design system */

:root {
  color-scheme: dark;

  /* Palette taken from the Win Pool logo: navy ground, teal accent, gold highlight. */
  --bg: #061019;
  --bg-2: #0a1b2b;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-2: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.19);

  --text: #eef5fa;
  --muted: #9bb3c6;
  --faint: #6d8599;

  --brand: #1f8fc4;        /* logo mid blue */
  --brand-2: #2fc4e0;      /* logo bright teal */
  --navy: #0b2f52;         /* logo deep navy */
  --gold: #eeb32c;         /* crown + ring gold */
  --cyan: #7fe3f2;
  --lime: #3ddc97;
  --amber: #eeb32c;
  --danger: #ff5c72;

  --grad: linear-gradient(135deg, var(--brand), var(--brand-2));
  --grad-gold: linear-gradient(135deg, #f9d97d, #eeb32c);
  --grad-cool: linear-gradient(135deg, var(--brand-2), var(--brand));

  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.85);
  --ring: 0 0 0 3px rgba(47, 196, 224, 0.35);

  --max: 1180px;
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ambient aurora behind everything */
body::before {
  content: '';
  position: fixed;
  inset: -30vh -10vw;
  z-index: -1;
  background:
    radial-gradient(42vw 42vw at 12% 8%, rgba(31, 143, 196, 0.34), transparent 62%),
    radial-gradient(38vw 38vw at 88% 14%, rgba(47, 196, 224, 0.2), transparent 64%),
    radial-gradient(46vw 46vw at 52% 96%, rgba(238, 179, 44, 0.12), transparent 66%);
  filter: blur(18px);
  animation: drift 26s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes drift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to   { transform: translate3d(3%, 2%, 0) scale(1.08); }
}

img, svg { max-width: 100%; }
a { color: inherit; }
[hidden] { display: none !important; }

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.02em; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 6vw, 3.9rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.center { text-align: center; }
.mono { font-family: var(--mono); }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ------------------------------------------------------------------ header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(6, 16, 25, 0.72);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.12rem;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  display: block;
  filter: drop-shadow(0 6px 16px rgba(31, 143, 196, 0.45));
}

.brand-word { line-height: 1; }

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  padding: 9px 14px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.94rem;
  transition: color 0.18s, background 0.18s;
}

.nav a:hover { color: var(--text); background: var(--surface); }
.nav a.cta { color: #fff; background: var(--grad); box-shadow: 0 10px 26px -12px rgba(47, 196, 224, 0.85); }
.nav a.cta:hover { filter: brightness(1.08); }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

/* ------------------------------------------------------------------- hero */

.hero { padding: 72px 0 40px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 9px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 22px;
}

.pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(61, 220, 151, 0.16);
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  50% { box-shadow: 0 0 0 9px rgba(61, 220, 151, 0); }
}

.hero p.lead {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: var(--muted);
  max-width: 54ch;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.stat .n { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.03em; }
.stat .l { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--faint); font-weight: 700; }

.hero-art {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(31, 143, 196, 0.18), rgba(47, 196, 224, 0.08));
  box-shadow: var(--shadow);
  animation: float 7s ease-in-out infinite;
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes float {
  50% { transform: translateY(-12px); }
}

/* ----------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s, filter 0.16s, background 0.16s, border-color 0.16s;
}

.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 16px 34px -16px rgba(47, 196, 224, 0.9); }
.btn-primary:hover { filter: brightness(1.09); }
.btn-ghost { background: var(--surface); border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--brand); }
.btn-sm { padding: 9px 16px; font-size: 0.88rem; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

/* ----------------------------------------------------------------- section */

.section { padding: 76px 0; }
.section-head { max-width: 62ch; margin: 0 auto 44px; text-align: center; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}

/* -------------------------------------------------------------- categories */

.cat-group { margin-bottom: 52px; }

.cat-group-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.cat-group-head h3 { margin: 0; }

.cat-group-head .rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), transparent);
}

.cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 20px;
}

.card {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 22px;
  overflow: hidden;
  transition: transform 0.22s, border-color 0.22s, box-shadow 0.22s;
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.22s;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.card:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.card:hover::after { opacity: 0.35; }

.card-art {
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(31, 143, 196, 0.24), rgba(47, 196, 224, 0.1));
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  overflow: hidden;
}

.card-art svg { width: 68%; height: auto; }

.card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card h4 { margin: 0 0 6px; font-size: 1.12rem; font-weight: 800; }
.card .tagline { color: var(--muted); font-size: 0.92rem; margin: 0 0 14px; }

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
  color: var(--faint);
  font-weight: 600;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--muted);
}

.chip.ship { color: var(--cyan); border-color: rgba(56, 225, 255, 0.35); }
.chip.instant { color: var(--lime); border-color: rgba(61, 220, 151, 0.35); }

/* -------------------------------------------------------------------- form */

.form-shell {
  max-width: 880px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.form-head {
  padding: 26px 30px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(31, 143, 196, 0.18), rgba(47, 196, 224, 0.08));
}

.form-body { padding: 30px; }

.steps { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }

.step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--faint);
}

.step .num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  font-size: 0.74rem;
}

.step.active { color: var(--text); }
.step.active .num { background: var(--grad); border-color: transparent; color: #fff; }
.step .bar { width: 26px; height: 1px; background: var(--line-strong); }

fieldset { border: 0; margin: 0 0 30px; padding: 0; }

legend {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  padding: 0;
  margin-bottom: 16px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }

.field label { font-size: 0.86rem; font-weight: 700; color: var(--muted); }
.field label .req { color: var(--brand-2); }

.input,
select.input,
textarea.input {
  width: 100%;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(6, 16, 25, 0.6);
  color: var(--text);
  font: inherit;
  font-size: 0.96rem;
  transition: border-color 0.16s, box-shadow 0.16s, background 0.16s;
}

.input::placeholder { color: var(--faint); }
.input:focus { outline: none; border-color: var(--brand); box-shadow: var(--ring); background: rgba(6, 16, 25, 0.85); }
.input[aria-invalid='true'] { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(255, 92, 114, 0.22); }

select.input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239bb3c6' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 17px;
  padding-right: 40px;
}

textarea.input { resize: vertical; min-height: 96px; }

.phone-group { display: flex; gap: 10px; }
.phone-group .dial {
  flex: none;
  width: 108px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  font-weight: 700;
  font-family: var(--mono);
  color: var(--muted);
}
.phone-group .input { flex: 1; min-width: 0; }

.error-text { color: var(--danger); font-size: 0.82rem; font-weight: 600; min-height: 1em; }

/* Prize pool picker */
.pool-picker { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }

.pool-option {
  position: relative;
  display: block;
  cursor: pointer;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: rgba(6, 16, 25, 0.5);
  padding: 15px 15px 15px 46px;
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
}

.pool-option:hover { border-color: var(--brand); transform: translateY(-2px); }
.pool-option input { position: absolute; opacity: 0; pointer-events: none; }

.pool-option .tick {
  position: absolute;
  left: 15px;
  top: 17px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  transition: border-color 0.18s, background 0.18s;
}

.pool-option input:checked ~ .tick { border-color: transparent; background: var(--grad); }
.pool-option input:checked ~ .tick::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #fff;
}
.pool-option:has(input:checked) { border-color: var(--brand); background: rgba(31, 143, 196, 0.14); }
.pool-option input:focus-visible ~ .tick { box-shadow: var(--ring); }

.pool-option .name { font-weight: 700; font-size: 0.97rem; display: block; }
.pool-option .sub { color: var(--faint); font-size: 0.82rem; }

/* Checkbox */
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9rem; color: var(--muted); cursor: pointer; }
.check input {
  appearance: none;
  flex: none;
  width: 21px;
  height: 21px;
  margin-top: 1px;
  border-radius: 7px;
  border: 1.6px solid var(--line-strong);
  background: rgba(6, 16, 25, 0.6);
  cursor: pointer;
  position: relative;
  transition: background 0.16s, border-color 0.16s;
}
.check input:checked { background: var(--grad); border-color: transparent; }
.check input:checked::after {
  content: '';
  position: absolute;
  left: 6.5px;
  top: 2.5px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2.4px 2.4px 0;
  transform: rotate(45deg);
}
.check input:focus-visible { box-shadow: var(--ring); }
.check a { color: var(--brand); }

.form-alert {
  display: flex;
  gap: 11px;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 92, 114, 0.4);
  background: rgba(255, 92, 114, 0.1);
  color: #ffbcc5;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
}

/* ------------------------------------------------------- submitting overlay */

.overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(6, 7, 12, 0.88);
  backdrop-filter: blur(10px);
  animation: fadeIn 0.25s ease both;
}

@keyframes fadeIn { from { opacity: 0; } }

.overlay-card {
  width: min(480px, 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: linear-gradient(170deg, #141830, #0d1020);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow);
  animation: rise 0.35s cubic-bezier(0.2, 0.9, 0.3, 1) both;
}

@keyframes rise { from { opacity: 0; transform: translateY(22px) scale(0.97); } }

/* Stage 1: the 2-second submitting animation */
.loader { width: 96px; height: 96px; margin: 0 auto 24px; position: relative; }

.loader .ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--brand);
  border-right-color: var(--brand-2);
  animation: spin 0.9s linear infinite;
}

.loader .ring:nth-child(2) {
  inset: 12px;
  border-top-color: var(--cyan);
  border-right-color: transparent;
  animation-duration: 1.4s;
  animation-direction: reverse;
}

.loader .ring:nth-child(3) {
  inset: 24px;
  border-top-color: rgba(255, 255, 255, 0.5);
  border-right-color: transparent;
  animation-duration: 1.9s;
}

@keyframes spin { to { transform: rotate(360deg); } }

.progress-track {
  height: 5px;
  border-radius: 999px;
  background: var(--surface-2);
  overflow: hidden;
  margin: 22px 0 6px;
}

.progress-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--grad);
  animation: fill 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fill { to { width: 100%; } }

.submitting-steps { font-size: 0.86rem; color: var(--faint); font-weight: 600; min-height: 1.4em; }

/* Stage 2: success */
.success-mark {
  width: 92px;
  height: 92px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 40%, rgba(61, 220, 151, 0.28), transparent 70%);
  border: 2px solid rgba(61, 220, 151, 0.55);
  animation: pop 0.5s cubic-bezier(0.2, 1.4, 0.4, 1) both;
}

@keyframes pop { from { transform: scale(0.4); opacity: 0; } }

.success-mark svg { width: 44px; height: 44px; stroke: var(--lime); }

.success-mark svg path {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: draw 0.5s 0.22s ease forwards;
}

@keyframes draw { to { stroke-dashoffset: 0; } }

.code-box {
  margin: 22px 0;
  padding: 18px;
  border-radius: 14px;
  border: 1px dashed var(--line-strong);
  background: rgba(6, 16, 25, 0.6);
}

.code-box .label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 800;
}

.code-box .value {
  font-family: var(--mono);
  font-size: clamp(1.25rem, 4.5vw, 1.7rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-top: 7px;
  word-break: break-all;
}

.notice {
  display: flex;
  gap: 11px;
  text-align: left;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(238, 179, 44, 0.35);
  background: rgba(238, 179, 44, 0.09);
  color: #fde3a7;
  font-size: 0.87rem;
  line-height: 1.55;
}

.notice svg { flex: none; width: 19px; height: 19px; stroke: var(--amber); margin-top: 2px; }

.overlay-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

/* Confetti */
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 210; overflow: hidden; }
.confetti i {
  position: absolute;
  top: -12px;
  width: 9px;
  height: 14px;
  border-radius: 2px;
  opacity: 0;
  animation: confetti-fall linear forwards;
}

@keyframes confetti-fall {
  0% { opacity: 1; transform: translateY(0) rotate(0); }
  100% { opacity: 0; transform: translateY(104vh) rotate(760deg); }
}

/* ---------------------------------------------------------------- tracking */

.track-panel {
  max-width: 760px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 30px;
  box-shadow: var(--shadow);
}

.track-form { display: flex; gap: 12px; flex-wrap: wrap; }
.track-form .input {
  flex: 1;
  min-width: 220px;
  font-family: var(--mono);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-hero {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: linear-gradient(135deg, rgba(31, 143, 196, 0.18), rgba(47, 196, 224, 0.07));
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.status-dot {
  width: 54px;
  height: 54px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  border: 2px solid var(--line-strong);
}

.status-dot svg { width: 26px; height: 26px; }
.status-dot.winner { border-color: var(--lime); background: rgba(61, 220, 151, 0.14); }
.status-dot.winner svg { stroke: var(--lime); }
.status-dot.pending { border-color: var(--amber); background: rgba(238, 179, 44, 0.13); }
.status-dot.pending svg { stroke: var(--amber); }
.status-dot.closed { border-color: var(--danger); background: rgba(255, 92, 114, 0.13); }
.status-dot.closed svg { stroke: var(--danger); }

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
  margin-bottom: 26px;
}

.detail {
  padding: 14px 16px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: rgba(6, 16, 25, 0.45);
}

.detail .k { font-size: 0.72rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--faint); font-weight: 800; }
.detail .v { font-weight: 700; margin-top: 5px; word-break: break-word; }

.timeline { list-style: none; margin: 0; padding: 0 0 0 30px; position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  opacity: 0.4;
}

.timeline li { position: relative; padding: 0 0 22px; }
.timeline li::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid var(--bg-2);
  background: var(--grad);
}

.timeline .t { font-weight: 700; }
.timeline .d { color: var(--muted); font-size: 0.9rem; }
.timeline .when { color: var(--faint); font-size: 0.8rem; font-weight: 600; }

/* --------------------------------------------------------------------- ads */

.ad-banner-wrap {
  margin-top: 56px;
  padding-top: 26px;
  padding-bottom: 8px;
  border-top: 1px solid var(--line);
}

.ad-slot {
  margin: 0 auto;
  max-width: var(--max);
  min-height: 100px;
  border-radius: 14px;
  border: 1px dashed var(--line);
  background: rgba(255, 255, 255, 0.022);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.ad-slot .ad-label {
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.22);
  font-weight: 800;
}

.ad-slot ins { display: block; width: 100%; }

/* Leaderboard proportions on wide screens, large-mobile banner on narrow ones. */
.ad-banner { min-height: 100px; }

@media (min-width: 900px) {
  .ad-banner { min-height: 120px; }
}

/* ------------------------------------------------------------------- misc */

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  padding: 17px 20px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.35rem; color: var(--brand); font-weight: 700; line-height: 1; }
.faq-item[open] summary::after { content: '−'; }
.faq-item .faq-body { padding: 0 20px 18px; color: var(--muted); font-size: 0.94rem; }

.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }

.step-card {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  position: relative;
}

.step-card .big {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 34px;
  margin-top: 60px;
  background: rgba(6, 16, 25, 0.6);
}

.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h5 { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin: 0 0 14px; font-weight: 800; }
.site-footer a { display: block; color: var(--muted); text-decoration: none; padding: 5px 0; font-size: 0.92rem; }
.site-footer a:hover { color: var(--text); }

.legal {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.82rem;
  line-height: 1.6;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 10px 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }

.prose { max-width: 72ch; margin: 0 auto; color: var(--muted); }
.prose h2 { color: var(--text); margin-top: 2em; }
.prose h3 { color: var(--text); margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.5em; }

/* ------------------------------------------------------------ responsive */

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-art { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px 20px 20px;
    background: rgba(6, 16, 25, 0.97);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
  }
  .nav.open a { padding: 13px 14px; }
  .nav-toggle { display: grid; place-items: center; }
  .hero { padding: 48px 0 28px; }
  .section { padding: 54px 0; }
  .form-body, .form-head, .track-panel { padding: 22px 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .phone-group .dial { width: 92px; font-size: 0.88rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
