/* Shared styles for eest content pages: competition, terms, privacy. */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/assets/fonts/bricolage-grotesque.woff2") format("woff2-variations"), url("/assets/fonts/bricolage-grotesque.woff2") format("woff2");
}

:root {
  --lavender: #BFC6E0;
  --lavender-soft: #E9ECF5;
  --black: #020100;
  --white: #FFFFFF;
  --grey: #5A5C66;
  --line: #D5D8E2;
  --font: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --measure: 760px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  background: var(--black); color: var(--lavender);
  padding: 10px 16px; text-decoration: none;
}
.skip:focus { top: 12px; }

a { color: var(--black); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

/* ---------- header ---------- */
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 24px var(--gutter);
  border-bottom: 1px solid var(--line);
}
.site-header .brand { line-height: 0; }
.site-header .brand img { width: 120px; height: auto; display: block; }
.site-header nav { display: flex; gap: 20px; font-size: 15px; flex-wrap: wrap; justify-content: flex-end; }
.site-header nav a { text-decoration: none; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { text-decoration: underline; }

/* ---------- hero band ---------- */
.band {
  background: var(--lavender);
  padding: clamp(48px, 9vw, 112px) var(--gutter) clamp(40px, 7vw, 88px);
  position: relative;
  overflow: hidden;
}
.band .inner { max-width: 1120px; margin: 0 auto; position: relative; z-index: 1; }
.eyebrow { margin: 0 0 16px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.band h1 {
  font-size: clamp(2.5rem, 7vw, 5.4rem);
  font-variation-settings: "opsz" 96;
  font-weight: 500;
  line-height: .98;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
  max-width: 12ch;
  text-wrap: balance;
}
.band .lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 46ch; margin: 0; }
.band .chev {
  position: absolute; right: var(--gutter); bottom: -6%;
  width: clamp(140px, 26vw, 360px); height: auto; opacity: .9;
}

/* ---------- content ---------- */
main { display: block; }
.wrap { max-width: calc(1120px + 2 * var(--gutter)); margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gutter); }

@media (max-width: 700px) {
  .band .chev { width: 72px; top: 28px; bottom: auto; }
  .band { padding-top: 112px; }
  .site-header { padding-top: 18px; padding-bottom: 18px; }
  .site-header nav { gap: 6px 14px; font-size: 14px; }
}
.measure { max-width: var(--measure); }

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500; letter-spacing: -0.02em; line-height: 1.1;
  margin: 0 0 20px;
}
h3 { font-size: 1.15rem; font-weight: 600; margin: 32px 0 8px; letter-spacing: -0.01em; }
p { margin: 0 0 16px; }
.muted { color: var(--grey); }
.small { font-size: 14px; }

section + section { margin-top: clamp(48px, 7vw, 88px); }

/* key facts grid */
.facts {
  display: grid; gap: 0;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  border-top: 1px solid var(--black);
  margin: 0; padding: 0; list-style: none;
}
.facts li { padding: 20px 20px 24px 0; border-bottom: 1px solid var(--line); }
.facts .label { display: block; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); margin-bottom: 6px; }
.facts .value { font-size: 1.15rem; line-height: 1.35; }

/* timeline */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--lavender); }
.timeline li { position: relative; padding: 0 0 22px 24px; }
.timeline li::before {
  content: ""; position: absolute; left: -7px; top: 8px;
  width: 12px; height: 12px; background: var(--black);
}
.timeline time { display: block; font-weight: 600; }

/* steps */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 18px 48px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 32px; height: 32px; display: grid; place-items: center;
  background: var(--lavender); font-weight: 600; font-size: 15px;
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 54px; padding: 0 26px;
  font: inherit; font-weight: 500; font-size: 16px;
  color: var(--black); background: var(--lavender);
  border: 1px solid var(--lavender); border-radius: 0;
  text-decoration: none; cursor: pointer;
  transition: background-color .22s ease, color .22s ease, border-color .22s ease;
}
.btn:hover, .btn:focus-visible { background: var(--black); border-color: var(--black); color: var(--lavender); }

/* entry panel */
.panel { border: 1px solid var(--line); padding: clamp(20px, 4vw, 40px); background: var(--white); }
.notice { background: var(--lavender-soft); padding: 20px 24px; border-left: 3px solid var(--black); }
.notice p:last-child { margin-bottom: 0; }

/* ---------- legal document ---------- */
.legal h2 { margin-top: 48px; }
.legal h2:first-child { margin-top: 0; }
.legal ol.clauses { padding-left: 0; list-style: none; margin: 0; }
.legal ol.clauses > li { display: grid; grid-template-columns: 3.2em 1fr; gap: 0 4px; margin-bottom: 12px; }
.legal ol.clauses > li > .n { color: var(--grey); font-variant-numeric: tabular-nums; }
.legal ol.sub { list-style: none; padding: 0; margin: 8px 0 0; }
.legal ol.sub li { margin-bottom: 6px; }
.legal h3.part { font-size: 1.35rem; font-weight: 500; margin: 48px 0 16px; padding-top: 24px; border-top: 1px solid var(--black); }

.schedule { width: 100%; border-collapse: collapse; margin: 16px 0 0; }
.schedule th, .schedule td { text-align: left; vertical-align: top; padding: 16px 0; border-top: 1px solid var(--line); }
.schedule th { width: 30%; padding-right: 20px; font-weight: 600; }
.schedule td p:last-child { margin-bottom: 0; }
.schedule ol { margin: 8px 0 8px; padding-left: 1.6em; list-style: lower-alpha; }
.schedule ol ol { list-style: lower-roman; }
@media (max-width: 640px) {
  .schedule th, .schedule td { display: block; width: 100%; padding: 4px 0; border: 0; }
  .schedule th { padding-top: 18px; border-top: 1px solid var(--line); }
}

.toc { columns: 2 220px; column-gap: 32px; padding-left: 1.2em; margin: 0; font-size: 15px; }
.toc li { margin-bottom: 4px; break-inside: avoid; }

/* ---------- footer ---------- */
.site-footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding: 28px var(--gutter);
  border-top: 1px solid var(--line);
  font-size: 14px; color: var(--grey);
}
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }

@media print {
  .site-header nav, .band .chev, .skip { display: none; }
  .band { background: none; padding: 0 0 16px; }
}

@media print {
  .no-print, .site-header, .site-footer, nav[aria-label="Contents"] { display: none !important; }
  body { font-size: 11pt; }
  .wrap { padding: 0; }
  a { color: inherit; text-decoration: none; }
}
