/* ─────────────────────────────────────────────────────────────
   Blis agency landing page
   Colours: Blis brand palette + Summer Pack campaign palette
   (sampled from the printed flyer). Change them here only.
   ───────────────────────────────────────────────────────────── */

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/fonts/Inter-Regular.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("assets/fonts/Inter-SemiBold.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("assets/fonts/Inter-Bold.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 800; font-style: normal; font-display: swap; src: url("assets/fonts/Inter-ExtraBold.woff") format("woff"); }
@font-face { font-family: "Inter Display"; font-weight: 900; font-style: normal; font-display: swap; src: url("assets/fonts/InterDisplay-Black.woff") format("woff"); }

:root {
  /* Campaign palette (Summer Pack flyer) */
  --sun-red-deep: #870b0d;
  --sun-red: #b41f2c;
  --sun-orange: #e13a00;
  --sun-amber: #f0701a;
  --sun-ember: #c6360f;
  --sun-aqua: #6de5d4;
  --sun-yellow: #ffcd00;
  --sun-yellow-shadow: #b98f00;
  --score-mauve: #7a6468;      /* darkened flyer scorecard grey for legible text */
  --card-shadow: rgba(110, 24, 8, 0.45);

  /* Blis brand palette (2026 guidelines) */
  --blis-green: #21b19d;
  --blis-green-dark: #06836b;
  --blis-mint-tint: #e9f8f4;
  --blis-grey: #292929;
  --blis-grey-2: #464646;
  --blis-light: #f5f5f5;

  --ink: var(--blis-grey);
  --ink-soft: #555555;
  --line: #8c8c8c;
  --line-soft: #e4e4e4;
  --error: #b3261e;
  --focus: var(--blis-green-dark);

  --radius-card: 22px;
  --radius-field: 12px;
  --gutter: 16px;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Inter Display", "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  background-color: var(--sun-red);
  background-image: linear-gradient(172deg,
      var(--sun-red-deep) 0%,
      var(--sun-red) 16%,
      var(--sun-orange) 46%,
      var(--sun-amber) 70%,
      var(--sun-ember) 100%);
  -webkit-font-smoothing: antialiased;
}

/* soft diagonal light streaks, as on the flyer */
.streaks {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(118deg,
      rgba(255, 255, 255, 0.045) 0 70px,
      rgba(255, 255, 255, 0) 70px 170px);
  z-index: 0;
}

.page {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--gutter) max(24px, env(safe-area-inset-bottom));
}

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 10;
  background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 8px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 8px; }

a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* ── Header ─────────────────────────────────────────────── */
.site-header { padding: 20px 0 8px; }
.logo-link { display: inline-block; border-radius: 6px; }
.logo-link img { display: block; width: 96px; height: auto; }
.site-header :focus-visible, .site-footer :focus-visible { outline-color: #fff; }

/* ── Hero ───────────────────────────────────────────────── */
.hero { text-align: center; color: #fff; padding: 12px 0 28px; }

.sun {
  display: block;
  width: 76px; height: 76px;
  margin: 0 auto -38px;
  position: relative; z-index: 2;
  color: #fff;
}

.frame {
  --gap: 48px;
  position: relative;
  border: 3px solid #fff;
  border-top: 0;
  padding: 52px 18px 40px;
  margin: 0 4px;
}
.frame::before, .frame::after {
  content: ""; position: absolute; top: 0;
  width: calc(50% - var(--gap)); border-top: 3px solid #fff;
}
.frame::before { left: -3px; }
.frame::after { right: -3px; }

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(2.45rem, 11.2vw, 4.25rem);
  line-height: 0.94;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.hero-title span { display: block; }
.t-aqua { color: var(--sun-aqua); }
.t-yellow { color: var(--sun-yellow); }

.frame-badge {
  position: absolute; left: 50%; bottom: 0;
  transform: translate(-50%, 50%);
  margin: 0; white-space: nowrap;
  background: #fff; color: var(--sun-ember);
  font-weight: 800; font-size: 0.8125rem; letter-spacing: 0.01em;
  padding: 9px 18px; border-radius: 999px;
}

.hero-sub {
  max-width: 30ch;
  margin: 34px auto 0;
  font-size: 1.125rem; line-height: 1.45; font-weight: 600;
}

/* ── Prizes ─────────────────────────────────────────────── */
.prizes { margin: 30px 0 4px; }
.prizes__title {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: 1.25rem; letter-spacing: -0.01em; color: #fff; margin-bottom: 12px;
}
.prizes img {
  display: block; width: 100%; height: auto;
  border-radius: 18px; border: 3px solid #fff;
  box-shadow: 8px 9px 0 var(--card-shadow);
  background: var(--sun-orange);
}

/* ── Card ───────────────────────────────────────────────── */
.card {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: 8px 9px 0 var(--card-shadow);
  padding: 26px 18px 24px;
  margin-right: 8px;
}
.card:focus { outline: none; }

fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.step + .step, .reveal + .step { margin-top: 30px; }

.step-title {
  display: flex; align-items: baseline; gap: 10px;
  padding: 0;
  font-family: var(--font-display);
  font-weight: 900; text-transform: uppercase;
  font-size: 1.375rem; line-height: 1.1; letter-spacing: -0.01em;
  color: var(--score-mauve);
}
.step-no { font-family: var(--font-body); font-weight: 800; font-size: 0.875rem; color: var(--sun-orange); letter-spacing: 0.04em; }

.hint { margin: 6px 0 12px; font-size: 0.9375rem; color: var(--ink-soft); }
.field > .hint { margin: 2px 0 8px; font-size: 0.875rem; }

/* option cards */
.options { display: grid; gap: 12px; }
.option { display: block; position: relative; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.option__input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }

.option__box {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center; gap: 12px;
  min-height: 76px;
  padding: 14px 14px;
  border: 2px solid var(--line-soft);
  border-radius: 16px;
  background: #fff;
  transition: border-color .15s ease, background-color .15s ease;
}
.option:hover .option__box { border-color: #c9c9c9; }

.option__check {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--line);
  display: grid; place-items: center; background: #fff;
}
.option__check::after {
  content: ""; width: 12px; height: 7px;
  border-left: 3px solid #fff; border-bottom: 3px solid #fff;
  transform: translateY(-2px) rotate(-45deg);
  opacity: 0;
}
.option__title { display: block; font-weight: 800; font-size: 1.0625rem; line-height: 1.25; color: var(--ink); }
.option__desc { display: block; margin-top: 3px; font-size: 0.875rem; line-height: 1.4; color: var(--ink-soft); }

.option__entries {
  display: flex; flex-direction: column; align-items: center;
  min-width: 52px;
  font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; line-height: 1;
  color: var(--score-mauve);
}
.option__entries small {
  font-family: var(--font-body); font-weight: 700; font-size: 0.6875rem;
  letter-spacing: 0.04em; text-transform: uppercase; margin-top: 4px;
}

.option__input:checked + .option__box { border-color: var(--blis-green-dark); background: var(--blis-mint-tint); }
.option__input:checked + .option__box .option__check { background: var(--blis-green-dark); border-color: var(--blis-green-dark); }
.option__input:checked + .option__box .option__check::after { opacity: 1; }
.option__input:checked + .option__box .option__entries { color: var(--blis-green-dark); }
.option__input:focus-visible + .option__box { outline: 3px solid var(--focus); outline-offset: 2px; }
.is-invalid .option__box { border-color: var(--error); }

.promo-note {
  display: flex; gap: 10px; align-items: flex-start;
  margin: 14px 0 0; padding: 12px 14px;
  background: #fff6d6; border-radius: 12px;
  font-size: 0.8125rem; line-height: 1.45; color: #5b4500;
}
.promo-note::before { content: "☀"; font-size: 1rem; line-height: 1.2; color: #b07a00; }

/* conditional panels */
.reveal {
  margin-top: 16px;
  padding: 16px 14px 4px;
  background: var(--blis-light);
  border-radius: 16px;
  border-left: 4px solid var(--sun-aqua);
}
.reveal + .reveal { margin-top: 12px; }

/* fields */
.field { margin-bottom: 18px; }
.field label, .field .label { display: block; font-weight: 700; font-size: 0.9375rem; margin-bottom: 6px; }
.optional { font-weight: 400; color: var(--ink-soft); }

input[type="text"], input[type="email"], textarea {
  width: 100%;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-field);
  padding: 12px 14px;
  min-height: 50px;
  appearance: none;
}
textarea { resize: vertical; min-height: 96px; line-height: 1.45; }
input::placeholder, textarea::placeholder { color: #8a8a8a; }
input:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 0; border-color: var(--focus); }
[aria-invalid="true"] { border-color: var(--error); border-width: 2px; }

.field-error { margin: 6px 0 0; color: var(--error); font-size: 0.875rem; font-weight: 600; }
.field-error::before { content: "! "; font-weight: 800; }

/* file picker */
.file-drop { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.file-input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.file-button {
  display: inline-flex; align-items: center; min-height: 46px;
  padding: 10px 18px; border-radius: 999px;
  border: 2px solid var(--ink); background: #fff; color: var(--ink);
  font-weight: 700; font-size: 0.9375rem; cursor: pointer;
  margin: 0 !important;
}
.file-input:focus-visible + .file-button { outline: 3px solid var(--focus); outline-offset: 2px; }
.file-none { font-size: 0.875rem; color: var(--ink-soft); }
.file-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.file-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: #fff; border: 1px solid var(--line-soft); border-radius: 10px;
  padding: 8px 8px 8px 12px; font-size: 0.875rem;
}
.file-list .fname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list .fsize { color: var(--ink-soft); margin-left: 6px; white-space: nowrap; }
.file-remove {
  flex: none; border: 0; background: transparent; color: var(--error);
  font: inherit; font-weight: 700; font-size: 0.8125rem; padding: 8px 10px; border-radius: 8px; cursor: pointer;
}

/* spam trap – visually hidden but not display:none */
.trap { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* error summary */
.error-summary {
  border: 2px solid var(--error); border-radius: 14px;
  padding: 14px 16px; margin-bottom: 22px; background: #fdf2f1;
}
.error-summary:focus { outline: 3px solid var(--error); outline-offset: 2px; }
.error-summary__title { margin: 0 0 6px; font-weight: 800; color: var(--error); }
.error-summary ul { margin: 0; padding-left: 20px; }
.error-summary a { color: var(--error); font-weight: 600; }

/* submit */
.submit-row { margin-top: 8px; }
.privacy-line { margin: 0 0 16px; font-size: 0.8125rem; color: var(--ink-soft); }
.privacy-line a { color: var(--blis-green-dark); font-weight: 600; }

.btn-submit {
  width: 100%;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 58px; padding: 14px 24px;
  border: 0; border-radius: 999px;
  background: var(--sun-yellow); color: var(--ink);
  font: inherit; font-weight: 800; font-size: 1.125rem;
  box-shadow: 0 5px 0 var(--sun-yellow-shadow);
  cursor: pointer;
  transition: transform .08s ease, box-shadow .08s ease;
}
.btn-submit:hover { background: #ffd526; }
.btn-submit:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--sun-yellow-shadow); }
.btn-submit:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.btn-submit.is-locked {
  background: #e6e6e6; color: #5e5e5e; box-shadow: 0 5px 0 #c2c2c2; cursor: not-allowed;
}
.btn-submit.is-locked:hover { background: #e6e6e6; }
.btn-submit.is-locked:active { transform: none; box-shadow: 0 5px 0 #c2c2c2; }
.submit-hint { margin: 14px 0 0; font-size: 0.875rem; color: var(--ink-soft); text-align: center; }
.btn-submit[disabled] { cursor: progress; opacity: 0.75; transform: none; }
.btn-submit[disabled] .btn-arrow { display: none; }
.btn-submit[disabled] .btn-label::before {
  content: ""; display: inline-block; width: 16px; height: 16px; margin-right: 10px; vertical-align: -2px;
  border: 3px solid rgba(41,41,41,.3); border-top-color: var(--ink); border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form-status { margin: 14px 0 0; font-size: 0.9375rem; font-weight: 600; min-height: 1em; }
.form-status.is-error { color: var(--error); }

/* confirmation */
.confirm { text-align: center; padding: 18px 4px 8px; }
.confirm:focus { outline: none; }
.confirm__icon { width: 64px; height: 64px; color: var(--blis-green-dark); }
.confirm__title {
  margin: 14px 0 10px;
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: 1.75rem; line-height: 1.05; color: var(--sun-red);
}
.confirm p { margin: 0 auto 14px; max-width: 34ch; }
.confirm__summary { background: var(--blis-mint-tint); border-radius: 14px; padding: 14px 16px; margin: 18px 0; text-align: left; }
.confirm__label { margin: 0 0 4px !important; font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--blis-green-dark); }
.confirm__summary ul { margin: 0; padding-left: 20px; font-weight: 700; }
.confirm__small { font-size: 0.875rem; color: var(--ink-soft); }
.confirm__preview { display: inline-block; background: #fff6d6; color: #5b4500; padding: 6px 12px; border-radius: 8px; font-size: 0.8125rem; font-weight: 700; }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer { color: #fff; text-align: center; padding: 40px 8px 12px; }
.site-footer img { width: 84px; height: auto; }
.site-footer nav { display: flex; justify-content: center; gap: 22px; margin: 12px 0; font-size: 0.875rem; font-weight: 600; }
.site-footer nav a { text-underline-offset: 3px; border-radius: 4px; }
.terms { max-width: 60ch; margin: 0 auto; font-size: 0.75rem; line-height: 1.5; opacity: 0.95; }

/* ── Privacy page ─────────────────────────────────────── */
    .doc { background:#fff; border-radius: var(--radius-card); box-shadow: 8px 9px 0 var(--card-shadow); padding: 28px 22px; max-width: 760px; margin: 16px auto 0; }
    .doc h1 { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; color: var(--sun-red); font-size: 1.9rem; line-height: 1.05; margin: 0 0 16px; }
    .doc h2 { font-size: 1.05rem; margin: 26px 0 6px; }
    .doc p, .doc li { color: var(--ink-soft); }
    .doc a { color: var(--blis-green-dark); font-weight: 600; }
    .draft { background:#fff6d6; color:#5b4500; border-radius: 10px; padding: 12px 14px; font-size: .875rem; font-weight: 600; }
    .back { display:inline-block; margin-top: 22px; }
    @media (min-width: 640px) { .doc { padding: 40px 44px; } }

[hidden] { display: none !important; }

/* ── Larger screens ─────────────────────────────────────── */
@media (min-width: 640px) {
  :root { --gutter: 28px; }
  .option__box { gap: 16px; padding: 16px 18px; }
  .card { padding: 34px 32px 30px; }
  .frame { padding: 60px 32px 44px; }
}

@media (min-width: 980px) {
  .site-header { padding: 32px 0 12px; }
  .logo-link img { width: 112px; }
  .layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
    gap: 64px;
    align-items: start;
    padding-top: 24px;
  }
  .hero { padding-top: 24px; }
  .prizes { margin: 44px 8px 0 4px; }
  .hero-title { font-size: clamp(2.75rem, 4vw, 3.75rem); }
  .hero-sub { font-size: 1.25rem; }
  .card { padding: 40px 40px 36px; }
}

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