:root {
  --navy: #090038;
  --pink: #e5004f;
  --accent-red: #d40028;
  --text-body: rgba(255, 255, 255, 0.92);
  --text-muted: rgba(255, 255, 255, 0.55);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: "Roboto", "Segoe UI", Arial, sans-serif;
  color: var(--text-body);
  background: linear-gradient(180deg, var(--navy) 0%, var(--pink) 100%);
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, .headline-font {
  font-family: "Singing Sans", "Baloo 2", "Segoe UI", Arial, sans-serif;
}

/* ---------- Header ---------- */

.site-header {
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.9rem clamp(1rem, 4vw, 3rem);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand img.heart {
  height: clamp(34px, 4vw, 44px);
  width: auto;
}

.brand img.ubm {
  height: clamp(20px, 2.6vw, 26px);
  width: auto;
}

.submission-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.submission-badge .label {
  color: var(--accent-red);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.submission-badge .pill {
  background: #ffffff;
  border-radius: 999px;
  padding: 0.4rem 1.1rem;
  display: flex;
  align-items: center;
}

.submission-badge .pill img {
  height: clamp(20px, 2.4vw, 26px);
  width: auto;
}

/* ---------- Main content ---------- */

main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 6vw, 4rem) 1.5rem;
}

.content {
  max-width: 860px;
  width: 100%;
  text-align: center;
}

.content h1 {
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 1.75rem;
}

.content p {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.6;
  margin: 0 0 0.75rem;
}

.countdown {
  margin: 2.75rem 0 0.5rem;
  display: flex;
  justify-content: center;
  gap: clamp(0.75rem, 3vw, 2.5rem);
  flex-wrap: wrap;
}

.countdown .unit {
  min-width: 3.5rem;
}

.countdown .value {
  font-family: "Singing Sans", "Baloo 2", "Segoe UI", Arial, sans-serif;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.countdown .unit-label {
  font-style: italic;
  font-size: clamp(0.8rem, 1.4vw, 1rem);
  color: var(--text-body);
  margin-top: 0.15rem;
}

.countdown-done {
  margin: 2.75rem 0 0.5rem;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  font-weight: 700;
}

.quote-block {
  margin-top: 3rem;
}

.quote-block blockquote {
  font-family: "Singing Sans", "Baloo 2", "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  margin: 0 0 0.6rem;
}

.quote-block cite {
  font-style: normal;
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  color: var(--text-body);
}

/* ---------- Legal page ---------- */

.legal-content {
  max-width: 880px;
  width: 100%;
  text-align: left;
}

.legal-content h1 {
  text-align: center;
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 2rem;
}

.legal-content h2 {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  margin: 2.25rem 0 0.9rem;
}

.legal-content p {
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0 0 1rem;
}

.legal-content a {
  color: #fff;
}

/* ---------- Footer ---------- */

.site-footer {
  display: flex;
  justify-content: space-between;
  padding: 1rem clamp(1rem, 4vw, 3rem) 1.4rem;
  font-size: 0.72rem;
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--text-body);
  text-decoration: underline;
}

@media (max-width: 640px) {
  .site-header {
    justify-content: center;
    text-align: center;
  }

  .submission-badge {
    align-items: center;
  }

  .site-footer {
    justify-content: center;
    gap: 1.5rem;
  }
}
