/* FOOTYUP · the static search landings (/play-football-dubai, /5-a-side-football-dubai …) — ONE template
   for all of them (owner, 2026-09-28: «максимально стильными, крутыми, одинаковыми по стилям»).
   Loaded after tokens.css and type-roles.css; the landings load nothing else of the app's CSS, so this
   file owns their page base too. Type comes from the roles (.t-page-h1, .t-section-h2, .t-lead,
   .t-card-title, .t-label, .t-figure); a rule here sets only layout and colour.

   The page: a photo hero with the head low-left → one reading column (--lp-col) whose section heads carry
   a running number, hung in the margin on a wide screen → questions on hairlines → a closing band. */

.lp { --lp-col: 880px; --lp-measure: 680px; }
.lp * { box-sizing: border-box; margin: 0; padding: 0; }
.lp {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'cv11', 'ss01';
  overflow-x: clip;
}
.lp a { color: inherit; }
.lp a:focus-visible, .lp button:focus-visible, .lp [tabindex]:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.lp img { display: block; max-width: 100%; }
::selection { background: var(--accent); color: var(--accent-text); }

/* ── The bar: the app header's surface (styles.css .fu-header) with the wordmark and one action. */
.lp .bar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px var(--pad-x);
  background: color-mix(in srgb, var(--ink) 88%, transparent);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--bone-faint);
}
.lp .logo { display: block; text-decoration: none; }
.lp .logo svg { display: block; width: 126px; height: auto; }

/* ── Actions: the app's button (styles.css .fu-btn). */
.lp .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 24px;
  background: var(--accent); color: var(--accent-text);
  font-family: var(--font-display); font-weight: 900; font-size: 13px; letter-spacing: 0.14em;
  text-transform: uppercase; text-decoration: none; text-align: center;
  border: 0; cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.lp .btn:hover { background: var(--bone); color: var(--ink); }
.lp .btn.ghost { background: transparent; color: var(--bone); border: 1px solid var(--bone-faint); } /* ui-allow-frame: the app's ghost button */
.lp .btn.ghost:hover { border-color: var(--bone); color: var(--accent); }
.lp .bar .btn { min-height: 44px; padding: 0 18px; white-space: nowrap; }   /* a wrap while the font loads shifted the page (CLS 0.12) */
.lp .cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 40px; }
.lp .text-link { font-weight: 700; font-size: 14px; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 5px; }

/* ── Hero: a photo under the head, darkened toward the text and into the page below. */
.lp-hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; align-content: end;
  min-height: 640px;
  padding: 120px var(--pad-x) 72px;
  border-bottom: 1px solid var(--bone-faint);
}
.lp-hero-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--lp-photo-x, 60%) center; }
.lp-hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--ink) 94%, transparent), color-mix(in srgb, var(--ink) 72%, transparent) 50%, color-mix(in srgb, var(--ink) 25%, transparent)),
    linear-gradient(0deg, var(--ink), transparent 50%);
}
/* Darkest behind the text, which starts at the reading edge: the right one in Arabic. */
[dir="rtl"] .lp-hero::after { transform: scaleX(-1); }
[dir="rtl"] .lp-hero-photo { transform: scaleX(-1); }
.lp-hero-copy { width: 100%; max-width: var(--lp-col); margin-inline: auto; }
.lp-hero .eyebrow { color: var(--bone); margin-bottom: 24px; }
.lp-hero h1 { max-width: 16em; text-wrap: balance; }
.lp-hero .lede { max-width: 600px; margin-top: 28px; color: var(--bone); }
.lp-hero .note { max-width: 600px; margin-top: 20px; font-size: 12px; line-height: 1.7; color: var(--bone-dim); }

/* ── The reading column. Every section head is numbered in reading order: the numerals are the
   iconography (CLAUDE.md). A head that already has its own eyebrow keeps that and takes no number. */
.lp-body { max-width: calc(var(--lp-col) + 2 * var(--pad-x)); margin-inline: auto; padding: 0 var(--pad-x) 96px; counter-reset: lp-sec; }
.lp-body > :first-child { margin-top: 96px; }
.lp-body h2 { position: relative; margin: 96px 0 24px; counter-increment: lp-sec; text-wrap: balance; }
.lp-body h2::before {
  content: counter(lp-sec, decimal-leading-zero);
  display: block;
  margin-bottom: 20px;
  font-family: var(--font-display); font-weight: 700; font-style: normal;
  font-size: var(--fs-eyebrow); line-height: 1; letter-spacing: var(--tr-eyebrow);
  color: var(--accent);
  padding-inline-start: 42px;   /* the eyebrow's hairline, drawn as a background: a pseudo has no pseudo */
  background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 50% / 28px 1px;
}
[dir="rtl"] .lp-body h2::before { background-position: 100% 50%; }
.lp-body .eyebrow + h2, .lp-close h2 { counter-increment: none; margin-top: 20px; }
.lp-body .eyebrow + h2::before, .lp-close h2::before { content: none; }
.lp-body .eyebrow { margin-top: 96px; }
.lp-body p, .lp-body ul { max-width: var(--lp-measure); color: var(--bone-dim); }
.lp-body p + p, .lp-body p + ul, .lp-body ul + p { margin-top: 16px; }
.lp-body b, .lp-body strong { color: var(--bone); font-weight: 700; }
.lp-body p a, .lp-body li a, .lp-foot p a {
  color: var(--bone);
  text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px;
}
.lp-body p a:hover, .lp-body li a:hover, .lp-foot a:hover { color: var(--accent); }
.lp-body ul { list-style: none; }
.lp-body li { position: relative; padding-inline-start: 28px; }
.lp-body li + li { margin-top: 12px; }
.lp-body li::before { content: ''; position: absolute; inset-inline-start: 0; top: 0.85em; width: 14px; height: 1px; background: var(--accent); }

/* Wide screens: the number hangs in the margin, level with the head's first line. */
@media (min-width: 1180px) {
  .lp-body h2::before { position: absolute; inset-inline-end: calc(100% + 40px); top: 0.5em; margin: 0; }
}

/* A photo inside the column, captioned. */
.lp-figure { margin-block: 40px; }
.lp-figure img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.lp-figure figcaption { display: flex; justify-content: space-between; gap: 16px; padding-top: 16px; color: var(--bone-dim); }
.lp-figure figcaption span:first-child { color: var(--bone); }

/* ── Sets of equal items (steps, options): columns over one hairline, a figure or a title on top. */
.lp .grid { display: grid; gap: 40px; margin-top: 40px; }
.lp .grid > div { padding-top: 24px; border-top: 1px solid var(--bone-faint); min-width: 0; }
.lp .grid .n { color: var(--accent); margin-bottom: 20px; }
.lp .grid h3 { margin-bottom: 12px; }
.lp .grid p { font-size: 15px; }
.lp .grid p + p { margin-top: 12px; }
@media (min-width: 760px) {
  .lp .grid.two { grid-template-columns: 1fr 1fr; }
  .lp .grid.three { grid-template-columns: repeat(3, 1fr); }
}

/* ── The game at a glance: a figure (or, for the place, a title) over its caption, four across. */
.lp-facts { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--bone-faint); }
.lp-facts > div { padding: 32px 24px 32px 0; }
.lp-facts > div + div { padding-inline-start: 24px; border-inline-start: 1px solid var(--bone-faint); }
.lp-facts dt { color: var(--bone-dim); margin-bottom: 12px; }
.lp-facts dd { color: var(--bone); }
.lp-facts dd span { display: block; margin-top: 12px; color: var(--bone-dim); }

/* ── Questions, on hairlines. */
.lp .faq { padding: 24px 0; border-top: 1px solid var(--bone-faint); }
.lp .faq:last-of-type { border-bottom: 1px solid var(--bone-faint); }
.lp .faq h3 { margin-bottom: 12px; color: var(--bone); }
.lp .faq p { max-width: var(--lp-measure); }

/* ── The live schedule (landing-games.js fills it; its hooks are the search-games-* classes). */
.search-games-status { margin-top: 24px; font-size: 13px; color: var(--bone-dim); }
.search-games-mobile-hint { display: none; }
.search-games-scroll { max-width: 100%; overflow-x: auto; margin-top: 16px; border-top: 1px solid var(--bone-faint); }
.search-games-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.search-games-table { width: 100%; min-width: 780px; border-collapse: collapse; text-align: start; }
.search-games-table caption { text-align: start; padding: 16px 0; font-size: 13px; color: var(--bone-dim); }
.search-games-table th { padding: 12px 16px; text-align: start; color: var(--bone-dim); }
.search-games-table td { padding: 20px 16px; border-top: 1px solid var(--bone-faint); font-size: 14px; color: var(--bone-dim); }
.search-games-table th:first-child, .search-games-table td:first-child { padding-inline-start: 0; }
.search-games-table td:first-child { font-weight: 700; color: var(--bone); }
.search-games-table td:first-child, .search-games-table td:nth-child(2), .search-games-table td:nth-child(5), .search-games-table td:last-child { white-space: nowrap; }
.search-games-table a { color: var(--accent); font-weight: 700; }
.search-games-table tr:hover td { background: var(--surface-faint); }
.search-games [hidden] { display: none !important; }
@media (max-width: 700px) { .search-games-mobile-hint { display: block; margin-top: 8px; font-size: 12px; color: var(--bone-dim); } }

/* ── An address beside its copy (the home ground). */
.lp-venue { display: grid; grid-template-columns: 1fr; gap: 40px; margin-top: 96px; }
.lp-body .lp-venue .eyebrow { margin-top: 0; }
.lp-address { padding-top: 24px; border-top: 1px solid var(--accent); }
.lp-address h3 { margin: 16px 0; }
.lp-address address { font-style: normal; color: var(--bone-dim); margin-bottom: 24px; }
@media (min-width: 760px) { .lp-venue { grid-template-columns: 1.3fr 1fr; } }

/* ── The closing band: the last word, the one action. */
.lp-close { margin-top: 96px; padding-top: 48px; border-top: 1px solid var(--bone-faint); }
.lp-close h2 { margin-top: 0; }
.lp-close .cta { margin-top: 32px; }
.lp-close p { margin-top: 24px; }

/* ── Footer. */
.lp-foot { width: min(var(--lp-col), 100% - 2 * var(--pad-x)); margin-inline: auto; padding: 48px 0 64px; border-top: 1px solid var(--bone-faint); color: var(--bone-dim); font-size: 14px; }
.lp-foot nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.lp-foot nav a { color: var(--bone); text-decoration: none; }
.lp-foot p { max-width: var(--lp-measure); margin-top: 20px; }
.lp-foot .langs { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; }
.lp-foot .langs a { color: var(--accent); text-decoration: none; }
.lp-foot .langs span { color: var(--bone-dim); }
.lp-foot .fu-legal { margin-top: 20px; font-size: 13px; }
.lp-foot .fu-legal a { color: var(--bone); }

@media (max-width: 900px) {
  .lp-hero { min-height: 560px; padding-top: 96px; }
}
@media (max-width: 700px) {
  .lp .bar .btn { min-height: 44px; padding: 0 14px; font-size: 11px; letter-spacing: 0.12em; }
  .lp .logo svg { width: 104px; }
  /* A floor taller than any head's block, so the head re-wrapping when Archivo arrives (5 lines in the
     fallback face, 4 in Archivo) moves only the head, not the page under it (CLS 0.12 → see CHANGELOG). */
  .lp-hero { min-height: 600px; align-content: start; padding: 72px var(--pad-x) 40px; }
  .lp-hero-photo { object-position: center; }   /* the phone source is already cropped to the subject */
  .lp-hero::after {
    background:
      linear-gradient(90deg, color-mix(in srgb, var(--ink) 90%, transparent), color-mix(in srgb, var(--ink) 66%, transparent)),
      linear-gradient(0deg, var(--ink), transparent 60%);
  }
  .lp-hero .eyebrow { margin-bottom: 16px; }
  .lp-hero .lede { margin-top: 20px; }
  .lp .cta { margin-top: 28px; }
  .lp .cta .btn { flex: 1 1 auto; }
  .lp-body > :first-child { margin-top: 56px; }
  .lp-body h2 { margin-top: 64px; }
  .lp-body .eyebrow { margin-top: 64px; }
  .lp-venue { margin-top: 64px; }
  .lp-facts { grid-template-columns: 1fr 1fr; }
  .lp-facts > div { padding: 24px 16px 24px 0; }
  .lp-facts > div + div { padding-inline-start: 16px; }
  .lp-facts > div:nth-child(odd) { padding-inline-start: 0; border-inline-start: 0; }
  .lp-facts > div:nth-child(-n+2) { border-bottom: 1px solid var(--bone-faint); }
  .lp-close { margin-top: 64px; padding-top: 40px; }
}
/* Arabic and Devanagari have no case and read wrong letter-spaced; their marks need a taller line than
   Latin caps (the app's own guards: hero.css :root[lang] .claim). */
:root:is([lang="ar"], [lang="hi"]) .lp :is(.t-page-h1, .t-section-h2, .t-card-title, .t-label, .eyebrow, .btn) { letter-spacing: 0; }
:root[lang="ar"] .lp :is(.t-page-h1, .t-section-h2) { line-height: 1.2; }
:root[lang="hi"] .lp :is(.t-page-h1, .t-section-h2) { line-height: 1.3; }
@media (prefers-reduced-motion: reduce) { .lp .btn { transition: none; } }
