/* ===== Fonts ===== */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  src: url("fonts/open-sans-v28-latin-400.woff2") format("woff2"),
       url("fonts/open-sans-v28-latin-400.woff") format("woff"),
       url("fonts/open-sans-v28-latin-400.ttf") format("truetype");
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  src: url("fonts/open-sans-v28-latin-600.woff2") format("woff2"),
       url("fonts/open-sans-v28-latin-600.woff") format("woff"),
       url("fonts/open-sans-v28-latin-600.ttf") format("truetype");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  src: url("fonts/poppins-v19-latin-700.woff2") format("woff2"),
       url("fonts/poppins-v19-latin-700.woff") format("woff"),
       url("fonts/poppins-v19-latin-700.ttf") format("truetype");
}

/* ===== Brand Colours =====
   EB Red    #ED1C24
   Deep Black #000000
============================ */

/* ===== Defaults ===== */
* { box-sizing: border-box; }
body, h1, h2, h3, h4, h5, h6, p, ul {
  margin: 0;
  padding: 0;
  line-height: 1.5;
  list-style: none;
}
html, body { min-height: 100%; }
body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px;
  color: #000000;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border: none;
}

/* ===== Layout ===== */
main {
  width: 100%;
  max-width: 34em;
  text-align: center;
  margin: auto;
}
img.logo {
  width: 260px;
  max-width: 80%;
  margin: 0 auto 2.25rem;
}

/* ===== Top accent bar ===== */
section {
  padding-top: 2rem;
}
section[lang="en"] {
  border-top: 4px solid #ED1C24;
}

/* ===== Divider between languages ===== */
.divider {
  width: 60px;
  height: 2px;
  background: #ED1C24;
  margin: 2.25rem auto;
  opacity: 0.6;
}

/* ===== Text ===== */
.headline {
  font-family: "Poppins", "Open Sans", sans-serif;
  font-size: 1.9em;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: #000000;
  margin-bottom: 1rem;
}
.message {
  font-size: 1.02em;
  font-weight: 400;
  color: #333333;
  margin-bottom: 1.1rem;
}
.subtext {
  font-size: 0.92em;
  font-weight: 600;
  color: #ED1C24;
}

/* ===== Responsive ===== */
@media screen and (max-width: 470px) {
  html, body { font-size: 14px; }
  img.logo { margin-bottom: 1.75rem; }
  section { padding-top: 1.5rem; }
  .divider { margin: 1.75rem auto; }
}

/* ===== QR block ===== */
.qr-block {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e5e5;
}
.qr {
  width: 160px;
  height: 160px;
  margin: 0 auto 1rem;
  padding: 10px;
  border: 3px solid #ED1C24;
  border-radius: 12px;
  background: #ffffff;
}
.qr-label {
  font-size: 0.85em;
  line-height: 1.5;
}
.qr-label .qr-en {
  display: block;
  font-weight: 600;
  color: #000000;
}
.qr-label .qr-fr {
  display: block;
  font-weight: 400;
  color: #636668;
  font-style: italic;
}

@media screen and (max-width: 470px) {
  .qr-block { margin-top: 2rem; }
  .qr { width: 140px; height: 140px; }
}

/* ===== QR clickable mobile link ===== */
.qr-link-wrap {
  margin-top: 1rem;
}
.qr-link {
  display: inline-block;
  font-size: 0.9em;
  font-weight: 600;
  color: #ffffff;
  background: #ED1C24;
  text-decoration: none;
  padding: 0.7em 1.4em;
  border-radius: 6px;
  transition: background 0.15s ease;
}
.qr-link:hover,
.qr-link:focus {
  background: #c41219;
}
