:root {
  --ink: #102a43;
  --blue: #73c7e6;
  --sky: #e7f7fc;
  --chocolate: #563522;
  --line: #d6e8ef;
  --paper: #fbfdff;
  --muted: #5e7283;
  --shadow: 0 18px 48px rgba(16, 42, 67, .14);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(115,199,230,.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(86,53,34,.05) 1px, transparent 1px),
    var(--paper);
  background-size: 40px 40px;
  font-family: Inter, Arial, Helvetica, sans-serif;
}
body:has(.intake-page) {
  background: #f5f5f7;
}
a { color: inherit; }
.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.top {
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.94);
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: blur(14px);
}
.top .wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 900; }
.logo img { width: min(250px, 54vw); height: auto; display: block; }
.header-offer {
  color: #102a43;
  font-size: clamp(18px, 4vw, 30px);
  line-height: 1;
  white-space: nowrap;
}
.nav { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.nav a, .btn, button {
  border: 1px solid var(--line);
  border-radius: 7px;
  min-height: 42px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}
.btn.primary, button.primary { background: var(--chocolate); border-color: var(--chocolate); color: #fff; }
.btn.blue { background: var(--blue); border-color: var(--blue); color: #082236; }
.hero { padding: clamp(42px, 7vw, 86px) 0 34px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); gap: 28px; align-items: center; }
.eyebrow { margin: 0 0 12px; color: var(--chocolate); text-transform: uppercase; letter-spacing: .14em; font-weight: 900; font-size: 13px; }
h1 { margin: 0; font-size: clamp(38px, 7vw, 76px); line-height: .98; max-width: 860px; }
h2 { margin: 0; font-size: clamp(28px, 4vw, 46px); line-height: 1.04; }
h3 { margin: 0; font-size: 21px; }
.lead { color: #38566d; font-size: clamp(17px, 2vw, 21px); line-height: 1.55; max-width: 760px; }
.panel, .card, .sheet {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.panel { padding: 22px; }
.qr-preview { display: grid; place-items: center; gap: 12px; text-align: center; }
.qr-preview img { width: min(280px, 78vw); border-radius: 8px; border: 10px solid #fff; box-shadow: 0 18px 40px rgba(16,42,67,.16); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 22px 0; }
.card { padding: 18px; min-height: 170px; display: flex; flex-direction: column; gap: 12px; }
.card p { margin: 0; color: var(--muted); line-height: 1.45; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.flyer-stage { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; padding: 26px 0 46px; }
.flyer-image {
  min-height: min(92vh, 900px);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sky), #fff 48%, #f6efe9);
}
.flyer-image img { width: 100%; height: 100%; object-fit: contain; display: block; }
.placeholder { padding: 34px; text-align: center; color: var(--muted); }
.form { display: grid; gap: 10px; }
.intake-page {
  width: min(1080px, calc(100% - 32px));
  padding-top: clamp(18px, 3vw, 34px);
}
.intake-intro {
  display: grid;
  grid-template-columns: minmax(150px, 210px) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
}
.prize-hero {
  position: relative;
  width: 100%;
  margin: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: transparent;
}
.prize-hero::before {
  content: "";
  position: absolute;
  inset: 22% 4% 4%;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(115,199,230,.34), rgba(115,199,230,.14) 42%, rgba(255,255,255,0) 72%);
  filter: blur(16px);
}
.prize-hero img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: none;
  height: auto;
  display: block;
  object-fit: contain;
  opacity: 1;
  transform: none;
  filter: drop-shadow(0 16px 28px rgba(16,42,67,.16));
}
.intake-page .hero-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, .92fr) minmax(360px, .78fr);
  align-items: start;
  gap: clamp(20px, 4vw, 44px);
  margin-top: 0;
  padding-bottom: 34px;
}
.intake-copy {
  display: grid;
  gap: 9px;
  align-content: center;
}
.brand-card-logo {
  width: min(255px, 74vw);
  height: auto;
  display: block;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.source-pill {
  width: fit-content;
  margin: 6px 0 0;
  padding: 8px 11px;
  border: 1px solid #d2d2d7;
  border-radius: 999px;
  background: #fff;
  color: #6e6e73;
  font-size: 13px;
  font-weight: 700;
}
.source-pill strong { color: #1d1d1f; }
.req { color: var(--chocolate); }
.form.panel {
  border-color: #d2d2d7;
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 42px rgba(0,0,0,.08);
  border-radius: 18px;
  padding: clamp(16px, 2.5vw, 24px);
}
.form button.primary {
  min-height: 52px;
  border-radius: 999px;
  font-size: 16px;
  background: #0071e3;
  border-color: #0071e3;
  box-shadow: none;
}
label { display: grid; gap: 6px; font-weight: 900; }
input, select, textarea {
  width: 100%;
  border: 1px solid #d2d2d7;
  border-radius: 12px;
  min-height: 44px;
  padding: 9px 12px;
  font: inherit;
  color: #1d1d1f;
  background: #fff;
}
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; color: #344f68; line-height: 1.4; }
.consent input { width: 18px; min-height: 18px; margin-top: 3px; }
.sheet { overflow: auto; }
.campaign-sheet {
  margin-top: 18px;
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(16,42,67,.12);
}
table { border-collapse: separate; border-spacing: 0; min-width: 980px; width: 100%; font-size: 14px; }
th, td { border: 0; border-bottom: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: middle; }
th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #dff3fb;
  color: #17364d;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .05em;
}
tbody tr:nth-child(even) { background: #f8fbfd; }
tbody tr:hover { background: #eef8fc; }
td a { color: var(--chocolate); font-weight: 900; }
.row-number {
  color: #6b7d8f;
  font-weight: 900;
  width: 52px;
}
.source-link {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eef8fc;
  border: 1px solid #bde7f8;
  text-decoration: none;
  color: #123a56;
}
.contact-stack {
  display: grid;
  gap: 5px;
  min-width: 160px;
}
.contact-link {
  width: fit-content;
  text-decoration: none;
}
.contact-link:hover, .source-link:hover { text-decoration: underline; }
.consent-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 999px;
  font-weight: 900;
}
.consent-badge.yes { background: #e7f7ef; color: #17643c; }
.consent-badge.no { background: #f4f4f5; color: #6b7280; }
.status { color: var(--muted); font-size: 14px; line-height: 1.45; }
.upload-slot { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.upload-result { color: var(--muted); font-size: 13px; word-break: break-all; }
@media (max-width: 900px) {
  .top .wrap, .hero-grid, .flyer-stage, .split { display: block; }
  .nav { justify-content: flex-start; margin-bottom: 12px; }
  .grid { grid-template-columns: 1fr; }
  .panel { margin-top: 16px; }
  .prize-hero {
    width: min(210px, 54vw);
    margin: 0 auto;
  }
  .prize-hero img {
    width: 100%;
    transform: none;
  }
  .intake-intro {
    display: grid;
    grid-template-columns: minmax(110px, 32vw) minmax(0, 1fr);
    gap: 14px;
    align-items: center;
  }
  .intake-page .hero-grid {
    margin-top: 0;
  }
  .intake-copy h1 { font-size: clamp(29px, 8.4vw, 40px); }
  .intake-copy .lead { margin: 0; font-size: 15px; line-height: 1.42; }
  .intake-copy .eyebrow { margin-bottom: 0; font-size: 11px; }
  .source-pill { margin-top: 1px; padding: 6px 9px; font-size: 12px; }
  .form.panel { margin-top: 16px; }
}
@media (max-width: 560px) {
  .top .wrap { min-height: 62px; }
  .logo { gap: 7px; }
  .logo img { width: min(205px, 55vw); }
  .header-offer { font-size: 18px; }
  .intake-page { width: min(100% - 20px, 1080px); padding-top: 14px; }
  .intake-intro { grid-template-columns: 112px minmax(0, 1fr); gap: 10px; }
  .intake-intro .prize-hero { width: 100%; max-width: 112px; }
  .intake-copy { gap: 6px; }
  .intake-copy h1 { font-size: clamp(26px, 7.9vw, 34px); line-height: 1; }
  .intake-copy .lead { font-size: 13px; line-height: 1.34; }
  .form.panel { border-radius: 16px; padding: 15px; gap: 9px; }
  label { gap: 4px; font-size: 14px; }
  input, select, textarea { min-height: 44px; }
  .consent { font-size: 13px; }
  .status { margin: 4px 0 0; font-size: 12px; }
}
