/* Public landing page. Deliberately standalone: it loads before any auth, so it
   must not depend on styles.css (80 KB of app chrome nobody signed in for).

   The page is a dive. It opens on white at the surface and darkens the whole
   way down to the abyss, so the background is not one gradient but a chain of
   per-section ones: each section ends on the colour the next begins with. That
   is what keeps it continuous no matter how tall a section grows, which a
   single fixed gradient with percentage stops cannot promise. */

:root {
  /* The water column, surface to floor. Every band below is cut from this. */
  --c0: #ffffff;
  --c1: #f4f7fa;
  --c2: #e6eef6;
  --c3: #cbdded;
  --c4: #245271;
  --c5: #133449;
  --c6: #0a2030;
  --c7: #05141f;
  --c8: #020a10;

  --gold: #e0b45f;
  --gold-deep: #8a6420;

  --shell: min(1120px, calc(100vw - 3rem));
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua",
    Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
}

/* Two palettes, switched per section rather than per element, so a section
   can be moved up or down the page without restyling everything inside it. */
.z-light {
  --text: #10222f;
  --muted: #45596b;
  --accent: var(--gold-deep);
  --edge: rgba(16, 34, 47, 0.14);
  --card: rgba(255, 255, 255, 0.66);
  --btn-bg: #10222f;
  --btn-fg: #ffffff;
}

.z-dark {
  --text: #e9f0f8;
  --muted: #a5b8ce;
  --accent: var(--gold);
  --edge: rgba(151, 171, 197, 0.18);
  --card: rgba(13, 32, 53, 0.5);
  --btn-bg: var(--gold);
  --btn-fg: #050c15;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--c8);
}

body {
  margin: 0;
  background: var(--c0);
  color: #10222f;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0;
}

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent, #8a6420);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --- top bar --------------------------------------------------------------- */

.lp-top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  padding: 0.85rem max(1.5rem, calc((100vw - var(--shell)) / 2));
  color: #10222f;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(16, 34, 47, 0.1);
  transition: background 0.35s, color 0.35s, border-color 0.35s;
}

/* Set by the sentinel observer once the light half is above the bar. */
.lp-top.is-deep {
  color: #e9f0f8;
  background: rgba(3, 10, 16, 0.72);
  border-bottom-color: rgba(151, 171, 197, 0.18);
}

.lp-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  margin-right: auto;
}

.lp-brand-mark { font-size: 1.35rem; }

.lp-brand-name {
  font-family: var(--serif);
  font-size: 1.3rem;
  letter-spacing: 0.02em;
}

.lp-nav {
  display: flex;
  gap: 1.6rem;
  font-size: 0.92rem;
  opacity: 0.72;
}

.lp-nav a {
  white-space: nowrap;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: opacity 0.15s, border-color 0.15s;
}

.lp-nav a:hover { border-bottom-color: currentColor; }

/* The sign-in key. It is the only route into the app, so it stays visible at
   every width — the section links collapse before it does. */
.lp-key {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: var(--gold-deep);
  font-size: 0.88rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.lp-top.is-deep .lp-key { color: var(--gold); }

.lp-key svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lp-key:hover {
  background: var(--gold-deep);
  color: #ffffff;
}

.lp-demo-key {
  background: var(--gold-deep);
  color: #ffffff;
  border-color: var(--gold-deep);
}
.lp-top.is-deep .lp-demo-key {
  background: var(--gold);
  color: #050c15;
  border-color: var(--gold);
}
.lp-demo-key:hover { filter: brightness(1.08); }

.lp-top.is-deep .lp-key:hover {
  background: var(--gold);
  color: #050c15;
}

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

.lp-hero {
  width: 100%;
  padding: clamp(3rem, 8vw, 5.5rem) max(1.5rem, calc((100vw - var(--shell)) / 2))
    clamp(2.5rem, 6vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  background: linear-gradient(180deg, var(--c0), var(--c1));
  color: var(--text);
}

.lp-eyebrow {
  margin: 0 0 1.1rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.lp-hero h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.5rem);
  margin-bottom: 1.3rem;
}

.lp-lede {
  margin: 0 0 1.9rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(1.14rem, 1.45vw, 1.3rem);
  line-height: 1.6;
}

.lp-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.lp-btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border: 1px solid var(--edge);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

.lp-btn:hover {
  border-color: var(--muted);
  transform: translateY(-1px);
}

.lp-btn-primary {
  background: var(--btn-bg);
  border-color: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
}

.lp-btn-primary:hover {
  filter: brightness(1.12);
  border-color: var(--btn-bg);
}

.lp-note {
  margin: 1.4rem 0 0;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--accent);
  opacity: 0.85;
}

/* The artwork is a transparent cut-out in its own navy ink, so at the surface
   it needs no treatment at all — it simply sits on the white. */
.lp-art {
  position: relative;
  margin: 0;
  display: flex;
  justify-content: center;
}

/* Light through water behind him. Inset to 0 horizontally on purpose: an
   absolutely positioned glow that bleeds sideways still counts towards
   scrollWidth, which is 8px of horizontal scroll on a phone for a gradient
   that has already faded to nothing. */
.lp-art::before {
  content: "";
  position: absolute;
  inset: -14% 0;
  background: radial-gradient(
    52% 52% at 50% 45%,
    rgba(120, 172, 214, 0.22),
    transparent 70%
  );
  pointer-events: none;
}

.lp-art img {
  position: relative;
  display: block;
  width: 100%;
  max-width: 32rem;
  height: auto;
}

/* --- myth strip ------------------------------------------------------------ */

.lp-myth {
  background: linear-gradient(180deg, var(--c1), var(--c2));
  color: var(--text);
  padding: clamp(2rem, 5vw, 3.5rem)
    max(1.5rem, calc((100vw - var(--shell)) / 2));
}

.lp-myth blockquote {
  margin: 0;
  padding-left: clamp(1rem, 3vw, 2rem);
  border-left: 2px solid var(--accent);
  max-width: 46rem;
}

/* Weight 600 rather than 500: the serif stack here (Iowan Old Style, Palatino)
   ships Roman and Bold with nothing between, so 500 silently renders as 400. */
.lp-myth p {
  margin: 0 0 0.8rem;
  font-family: var(--serif);
  font-size: clamp(1.28rem, 2.7vw, 1.72rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
}

.lp-myth cite {
  font-size: 0.85rem;
  font-style: normal;
  letter-spacing: 0.1em;
  color: var(--accent);
}

/* --- sections -------------------------------------------------------------- */

.lp-section {
  width: 100%;
  padding: clamp(3.5rem, 9vw, 6rem)
    max(1.5rem, calc((100vw - var(--shell)) / 2));
  color: var(--text);
  /* The header is sticky, so an anchor jump otherwise parks the kicker
     underneath it. */
  scroll-margin-top: 4.5rem;
}

#what { background: linear-gradient(180deg, var(--c2), var(--c3)); }
.lp-trident { background: var(--c5); }
.lp-watch { background: linear-gradient(180deg, var(--c5), var(--c6)); }
.lp-pros { background: var(--c6); }
.lp-discipline { background: linear-gradient(180deg, var(--c6), var(--c7)); }
.lp-catalogue { background: var(--c5); }
.lp-telegram { background: var(--c5); }
/* At the surface, between the myth strip and What it does (both meet on c2). */
#telegram { background: var(--c2); }
.lp-pricing { background: var(--c7); }

.lp-kicker {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0 0 0.9rem;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Depth marker. The page is a dive, so each section says how far down it is. */
.lp-depth {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  opacity: 0.85;
}

.lp-depth::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.lp-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  max-width: 22ch;
  margin-bottom: 1.2rem;
}

.lp-body {
  max-width: 46rem;
  margin: 0 0 2.6rem;
  color: var(--muted);
  font-size: 1.06rem;
}

.lp-body-tight { margin-bottom: 0; }

/* --- the dive -------------------------------------------------------------- */

.lp-descent {
  height: clamp(8rem, 16vh, 12rem);
  background: linear-gradient(180deg, var(--c3), var(--c4));
}

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

.lp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.lp-steps li { margin: 0; }

.lp-step-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 1rem;
  border: 1px solid var(--accent);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--accent);
}

.lp-steps h3,
.lp-prongs h3,
.lp-rules h3 {
  font-size: 1.2rem;
  margin-bottom: 0.55rem;
}

.lp-steps p,
.lp-prongs p,
.lp-rules p,
.lp-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

/* --- trident prongs / rules ------------------------------------------------ */

.lp-prongs,
.lp-rules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.lp-prong-mark {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 0.7rem;
  filter: saturate(0.6);
}

.lp-rules h3 {
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--edge);
  margin-bottom: 0.9rem;
}

.lp-rules { margin-bottom: 2.6rem; }

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

.lp-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 1.1rem;
}

.lp-card {
  padding: 1.4rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: 12px;
  transition: border-color 0.15s, transform 0.15s;
}

.lp-card:hover {
  border-color: rgba(224, 180, 95, 0.45);
  transform: translateY(-2px);
}

.lp-card h3 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

/* --- catalogue ------------------------------------------------------------- */

.lp-kinds {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
  margin-bottom: 2.8rem;
}

.lp-kind {
  padding: 1.4rem 1.4rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: 12px;
}

.lp-kind-icon {
  display: block;
  font-size: 2rem;
  margin-bottom: 0.6rem;
}

.lp-kind h3 {
  font-size: 1.15rem;
  margin-bottom: 0.45rem;
}

.lp-kind p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
}

.lp-kind p strong { color: var(--text); }

/* Bots are catalogued to be excluded, so the card reads as struck from the count. */
.lp-kind-out {
  border-style: dashed;
  background: transparent;
}

.lp-kind-out .lp-kind-icon { filter: grayscale(1); opacity: 0.7; }

.lp-file-title {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.lp-file {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 46rem;
}

.lp-file li {
  padding: 0.6rem 0;
  border-top: 1px solid var(--edge);
  color: var(--muted);
}

.lp-file strong { color: var(--text); }

/* --- telegram -------------------------------------------------------------- */

.lp-telegram {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.lp-tg-copy .lp-body { margin-bottom: 1.4rem; }

.lp-tg-list {
  list-style: none;
  margin: 0 0 1.8rem;
  padding: 0;
  color: var(--muted);
}

.lp-tg-list li { padding: 0.25rem 0; }
.lp-tg-list strong { color: var(--text); }

/* Telegram's dark theme, recreated rather than screenshotted so it stays
   sharp at any size and adds no public asset path. */
.lp-tg-chat {
  margin: 0;
  padding: clamp(1.2rem, 3vw, 2rem);
  border-radius: 18px;
  background:
    radial-gradient(80% 60% at 30% 20%, rgba(70, 120, 170, 0.18), transparent 70%),
    #0e1621;
  border: 1px solid var(--edge);
}

/* Fixed-height feed so the second alert has somewhere to arrive: it pops in
   below the first and the feed scrolls to it, like a live chat. */
.lp-tg-feed {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  height: 19rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 0.3rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(151, 171, 197, 0.35) transparent;
}

.lp-tg-feed::-webkit-scrollbar { width: 6px; }
.lp-tg-feed::-webkit-scrollbar-thumb {
  background: rgba(151, 171, 197, 0.35);
  border-radius: 3px;
}

/* Hidden only once the script has run, so without JS every alert just shows. */
.lp-tg-feed.is-waiting .lp-tg-incoming:not(.is-in) { display: none; }

.lp-tg-incoming.is-popping {
  animation: lp-tg-pop 0.55s cubic-bezier(0.2, 0.9, 0.3, 1.25) both;
  transform-origin: bottom left;
}

@keyframes lp-tg-pop {
  0%   { opacity: 0; transform: translateY(18px) scale(0.85); }
  100% { opacity: 1; transform: none; }
}

.lp-tg-msg {
  position: relative;
  flex-shrink: 0;
  max-width: 21rem;
  padding: 0.75rem 0.95rem 1.6rem;
  border-radius: 14px 14px 14px 4px;
  background: #182533;
  color: #f5f5f5;
  font-size: 0.95rem;
  line-height: 1.45;
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.6);
}

.lp-tg-msg p { margin: 0; }
.lp-tg-msg .lp-tg-q { margin-top: 0.7rem; font-weight: 700; }
.lp-tg-link { color: #6ab3f3; text-decoration: underline; text-underline-offset: 2px; }

/* The pick digest: one message, a block per pick. */
.lp-tg-picks { max-width: 25rem; }
.lp-tg-pick { margin-top: 0.7rem; }

.lp-tg-meta {
  position: absolute;
  right: 0.8rem;
  bottom: 0.45rem;
  font-size: 0.75rem;
  color: #6d7f8f;
}

.lp-tg-chat figcaption {
  margin-top: 0.9rem;
  font-size: 0.82rem;
  font-style: italic;
  color: var(--muted);
}

/* --- the board (dashboard example) ----------------------------------------- */

/* Same two-column grid as the Telegram section, picture on the left. Recreated
   in the app's own palette rather than screenshotted, for the same reasons. */
.lp-board {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  /* First section below the descent, so it carries c4 -> c5 (the trident used to). */
  background: linear-gradient(180deg, var(--c4), var(--c5));
}
.lp-board .lp-cta { margin: 0; }

.lp-bd-window {
  margin: 0;
  min-width: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #0b0f1a;
  border: 1px solid var(--edge);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
  text-align: left;
  color: #e6ebf5;
  font-size: 0.82rem;
  line-height: 1.35;
}

.lp-bd-chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.8rem;
  background: #131a2b;
  border-bottom: 1px solid #263149;
}
.lp-bd-chrome span { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: #263149; }
.lp-bd-chrome em {
  margin-left: 0.6rem;
  font-style: normal;
  font-size: 0.72rem;
  color: #8a96ad;
}

.lp-bd-body { padding: 0.9rem; }

.lp-bd-tabs,
.lp-bd-leagues {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.55rem;
  overflow: hidden;
  white-space: nowrap;
  mask-image: linear-gradient(90deg, #000 85%, transparent);
}
.lp-bd-tabs span,
.lp-bd-leagues span {
  flex-shrink: 0;
  padding: 0.35rem 0.6rem;
  border: 1px solid #263149;
  border-radius: 8px;
  background: #131a2b;
  color: #aab4c8;
  font-size: 0.74rem;
}
.lp-bd-leagues span { border-radius: 999px; }
.lp-bd-tabs .is-on { background: linear-gradient(135deg, #5b8cff, #7b5cff); border-color: transparent; color: #fff; }
/* The clickable leagues come first and the row scrolls, so a phone can still
   reach Tennis; the fade only hints that there is more. */
.lp-bd-leagues { overflow-x: auto; scrollbar-width: none; }
.lp-bd-leagues::-webkit-scrollbar { display: none; }
.lp-bd-leagues button {
  flex-shrink: 0;
  padding: 0.35rem 0.6rem;
  border: 1px solid #263149;
  border-radius: 999px;
  background: #131a2b;
  color: #aab4c8;
  font: inherit;
  font-size: 0.74rem;
  cursor: pointer;
}
.lp-bd-leagues button:hover { color: #fff; }
.lp-bd-leagues button:focus-visible { outline: 2px solid #5b8cff; outline-offset: 1px; }
.lp-bd-leagues .is-on { border-color: #5b8cff; color: #fff; }
.lp-bd-leagues span { opacity: 0.55; }
.lp-bd-view[hidden] { display: none; }

/* Predictions / Where the money is: collapsed panels, as in the app. */
.lp-bd-fold {
  margin-top: 0.4rem;
  border: 1px solid #263149;
  border-radius: 12px;
  background: linear-gradient(135deg, #111a2e, #0f1626);
}
.lp-bd-money { background: linear-gradient(135deg, #18141f, #1d1414); }
.lp-bd-fold summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 0.55rem;
  padding: 0.75rem 0.85rem;
  cursor: pointer;
  list-style: none;
}
.lp-bd-fold summary::-webkit-details-marker { display: none; }
.lp-bd-caret {
  grid-row: span 3;
  align-self: start;
  display: grid; place-items: center;
  width: 1.4rem; height: 1.4rem;
  border: 1px solid #263149; border-radius: 6px;
  color: #8a96ad; font-size: 0.65rem;
  transition: transform 0.15s;
}
.lp-bd-fold[open] .lp-bd-caret { transform: rotate(90deg); }
.lp-bd-ftitle { color: #fff; font-weight: 700; font-size: 0.88rem; }
.lp-bd-fsub { color: #8a96ad; font-size: 0.7rem; margin: 0.1rem 0 0.45rem; }
.lp-bd-chips { display: flex; flex-wrap: wrap; gap: 0.3rem; min-width: 0; }
.lp-bd-chips span {
  padding: 0.15rem 0.5rem;
  border: 1px solid #263149; border-radius: 999px;
  background: #131a2b; color: #aab4c8; font-size: 0.68rem;
}
.lp-bd-chips b { color: #fff; }
.lp-bd-chips span:last-child { color: #6f7b93; }
.lp-bd-rows { list-style: none; margin: 0; padding: 0 0.85rem 0.75rem; display: grid; gap: 0.3rem; }
.lp-bd-rows li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 0.6rem;
  align-items: baseline;
  padding: 0.4rem 0.55rem;
  border-radius: 8px;
  background: #131a2b;
  font-size: 0.72rem;
  color: #aab4c8;
}
.lp-bd-rows li > * { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-bd-rows b { color: #fff; }
.lp-bd-rows em { font-style: normal; color: #8a96ad; }
.lp-bd-rows em.ok { color: #3ddc97; }
.lp-bd-rows em.split { color: #f5b942; }
.lp-bd-money .lp-bd-rows li { grid-template-columns: auto minmax(0, 1fr) auto; }
.lp-bd-money .lp-bd-rows b { color: #3ddc97; }

/* Today's games list. */
.lp-bd-ghead { margin: 0.9rem 0 0.45rem; color: #aab4c8; font-size: 0.8rem; font-weight: 600; }
.lp-bd-ghead b {
  margin-left: 0.3rem; padding: 0 0.45rem; border-radius: 999px;
  background: #263149; color: #fff; font-size: 0.7rem;
}
.lp-bd-game {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.6rem;
  align-items: center;
  padding: 0.6rem 0.7rem;
  margin-bottom: 0.4rem;
  border: 1px solid #263149;
  border-radius: 10px;
  background: #131a2b;
}
.lp-bd-game p { margin: 0; }
.lp-bd-crest {
  display: grid; place-items: center;
  width: 1.9rem; height: 1.9rem;
  border-radius: 7px;
  background: #1d2a4a;
  font-size: 1rem;
}
.lp-bd-gmain { min-width: 0; }
.lp-bd-gtitle { color: #fff; font-weight: 700; font-size: 0.8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-bd-gteams {
  display: flex; align-items: center; gap: 0.3rem; min-width: 0;
  margin-top: 0.2rem !important; font-size: 0.72rem; color: #fff;
  flex-wrap: wrap; row-gap: 0.25rem;
}
.lp-bd-gteams strong { font-weight: 600; white-space: nowrap; }
.lp-bd-gtitle { white-space: normal; }
.lp-bd-gteams small { color: #8a96ad; font-size: 0.66rem; flex: none; }
.lp-bd-gteams i { color: #8a96ad; font-style: normal; flex: none; }
.lp-bd-badge {
  flex: none;
  display: inline-grid; place-items: center;
  min-width: 1.35rem; height: 1.1rem; padding: 0 0.2rem;
  border-radius: 4px;
  background: var(--c, #2f7d6d);
  color: #fff; font-size: 0.5rem; font-weight: 800; letter-spacing: 0.02em;
}
.lp-bd-gside { text-align: right; font-size: 0.7rem; color: #8a96ad; white-space: nowrap; }
.lp-bd-gvol { margin-top: 0.15rem !important; }
.lp-bd-pm { color: #6ea8ff; }

.lp-bd-panel {
  margin-top: 0.4rem;
  padding: 0.85rem;
  border: 1px solid #263149;
  border-radius: 12px;
  background: #131a2b;
}
.lp-bd-panel h3 { margin: 0; font-size: 0.95rem; color: #fff; }
.lp-bd-sub { margin: 0.2rem 0 0.7rem; color: #8a96ad; font-size: 0.74rem; }

.lp-bd-seg {
  display: inline-flex;
  flex-wrap: wrap;
  max-width: 100%;
  gap: 0.25rem;
  padding: 0.2rem;
  margin-bottom: 0.7rem;
  border: 1px solid #263149;
  border-radius: 9px;
  background: #0b0f1a;
}
.lp-bd-seg button {
  padding: 0.3rem 0.55rem;
  border: 0;
  border-radius: 7px;
  background: none;
  color: #aab4c8;
  font: inherit;
  font-size: 0.74rem;
  white-space: nowrap;
  cursor: pointer;
}
.lp-bd-seg button b {
  margin-left: 0.2rem;
  padding: 0 0.35rem;
  border-radius: 6px;
  background: #263149;
  font-weight: 600;
}
.lp-bd-seg button.is-on { background: #1a2338; color: #fff; }
.lp-bd-seg button.is-on b { background: #5b8cff; color: #fff; }
.lp-bd-seg button:focus-visible { outline: 2px solid #5b8cff; outline-offset: 1px; }

.lp-bd-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}
.lp-bd-grid[hidden] { display: none; }

.lp-bd-card {
  min-width: 0;
  padding: 0.65rem 0.75rem;
  border: 1px solid #263149;
  border-left: 3px solid var(--g, #4aa8ff);
  border-radius: 10px;
  background: #1a2338;
}
.lp-bd-card.g-a { --g: #3ddc97; }
.lp-bd-card.g-b { --g: #4aa8ff; }
.lp-bd-card.g-c { --g: #f5b942; }
.lp-bd-card p { margin: 0; }
.lp-bd-card header { display: flex; justify-content: space-between; align-items: baseline; }
.lp-bd-kind { font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: #8a96ad; }
.lp-bd-grade { font-size: 1.15rem; font-weight: 800; color: var(--g); }
.lp-bd-pick { font-size: 0.98rem; font-weight: 700; color: #fff; }
.lp-bd-q { margin: 0.1rem 0 0.45rem !important; color: #aab4c8; font-size: 0.74rem; }
.lp-bd-team {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  margin-bottom: 0.2rem !important;
}
.lp-bd-team strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-bd-team i { color: #8a96ad; font-style: normal; }
.lp-bd-score { margin-left: auto; font-weight: 700; }
.lp-bd-when { margin-top: 0.35rem !important; color: #8a96ad; font-size: 0.72rem; }
.lp-bd-soon { color: #6ea8ff; }
.lp-bd-live { color: #ff5d5d; font-weight: 700; }
.lp-bd-foot { margin-top: 0.4rem !important; color: #aab4c8; font-size: 0.74rem; }
.lp-bd-edge { margin-left: 0.4rem; color: #6ea8ff; font-weight: 600; }

.lp-bd-window figcaption {
  padding: 0 0.9rem 0.9rem;
  font-size: 0.78rem;
  font-style: italic;
  color: #8a96ad;
}

/* --- pricing --------------------------------------------------------------- */

.lp-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  align-items: stretch;
}

.lp-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.8rem 1.6rem 1.6rem;
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: 14px;
}

.lp-plan-feature {
  border-color: rgba(224, 180, 95, 0.6);
  box-shadow: 0 0 0 1px rgba(224, 180, 95, 0.25), 0 18px 40px -24px rgba(224, 180, 95, 0.45);
}

.lp-plan-tag {
  position: absolute;
  top: -0.7rem;
  left: 1.6rem;
  margin: 0;
  padding: 0.1rem 0.7rem;
  border-radius: 999px;
  background: var(--gold);
  color: #050c15;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lp-plan h3 {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.lp-price {
  margin: 0 0 0.3rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.lp-price-n {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--text);
}

.lp-plan-sum {
  margin: 0 0 1.1rem;
  color: var(--accent);
  font-size: 0.95rem;
}

.lp-plan ul {
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
  flex: 1;
  text-align: left;
}

.lp-plan li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.5rem;
  border-top: 1px solid var(--edge);
  color: var(--muted);
  font-size: 0.95rem;
}

.lp-plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.lp-plan li.lp-plan-tg {
  color: var(--text);
  font-weight: 600;
}

.lp-plan li.lp-plan-tg::before { content: "✈"; }

.lp-plan .lp-btn { text-align: center; }

.lp-plan-cta {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: auto;
}

.lp-btn-pay { border-style: dashed; }

/* What the trial is, and that paying early keeps it. */
.lp-trial {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
  margin: 0 0 2.2rem;
}

.lp-trial > div {
  padding: 1.3rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: 12px;
}

.lp-trial h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }

.lp-trial p { margin: 0; color: var(--muted); }

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

.lp-final {
  width: 100%;
  padding: clamp(4rem, 10vw, 7rem)
    max(1.5rem, calc((100vw - var(--shell)) / 2));
  background: linear-gradient(180deg, var(--c7), var(--c8));
  color: var(--text);
  text-align: center;
}

.lp-final h2 {
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  margin: 0 auto 0.6rem;
}

.lp-final p {
  margin: 0 0 2rem;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
}

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

.lp-foot {
  width: 100%;
  padding: 2.5rem max(1.5rem, calc((100vw - var(--shell)) / 2));
  border-top: 1px solid var(--edge);
  background: var(--c8);
  color: var(--text);
}

.lp-disclaimer {
  max-width: 46rem;
  margin: 0 0 1.5rem;
  font-size: 0.87rem;
  color: var(--muted);
}

.lp-disclaimer strong { color: var(--text); }

.lp-foot-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  font-size: 0.85rem;
  color: var(--accent);
}

.lp-foot-meta a {
  color: var(--muted);
  text-decoration: none;
}

.lp-foot-meta a:hover { color: var(--accent); }

/* --- narrow ---------------------------------------------------------------- */

@media (max-width: 900px) {
  :root { --shell: calc(100vw - 2.5rem); }

  .lp-hero {
    grid-template-columns: minmax(0, 1fr);
    padding-top: clamp(2rem, 7vw, 3rem);
  }

  /* Picture first on a phone: it says what the site is faster than the copy. */
  .lp-art { order: -1; }

  .lp-nav { display: none; }

  /* Once the grids collapse to a single column there is no column edge left to
     align to, so a left-aligned block reads as pinned to one side of the
     screen rather than laid out. Centre the sections instead. */
  .lp-section { text-align: center; }

  .lp-kicker { justify-content: center; }

  .lp-section h2,
  .lp-body {
    margin-left: auto;
    margin-right: auto;
  }

  .lp-card h3 { justify-content: center; }

  .lp-telegram { grid-template-columns: minmax(0, 1fr); }

  /* Copy first on a narrow screen, like the Telegram section. */
  .lp-board .lp-bd-window { order: 1; width: 100%; max-width: 34rem; margin: 0 auto; }
  .lp-board .lp-cta { justify-content: center; }

  .lp-file { margin: 0 auto; }

  .lp-kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .lp-tg-chat { max-width: 26rem; margin: 0 auto; text-align: left; }

  .lp-trial {
    grid-template-columns: minmax(0, 1fr);
    max-width: 26rem;
    margin-left: auto;
    margin-right: auto;
  }

  .lp-plans {
    grid-template-columns: minmax(0, 1fr);
    max-width: 26rem;
    margin: 0 auto;
    gap: 1.6rem;
  }
}

/* Phones: brand, language, Demo and the sign-in key must share one row, so
   the key drops to its icon (its aria-label still says "Sign in"). */
@media (max-width: 640px) {
  .lp-top { gap: 0.6rem; padding-left: 1rem; padding-right: 1rem; }

  .lp-key:not(.lp-demo-key) span { display: none; }

  .lp-key:not(.lp-demo-key) { padding: 0.5rem; }

  .lp-key { padding: 0.4rem 0.7rem; }
}

@media (max-width: 420px) {
  body { font-size: 16px; }

  .lp-kinds { grid-template-columns: minmax(0, 1fr); }

  .lp-cta .lp-btn { flex: 1 1 auto; text-align: center; }

  .lp-kicker { flex-wrap: wrap; gap: 0.5rem; }

  .lp-bd-grid { grid-template-columns: minmax(0, 1fr); }

  /* One column: two cards say it, four is a scroll. */
  .lp-bd-card:nth-child(n + 3) { display: none; }
  .lp-bd-game:nth-of-type(n + 4) { display: none; }
  .lp-bd-game { grid-template-columns: auto minmax(0, 1fr); }
  .lp-bd-gside { grid-column: 2; text-align: left; }
  .lp-bd-rows li:nth-child(n + 3) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  * { transition: none !important; }
}
