/* Landing page: dark hero, light sections, the app's colours. */
.landing { background: var(--surface); }
.landing a { color: inherit; }
.lp-nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 20px; padding: 10px 24px; background: var(--ink); color: #E7EBF3; }
.lp-nav nav { display: flex; gap: 18px; margin-left: auto; font-size: 14px; }
.lp-nav nav a { text-decoration: none; color: #C5CCDA; }
.lp-nav nav a:hover { color: #fff; }
.lp-signin { text-decoration: none; border: 1px solid #2B3850; border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: 14px; }

.lp-hero { background: var(--ink); color: #E7EBF3; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px;
  align-items: center; padding: 64px max(24px, calc((100vw - 1180px) / 2)) 72px; }
.lp-kicker { color: var(--gold); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px; }
.lp-hero h1 { font-size: clamp(30px, 4.2vw, 50px); line-height: 1.08; margin: 0 0 16px; letter-spacing: -.02em; }
.lp-hero h1 span { color: var(--gold); }
.lp-lead { font-size: 18px; line-height: 1.55; color: #C5CCDA; max-width: 34em; }
.lp-lead b { color: #fff; }
.lp-cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin: 26px 0 18px; }
.lp-cta { display: inline-flex; align-items: center; gap: 10px; background: var(--gold); color: #2a1d00 !important; font-weight: 800; text-decoration: none;
  padding: 13px 24px; border-radius: 999px; font-size: 16px; border: none; }
.lp-cta:hover { filter: brightness(1.06); }
.lp-cta svg { background: #fff; border-radius: 50%; padding: 2px; }
.lp-ghost { text-decoration: none; font-weight: 700; padding: 12px 20px; border-radius: 999px; border: 1px solid currentColor; display: inline-block; text-align: center; }
.lp-hero .lp-ghost { color: #C5CCDA; border-color: #2B3850; }
.lp-proof { color: #8E98AD; font-size: 13px; }
.shot { border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.08); background: #fff; }
.shot img { display: block; width: 100%; margin-top: -44px; }   /* hide the app's own header bar */
.lp-hero-shot .shot { transform: rotate(1.2deg); }

.lp-problem, .lp-features, .lp-value, .lp-pricing, .lp-faq, .lp-final { padding: 64px max(24px, calc((100vw - 1100px) / 2)); }
.landing h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.01em; margin: 0 0 22px; line-height: 1.2; }
.lp-problem { background: var(--bg); text-align: center; }
.lp-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; text-align: left; }
.lp-3 > div { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 20px; }
.lp-3 b { font-size: 17px; }
.lp-3 p { color: var(--muted); line-height: 1.55; margin: 6px 0 0; }
.lp-emoji { font-size: 30px; margin-bottom: 8px; }

.lp-feature { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 44px; align-items: center; margin-bottom: 72px; }
.lp-feature.flip .lp-ft { order: 2; }
.lp-feature .shot { box-shadow: 0 18px 44px rgba(15,23,42,.18); border-color: var(--border); }
.lp-tag { display: inline-block; background: hsla(168, 80%, 33%, .12); color: var(--accent-2); font-weight: 800; font-size: 12px; border-radius: 999px; padding: 3px 12px; margin-bottom: 10px; }
.lp-ft h2 { margin-bottom: 12px; }
.lp-ft em { font-style: normal; color: var(--accent-2); }
.lp-ft p { font-size: 16px; line-height: 1.6; color: var(--text); max-width: 36em; }
.lp-ticks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.lp-ticks li { position: relative; padding-left: 26px; line-height: 1.45; }
.lp-ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 900; }

.lp-value { background: var(--ink); color: #E7EBF3; text-align: center; }
.lp-value .lp-3 > div { background: rgba(255,255,255,.05); border-color: #243047; text-align: center; }
.lp-value p { color: #B6BFD0; }
.lp-big { font-size: 34px; font-weight: 900; color: var(--gold); }

.lp-pricing { text-align: center; }
.lp-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); gap: 20px; justify-content: center; text-align: left; }
.lp-plan { border: 1px solid var(--border); border-radius: 18px; padding: 26px; position: relative; display: flex; flex-direction: column; }
.lp-plan.pro { border: 2px solid var(--gold); box-shadow: 0 16px 40px rgba(245,185,66,.18); }
.lp-plan-badge { position: absolute; top: -12px; left: 24px; background: var(--gold); color: #3a2a00; font-weight: 800; font-size: 12px; border-radius: 999px; padding: 3px 12px; }
.lp-plan-name { font-weight: 800; font-size: 18px; }
.lp-plan-price { font-size: 38px; font-weight: 900; margin: 6px 0 4px; }
.lp-plan-price small { font-size: 15px; font-weight: 600; color: var(--muted); }
.lp-plan .lp-ticks { flex: 1; margin-bottom: 20px; }
.wide { width: 100%; justify-content: center; }
.lp-pricing .lp-ghost { color: var(--text); border-color: var(--border); }
.lp-fine { font-size: 12px; color: var(--muted); margin-top: 10px; text-align: center; }

.lp-faq { max-width: 760px; margin: 0 auto; }
.lp-faq details { border-bottom: 1px solid var(--border); padding: 14px 0; }
.lp-faq summary { cursor: pointer; font-weight: 700; font-size: 16px; }
.lp-faq p { color: var(--muted); line-height: 1.6; margin: 8px 0 0; }
.lp-final { text-align: center; background: var(--bg); }
.lp-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 22px 24px; font-size: 12px; color: var(--muted); }

@media (max-width: 860px) {
  .lp-hero, .lp-feature { grid-template-columns: 1fr; gap: 28px; }
  .lp-feature.flip .lp-ft { order: 0; }
  .lp-3, .lp-plans { grid-template-columns: 1fr; }
  .lp-nav nav { display: none; }
  .lp-nav .lp-signin { margin-left: auto; }
  .lp-hero { padding-top: 40px; }
  .lp-feature { margin-bottom: 52px; }
}

/* how it works, inline CTAs, ROI, sticky CTA */
.lp-how { padding: 64px max(24px, calc((100vw - 1100px) / 2)); text-align: center; }
.lp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 26px; text-align: left; }
.lp-steps > div { border: 1px solid var(--border); border-radius: 16px; padding: 20px; }
.lp-steps b { font-size: 17px; display: block; margin-top: 8px; }
.lp-steps p { color: var(--muted); margin: 6px 0 0; line-height: 1.5; }
.lp-n { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 900; display: inline-flex; align-items: center; justify-content: center; }
.lp-inline-cta { display: inline-block; margin-top: 16px; font-weight: 800; color: var(--accent-2) !important; text-decoration: none; border-bottom: 2px solid currentColor; }
.lp-roi { display: grid; gap: 12px; max-width: 860px; margin: 0 auto 26px; text-align: left; }
.roi-row { display: grid; grid-template-columns: 52px 1fr 170px; gap: 16px; align-items: center; background: rgba(255,255,255,.05);
  border: 1px solid #243047; border-radius: 16px; padding: 16px 20px; }
.roi-icon { font-size: 32px; text-align: center; }
.roi-row b { font-size: 17px; color: #fff; }
.roi-row p { margin: 4px 0 0; line-height: 1.5; }
.roi-num { font-size: 26px; font-weight: 900; color: var(--gold); text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.roi-num span { font-size: 12px; font-weight: 600; color: #B6BFD0; }
.roi-num .roi-strike { text-decoration: line-through; color: #8E98AD; font-size: 14px; }
.roi-num .roi-price { font-size: 26px; font-weight: 900; color: var(--gold); }
.lp-final-sub { color: var(--muted); margin: -8px 0 20px; font-size: 16px; }
.lp-sticky { display: none; }
@media (max-width: 860px) {
  .lp-steps { grid-template-columns: 1fr; }
  .roi-row { grid-template-columns: 40px 1fr; }
  .roi-num { grid-column: 2; align-items: flex-start; text-align: left; }
  .lp-sticky { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 20; text-align: center; background: var(--gold);
    color: #2a1d00 !important; font-weight: 800; text-decoration: none; padding: 14px; border-radius: 999px; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
  .lp-foot { padding-bottom: 80px; }
}

/* landing icons */
.lp-emoji { color: var(--accent); }
.lp-emoji .ic { width: 34px; height: 34px; stroke-width: 1.8; }
.roi-icon { color: var(--gold); display: flex; justify-content: center; }
.roi-icon .ic { width: 32px; height: 32px; stroke-width: 1.8; }

/* prerelease-first hero: the four promo cards fanned out, kept inside their column */
.lp-hero { overflow-x: clip; }
.lp-hero-fan { position: relative; height: 400px; }
.lp-hero-fan img { position: absolute; left: 50%; top: 50px; width: 170px; border-radius: 10px; margin-left: -85px;
  box-shadow: 0 18px 40px rgba(0,0,0,.45); transform: translateX(var(--x)) rotate(var(--r)); transform-origin: 50% 130%;
  transition: transform .25s ease; }
.lp-hero-fan img:hover { transform: translateX(var(--x)) rotate(var(--r)) translateY(-16px); z-index: 2; }
.lp-hero h1 { font-size: clamp(30px, 4vw, 48px); }

.lp-boxes { padding: 64px max(24px, calc((100vw - 1100px) / 2)); text-align: center; background: var(--bg); }
.lp-sub { color: var(--muted); font-size: 17px; margin: -10px auto 26px; max-width: 40em; }
.lp-sub.light { color: #B6BFD0; }
.lp-box-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 34px; text-align: left; }
.lp-box { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.lp-box img { width: 100%; max-width: 150px; align-self: center; border-radius: 8px; }
.lp-box b { font-size: 17px; margin-top: 4px; }
.lp-box p { margin: 0; color: var(--muted); line-height: 1.45; font-size: 14px; }
.lp-boxes .lp-steps > div { background: var(--surface); }
.lp-final h2 span { color: var(--accent-2); }

@media (max-width: 860px) {
  .lp-hero-fan { height: 190px; order: -1; margin-bottom: -16px; }
  .lp-hero-fan img { width: 100px; margin-left: -50px; top: 16px; }
  .lp-box-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .lp-box { padding: 10px; }
}
.shot.clean img { margin-top: 0; }  /* screenshots already cropped below the app header */

/* league season banner (UBL / PBL) under the hero */
.lp-league { padding: 0 max(24px, calc((100vw - 1100px) / 2)); background: linear-gradient(var(--ink) 50%, var(--bg) 50%); }
.lp-league-inner { display: block; max-width: 860px; margin: 0 auto;
  background: linear-gradient(135deg, #12304a, #0f4a45); color: #E7EBF3; border-radius: 20px; padding: 28px 30px;
  box-shadow: 0 18px 40px rgba(15,23,42,.25); border: 1px solid rgba(255,255,255,.08); }
.lp-league h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 0 0 14px; color: #fff; }
.lp-league-ticks { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.lp-league-ticks li { position: relative; padding-left: 26px; line-height: 1.45; color: #C5CCDA; }
.lp-league-ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 900; }
.lp-league-ticks b { color: #fff; }
.lp-league .lp-cta-row { margin: 0 0 12px; }
.lp-league-note { font-size: 13px; color: #9FB0C6; margin: 0; line-height: 1.5; }
.lp-league-note a { color: var(--gold); }
.lp-league-dates { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 16px; }
.lp-league-dates-head { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.lp-league-dates ul { list-style: none; padding: 0; margin: 0 0 10px; }
.lp-league-dates li { display: grid; grid-template-columns: 60px 1fr auto; gap: 10px; align-items: center; padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.08); font-size: 14px; }
.lp-league-dates li.next { color: #fff; font-weight: 700; }
.lp-date { font-weight: 800; color: #fff; }
.lp-when { font-size: 12px; color: #9FB0C6; white-space: nowrap; }
.lp-league-dates li.next .lp-when { color: var(--gold); }
.lp-league-src { font-size: 12px; color: #9FB0C6; }
@media (max-width: 860px) {
  .lp-league { padding: 0 12px; }
  .lp-league-inner { grid-template-columns: 1fr; padding: 20px 18px; gap: 18px; }
}

/* ===== v3: slider hero, quiz, front puzzle, feature tiles ===== */
.lp-slider { display: block; position: relative; padding-bottom: 56px; }
.lp-slides { position: relative; }
.lp-slide { display: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: center; min-height: 420px; }
.lp-slide.on { display: grid; animation: lp-in .45s ease; }
@keyframes lp-in { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lp-slide.on { animation: none; } }
.lp-slide h1 { font-size: clamp(32px, 4.4vw, 54px); }
.lp-slide .lp-lead { font-size: 18px; max-width: 26em; }
.lp-slider-nav { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; align-items: center; gap: 10px; }
.lp-dot { width: 10px; height: 10px; border-radius: 50%; padding: 0; border: none; background: #3A4864; cursor: pointer; }
.lp-dot.on { background: var(--gold); width: 26px; border-radius: 999px; }
.lp-arrow { width: 34px; height: 34px; border-radius: 50%; border: 1px solid #2B3850; background: transparent; color: #C5CCDA; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.lp-arrow:hover { color: #fff; border-color: #C5CCDA; }
.lp-arrow .ic { width: 16px; height: 16px; }

.lp-quiz, .lp-puzzle, .lp-features-grid { padding: 64px max(16px, calc((100vw - 1000px) / 2)); text-align: center; }
.lp-quiz { background: var(--bg); }
.lp-tabs { display: inline-flex; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 4px; margin-bottom: 18px; }
.lp-tabs button { border: none; background: none; border-radius: 999px; padding: 8px 16px; font-weight: 700; cursor: pointer; color: var(--muted); }
.lp-tabs button.on { background: var(--ink); color: #fff; }
.lp-quiz-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 26px; max-width: 760px; margin: 0 auto;
  box-shadow: 0 10px 30px rgba(15,23,42,.06); min-height: 260px; }
.lp-q-progress { display: flex; gap: 6px; justify-content: center; margin-bottom: 14px; }
.lp-q-progress span { width: 36px; height: 6px; border-radius: 999px; background: var(--border); }
.lp-q-progress span.on { background: var(--accent); }
.lp-q { font-size: 22px; margin: 0 0 18px; }
.lp-answers { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.lp-answer { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 12px; border-radius: 14px; border: 2px solid var(--border);
  background: var(--surface); cursor: pointer; font-weight: 700; font-size: 15px; color: var(--text); transition: border-color .15s, transform .15s; }
.lp-answer:hover { border-color: var(--accent); transform: translateY(-2px); }
.lp-answer .ic { width: 28px; height: 28px; color: var(--accent); }
.lp-back { margin-top: 14px; border: none; background: none; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.lp-result { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: center; text-align: left; }
.lp-result-arts { display: flex; }
.lp-result-arts .lp-result-art + .lp-result-art { margin-left: -60px; transform: rotate(6deg); }
.lp-result-art { width: 170px; border-radius: 10px; box-shadow: 0 12px 30px rgba(15,23,42,.25); }
.lp-result h3 { font-size: 28px; margin: 2px 0 6px; }
.lp-result p { margin: 0 0 10px; line-height: 1.5; }
.lp-result-alt { color: var(--muted); font-size: 14px; }
.lp-kicker.dark { color: var(--accent-2); margin-bottom: 0; }
.lp-stats { display: flex; gap: 16px; margin: 0 0 10px; }
.lp-stats span { background: var(--bg); border-radius: 999px; padding: 4px 12px; font-size: 14px; }
.lp-ghost.dark { color: var(--text); border-color: var(--border); background: none; cursor: pointer; font-size: 15px; }
.lp-fine.left { text-align: left; }
.lp-result .lp-cta-row { margin: 14px 0 6px; }
.lp-result button.lp-cta { cursor: pointer; }

.lp-puzzle { background: var(--surface); }
#lp-puzzle { max-width: 860px; margin: 0 auto; text-align: left; }
#lp-puzzle .card { box-shadow: 0 10px 30px rgba(15,23,42,.08); }
.lp-after { text-align: center; margin-top: 12px; }
.lp-after .lp-cta-row { justify-content: center; }
.lp-after button.lp-cta { cursor: pointer; }

.lp-features-grid { background: var(--bg); }
.lp-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; text-align: left; }
.lp-tile { display: flex; flex-direction: column; gap: 4px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; text-decoration: none; color: var(--text) !important; padding-bottom: 14px; transition: transform .15s, box-shadow .15s; }
.lp-tile:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(15,23,42,.12); }
.lp-tile img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-bottom: 1px solid var(--border); margin-bottom: 8px; }
.lp-tile b { padding: 0 14px; font-size: 16px; }
.lp-tile span { padding: 0 14px; color: var(--muted); font-size: 14px; line-height: 1.4; }

@media (max-width: 860px) {
  .lp-slide { grid-template-columns: 1fr; gap: 12px; min-height: 0; }
  .lp-slide .lp-hero-fan { order: -1; }
  .lp-slide .lp-lead { font-size: 16px; }
  .lp-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .lp-result { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .lp-result-art { width: 130px; }
  .lp-stats { justify-content: center; }
  .lp-result .lp-cta-row { justify-content: center; }
  .lp-fine.left { text-align: center; }
  .lp-quiz-card { padding: 18px 14px; }
  .lp-answers { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) { .lp-tiles { grid-template-columns: 1fr; } }
.lp-slide .lp-hero-fan img { width: 160px; margin-left: -80px; }
@media (max-width: 860px) {
  .lp-slide .lp-hero-fan { height: 180px; }
  .lp-slide .lp-hero-fan img { width: 96px; margin-left: -48px; top: 14px; }
}
