/* ============================================================
   Bonkers Giveaways — platform design system.
   Light commerce base: white surfaces, deep ink, trust blue,
   yellow reserved for prize tags. Archivo display / Inter body.
   ============================================================ */

:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --ink: #0e1420;
  --body-c: #313b49;
  --mut: #5a6472;
  --line: #e4e7ec;
  --brand: #2447e6;
  --brand-deep: #1d39c4;
  --brand-tint: #eef1fe;
  --win: #ffc530;
  --win-deep: #8a6100;
  --ok: #12805c;
  --danger: #b42318;
  --danger-bg: #fef3f2;
  --foot: #0e1420;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(14, 20, 32, 0.06), 0 1px 3px rgba(14, 20, 32, 0.08);
  --shadow-md: 0 6px 16px -6px rgba(14, 20, 32, 0.14), 0 2px 6px -2px rgba(14, 20, 32, 0.08);
  --display: "Archivo", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  background: var(--bg);
  color: var(--body-c);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--brand); }

::selection { background: var(--brand); color: #fff; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- skip-to-content ---------- */
.skip-link {
  position: absolute;
  top: -3rem;
  left: 1rem;
  z-index: 200;
  background: var(--brand);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus-visible { top: 0; outline-offset: -3px; }

h1, h2, h3 { color: var(--ink); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.625rem;
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.btn-primary {
  background: var(--brand);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--brand-deep); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.55; cursor: wait; transform: none; }

.btn-quiet {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-quiet:hover { border-color: var(--ink); }

.btn-sm { min-height: 44px; padding: 0.5rem 1.125rem; font-size: 0.9375rem; }
.btn-block { width: 100%; }

/* ---------- top bar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  max-width: 1200px;
  margin-inline: auto;
  padding: 0.75rem clamp(1rem, 4vw, 2rem);
}

.wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
  margin-right: auto;
}
.wordmark-main {
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.375rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.wordmark-main::first-letter { color: var(--brand); }
.wordmark-sub {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--mut);
  margin-top: 0.25rem;
}

.nav { display: flex; gap: clamp(0.25rem, 1.5vw, 0.75rem); }
.nav a {
  color: var(--body-c);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.625rem 0.875rem;
  border-radius: 8px;
  transition: background-color 140ms ease, color 140ms ease;
}
.nav a:hover { background: var(--brand-tint); color: var(--brand); }
.nav a[aria-current] { background: var(--ink); color: #fff; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.5rem 0.875rem;
  font: 600 0.9375rem var(--body);
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--ink);
  position: relative;
}
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: var(--ink);
}
.nav-toggle-bar::before { top: -5px; }
.nav-toggle-bar::after { top: 5px; }

@media (max-width: 880px) {
  .topbar-inner { flex-wrap: wrap; }
  .nav-toggle { display: inline-flex; order: 3; }
  .topbar-cta { order: 2; margin-left: auto; }
  .wordmark { order: 1; margin-right: 0; }
  .nav {
    order: 4;
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 0.75rem 0 0.5rem;
    border-top: 1px solid var(--line);
    margin-top: 0.75rem;
  }
  .topbar.nav-open .nav { display: flex; }
  .nav a { padding: 0.875rem 0.75rem; }
}

/* ---------- page scaffolding ---------- */

.page-wrap { max-width: 1200px; margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }

section { padding-block: clamp(3rem, 7vh, 5.5rem); }

.section-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  letter-spacing: -0.025em;
  line-height: 1.12;
  text-wrap: balance;
}
.section-sub {
  margin-top: 0.75rem;
  color: var(--mut);
  max-width: 62ch;
}
.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* page hero band (inner pages) */
.page-head {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2.5rem, 6vh, 4rem);
}
.page-head h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: -0.025em;
  line-height: 1.08;
}
.page-head p { margin-top: 0.75rem; color: var(--mut); max-width: 62ch; }

.crumb {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.crumb a { color: var(--mut); text-decoration: none; }
.crumb a:hover { color: var(--brand); }
.crumb span { color: var(--mut); font-weight: 400; padding-inline: 0.375rem; }

/* ---------- home hero ---------- */

.hero {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  max-width: 1200px;
  margin-inline: auto;
  padding: clamp(3rem, 8vh, 5.5rem) clamp(1rem, 4vw, 2rem);
}

.hero-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  letter-spacing: -0.03em;
  line-height: 1.04;
}
.hero-title em {
  font-style: normal;
  color: var(--brand);
}
.hero-sub {
  margin-top: 1.25rem;
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  color: var(--mut);
  max-width: 50ch;
}
.hero-sub strong { color: var(--ink); }

.hero-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 2rem;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.hero-facts div { min-width: 0; }
.hero-facts dt {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--mut);
}
.hero-facts dd {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--ink);
  margin-top: 0.125rem;
  letter-spacing: -0.01em;
}

/* hero visual: stacked photo cards */
.hero-visual {
  position: relative;
  min-height: 380px;
}
.hero-visual .photo {
  position: absolute;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid #fff;
}
.hero-visual .photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .photo-a {
  inset: 0 14% 18% 0;
}
.hero-visual .photo-b {
  width: 52%;
  aspect-ratio: 1;
  right: 0;
  bottom: 0;
}
.hero-visual .photo-tag {
  position: absolute;
  top: 0.875rem;
  left: 0.875rem;
  z-index: 1;
}

/* ---------- tags & badges ---------- */

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.3125rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.tag-win { background: var(--win); color: var(--ink); }
.tag-live { background: var(--brand-tint); color: var(--brand); }
.tag-closed { background: var(--line); color: var(--mut); }

/* ---------- competition cards ---------- */

.comp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
  margin-top: 2rem;
}

.comp-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 180ms ease, transform 180ms ease;
}
.comp-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.comp-card-media { position: relative; }
.comp-card-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 62%;
}
.comp-card-media .tag { position: absolute; top: 0.875rem; left: 0.875rem; }

.comp-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem 1.375rem 1.375rem;
}
.comp-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--mut);
}
.comp-card-meta strong { color: var(--ink); }
.comp-card h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.375rem;
  letter-spacing: -0.02em;
  margin-top: 0.5rem;
  line-height: 1.2;
}
.comp-card h3 a { color: inherit; text-decoration: none; }
.comp-card h3 a:hover { color: var(--brand); }
.comp-card .blurb {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  color: var(--mut);
}
.comp-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.chip {
  padding: 0.25rem 0.625rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--body-c);
}
.comp-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.25rem;
}
.closes-in {
  font-size: 0.8438rem;
  font-weight: 600;
  color: var(--mut);
}
.closes-in strong { color: var(--ink); font-variant-numeric: tabular-nums; }

/* ---------- home: value strip ---------- */

.value-strip { background: var(--bg); }
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-top: 2rem;
}
.value-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.375rem;
  box-shadow: var(--shadow-sm);
}
.value-card h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}
.value-card p { margin-top: 0.5rem; color: var(--mut); font-size: 0.9375rem; }
.value-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--brand-tint);
  color: var(--brand);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.125rem;
  margin-bottom: 0.875rem;
}

/* ---------- detail page ---------- */

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.detail-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.detail-media img { width: 100%; object-fit: cover; }

.detail-panel {
  position: sticky;
  top: 5.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.375rem, 3vw, 1.875rem);
}
.detail-panel h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.625rem, 3vw, 2.125rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-top: 0.875rem;
}
.detail-panel .detail-sub { margin-top: 0.625rem; color: var(--mut); font-size: 0.9688rem; }

.detail-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem 1.25rem;
  margin-top: 1.375rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.detail-facts dt { font-size: 0.8125rem; font-weight: 600; color: var(--mut); }
.detail-facts dd {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.0625rem;
  color: var(--ink);
  margin-top: 0.125rem;
}

.countdown {
  margin-top: 1.375rem;
  padding: 1rem 1.125rem 1.125rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.countdown-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--mut);
  margin-bottom: 0.625rem;
}
.countdown-grid { display: flex; gap: 0.5rem; }
.count-cell {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem 0.25rem 0.4375rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.count-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.count-unit {
  font-size: 0.6563rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mut);
  margin-top: 0.125rem;
}

.detail-panel .btn-block { margin-top: 1.375rem; }
.panel-note {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.8438rem;
  color: var(--mut);
}

/* spec table + description */
.detail-body { margin-top: clamp(2rem, 5vh, 3rem); max-width: 760px; }
.detail-body h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.375rem;
  letter-spacing: -0.015em;
  margin-top: 2rem;
}
.detail-body p { margin-top: 0.75rem; color: var(--body-c); max-width: 70ch; }

.spec-table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.spec-table th, .spec-table td {
  text-align: left;
  padding: 0.75rem 0.25rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
}
.spec-table th { color: var(--mut); font-weight: 600; width: 40%; }
.spec-table td { color: var(--ink); font-weight: 600; }

/* ---------- entry form ---------- */

.enter-section { background: var(--surface); border-top: 1px solid var(--line); }

.enter-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.enter-side p { margin-top: 0.875rem; color: var(--mut); max-width: 44ch; }
.assurances {
  margin-top: 1.5rem;
  list-style: none;
  display: grid;
  gap: 1rem;
}
.assurances li {
  padding-left: 1rem;
  border-left: 2px solid var(--brand);
  font-size: 0.9375rem;
  color: var(--mut);
}
.assurances strong { color: var(--ink); display: block; }

.entry-form {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.375rem, 3vw, 2.25rem);
  display: grid;
  gap: 1.25rem;
}

.form-alert {
  padding: 0.875rem 1.125rem;
  border-radius: 10px;
  border: 1px solid rgba(180, 35, 24, 0.35);
  background: var(--danger-bg);
  color: var(--danger);
  font-size: 0.9375rem;
  font-weight: 500;
}

.also-both {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.875rem 1rem;
  background: var(--brand-tint);
  border: 1px solid rgba(36, 71, 230, 0.25);
  border-radius: 10px;
  font-size: 0.9375rem;
  color: var(--ink);
  cursor: pointer;
}
.also-both input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--brand);
  cursor: pointer;
}
.also-both strong { display: block; }
.also-both .sub { color: var(--mut); font-size: 0.875rem; }

.field { display: grid; gap: 0.4375rem; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

.field label { font-size: 0.875rem; font-weight: 600; color: var(--ink); }
.field .optional { color: var(--mut); font-weight: 400; }

.field input {
  width: 100%;
  min-height: 48px;
  padding: 0.625rem 0.875rem;
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}
.field input::placeholder { color: var(--mut); }
.field input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(36, 71, 230, 0.18);
}

.hp-wrap { display: none; }

.check {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.9375rem;
  color: var(--body-c);
  cursor: pointer;
}
.check input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--brand);
  cursor: pointer;
}

.form-foot { text-align: center; font-size: 0.8438rem; color: var(--mut); }

/* success panel */
.success-panel {
  background: var(--surface);
  border: 1px solid var(--brand);
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3.25rem);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.success-check {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.success-panel h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}
.success-panel p { margin: 0.875rem auto 1.5rem; max-width: 46ch; color: var(--mut); }
.success-panel strong { color: var(--brand); }

/* ---------- winners / empty state ---------- */

.empty-panel {
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: clamp(2.5rem, 6vh, 4rem) clamp(1.5rem, 4vw, 3rem);
  text-align: center;
  margin-top: 2rem;
}
.empty-panel h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.015em;
}
.empty-panel p { margin: 0.75rem auto 0; max-width: 52ch; color: var(--mut); }
.empty-panel .btn { margin-top: 1.5rem; }

.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-top: 2rem;
}

/* ---------- FAQ ---------- */

.faq-list { margin-top: 2rem; display: grid; gap: 0.75rem; max-width: 820px; }
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
/* summary keeps display:list-item so Safari/VoiceOver announces state */
.faq-list summary {
  position: relative;
  padding: 1.125rem 3rem 1.125rem 1.375rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  min-height: 48px;
}
.faq-list summary::marker { content: ""; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 1.375rem;
  top: 50%;
  translate: 0 -50%;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--brand);
  transition: rotate 200ms ease;
}
.faq-list details[open] summary::after { rotate: 45deg; }
.faq-list details p {
  padding: 0 1.375rem 1.25rem;
  color: var(--mut);
  max-width: 65ch;
}
.faq-list details a { color: var(--brand); }

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-top: 2rem;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.625rem;
  box-shadow: var(--shadow-sm);
}
.contact-card h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.contact-card p { margin-top: 0.625rem; color: var(--mut); font-size: 0.9375rem; }
.contact-card .btn { margin-top: 1.25rem; }

/* ---------- prose (terms) ---------- */

.prose { max-width: 760px; margin-top: 1.5rem; }
.prose h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.25rem;
  margin-top: 2rem;
  letter-spacing: -0.01em;
}
.prose p, .prose li { margin-top: 0.75rem; color: var(--body-c); }
.prose ul { margin-left: 1.25rem; }

/* ---------- footer ---------- */

.site-foot {
  background: var(--foot);
  color: #e7eaf0;
  margin-top: clamp(3rem, 7vh, 5rem);
}
.foot-inner {
  max-width: 1200px;
  margin-inline: auto;
  padding: clamp(3rem, 6vh, 4rem) clamp(1rem, 4vw, 2rem) 2rem;
}
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
}
.foot-wordmark {
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.375rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: #fff;
}
.foot-wordmark span { color: var(--win); }
.foot-tagline { margin-top: 0.75rem; color: #98a2b3; font-size: 0.9375rem; max-width: 34ch; }
.foot-col h2 {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #98a2b3;
}
.foot-col ul { list-style: none; margin-top: 0.875rem; display: grid; gap: 0.5rem; }
.foot-col a {
  color: #e7eaf0;
  text-decoration: none;
  font-size: 0.9375rem;
}
.foot-col a:hover { color: var(--win); }
.foot-base {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  gap: 0.5rem;
  color: #98a2b3;
  font-size: 0.8438rem;
}

/* ---------- confetti canvas ---------- */

#confetti {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 100;
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { min-height: 300px; order: -1; }
  .hero-visual .photo-b { max-height: 90%; }

  .detail-grid { grid-template-columns: 1fr; }
  .detail-panel { position: static; }

  .enter-grid { grid-template-columns: 1fr; }

  .value-grid, .promise-grid { grid-template-columns: 1fr; }

  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1 1 100%; }
  .comp-card-foot { flex-direction: column; align-items: stretch; }
  .comp-card-foot .btn { width: 100%; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 240px; }
}
