/* ==========================================================================
   Lottomatic — Taboola landing page
   Identity: "the paper form". Navy ink, warm paper stock, terminal red.
   ========================================================================== */

:root {
  --ink:        #16303F;
  --ink-deep:   #0B1D28;
  --ink-soft:   #2A4757;
  --red:        #E1251B;
  --red-dark:   #B71B13;
  --red-lift:   #FF6259;
  --red-wash:   #FDEDEC;
  --paper:      #FBFAF6;
  --paper-warm: #F4F1E9;
  --rule:       #E1DCD1;
  --rule-soft:  #EEEAE1;
  --graphite:   #56666F;
  --white:      #FFFFFF;

  --shadow-card: 0 1px 2px rgba(11, 29, 40, .04), 0 10px 28px -14px rgba(11, 29, 40, .2);
  --shadow-lift: 0 2px 6px rgba(11, 29, 40, .06), 0 22px 48px -18px rgba(11, 29, 40, .32);
  --shadow-paper:
    0 1px 1px rgba(11, 29, 40, .1),
    0 10px 20px -8px rgba(0, 0, 0, .3),
    0 40px 70px -30px rgba(0, 0, 0, .55);

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");

  --wrap: 660px;
  --gut: 22px;

  --font-display: "Secular One", "Assistant", system-ui, sans-serif;
  --font-body: "Assistant", system-ui, -apple-system, sans-serif;
  /* Plex Mono has no Hebrew glyphs but does have a monospaced space — Hebrew set
     in this stack blows the word gaps open. Reserved for digits and Latin only. */
  --font-mono: "IBM Plex Mono", "Assistant", ui-monospace, monospace;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}

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

/* --------------------------------------------------------------- headings */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -0.012em;
  margin: 0;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--red);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
  flex: none;
}

.lede {
  font-size: 17.5px;
  color: var(--graphite);
  margin: 15px 0 0;
  line-height: 1.72;
  max-width: 34em;
}

/* ------------------------------------------------------------ disclosure */

.disclosure {
  background: var(--ink-deep);
  color: rgba(255, 255, 255, .58);
  font-size: 12px;
  line-height: 1.5;
  padding: 9px 18px;
  text-align: center;
}
.disclosure b { color: rgba(255, 255, 255, .88); font-weight: 600; }

/* ----------------------------------------------------------------- header */

.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 250, 246, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--rule-soft);
}
.masthead__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}
.masthead__logo { height: 31px; width: auto; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  padding: 16px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s cubic-bezier(.22,1,.36,1), box-shadow .18s ease, background-color .18s ease;
}
.btn:focus-visible { outline: 3px solid var(--red-lift); outline-offset: 3px; }

.btn--primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 10px 24px -10px rgba(225, 37, 27, .8), inset 0 1px 0 rgba(255,255,255,.22);
}
.btn--primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -12px rgba(225, 37, 27, .85), inset 0 1px 0 rgba(255,255,255,.22);
}
.btn--primary:active { transform: translateY(0); }

.btn--sm { font-size: 14.5px; padding: 12px 21px; }

.btn__arrow { width: 15px; height: 15px; transform: scaleX(-1); flex: none; }

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

.hero {
  position: relative;
  color: var(--white);
  padding: 56px 0 76px;
  background-color: var(--ink);
  isolation: isolate;
}
/* ambient: the client's own lotto artwork, pushed far back */
.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__bg img {
  width: 130%;
  height: 100%;
  object-fit: cover;
  opacity: .2;
  filter: blur(26px) saturate(.7);
  transform: scale(1.15) translateX(6%);
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 88% 92%, rgba(47, 180, 65, .16), transparent 62%),
    radial-gradient(ellipse 120% 52% at 12% 0%, rgba(225, 37, 27, .38), transparent 64%),
    linear-gradient(to bottom, rgba(11, 29, 40, .82), rgba(11, 29, 40, .97) 58%, var(--ink));
}
.hero__grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grain);
  opacity: .1;
  pointer-events: none;
}

.hero .eyebrow { color: var(--red-lift); }
.hero .eyebrow::before { background: var(--red-lift); }

.hero h1 {
  font-size: clamp(34px, 8.6vw, 50px);
  color: var(--white);
  text-wrap: balance;
}
.hero h1 em { font-style: normal; color: #FF9089; }

.hero__lede {
  font-size: 17.5px;
  color: rgba(255, 255, 255, .76);
  margin: 20px 0 0;
  max-width: 31em;
  line-height: 1.72;
}

.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }

.hero__stores { display: flex; gap: 10px; margin-top: 20px; }
.hero__stores img {
  height: 42px;
  width: auto;
  opacity: .9;
  transition: opacity .18s ease, transform .18s ease;
}
.hero__stores a:hover img { opacity: 1; transform: translateY(-2px); }

.hero__note {
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .5);
  margin: 24px 0 0;
  padding-inline-start: 13px;
  border-inline-start: 2px solid rgba(255, 255, 255, .18);
  max-width: 38em;
}

/* -------------------------------------------------- signature: the form */

.ticket-stage { margin: 40px 0 0; perspective: 1400px; }

.ticket {
  position: relative;
  background: linear-gradient(178deg, #FBF9F3, var(--paper-warm) 60%, #EFEBE1);
  color: var(--ink);
  border-radius: 5px;
  padding: 22px 22px 26px;
  box-shadow: var(--shadow-paper);
  transform: rotate(-1.2deg) rotateX(3deg);
  transform-origin: 50% 0;
  overflow: hidden;
}
.ticket::before,
.ticket::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  height: 8px;
  background-image: radial-gradient(circle at 5px 0, transparent 4.6px, #F1EDE3 4.8px);
  background-size: 10px 8px;
  background-repeat: repeat-x;
  z-index: 3;
}
.ticket::before { top: 0; transform: rotate(180deg); }
.ticket::after { bottom: 0; }

.ticket__grain {
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: .3;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.ticket__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 13px;
  border-bottom: 1px dashed var(--rule);
}
.ticket__brand { display: flex; align-items: center; gap: 9px; }
.ticket__dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(225, 37, 27, .16);
  flex: none;
}
.ticket__title { font-family: var(--font-display); font-size: 16.5px; }
.ticket__demo {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--graphite);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 3px 8px;
  background: rgba(255, 255, 255, .7);
  flex: none;
}

.ticket__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--graphite);
  margin: 15px 0 9px;
}

.grid37 { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; }
.grid37 span {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  color: #A8A196;
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--rule-soft);
  border-radius: 3px;
  transition: background-color .24s ease, color .24s ease,
              transform .24s cubic-bezier(.22,1.5,.4,1), box-shadow .24s ease;
}
.grid37 span.is-marked {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
  transform: scale(1.1);
  box-shadow: 0 3px 8px -2px rgba(11, 29, 40, .5);
}
.grid37 span.is-strong {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  transform: scale(1.1);
  box-shadow: 0 3px 8px -2px rgba(225, 37, 27, .55);
}

.ticket__rows {
  margin-top: 17px;
  padding-top: 14px;
  border-top: 1px dashed var(--rule);
  font-size: 13.5px;
}
.ticket__row { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; color: var(--ink-soft); }
.ticket__row > span:last-child,
.receipt__row > span:last-child {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  direction: ltr;
  unicode-bidi: isolate;
}
.ticket__row--total {
  margin-top: 9px;
  padding-top: 10px;
  border-top: 1.5px solid var(--ink);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
}

/* terminal-printed foot: barcode + stamp */
.ticket__foot {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--rule);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.ticket__barcode {
  height: 34px;
  flex: 1;
  min-width: 0;
  background-image: repeating-linear-gradient(to left,
    var(--ink) 0 1px, transparent 1px 3px,
    var(--ink) 3px 5px, transparent 5px 6px,
    var(--ink) 6px 7px, transparent 7px 10px,
    var(--ink) 10px 13px, transparent 13px 14px,
    var(--ink) 14px 15px, transparent 15px 18px);
  opacity: .8;
}
.ticket__stamp {
  flex: none;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--red);
  border: 2.5px solid var(--red);
  border-radius: 6px;
  padding: 5px 15px 6px;
  transform: rotate(-7deg);
  opacity: .9;
}

.ticket__scan {
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 88px;
  background: linear-gradient(to bottom, transparent, rgba(225, 37, 27, .13) 55%, rgba(225, 37, 27, .46));
  border-bottom: 1.5px solid rgba(225, 37, 27, .75);
  pointer-events: none;
  opacity: 0;
  z-index: 2;
}

/* ------------------------------------------------------------- perforation */

.perf {
  height: 1px;
  border: 0;
  margin: 0;
  background-image: repeating-linear-gradient(to right, var(--rule) 0 6px, transparent 6px 12px);
}

/* ---------------------------------------------------------------- bands */

.band { padding: 60px 0; }
.band--paper { background: var(--paper); }
.band--warm { background: var(--paper-warm); }
.band h2 { font-size: clamp(27px, 6.6vw, 35px); text-wrap: balance; }

/* ---------------------------------------------------------------- facts */

.facts { padding: 6px 0 30px; background: var(--paper); }
.facts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--white);
  border: 1px solid var(--rule-soft);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.fact { padding: 18px 10px; text-align: center; }
.fact + .fact { border-inline-start: 1px solid var(--rule-soft); }
.fact__k { font-family: var(--font-display); font-size: 20px; line-height: 1.25; }
.fact__k[dir="ltr"] { direction: ltr; }
.fact__v { font-size: 12px; font-weight: 600; color: var(--graphite); margin-top: 5px; }

/* ---------------------------------------------------------------- story */

.story {
  position: relative;
  background: var(--paper-warm);
  padding: 60px 0 64px;
  overflow: hidden;
}
.story::before {
  content: "";
  position: absolute;
  inset-inline-end: -90px;
  top: -70px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #FF8078, var(--red) 42%, #8E120C 100%);
  opacity: .1;
}
.story__in { position: relative; }

.story__kicker {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--red);
  background: var(--red-wash);
  border-radius: 4px;
  padding: 5px 11px;
  margin-bottom: 16px;
}
.story h2 { font-size: clamp(28px, 7vw, 38px); max-width: 15em; }

.story__body { margin-top: 22px; max-width: 36em; }
.story__body p { margin: 0 0 17px; font-size: 17px; line-height: 1.8; color: #33454F; }
.story__body p:last-child { margin-bottom: 0; }
.story__body p:first-child::first-letter {
  font-family: var(--font-display);
  float: inline-start;
  font-size: 58px;
  line-height: .82;
  margin-inline-end: 9px;
  margin-top: 6px;
  color: var(--red);
}

.pullquote {
  margin: 26px 0;
  padding: 20px 0;
  padding-inline-start: 20px;
  border-inline-start: 3px solid var(--red);
  font-family: var(--font-display);
  font-size: clamp(20px, 5.2vw, 25px);
  line-height: 1.38;
  color: var(--ink);
}

.story__sign {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--graphite);
}
.story__sign img { height: 26px; width: auto; }

/* ----------------------------------------------------------------- steps */

.steps { margin: 32px 0 0; padding: 0; list-style: none; }
.step { position: relative; padding-inline-start: 62px; padding-bottom: 30px; }
.step__icon {
  position: absolute;
  inset-inline-start: 0;
  top: 2px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 13px;
  color: var(--red);
  box-shadow: var(--shadow-card);
}
.step__icon svg { width: 21px; height: 21px; }
.step::after {
  content: "";
  position: absolute;
  inset-inline-start: 21.5px;
  top: 54px;
  bottom: 8px;
  width: 1px;
  background: repeating-linear-gradient(to bottom, var(--rule) 0 4px, transparent 4px 9px);
}
.step:last-child { padding-bottom: 0; }
.step:last-child::after { display: none; }

.step__n {
  font-size: 11.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--red);
  letter-spacing: .06em;
  display: block;
  margin-bottom: 2px;
}
.step h3 { font-size: 20px; margin-bottom: 5px; }
.step p { margin: 0; color: var(--graphite); font-size: 16px; line-height: 1.68; }

/* --------------------------------------------------------------- compare */

.compare {
  margin-top: 30px;
  background: var(--white);
  border: 1px solid var(--rule-soft);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.compare__head, .compare__row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  align-items: center;
}
.compare__head {
  background: var(--ink);
  color: rgba(255, 255, 255, .62);
  font-size: 12.5px;
  font-weight: 600;
}
.compare__head > * { padding: 13px 8px; text-align: center; }
.compare__head > :first-child { text-align: start; padding-inline-start: 18px; }
.compare__head .is-us { color: var(--white); background: var(--red); }

.compare__row { border-top: 1px solid var(--rule-soft); }
.compare__row > * { padding: 14px 8px; text-align: center; font-size: 13.5px; color: var(--graphite); }
.compare__row > :first-child {
  text-align: start;
  padding-inline-start: 16px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ink);
}
.compare__row .is-us { background: rgba(225, 37, 27, .05); color: var(--ink); font-weight: 700; }
.compare__label { display: flex; align-items: center; gap: 10px; }
.compare__label svg { width: 18px; height: 18px; color: var(--red); flex: none; }

/* ----------------------------------------------------------------- tiles */
/* Per-game colours are lifted from the client's own game artwork. */

.tiles-band {
  background: var(--paper);
  padding: 0 0 34px;
}
.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: -58px;
}

.tile {
  --c2: color-mix(in srgb, var(--c) 78%, #000);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 196px;
  padding: 16px 16px 15px;
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
  text-decoration: none;
  color: var(--white);
  background: linear-gradient(158deg, var(--c), var(--c2));
  box-shadow: 0 2px 3px rgba(11,29,40,.1), 0 18px 34px -18px var(--c),
              inset 0 1px 0 rgba(255,255,255,.3);
  transition: transform .2s cubic-bezier(.22,1,.36,1), box-shadow .2s ease;
}
.tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 3px 5px rgba(11,29,40,.12), 0 30px 46px -20px var(--c),
              inset 0 1px 0 rgba(255,255,255,.3);
}
.tile:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.tile__art {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .3;
  mix-blend-mode: overlay;
}

.tile--lotto  { --c: #FE3030; }
.tile--chance { --c: #2FB441; }
.tile--777    { --c: #FD439A; }
.tile--123    { --c: #FF652F; }

.tile__name {
  font-family: var(--font-display);
  font-size: 27px;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0,0,0,.22);
}
.tile__upto {
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255,255,255,.82);
  margin-top: 12px;
  line-height: 1.35;
}
.tile__stat {
  font-family: var(--font-display);
  font-size: clamp(23px, 6.6vw, 30px);
  line-height: 1.05;
  margin-top: 3px;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 12px rgba(0,0,0,.24);
}
.tile__stat--text {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.5;
  margin-top: 14px;
  color: rgba(255,255,255,.94);
  text-shadow: none;
}
.tile__cta {
  margin-top: auto;
  align-self: stretch;
  text-align: center;
  background: var(--white);
  color: var(--c);
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 5px 14px -5px rgba(0, 0, 0, .35);
  transition: transform .18s cubic-bezier(.22,1,.36,1);
}
.tile:hover .tile__cta { transform: translateY(-1px); }

.tiles__note {
  margin: 18px 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--graphite);
}

/* --------------------------------------------------------------- receipt */

.receipt {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 22px;
  margin-top: 28px;
  font-size: 15px;
  box-shadow: var(--shadow-card);
}
.receipt__cap {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--graphite);
  padding-bottom: 13px;
  border-bottom: 1px dashed var(--rule);
  margin-bottom: 13px;
}
.receipt__row { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; color: var(--ink-soft); }
.receipt__row--sum {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1.5px solid var(--ink);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}
.receipt__foot { margin: 15px 0 0; font-size: 14px; line-height: 1.65; color: var(--graphite); }

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

.split { display: grid; gap: 14px; margin-top: 28px; }
.card {
  background: var(--white);
  border: 1px solid var(--rule-soft);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow-card);
}
.card__tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--red);
  background: var(--red-wash);
  border-radius: 4px;
  padding: 4px 9px;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.card h3 { font-size: 21px; margin-bottom: 7px; }
.card p { margin: 0; font-size: 16px; color: var(--graphite); line-height: 1.68; }

/* ------------------------------------------------------------------- faq */

.faq { margin-top: 28px; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 19px 0;
  font-family: var(--font-display);
  font-size: 17.5px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  transition: color .16s ease;
}
.faq summary:hover { color: var(--red); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.faq summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-right: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: rotate(45deg);
  transition: transform .22s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq p { margin: 0; padding: 0 0 20px; font-size: 16px; color: var(--graphite); line-height: 1.72; }

/* --------------------------------------------------------- responsible */

.responsible {
  position: relative;
  background: var(--ink);
  color: rgba(255, 255, 255, .8);
  padding: 46px 0;
  isolation: isolate;
}
.responsible::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grain);
  opacity: .07;
}
.responsible h2 { font-size: 26px; color: var(--white); margin-bottom: 12px; }
.responsible p { font-size: 16px; line-height: 1.72; margin: 0 0 12px; max-width: 38em; }
.responsible p:last-child { margin-bottom: 0; }
.responsible a { color: #FF9089; }
.responsible__age {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 2px solid var(--red-lift);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 16px;
  color: #FF9089;
  margin-bottom: 18px;
  direction: ltr;
}

/* -------------------------------------------------------------- closing */

.closing {
  position: relative;
  padding: 66px 0;
  text-align: center;
  background: var(--paper-warm);
  overflow: hidden;
}
.closing::before {
  content: "";
  position: absolute;
  inset-inline-start: -70px;
  bottom: -90px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #7EA0B0, var(--ink) 55%);
  opacity: .08;
}
.closing__in { position: relative; }
.closing h2 { font-size: clamp(28px, 7.4vw, 38px); }
.closing .lede { margin-inline: auto; max-width: 25em; }
.closing .btn { margin-top: 26px; }
.closing__stores { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }
.closing__stores img { height: 42px; width: auto; }

/* ------------------------------------------------- skip link + a11y */

.skip {
  position: absolute;
  inset-inline-start: 50%;
  top: 0;
  transform: translate(50%, -140%);
  z-index: 100;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 0 0 12px 12px;
  text-decoration: none;
  transition: transform .18s ease;
}
.skip:focus { transform: translate(50%, 0); outline: 3px solid var(--ink); outline-offset: 2px; }

.a11y { background: var(--paper); border-top: 1px solid var(--rule-soft); }
.a11y details { padding: 6px 0 22px; }
.a11y summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 20px 0;
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--ink);
  transition: color .16s ease;
}
.a11y summary::-webkit-details-marker { display: none; }
.a11y summary:hover { color: var(--red); }
.a11y summary:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
.a11y__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--red-wash);
  color: var(--red);
  flex: none;
}
.a11y__icon svg { width: 19px; height: 19px; }

.a11y__body { max-width: 46em; color: var(--graphite); font-size: 15.5px; line-height: 1.75; }
.a11y__body h3 {
  font-size: 16px;
  color: var(--ink);
  margin: 22px 0 8px;
}
.a11y__body p { margin: 0 0 12px; }
.a11y__body ul { margin: 0; padding-inline-start: 20px; }
.a11y__body li { margin-bottom: 7px; }
.a11y__body a { color: var(--red); font-weight: 600; }
.a11y__meta {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--rule-soft);
  font-size: 13.5px;
}

/* ---------------------------------------------------------------- social */

.social { margin-top: 30px; }
.social__lead {
  display: block;
  font-size: 14px;
  color: var(--graphite);
  margin-bottom: 14px;
}
.social__row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.social__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--rule);
  color: var(--ink);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 700;
  box-shadow: var(--shadow-card);
  transition: transform .18s cubic-bezier(.22,1,.36,1), border-color .18s ease, color .18s ease;
}
.social__btn svg { width: 18px; height: 18px; color: var(--red); }
.social__btn:hover { transform: translateY(-2px); border-color: var(--red); color: var(--red); }
.social__btn:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

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

.footer {
  background: var(--ink-deep);
  color: rgba(255, 255, 255, .62);
  padding: 46px 0 112px;
  font-size: 14.5px;
  line-height: 1.72;
}
.footer__logo { height: 36px; width: auto; margin-bottom: 24px; filter: brightness(0) invert(1); opacity: .92; }
.footer h4 {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .42);
  margin: 0 0 8px;
}
.footer__cols { display: grid; gap: 24px; }
.footer__block p { margin: 0; }
.footer__links { display: flex; flex-wrap: wrap; gap: 9px 20px; }
.footer__links a {
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
  padding-bottom: 2px;
  transition: color .16s ease, border-color .16s ease;
}
.footer__links a:hover { color: var(--white); border-color: var(--white); }
.footer__legal {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 12.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, .45);
}

/* ------------------------------------------------ accessibility widget */

.a11yw {
  position: fixed;
  inset-inline-end: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-body);
}

.a11yw__btn {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0 12px 12px 0;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  box-shadow: 0 6px 20px -6px rgba(11, 29, 40, .6);
  transition: background-color .16s ease;
}
.a11yw__btn svg { width: 25px; height: 25px; }
.a11yw__btn:hover { background: var(--red); }
.a11yw__btn:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.a11yw__panel {
  width: 246px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 20px 50px -18px rgba(11, 29, 40, .5);
  max-height: 82vh;
  overflow-y: auto;
}
.a11yw__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px 10px;
  border-bottom: 1px solid var(--rule-soft);
  margin-bottom: 8px;
  font-size: 15px;
  color: var(--ink);
}
.a11yw__close {
  border: 0;
  background: none;
  font-size: 24px;
  line-height: 1;
  color: var(--graphite);
  cursor: pointer;
  padding: 0 4px;
}
.a11yw__close:hover { color: var(--red); }

.a11yw__opt {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 12px;
  margin-bottom: 5px;
  border: 1px solid var(--rule-soft);
  border-radius: 9px;
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  text-align: start;
  cursor: pointer;
  transition: border-color .14s ease, background-color .14s ease;
}
.a11yw__opt:hover { border-color: var(--red); }
.a11yw__opt:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.a11yw__opt[aria-pressed="true"] {
  background: var(--red-wash);
  border-color: var(--red);
  color: var(--red-dark);
}
.a11yw__val { font-size: 12.5px; font-weight: 700; color: var(--red); }

.a11yw__reset {
  width: 100%;
  margin-top: 4px;
  padding: 10px;
  border: 0;
  border-radius: 9px;
  background: var(--ink);
  color: var(--white);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.a11yw__reset:hover { background: var(--red); }
.a11yw__reset:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

.a11yw__link {
  display: block;
  text-align: center;
  margin-top: 10px;
  font-size: 13px;
  color: var(--graphite);
}

@media (max-width: 560px) {
  .a11yw { top: auto; bottom: 92px; transform: none; align-items: flex-end; }
  .a11yw__panel { width: min(246px, calc(100vw - 84px)); }
}

/* --- states the widget applies to the document --- */

/* high contrast: black canvas, white text, yellow for anything actionable */
html.a11y-contrast :is(body, main, header, footer, section, nav, div, span, p,
  h1, h2, h3, h4, ul, ol, li, details, summary, strong, b, em, hr, button) {
  background-color: #000 !important;
  background-image: none !important;
  color: #FFF !important;
  border-color: #FFF !important;
  box-shadow: none !important;
  text-shadow: none !important;
}
html.a11y-contrast :is(a, .eyebrow, .card__tag, .story__kicker, .step__n,
  .tile__upto, .a11yw__val, .fact__v) { color: #FFE600 !important; }
html.a11y-contrast :is(.btn, .tile__cta, .a11yw__reset, .skip) {
  background-color: #FFE600 !important;
  color: #000 !important;
  border: 2px solid #FFF !important;
}
html.a11y-contrast :is(.card, .receipt, .compare, .facts__grid, .fact, .ticket,
  .tile, .a11yw__panel, .a11yw__opt, .social__btn, .faq details, .a11y details) {
  border: 1px solid #FFF !important;
}
html.a11y-contrast :is(.hero__bg, .hero__grain, .ticket__grain, .tile__art,
  .ticket__scan) { display: none !important; }
html.a11y-contrast .a11yw__btn { background: #FFE600 !important; color: #000 !important; }
html.a11y-contrast :is(.masthead__logo, .story__sign img) { filter: brightness(0) invert(1) !important; }
html.a11y-contrast .grid37 span { background: #000 !important; color: #FFF !important; border-color: #FFF !important; }
html.a11y-contrast :is(.grid37 span.is-marked, .grid37 span.is-strong) {
  background: #FFE600 !important; color: #000 !important;
}
html.a11y-contrast .ticket__barcode { background-image: none !important; background: #FFF !important; }
html.a11y-contrast .a11yw__opt[aria-pressed="true"] { background: #FFE600 !important; color: #000 !important; }

html.a11y-readable, html.a11y-readable :is(h1, h2, h3, p, span, li, a, div, summary, button) {
  font-family: Arial, "Helvetica Neue", sans-serif !important;
  letter-spacing: normal !important;
}

html.a11y-links a { text-decoration: underline !important; text-underline-offset: 3px; outline: 1px dashed currentColor; outline-offset: 2px; }

html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

html.a11y-cursor, html.a11y-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='42' height='42' viewBox='0 0 42 42'%3E%3Cpath d='M6 3l26 14-11 3-4 12z' fill='%23fff' stroke='%23000' stroke-width='2.5' stroke-linejoin='round'/%3E%3C/svg%3E") 5 3, auto !important;
}

/* ---------------------------------------------------------- sticky CTA */

.dock {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 50;
  background: rgba(11, 29, 40, .96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 11px 0 calc(11px + env(safe-area-inset-bottom));
  transform: translateY(130%);
  transition: transform .34s cubic-bezier(.22, 1, .36, 1);
}
.dock.is-in { transform: translateY(0); }
.dock__in { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.dock__txt { font-size: 12px; line-height: 1.5; color: rgba(255, 255, 255, .6); }
.dock__txt b {
  display: block;
  font-family: var(--font-display);
  font-size: 15.5px;
  color: var(--white);
  font-weight: 400;
}

/* ---------------------------------------------------------------- reveal */

.reveal { opacity: 0; transform: translateY(20px); }
.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity .65s ease, transform .65s cubic-bezier(.22, 1, .36, 1);
}

/* ------------------------------------------------------------- viewport */

@media (min-width: 560px) {
  .split { grid-template-columns: 1fr 1fr; }
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 720px) {
  body { font-size: 17.5px; }
  .hero { padding-top: 74px; }
  .band, .story { padding: 82px 0; }
  .facts { padding: 10px 0 38px; }
  .ticket { padding: 28px 28px 24px; }
  .grid37 span { font-size: 12px; }
  .closing { padding: 88px 0; }
}

/* =========================================================== desktop ≥1000 */

@media (min-width: 1000px) {
  :root { --wrap: 1140px; --gut: 44px; }

  body { font-size: 18px; }

  /* --- hero becomes two columns: the pitch, and the form itself --- */
  .hero { padding: 0; }
  .hero__grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 64px;
    align-items: center;
    padding-block: 58px 80px;
  }
  .hero h1 { font-size: clamp(44px, 3.5vw, 54px); }
  .hero__lede { font-size: 18.5px; max-width: 26em; margin-top: 22px; }
  .hero__cta { margin-top: 30px; }
  .hero__note { font-size: 12.5px; max-width: none; margin-top: 26px; }

  /* the form is a supporting artefact, not the whole column */
  .ticket-stage { margin: 0; display: flex; justify-content: center; }
  .ticket {
    width: 100%;
    max-width: 376px;
    transform: rotate(-1.6deg) rotateX(2deg);
    padding: 24px 24px 22px;
  }
  .ticket__title { font-size: 17px; }
  .ticket__rows { font-size: 14px; }
  .ticket__row--total { font-size: 16.5px; }
  .ticket__stamp { font-size: 19px; }
  .ticket__barcode { height: 36px; }

  .facts { padding: 16px 0 48px; }
  .fact { padding: 24px 14px; }
  .fact__k { font-size: 25px; }
  .fact__v { font-size: 13px; }

  /* --- shared two-column section: heading rail + content --- */
  .sec {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 72px;
    align-items: start;
  }
  .sec__head { position: sticky; top: 96px; }
  .sec__head .lede { font-size: 16.5px; margin-top: 13px; }
  .sec__body { min-width: 0; }
  .sec__body > :first-child { margin-top: 0; }

  .band, .story { padding: 104px 0; }
  .band h2, .story h2 { font-size: 40px; }
  .sec__head h2 { font-size: 34px; }

  /* story keeps a readable measure inside its column */
  .story__body { max-width: 34em; margin-top: 0; }
  .story__body p { font-size: 18px; }
  .story::before { width: 380px; height: 380px; inset-inline-end: -190px; top: -190px; }

  /* --- steps: 2 x 2, no connecting spine --- */
  .steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 56px;
    margin-top: 44px;
  }
  .step { padding-bottom: 0; }
  .step::after { display: none; }

  .compare { margin-top: 44px; }
  .compare__head > * { padding: 16px 14px; font-size: 13.5px; }
  .compare__row > * { padding: 18px 14px; font-size: 15px; }
  .compare__row > :first-child { font-size: 16px; padding-inline-start: 24px; }
  .compare__head > :first-child { padding-inline-start: 24px; }

  .tiles-band { padding-bottom: 46px; }
  .tiles { gap: 20px; margin-top: -74px; }
  .tile { min-height: 250px; padding: 22px 22px 20px; border-radius: 24px; }
  .tile__name { font-size: 34px; }
  .tile__upto { font-size: 12.5px; margin-top: 18px; }
  .tile__stat { font-size: 34px; }
  .tile__stat--text { font-size: 20px; margin-top: 20px; }
  .tile__cta { font-size: 15px; padding: 13px 20px; }
  .tiles__note { font-size: 13.5px; margin-top: 24px; }

  .receipt { margin-top: 0; padding: 30px; font-size: 16.5px; }
  .receipt__row--sum { font-size: 19px; }

  .split { gap: 20px; margin-top: 44px; }
  .card { padding: 30px; }
  .card h3 { font-size: 23px; }

  .faq { margin-top: 0; }
  .faq summary { font-size: 19px; padding: 22px 0; }
  .faq p { font-size: 17px; padding-bottom: 24px; }

  .responsible { padding: 84px 0; }
  .responsible .sec__head { position: static; }
  .responsible h2 { font-size: 32px; }
  .responsible p { font-size: 17px; max-width: none; }

  .closing { padding: 112px 0; }
  .social { margin-top: 40px; }
  .social__lead { font-size: 15px; }
  .closing h2 { font-size: 46px; }

  .footer { padding: 64px 0 72px; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .footer__legal { font-size: 13px; column-count: 2; column-gap: 44px; }

  /* the dock is a mobile affordance — desktop has the header CTA in view */
  .dock { display: none; }
}

@media (min-width: 1280px) {
  .hero__grid { gap: 84px; }
  .sec { grid-template-columns: 380px 1fr; gap: 88px; }
}

@media (min-width: 1500px) {
  :root { --wrap: 1280px; }
  .hero__grid { padding-block: 70px 92px; }
  .ticket { max-width: 410px; }
  .tile { min-height: 268px; }
  .tile__name { font-size: 38px; }
  .tile__stat { font-size: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
