/* Figtree (SIL OFL 1.1, see ../fonts/OFL.txt). Stand-in until brand fonts are supplied. */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/figtree-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/figtree-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/figtree-latin-ext-500-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/figtree-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/figtree-latin-ext-700-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/figtree-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/figtree-latin-ext-800-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/figtree-latin-800-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Air Canada – Unlock the Sun. Values match the approved design boards. */
:root {
  --blue: #0B5AA3;
  --blue-dark: #08467F;
  --ink: #1F1F1F;
  --ink-soft: #333333;
  --line: #4A4A4A;
  --error: #C8102E;
  --alert-bg: #FCEDEF;
  --alert-ink: #8A0F22;
  --font: 'Figtree', 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }
body.site {
  margin: 0;
  background: #FFFFFF;
  color: var(--ink);
  font-family: var(--font);
}

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* Mobile column, centred on wider screens. */
.col {
  position: relative;
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  overflow: hidden;
  background: #FFFFFF;
}

.logo {
  position: absolute;
  top: 24px;
  left: 24px;
  height: 64px;
  width: auto;
  max-width: 200px;
}

.cloud, .sun { position: absolute; display: block; pointer-events: none; }
.cloud--top { top: 36px; right: 0; width: 150px; height: 52px; }
.cloud--bottom { left: 0; bottom: 0; width: 120px; height: 52px; }
.sun { right: 0; bottom: 0; width: 216px; height: 180px; }

.content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 172px 24px 210px;
}
.col--lang .content { gap: 14px; }
.col--form .content { padding-top: 124px; }
.col--rules .content {
  padding: 148px 24px 40px;
  gap: 16px;
  font-size: 16px;
  line-height: 1.45;
}

.headline {
  margin: 0;
  font-size: 32px;
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.headline--form { font-size: 30px; margin: 0 0 10px; }
.headline--thanks { margin: 0 0 14px; }

.lead { margin: 0; font-size: 18px; line-height: 1.4; }
.lead--form { margin: 0 0 26px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  min-width: 120px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: var(--blue-dark); color: #FFFFFF; }
.btn:focus-visible { outline-color: var(--ink); }
.btn--wide { padding: 0 30px; min-width: 0; }
.btn--submit { padding: 0 28px; min-width: 0; }
.btn[disabled] { opacity: 0.7; cursor: progress; }

.lang-buttons { display: flex; flex-wrap: wrap; gap: 16px 70px; margin-top: 26px; }
.thanks-cta { margin-top: 38px; }

/* Entry form */
.entry { display: flex; flex-direction: column; gap: 22px; margin: 0; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 15px; }
.field input[type="text"],
.field input[type="email"],
.field select {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 4px 0 8px;
  font-family: inherit;
  font-size: 17px;
  background: transparent;
  color: var(--ink);
}
.field select { min-height: 36px; }
.field.is-invalid input[type="text"],
.field.is-invalid input[type="email"],
.field.is-invalid select { border-bottom: 2px solid var(--error); }
.field input:focus-visible, .field select:focus-visible { outline-offset: 4px; }

.field--check {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}
.field--check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--blue);
}
.field--check label { padding: 4px 0; }
.field--check .field-error { flex-basis: 100%; }

.field-error { margin: 0; color: var(--error); font-size: 14px; }

.summary {
  margin: 0;
  padding: 10px 12px;
  background: var(--alert-bg);
  color: var(--alert-ink);
  border-radius: 6px;
  font-size: 15px;
}
.summary:focus { outline: 2px solid var(--alert-ink); outline-offset: 2px; }

/* Honeypot: invisible to people, present for bots. */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.fineprint { margin: 26px 0 0; font-size: 14px; line-height: 1.45; color: var(--ink-soft); }

/* Rules */
.rules { display: flex; flex-direction: column; gap: 16px; }
.rules > * { margin: 0; }
.rules .rules-title { margin-top: 8px; font-size: 16px; font-weight: 400; line-height: 1.45; }
.rules h2, .rules h3 { font-size: 16px; font-weight: 400; }
.rules ul, .rules ol { padding-left: 1.4em; }
.rules .rules-todo { color: var(--error); font-style: italic; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
