/* Irish League Edge — site styles. Mobile first; brand values come from tokens.css. */

/* Fonts: Latin subsets as WOFF2 (Inter 110 KB instead of 856 KB, Bebas 16 KB instead of 60 KB).
   The full TTF is declared FIRST with no range, so it is only fetched for a character outside the
   subset (e.g. Cyrillic on internal pages); the later WOFF2 rule wins for everything in its range. */
@font-face { font-family: "Bebas Neue"; src: url("../fonts/BebasNeue-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Bebas Neue"; src: url("../fonts/BebasNeue-latin.woff2") format("woff2"); font-display: swap;
  unicode-range: U+0000-00FF, U+0100-017F, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2190-2199, U+2212, U+2215, U+2260, U+2264-2265, U+FEFF, U+FFFD; }
@font-face { font-family: "Anton"; src: url("../fonts/Anton-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-VF.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-VF-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0100-017F, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2190-2199, U+2212, U+2215, U+2260, U+2264-2265, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat-VF.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-black);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 96px; }
/* Skip link: first focusable element on every page, target <main id="content"> */
.skip-link {
  position: absolute; left: var(--space-3); top: -100px; z-index: 100;
  background: var(--color-mint); color: var(--color-mint-ink); font-weight: 700;
  padding: var(--space-2) var(--space-4); border-radius: var(--radius-pill); text-decoration: none;
}
.skip-link:focus { top: var(--space-3); }

.wrap { width: 100%; max-width: var(--layout-max); margin: 0 auto; padding-inline: var(--layout-gutter-mobile); }
.section { padding-block: var(--space-8); }
.section--tight { padding-block: var(--space-7); }
.section--line { border-top: var(--border-line); }

/* Type */
.display, h1, h2, h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.01em; margin: 0; text-wrap: balance; }
h1 { font-size: var(--type-h1-mobile); line-height: var(--type-h1-line); }
h2 { font-size: var(--type-h2-mobile); line-height: var(--type-h2-line); }
h3 { font-size: var(--type-h3-mobile); line-height: var(--type-h3-line); }
.skew { display: inline-block; transform: skewX(var(--type-hero-skew)); }
.two-tone .accent, .accent { color: var(--color-mint); }
.label {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--type-label-size); font-weight: var(--type-label-weight);
  letter-spacing: var(--type-label-tracking); text-transform: uppercase; color: var(--color-mint);
}
.label--muted { color: var(--color-text-muted); }
.lead { font-size: var(--type-body-lg-size); line-height: var(--type-body-lg-line); color: var(--color-text-muted); max-width: 40rem; margin: 0; }
.muted { color: var(--color-text-muted); }
.small { font-size: var(--type-small-size); line-height: var(--type-small-line); }
p { margin: 0 0 var(--space-4); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 52px; padding: 0 var(--space-5);
  border-radius: var(--radius-pill); border: 1px solid transparent;
  font-family: var(--font-display); font-size: 22px; letter-spacing: 0.04em; line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform var(--motion-fast) var(--motion-ease), background var(--motion-base), box-shadow var(--motion-base);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--color-mint); color: var(--color-mint-ink); box-shadow: var(--shadow-button); }
.btn--primary:hover { background: var(--color-mint-hi); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--color-white); border-color: rgba(255, 255, 255, 0.28); }
.btn--ghost:hover { border-color: var(--color-mint); color: var(--color-mint); }
.btn--block { width: 100%; }
.btn--sm { min-height: 40px; font-size: 18px; padding: 0 var(--space-4); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.4; cursor: not-allowed; box-shadow: none; transform: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--color-mint); font-weight: 600; text-decoration: none; }
.link-arrow:hover { color: var(--color-mint-hi); text-decoration: underline; text-underline-offset: 4px; }
/* Very small phones (320px): let long button labels wrap instead of overflowing */
@media (max-width: 359.98px) {
  .btn { white-space: normal; text-align: center; line-height: 1.1; padding-block: var(--space-2); }
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, 0.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.site-header > .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 64px; }
.brand { display: block; text-decoration: none; }
.brand img { height: 40px; width: auto; }
.nav { display: none; }
.nav a { text-decoration: none; color: var(--color-text-muted); font-weight: 600; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--color-white); }
.header-actions { display: flex; align-items: center; gap: var(--space-3); }
.burger {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--color-line); border-radius: var(--radius-sm); color: var(--color-white);
}
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; content: ""; }
.burger span::before { position: absolute; top: -6px; }
.burger span::after { position: absolute; top: 6px; }
.mobile-menu { display: none; border-top: var(--border-line); background: var(--color-black); }
.mobile-menu.is-open { display: block; }
.mobile-menu nav { display: grid; padding-block: var(--space-3); }
.mobile-menu a { padding: var(--space-4) 0; border-bottom: var(--border-line); text-decoration: none; font-family: var(--font-display); font-size: 28px; letter-spacing: 0.02em; }
.mobile-menu .btn { margin-block: var(--space-5); }

/* Hero */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; background: url("../img/stadium-night.svg") center bottom / cover no-repeat, var(--color-black); }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.55) 55%, var(--color-black) 100%); }
.hero .wrap { display: grid; gap: var(--space-7); padding-block: var(--space-8) var(--space-8); }
.hero__title { font-size: var(--type-hero-mobile); line-height: var(--type-hero-line); }
.hero__title .line { display: block; }
.hero__strap { margin-bottom: var(--space-4); }
.hero__copy .lead { margin-top: var(--space-5); color: #CFD5D3; }
.hero__ctas { display: grid; gap: var(--space-3); margin-top: var(--space-6); }
.hero__note { margin-top: var(--space-4); color: var(--color-text-faint); font-size: 13px; }

/* Phone + Telegram post mock */
.phone {
  width: 100%; max-width: 340px; margin-inline: auto;
  border-radius: 44px; padding: 12px; background: #0B0B0B;
  border: 1px solid #2A2A2A; box-shadow: var(--shadow-glow-strong);
}
.phone__screen { border-radius: 34px; overflow: hidden; background: #0E1512; }
.tg-top { display: flex; align-items: center; gap: var(--space-3); padding: 14px 16px; background: #121A17; border-bottom: 1px solid #1E2A25; }
.tg-top img { width: 36px; height: 36px; border-radius: 50%; }
.tg-top strong { display: block; font-size: 15px; }
.tg-top span { font-size: 12px; color: var(--color-text-faint); }
.tg-feed { padding: 16px 12px 20px; display: grid; gap: 10px; background: radial-gradient(120% 60% at 50% 0%, rgba(0,230,161,0.06), transparent 60%), #0E1512; }
.tg-msg { background: #17221E; border: 1px solid #203029; border-radius: 16px 16px 16px 4px; padding: 12px 14px; font-size: 13.5px; line-height: 1.45; }
.tg-msg__tag { display: inline-block; background: var(--color-mint); color: #000; font-weight: 800; font-size: 11px; letter-spacing: 0.08em; padding: 3px 8px; border-radius: 6px; margin-bottom: 8px; }
.tg-msg__match { font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.tg-msg dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; margin: 0 0 8px; }
.tg-msg dt { color: var(--color-text-faint); }
.tg-msg dd { margin: 0; font-weight: 600; }
.tg-msg__foot { border-top: 1px solid #263830; margin-top: 8px; padding-top: 8px; font-size: 11px; color: var(--color-text-faint); }
.tg-msg__time { text-align: right; font-size: 11px; color: var(--color-text-faint); margin-top: 4px; }
.example-tag { display: block; text-align: center; font-size: 12px; color: var(--color-text-faint); margin-top: var(--space-3); }

/* Telegram mock: message formatting shared by the page mocks (index, ile-plus, membership-active)
   and telegram-templates.html, so every mock shows the same text the bot sends. */
.tg-msg { overflow-wrap: anywhere; }
.tg-msg p { margin: 0; }
.tg-msg p + p { margin-top: 0.7em; }
.tg-msg b { font-weight: 700; color: var(--color-white); }
.tg-msg i { font-style: italic; }
.tg-msg .tg-quote + p { margin-top: 0.7em; }
.tg-date, .tg-service {
  justify-self: center; max-width: 92%; text-align: center;
  background: rgba(0, 0, 0, 0.45); color: #CFD5D3; border-radius: var(--radius-pill);
  font-size: 12px; line-height: 1.35; font-weight: 600; padding: 3px 10px;
}
.tg-service { font-weight: 500; border-radius: 12px; }
.tg-date { margin-top: 4px; }
.tg-post { display: grid; gap: 4px; justify-self: stretch; }
.tg-post--bot { justify-self: start; max-width: 92%; min-width: 72%; }
.tg-msg--out {
  justify-self: end; max-width: 82%;
  background: #0F3B2E; border-color: #1A5442; border-radius: 16px 16px 4px 16px;
}
.tg-msg--out .tg-msg__time { color: #9ACBB9; }
.tg-msg--in { justify-self: start; max-width: 88%; }
.tg-msg--cmd { color: var(--color-mint); }
.tg-msg--short { display: flex; align-items: flex-end; gap: 10px; padding: 8px 12px; }
.tg-msg--short .tg-msg__time { margin: 0; flex: none; }
.tg-link { color: var(--color-mint); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.tg-quote {
  display: block; margin: 0.6em 0 0; padding: 6px 10px;
  border-left: 3px solid var(--color-mint); border-radius: 4px 8px 8px 4px;
  background: rgba(0, 230, 161, 0.08);
}
.tg-kb { display: grid; gap: 4px; }
.tg-kb__row { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; }
.tg-kb__btn {
  position: relative; display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 38px; padding: 6px 8px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.09); border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--color-white); font-size: 13.5px; font-weight: 600; line-height: 1.25;
}
.tg-kb__btn--url { padding-inline: 22px; }
.tg-kb__btn svg { position: absolute; top: 5px; right: 6px; width: 10px; height: 10px; color: #A8B0AD; }
.tg-kb__btn--pick { background: rgba(0, 230, 161, 0.16); border-color: rgba(0, 230, 161, 0.45); }

/* Cards and grids */
.grid { display: grid; gap: var(--space-4); }
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0)) , var(--color-surface);
  border: var(--border-card); border-radius: var(--radius-lg); padding: var(--space-5);
  box-shadow: var(--shadow-glow);
}
.card h3 { margin-bottom: var(--space-2); }
.card p:last-child { margin-bottom: 0; }
.icon-badge { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--color-mint-tint); border: 1px solid rgba(0,230,161,0.3); color: var(--color-mint); margin-bottom: var(--space-4); }
.icon-badge svg { width: 24px; height: 24px; }
.section-head { display: grid; gap: var(--space-3); margin-bottom: var(--space-6); }

/* Steps */
.steps { counter-reset: step; display: grid; gap: var(--space-4); }
.step { position: relative; padding: var(--space-5); border-radius: var(--radius-lg); background: var(--color-surface); border: var(--border-line); }
.step::before {
  counter-increment: step; content: counter(step);
  font-family: var(--font-display); font-size: 56px; line-height: 1; color: var(--color-mint);
  display: block; margin-bottom: var(--space-3);
}

/* No edge, no bet */
.statement { position: relative; text-align: center; padding-block: var(--space-9); overflow: hidden; }
.statement::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 50% 50%, rgba(0,230,161,0.12), transparent 70%); }
.statement > * { position: relative; }
.statement h2 { font-size: 64px; }
.statement .lead { margin: var(--space-5) auto 0; }

/* Results teaser + chart frame */
.chart-frame {
  position: relative; border-radius: var(--radius-lg); background: var(--color-surface); border: var(--border-card);
  padding: var(--space-5); box-shadow: var(--shadow-glow); overflow: hidden;
}
.chart-empty { display: grid; place-items: center; text-align: center; min-height: 220px; gap: var(--space-2); }
.chart-empty strong { font-family: var(--font-display); font-size: 34px; letter-spacing: 0.02em; }
.chart-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--color-line) 1px, transparent 1px), linear-gradient(90deg, var(--color-line) 1px, transparent 1px); background-size: 100% 56px, 80px 100%; opacity: 0.35; }
.chart-zero { position: absolute; left: 0; right: 0; top: 60%; border-top: 1px dashed rgba(255,255,255,0.35); }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.tile { background: var(--color-surface); border: var(--border-line); border-radius: var(--radius-md); padding: var(--space-4); }
.tile__k { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-text-faint); font-weight: 700; }
.tile__v { font-family: var(--font-display); font-size: 40px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.tile__v.pos { color: var(--color-mint); }
.tile__v.neg { color: var(--color-loss); }
.disclaimer { font-size: 13px; color: var(--color-text-faint); margin-top: var(--space-4); }

/* Pricing */
.plans { display: grid; gap: var(--space-4); }
.plan { display: flex; flex-direction: column; gap: var(--space-4); }
.plan--founding { border-color: rgba(0,230,161,0.6); box-shadow: var(--shadow-glow-strong); }
.plan__name { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; }
.pill { display: inline-block; background: var(--color-mint); color: var(--color-mint-ink); font-weight: 800; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 10px; border-radius: var(--radius-pill); }
.pill--outline { background: transparent; color: var(--color-mint); border: 1px solid rgba(0,230,161,0.5); }
.price { font-family: var(--font-display); font-size: 64px; line-height: 1; font-variant-numeric: tabular-nums; }
.price small { font-family: var(--font-body); font-size: 16px; color: var(--color-text-muted); font-weight: 500; }
.plan__terms { font-size: 13.5px; color: var(--color-text-muted); margin: 0; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.checklist li { display: flex; gap: var(--space-3); align-items: flex-start; }
.checklist li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 6px; background: var(--color-mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

/* FAQ */
.faq { display: grid; gap: var(--space-3); }
.faq details { background: var(--color-surface); border: var(--border-line); border-radius: var(--radius-md); }
.faq summary { list-style: none; cursor: pointer; padding: var(--space-4) var(--space-5); font-weight: 700; display: flex; justify-content: space-between; gap: var(--space-4); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--color-mint); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 var(--space-5) var(--space-4); color: var(--color-text-muted); }

/* CTA band */
.cta-band { border-radius: var(--radius-lg); padding: var(--space-7) var(--space-5); text-align: center; background: radial-gradient(80% 120% at 50% 0%, rgba(0,230,161,0.18), transparent 70%), var(--color-surface); border: var(--border-card); }
.cta-band .hero__ctas { justify-content: center; }
.cta-band .lead { margin: var(--space-4) auto 0; }
/* One floodlight in the top-right corner (vector kit: img/vector/bg-flare.svg) */
.cta-band--flare {
  background:
    url("../img/vector/bg-flare.svg") right -170px top -250px / 480px 480px no-repeat,
    radial-gradient(80% 120% at 50% 0%, rgba(0,230,161,0.18), transparent 70%), var(--color-surface);
}
/* Lamp high enough that its lens streak runs above the "Free channel" label, not level with it */
@media (min-width: 768px) { .cta-band--flare { background-position: right -150px top -270px, 0 0, 0 0; background-size: 560px 560px, auto, auto; } }

/* ---------- Shared components (moved here from css/pages/*.css) ---------- */
/* Pricing cards: keep both plan buttons on the same baseline */
.plan .btn--block { margin-top: auto; }

/* Visible placeholder for details the client still has to supply (legal.css restyles it for the legal pages) */
.ph {
  padding: 1px 6px; border-radius: 4px; border: 1px dashed var(--color-mint);
  background: var(--color-mint-tint); color: var(--color-mint-hi);
  font-family: ui-monospace, "Cascadia Mono", Consolas, "Courier New", monospace; font-size: 0.86em; letter-spacing: 0;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* Desktop-only / phone-only blocks (switch at the 1100px layout breakpoint) */
.desk-only { display: none; }

/* Current page in the footer links (legal pages mark it) */
.legal-links a[aria-current="page"], .footer-nav a[aria-current="page"] { color: var(--color-white); text-decoration: underline; text-underline-offset: 3px; }

/* Form fields (checkout; results.css restyles the label for its filter) */
.field { display: grid; gap: var(--space-2); }
.field label { font-weight: 700; font-size: 15px; color: var(--color-white); }
.field input {
  width: 100%; min-height: 52px; padding: 12px 16px;
  background: var(--color-black); color: var(--color-white);
  border: 1px solid #5F6664; border-radius: var(--radius-sm);
  font: inherit; font-size: 16px;
}
.field input::placeholder { color: var(--color-text-faint); }
.field input:hover { border-color: #8A918F; }
.field input:focus { outline: 2px solid var(--color-focus); outline-offset: 2px; border-color: var(--color-mint); }
.field__hint { font-size: 13px; color: var(--color-text-muted); margin: 0; }
/* No error colour in the palette (red is reserved for losses), so errors are white, bold, with a marker */
.field input[aria-invalid="true"] { border-color: var(--color-white); border-width: 2px; }
.field__error { display: flex; align-items: center; gap: var(--space-2); margin: 0; font-size: 14px; font-weight: 700; color: var(--color-white); }
.field__error-icon { flex: none; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--color-white); color: var(--color-black); font-size: 13px; font-weight: 800; line-height: 1; }

/* Flow steps indicator: 1 Plan & terms → 2 Payment → 3 Telegram access (checkout, membership-active) */
.flow-steps { list-style: none; margin: 0 0 var(--space-6); padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); max-width: 760px; }
.flow-steps li {
  position: relative; display: flex; flex-direction: column; gap: var(--space-2);
  padding-top: var(--space-3); border-top: 3px solid var(--color-line);
  color: var(--color-text-muted); font-size: 13px; font-weight: 600; line-height: 1.3;
}
.flow-steps__n {
  flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--color-text-faint); color: var(--color-text-muted);
  font-family: var(--font-display); font-size: 19px; line-height: 1;
}
.flow-steps__n svg { width: 16px; height: 16px; }
.flow-steps li.is-current { border-top-color: var(--color-mint); color: var(--color-white); }
.flow-steps li.is-current .flow-steps__n { background: var(--color-mint); border-color: var(--color-mint); color: var(--color-mint-ink); }
.flow-steps li.is-done { border-top-color: rgba(0, 230, 161, 0.45); color: var(--color-text-muted); }
.flow-steps li.is-done .flow-steps__n { background: var(--color-mint-tint); border-color: rgba(0, 230, 161, 0.5); color: var(--color-mint); }
/* Step icon (vector kit): next to the number on phones, after the label from 768px. Faint; mint once reached. */
.flow-steps__i { position: absolute; top: calc(var(--space-3) + 5px); left: 38px; width: 20px; height: 20px; color: var(--color-text-faint); }
.flow-steps li.is-current .flow-steps__i, .flow-steps li.is-done .flow-steps__i { color: var(--color-mint); }

/* Numbered steps next to a phone mock (index, ile-plus). membership-active.css has its own timeline. */
.access { display: grid; gap: var(--space-7); }
.access > * { min-width: 0; }
.access-steps { list-style: none; margin: 0; padding: 0; }
.steps.access-steps { grid-template-columns: 1fr; gap: var(--space-3); }
.access-steps .step { display: grid; grid-template-columns: 44px 1fr; column-gap: var(--space-4); padding: var(--space-4) var(--space-5); }
.access-steps .step::before { grid-row: 1 / span 2; margin: 0; font-size: 48px; }
.access-steps .step h3 { font-size: 24px; margin-bottom: var(--space-1); align-self: end; }
.access-steps .step p { margin: 0; }
.access__media .phone { max-width: 320px; }

/* ---------- Vector kit in the pages (img/vector/, helper classes in css/vector.css) ---------- */
/* Icon in a step card. Block steps: top-right, level with the big number. Grid steps: own column. */
.step__icon {
  position: absolute; top: var(--space-5); right: var(--space-5);
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  background: var(--color-mint-tint); border: 1px solid rgba(0, 230, 161, 0.3); color: var(--color-mint);
}
.step__icon svg { width: 22px; height: 22px; }
/* Phones: small icon in the top-right corner, so the text keeps its width */
.access-steps .step--icon .step__icon { top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 10px; }
.access-steps .step--icon .step__icon svg { width: 18px; height: 18px; }
.access-steps .step--icon h3 { padding-right: 40px; }
@media (min-width: 768px) {
  .access-steps .step--icon { grid-template-columns: 44px minmax(0, 1fr) 44px; }
  .access-steps .step--icon .step__icon { position: static; grid-column: 3; grid-row: 1 / span 2; align-self: center; width: 44px; height: 44px; border-radius: 13px; }
  .access-steps .step--icon .step__icon svg { width: 22px; height: 22px; }
  .access-steps .step--icon h3 { padding-right: 0; }
}

/* Label with the mint E-bar in front (accent-bar.svg) */
.label--bar::before {
  content: ""; flex: none; width: 28px; height: 4px;
  background: url("../img/vector/accent-bar.svg") center / 100% 100% no-repeat;
}

/* Card with a diagram on top (index "How ILE works"): the icon badge overlaps the diagram */
.card__fig {
  margin: 0 0 var(--space-4); aspect-ratio: 456 / 308; border-radius: 14px; overflow: hidden;
  background: #03110B; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.card__fig > img { width: 100%; height: 100%; object-fit: cover; }
.card__fig + .icon-badge {
  position: relative; margin-top: calc(-22px - var(--space-4)); margin-left: var(--space-4);
  background: linear-gradient(var(--color-mint-tint), var(--color-mint-tint)), var(--color-surface);
  box-shadow: 0 0 0 4px var(--color-surface);
}
/* "Every result tracked" card: won / lost / void rows over the pitch. No numbers. */
.ledger { position: relative; }
.ledger > img { opacity: 0.6; }
.ledger__rows {
  position: absolute; inset: 0; margin: 0; padding: 7% 12% 19%; list-style: none;
  display: grid; align-content: center; gap: 6%;
}
.ledger__rows li {
  display: flex; align-items: center; gap: 10px; min-height: 0; padding: 5px 10px;
  border-radius: 10px; background: rgba(0, 0, 0, 0.62); border: 1px solid rgba(255, 255, 255, 0.08);
}
.ledger__rows li:first-child { border-color: rgba(0, 230, 161, 0.35); }
.ledger__rows svg { width: 17px; height: 17px; flex: none; }
.ledger__rows i, .ledger__rows b { display: block; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.2); }
.ledger__rows i { flex: 1; }
.ledger__rows b { flex: 0 0 22%; background: rgba(255, 255, 255, 0.1); }
/* Small phones: the diagram becomes a 120px thumbnail beside the text, so the four pillars take
   about one screen instead of two (QA P2-4). The overlapping icon badge is dropped there. */
@media (max-width: 599.98px) {
  .card:has(> .card__fig) { display: grid; grid-template-columns: 120px minmax(0, 1fr); column-gap: var(--space-4); align-items: start; }
  .card:has(> .card__fig) > .card__fig { grid-column: 1; grid-row: 1 / 4; margin: 0; border-radius: 10px; }
  .card:has(> .card__fig) > .icon-badge { display: none; }
  .card:has(> .card__fig) > :not(.card__fig) { grid-column: 2; }
  .card:has(> .card__fig) .ledger__rows { padding: 8% 9%; gap: 4px; }
  .card:has(> .card__fig) .ledger__rows li { gap: 5px; padding: 2px 5px; border-radius: 6px; }
  .card:has(> .card__fig) .ledger__rows svg { width: 11px; height: 11px; }
  .card:has(> .card__fig) .ledger__rows i, .card:has(> .card__fig) .ledger__rows b { height: 3px; }
}
/* 320px phones: a smaller thumbnail, so the text column is not squeezed to a few words per line */
@media (max-width: 359.98px) {
  .card:has(> .card__fig) { grid-template-columns: 84px minmax(0, 1fr); column-gap: var(--space-3); }
  .card:has(> .card__fig) .ledger__rows { padding: 6% 7%; gap: 3px; }
  .card:has(> .card__fig) .ledger__rows li { padding: 1px 4px; gap: 4px; }
  .card:has(> .card__fig) .ledger__rows svg { width: 9px; height: 9px; }
}

/* Section divider between two black sections: only the mint hairline (and E-bar) shows */
.v-divider.v-divider--between { margin-block: calc(-1 * var(--space-5)); position: relative; z-index: 1; }

/* "No edge. No bet." with the stacked bars and the grid tile */
.statement__grid {
  position: absolute !important; inset: 0; opacity: 0.8;
  -webkit-mask-image: radial-gradient(55% 75% at 50% 50%, #000 0%, transparent 75%);
  mask-image: radial-gradient(55% 75% at 50% 50%, #000 0%, transparent 75%);
}
.statement__bars { display: block; width: 96px; height: auto; margin: 0 auto var(--space-5); }

/* Corner accents (corner-tl/br.svg) on a highlighted card */
.has-corners { position: relative; }
/* 32px at -10px: the bracket stays 9px outside the card and the mint dot clears the 20px card radius
   (at 40px / -9px the dot sat on the card border) */
.has-corners > .v-corner { top: -10px; left: -10px; width: 32px; height: 32px; }
.has-corners > .v-corner--br { top: auto; left: auto; right: -10px; bottom: -10px; }

/* Empty results chart (home teaser, results-empty): grid tile, dashed zero line and a mint dot where
   the line will start. No line and no numbers until there are real results (no implied profit). */
.chart-bg { position: absolute; inset: 0; }
.chart-start {
  position: absolute; left: 18px; top: 60%; width: 12px; height: 12px; border-radius: 50%; transform: translate(-50%, -50%);
  background: var(--color-mint); box-shadow: 0 0 0 4px rgba(0, 230, 161, 0.22), 0 0 16px rgba(0, 230, 161, 0.6);
}

/* Footer */
.site-footer { border-top: var(--border-line); background: #050505; padding-block: var(--space-7) var(--space-6); font-size: var(--type-small-size); color: var(--color-text-muted); }
.footer-top { display: grid; gap: var(--space-6); margin-bottom: var(--space-6); }
.footer-top img { height: 44px; width: auto; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2) var(--space-5); }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { color: var(--color-white); }
.footer-mail a { text-decoration: none; overflow-wrap: anywhere; }
.footer-mail a:hover { color: var(--color-white); text-decoration: underline; }
.socials { display: flex; gap: var(--space-3); }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: var(--border-line); color: var(--color-text-muted); }
.socials a:hover { color: var(--color-mint); border-color: var(--color-mint); }
.socials svg { width: 18px; height: 18px; }
.risk-line { color: var(--color-white); font-weight: 600; padding: var(--space-4) 0; border-top: var(--border-line); border-bottom: var(--border-line); margin-bottom: var(--space-4); }
.legal-links { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-3); margin-bottom: var(--space-4); font-size: 13px; }
.legal-links a { text-decoration: none; }
.legal-links a:hover { color: var(--color-white); text-decoration: underline; }
.legal-links .sep { color: var(--color-line); }
@media (max-width: 767px) { .legal-links .sep { display: none; } .legal-links { gap: var(--space-2) var(--space-4); } }
.independence, .business-line { font-size: var(--type-legal-size); line-height: var(--type-legal-line); color: var(--color-text-faint); margin: 0 0 var(--space-2); }

/* Cookie banner */
.cookie-banner {
  position: fixed; left: var(--space-3); right: var(--space-3); bottom: var(--space-3); z-index: 60;
  background: var(--color-surface); border: var(--border-card); border-radius: var(--radius-lg); padding: var(--space-5);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.cookie-banner h2 { font-size: 26px; margin-bottom: var(--space-2); }
.cookie-banner p { font-size: 14px; color: var(--color-text-muted); }
.cookie-banner .row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); margin-top: var(--space-4); }
.cookie-banner .btn { font-size: 18px; min-height: 46px; }
.cookie-banner .btn--equal { background: var(--color-white); color: #000; }

/* Desktop */
@media (min-width: 768px) {
  .wrap { padding-inline: var(--layout-gutter-desktop); }
  .section { padding-block: var(--space-9); }
  h1 { font-size: var(--type-h1-desktop); }
  h2 { font-size: var(--type-h2-desktop); }
  h3 { font-size: var(--type-h3-desktop); }
  .hero__ctas { display: flex; flex-wrap: wrap; }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; margin-inline: auto; }
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
  .cookie-banner { left: auto; right: var(--space-5); bottom: var(--space-5); max-width: 440px; }
  .statement h2 { font-size: 104px; }
}
@media (min-width: 1100px) {
  .nav { display: flex; gap: var(--space-6); }
  .burger { display: none; }
  .brand img { height: 48px; }
  .site-header > .wrap { min-height: 76px; }
  .hero .wrap { grid-template-columns: 1.25fr 0.75fr; align-items: center; padding-block: var(--space-9) var(--space-10); }
  .hero__title { font-size: var(--type-hero-desktop); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .results-teaser { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--space-7); align-items: center; }
  .desk-only { display: block; }
  .mob-only { display: none; }
  .access { grid-template-columns: 1.15fr 0.85fr; align-items: center; }
}
@media (min-width: 768px) {
  .flow-steps li { flex-direction: row; align-items: center; font-size: 15px; }
  .flow-steps__i { position: static; flex: none; width: 18px; height: 18px; margin-left: 2px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Home (index.html), content brief 2026-10-09 ----------
   At the end of the file on purpose: these override the generic .plans / .grid rules above. */

/* Hero copy: big label, the supporting line verbatim (one sentence per line on phones, as in the
   client's concept; from 600px the sentences only break between each other) */
.hero__kicker {
  margin: 0 0 var(--space-3); font-family: var(--font-display); font-size: 24px; line-height: 1;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-mint);
}
.hero__support {
  margin: var(--space-5) 0 0; font-family: var(--font-display); font-size: 26px; line-height: 1.1;
  letter-spacing: 0.03em; text-transform: uppercase; color: var(--color-white);
}
.hero__support span { display: block; }
.hero__copy .hero__support + .lead { margin-top: var(--space-4); }
@media (min-width: 600px) { .hero__support span { display: inline; white-space: nowrap; } }
@media (min-width: 1100px) {
  .hero__kicker { font-size: 28px; text-shadow: 0 0 2px #000, 0 0 16px rgba(0, 0, 0, 0.9); }  /* clear of the left floodlight's glow */
  .hero__support { font-size: 30px; }
}

/* 2. "The Irish League is different.": a full-bleed band of our floodlit ground (img/scenes/different-band-*,
   README there) at the top of the section; the label (phones) or label and headline (768px+) overlap its dark
   lower left, his text runs below on black. Phones: own 12:7 camera. Desktop 1100px+: the ambient loop fades in over the still (script at
   the end of index.html). The scrim is CSS, not baked into the image, so it follows the layout. */
.different { position: relative; padding-top: 0; overflow: hidden; overflow: clip; }
.different__band { position: relative; aspect-ratio: 12 / 7; overflow: hidden; background: #050807; }
.different__bg img, .different__video {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 70% 50%;   /* keeps the pylon in frame when the band is cropped */
}
.different__video { display: none; opacity: 0; transition: opacity 0.8s ease; }
.different__video.is-on { opacity: 1; }
.different__band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, var(--color-black) 0%, rgba(0, 0, 0, 0) 18%),   /* no hard edge under the hero */
    linear-gradient(0deg, var(--color-black) 0%, rgba(0, 0, 0, 0.55) 24%, rgba(0, 0, 0, 0) 48%);
}
.different__copy { position: relative; min-width: 0; margin-top: -56px; }   /* the label overlaps the image */
.different__title { font-size: 48px; line-height: 0.95; margin-top: var(--space-3); }
.different__title .line { display: block; }
.different__text { margin-top: var(--space-5); max-width: 38rem; }
.different__text p { color: #CFD5D3; font-size: 17px; line-height: 1.65; }
.different__text .different__lead { color: var(--color-white); font-size: 20px; line-height: 1.5; font-weight: 500; }
.different__text .different__close {
  margin: var(--space-5) 0 0; padding-left: var(--space-4); border-left: 3px solid var(--color-mint);
  font-family: var(--font-display); font-size: 28px; line-height: 1.1; letter-spacing: 0.02em; color: var(--color-white);
}
.different__note { margin: var(--space-5) 0 0; font-size: 13px; color: var(--color-text-faint); }

/* 3. "How we identify the edge": four 16:10 scene images (img/scenes/edge-*; no odds, no numbers) */
.edge-cards { gap: var(--space-4); }
.edge-card { position: relative; display: flex; flex-direction: column; padding: var(--space-4) var(--space-4) var(--space-5); }
.edge-card__fig {
  position: relative; margin: 0 0 var(--space-4); aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden;
  background: #050807;
}
.edge-card__fig::after {   /* hairline over the image edge */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}
.edge-card__fig img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.edge-card__num {
  position: absolute; top: 8px; right: 8px; z-index: 1; padding: 4px 6px 3px; border-radius: 6px;
  font-family: var(--font-display); font-size: 18px; letter-spacing: 0.08em; line-height: 1; color: var(--color-mint);
  background: rgba(0, 0, 0, 0.66);   /* a chip, so the number reads over the lit parts of the images */
}
.edge-card__fig + .icon-badge {
  position: relative; margin: calc(-24px - var(--space-4)) 0 var(--space-3) var(--space-3);
  background: linear-gradient(var(--color-mint-tint), var(--color-mint-tint)), var(--color-surface);
  box-shadow: 0 0 0 4px var(--color-surface);
}
.edge-card h3 { font-size: 28px; }
.edge-card p { font-size: 15px; line-height: 1.6; }

/* 4. ILE+ membership: the client's five benefits + both plans, then how access works */
.membership { position: relative; overflow: hidden; }
/* Glow only: the bg-flare lamp sat on the page edge with its lens streak running out like a wire (as P2-6) */
.membership__glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(45% 40% at 18% 20%, rgba(0, 230, 161, 0.10), transparent 70%);
}
.membership__grid { position: relative; display: grid; gap: var(--space-7); }
.membership__intro, .membership__plans { min-width: 0; }
.membership__title { font-size: 104px; line-height: 0.85; margin: var(--space-3) 0 var(--space-5); }
.membership__sub { font-weight: 700; color: var(--color-white); margin-bottom: var(--space-4); }
.checklist--lg { gap: var(--space-3); }
.checklist--lg li { font-size: 17px; line-height: 1.5; color: var(--color-white); }
.plans.plans--home { max-width: none; margin: 0; }
.membership__legal { text-align: center; }
.membership__access { position: relative; margin-top: var(--space-8); }

/* 5. Free channel vs ILE+ */
.section-head--center { text-align: center; justify-items: center; }
.versus { display: grid; gap: var(--space-4); }
.versus__col { display: flex; flex-direction: column; gap: var(--space-5); }
.versus__col:not(.versus__col--plus) { border: var(--border-line); box-shadow: none; }
.versus__col--plus { border-color: rgba(0, 230, 161, 0.6); box-shadow: var(--shadow-glow-strong); }
.versus__head { display: flex; align-items: center; gap: var(--space-4); }
.versus__head .icon-badge { margin: 0; flex: none; }
.versus__head h3 { margin: 0; }
.versus__tag { margin: 4px 0 0; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-text-muted); }
.versus__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.versus__list li { display: flex; gap: var(--space-3); align-items: flex-start; color: var(--color-white); }
.versus__list svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.versus__list .is-limited { color: var(--color-text-muted); }
.versus > * { min-width: 0; }
.versus__col .btn { margin-top: auto; white-space: normal; text-align: center; line-height: 1.1; padding-block: var(--space-2); }

.launch-note {
  display: grid; gap: var(--space-4); margin: var(--space-5) auto 0;
  padding: var(--space-5); border-radius: var(--radius-lg); border: 1px dashed rgba(0, 230, 161, 0.45);
  background: linear-gradient(90deg, rgba(0, 230, 161, 0.08), rgba(0, 230, 161, 0) 70%), var(--color-surface);
}
.launch-note .icon-badge { margin: 0; }
.launch-note h3 { font-size: 28px; margin-bottom: var(--space-2); }
.launch-note p { margin: 0; }
.launch-note p + p { margin-top: var(--space-2); }
.launch-note__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.launch-note__steps li {
  display: grid; gap: 2px; padding: var(--space-3) var(--space-4); border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.45); border: var(--border-line); font-size: 14px; line-height: 1.4; color: var(--color-white);
}
.launch-note__steps span { font-family: var(--font-display); font-size: 20px; letter-spacing: 0.04em; line-height: 1.1; color: var(--color-mint); }

/* 6. Latest results, launch state: a status card and empty result slots (no numbers, no names, no crests) */
.results-home__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-3) var(--space-6); margin-bottom: var(--space-4); }
.results-home__head .section-head { margin-bottom: 0; }
.results-home__lead { margin-bottom: var(--space-6); }
.result-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.result-slot {
  position: relative; min-height: 128px; padding: var(--space-4); border-radius: var(--radius-md);
  display: grid; align-content: space-between; gap: var(--space-3);
}
.result-slot--status {
  grid-column: 1 / -1; align-content: center; justify-items: start; gap: var(--space-1);
  border: var(--border-card); box-shadow: var(--shadow-glow);
  background: radial-gradient(70% 120% at 100% 0%, rgba(0, 230, 161, 0.12), transparent 70%), var(--color-surface);
}
.result-slot--status strong { font-family: var(--font-display); font-weight: 400; font-size: 34px; line-height: 1.05; letter-spacing: 0.02em; }
.result-slot--status::after {   /* the start dot, as on the empty Results chart */
  content: ""; position: absolute; top: var(--space-4); right: var(--space-4); width: 12px; height: 12px; border-radius: 50%;
  background: var(--color-mint); box-shadow: 0 0 0 4px rgba(0, 230, 161, 0.22), 0 0 16px rgba(0, 230, 161, 0.6);
}
.result-slot--empty { border: 1px dashed #343B39; background: rgba(255, 255, 255, 0.015); }
.result-slot__top, .result-slot__foot { display: flex; align-items: center; gap: var(--space-2); }
.result-slot__foot { justify-content: space-between; }
.result-slot__match { display: grid; gap: 8px; }
.result-slot svg { width: 16px; height: 16px; flex: none; color: var(--color-text-faint); }
.sk { display: block; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.09); }
.sk--s { width: 40%; }
.sk--m { width: 56%; }
.sk--l { width: 76%; }
.result-slot__badge {
  flex: none; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1;
  color: var(--color-text-faint); border: 1px dashed #3A403E; border-radius: 8px; padding: 6px 8px;
}

/* CTA band over the floodlit ground (img/ground-lights.webp) */
.cta-band--ground { position: relative; overflow: hidden; isolation: isolate; background: var(--color-black); }
.cta-band__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 30%; }
.cta-band--ground::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.62) 50%, rgba(0, 0, 0, 0.86) 100%);
}

/* Phones up to 599px: "How we identify the edge" cards become a thumbnail + title row with the
   text full width underneath (his texts are long; full-width figures would make four screens) */
@media (max-width: 599.98px) {
  .edge-card { display: grid; grid-template-columns: 88px minmax(0, 1fr); column-gap: var(--space-4); align-items: center; padding: var(--space-4); }
  .edge-card__fig { grid-column: 1; grid-row: 1; margin: 0; aspect-ratio: 1; border-radius: 12px; }
  .edge-card > .icon-badge { display: none; }
  .edge-card h3 { grid-column: 2; grid-row: 1; margin: 0; font-size: 26px; }
  .edge-card p { grid-column: 1 / -1; margin-top: var(--space-3); }
  .edge-card__num { top: 4px; right: 4px; padding: 3px 4px 2px; border-radius: 5px; font-size: 13px; }
  .edge-card__fig--r img { object-position: 72% 50%; }   /* square crop: keep the ledger panel, right of centre */
  .result-slot--empty:last-child { display: none; }
  .membership__title { font-size: 88px; }
}

@media (min-width: 600px) {
  .result-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  /* 8:3 desktop band (37.5vw), capped on very wide screens; dark on the left for the headline */
  .different__band { aspect-ratio: auto; height: clamp(288px, 37.5vw, 640px); }
  .different__band::after {
    background:
      linear-gradient(180deg, var(--color-black) 0%, rgba(0, 0, 0, 0) 14%),
      linear-gradient(0deg, var(--color-black) 0%, rgba(0, 0, 0, 0.55) 18%, rgba(0, 0, 0, 0) 46%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.45) 30%, rgba(0, 0, 0, 0) 56%);
  }
  .different__copy { margin-top: -15vw; }   /* 40% of the band: the label sits below the stand's roof lights */
  .different__title { font-size: 72px; }
  .different__text .different__lead { font-size: 22px; }
  .versus { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 980px; margin-inline: auto; }
  .launch-note { max-width: 980px; }
  .membership__title { font-size: 136px; }
  .result-slot--status strong { font-size: 40px; }
}
@media (min-width: 900px) {
  .launch-note { grid-template-columns: auto minmax(0, 1fr) 250px; align-items: center; gap: var(--space-5); }
}

/* Desktop: headline over the band and his text in two columns below it (lead left, the rest right), the ambient
   loop on; membership in two columns, results in one row */
@media (min-width: 1100px) {
  .different__copy { margin-top: calc(-1 * min(16.5vw, 282px)); }   /* 44% of the band (capped with it) */
  .different__title { font-size: 88px; }
  .different__text {
    display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); column-gap: var(--space-8);
    max-width: none; margin-top: var(--space-7);
  }
  .different__text > p { grid-column: 2; }
  .different__text > .different__lead { grid-column: 1; grid-row: 1 / span 4; font-size: 26px; line-height: 1.45; }
  .membership__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; gap: var(--space-8); }
  .membership__title { font-size: 160px; }
  .result-strip { grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr)); }
  .result-slot--status { grid-column: auto; }
  .result-slot { min-height: 150px; }
}

/* The ambient loop is shown (and attached by the script) only here */
@media (min-width: 1100px) and (prefers-reduced-motion: no-preference) {
  .different__video { display: block; }
}

/* 320px phones: the header's "Join ILE+" button wrapped onto two lines; smaller lockup, one-line button */
@media (max-width: 359.98px) {
  .brand img { height: 32px; }
  .header-actions .btn { white-space: nowrap; padding-inline: var(--space-3); font-size: 16px; }
}

/* ---------- Phone tab bar (Home / Results / ILE+ / Telegram), below 768px only ----------
   Fixed to the bottom with the iPhone home-indicator inset; the body gets the same bottom padding so
   the bar never covers the footer, and a cookie banner sits above it. Markup: <nav class="tabbar">. */
.tabbar { display: none; }
@media (max-width: 767.98px) {
  .tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
    background: rgba(0, 0, 0, 0.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .tabbar a {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    min-height: 60px; text-decoration: none; color: var(--color-text-muted);
    font-size: 12px; font-weight: 600; line-height: 1; letter-spacing: 0.02em;
  }
  .tabbar svg { width: 22px; height: 22px; }
  .tabbar a:hover { color: var(--color-white); }
  .tabbar a[aria-current="page"] { color: var(--color-mint); }
  .tabbar a[aria-current="page"]::before {   /* the E bar, leaning like the logo */
    content: ""; position: absolute; top: 0; left: 50%; width: 28px; height: 3px; border-radius: 2px;
    background: var(--color-mint); transform: translateX(-50%) skewX(-12deg);
  }
  .tabbar a:focus-visible { outline-offset: -4px; }
  body:has(> .tabbar) { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  body:has(> .tabbar) .cookie-banner { bottom: calc(60px + var(--space-3) + env(safe-area-inset-bottom)); }
}

/* Notched phones in landscape (pages with viewport-fit=cover): keep the content clear of the notch.
   env() is 0 everywhere else, so this changes nothing on other devices or pages. */
@supports (padding: max(0px)) {
  .wrap {
    padding-left: max(var(--layout-gutter-mobile), env(safe-area-inset-left));
    padding-right: max(var(--layout-gutter-mobile), env(safe-area-inset-right));
  }
  @media (min-width: 768px) {
    .wrap {
      padding-left: max(var(--layout-gutter-desktop), env(safe-area-inset-left));
      padding-right: max(var(--layout-gutter-desktop), env(safe-area-inset-right));
    }
  }
}
