/* The front page (index.html): what Pigskin Pantheon is, the demo league,
   and the way in. Full width, unlike the league pages' sidebar layout; the
   league finder's own cards keep their styles from index.html.

   Phone first: one column with 16px gutters, then two columns from 900px. */

body.lp {
  --lp-navy: #071827;
  --lp-navy-2: #0d2238;
  --lp-navy-3: #102b43;
  --lp-gold: #f6b73c;
  --lp-gold-2: #ffd27a;
  --lp-red: #d71920;
  --lp-ink: #0b1726;
  --lp-muted: #586679;
  --lp-line: #dce3eb;
  --lp-page: #eef2f6;
  --lp-radius: 20px;
  --lp-ease: cubic-bezier(.2, .7, .2, 1);
  margin: 0;
  padding: 0;
  background: var(--lp-page);
  color: var(--lp-ink);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
body.lp * { box-sizing: border-box; }
html:has(body.lp) { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html:has(body.lp) { scroll-behavior: auto; } }

.lp-wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

.lp-skip {
  position: absolute; left: 16px; top: -60px; z-index: 300;
  padding: 10px 14px; border-radius: 10px; background: var(--lp-gold); color: var(--lp-navy);
  font-weight: 800; text-decoration: none;
}
.lp-skip:focus { top: 12px; }

/* ---- buttons ---- */
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: 14px;
  font-size: 16px; font-weight: 800; text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--lp-ease), box-shadow .2s var(--lp-ease), background-color .2s ease, border-color .2s ease;
}
.lp-btn:active { transform: translateY(1px); }
.lp-btn-gold {
  background: linear-gradient(180deg, var(--lp-gold-2), var(--lp-gold));
  color: var(--lp-navy);
  box-shadow: 0 10px 24px rgba(246, 183, 60, .28), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.lp-btn-gold:hover { box-shadow: 0 14px 30px rgba(246, 183, 60, .38), inset 0 1px 0 rgba(255, 255, 255, .5); transform: translateY(-1px); }
.lp-btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, .28); color: #fff; background: rgba(255, 255, 255, .06);
}
.lp-btn-ghost:hover { border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .1); }
.lp-btn-sm { min-height: 40px; padding: 0 16px; border-radius: 11px; font-size: 14px; }
.lp-btn:focus-visible, .lp-links a:focus-visible, .lp-faq summary:focus-visible {
  outline: 3px solid var(--lp-gold); outline-offset: 3px;
}

/* ---- the bar along the top ---- */
.lp-nav {
  position: sticky; top: 0; z-index: 120;
  background: rgba(7, 24, 39, .86);
  -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: #fff;
}
.lp-nav-inner { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.lp-logo {
  display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto;
  color: #fff; text-decoration: none;
  font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 21px;
  letter-spacing: .03em; text-transform: uppercase;
}
.lp-logo img { display: block; width: 36px; height: 36px; object-fit: contain; flex: 0 0 auto; }
.lp-nav .lp-logo { flex: 0 1 auto; min-width: 0; }
.lp-nav .lp-logo > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-nav-end { flex: 0 0 auto; }
.lp-logo .brand-accent, .lp .brand-accent { color: var(--lp-gold); }
.lp-links { display: none; gap: 4px; margin-left: 18px; }
.lp-links a {
  padding: 8px 12px; border-radius: 9px; color: rgba(255, 255, 255, .78);
  font-size: 14px; font-weight: 600; text-decoration: none;
}
.lp-links a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.lp-nav-end { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.lp-account { display: flex; }
.lp-account .acct-button { margin: 0; }
@media (max-width: 520px) {
  .lp-logo { font-size: 18px; gap: 8px; }
  .lp-logo img { width: 32px; height: 32px; }
  .lp-nav .lp-btn-sm { padding: 0 12px; font-size: 13px; }
  .lp-account .acct-button-label { display: none; }
  .lp-account .acct-button:has(.acct-button-label) { width: 40px; height: 40px; padding: 0; justify-content: center; border-radius: 50%; }
}
@media (max-width: 430px) {
  .lp-nav .lp-long { display: none; }
}
@media (max-width: 360px) {
  .lp-logo > span { display: none; }
}
@media (min-width: 900px) { .lp-links { display: flex; } }

/* ---- the hero ---- */
.lp-hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 520px at 85% 15%, rgba(23, 105, 224, .26), transparent 60%),
    radial-gradient(700px 480px at 10% 100%, rgba(246, 183, 60, .12), transparent 60%),
    repeating-linear-gradient(90deg, transparent 0 149px, rgba(255, 255, 255, .045) 149px 150px),
    linear-gradient(180deg, var(--lp-navy), var(--lp-navy-2));
  border-bottom: 4px solid var(--lp-red);
}
.lp-hero-grid { display: grid; gap: 40px; padding: 44px 0 56px; }
.lp-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px; border-radius: 999px;
  border: 1px solid rgba(246, 183, 60, .45); background: rgba(246, 183, 60, .1);
  color: var(--lp-gold-2); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.lp-dot { width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61, 220, 132, .18); }
.lp-hero h1 {
  margin: 18px 0 0;
  font-family: "Barlow Condensed", sans-serif; font-weight: 700; text-transform: uppercase;
  font-size: clamp(44px, 11vw, 84px); line-height: .92; letter-spacing: .005em;
}
.lp-hero h1 .brand-accent { display: block; }
.lp-lede { margin: 18px 0 0; max-width: 560px; color: #c3d0dc; font-size: 17.5px; line-height: 1.55; }
.lp-feats { display: grid; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.lp-feats li { display: flex; align-items: center; gap: 12px; color: #e6edf5; font-size: 17px; font-weight: 600; line-height: 1.35; }
.lp-feats span {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(246, 183, 60, .12); border: 1px solid rgba(246, 183, 60, .3); font-size: 17px;
}
@media (min-width: 560px) and (max-width: 899px), (min-width: 1100px) {
  .lp-feats { grid-template-columns: repeat(2, minmax(0, max-content)); column-gap: 22px; }
}
.lp-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.lp-hero .lp-ctas .lp-btn { flex: 1 1 220px; }
.lp-proof { display: grid; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; color: #aebdcc; font-size: 14px; font-weight: 600; }
.lp-proof li { display: flex; align-items: center; gap: 9px; }
.lp-proof svg { width: 18px; height: 18px; flex: 0 0 auto; padding: 2px; border-radius: 50%; background: rgba(61, 220, 132, .16); fill: none; stroke: #5be39a; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* A signed-in member's leagues, one tap back in */
.lp-welcome { margin-top: 18px; padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.lp-welcome > span { display: block; margin-bottom: 10px; color: #aebdcc; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.lp-welcome-list { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-welcome-list a {
  display: inline-flex; align-items: center; gap: 8px; max-width: 100%;
  padding: 8px 12px 8px 8px; border-radius: 12px; background: rgba(255, 255, 255, .1);
  color: #fff; font-size: 14px; font-weight: 700; text-decoration: none;
}
.lp-welcome-list a:hover { background: rgba(255, 255, 255, .16); }
.lp-welcome-list img, .lp-welcome-list i {
  width: 26px; height: 26px; border-radius: 8px; flex: 0 0 auto; object-fit: cover;
  display: inline-flex; align-items: center; justify-content: center; background: var(--lp-navy-3); font-style: normal; font-size: 13px;
}
.lp-welcome-list a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* the hero's picture: the site on a laptop and a phone */
.lp-hero-art { position: relative; padding: 0 0 18% 0; }
.lp-browser {
  position: relative; border-radius: 14px; overflow: hidden; background: #0d1420;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 30px 70px rgba(3, 10, 20, .45);
}
.lp-browser-bar {
  display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; background: #162233;
}
.lp-browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.lp-browser-bar i:nth-child(2) { background: #febc2e; }
.lp-browser-bar i:nth-child(3) { background: #28c840; }
.lp-browser-bar span {
  margin-left: 10px; flex: 1; min-width: 0; height: 17px; padding: 0 9px; border-radius: 5px;
  background: #0b1522; color: #8ea0b4; font-size: 10.5px; font-weight: 600; line-height: 17px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.lp-browser img { display: block; width: 100%; height: auto; }
.lp-phone {
  position: relative; padding: 7px; border-radius: 34px; background: #04070c;
  box-shadow: 0 30px 60px rgba(3, 10, 20, .5), inset 0 0 0 1.5px rgba(255, 255, 255, .12);
}
.lp-phone img { display: block; width: 100%; height: auto; border-radius: 27px; }
.lp-hero-phone { position: absolute; left: -2%; bottom: 0; width: 34%; }
.lp-hero-browser { margin-left: 12%; }
.lp-float {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-radius: 14px;
  background: rgba(255, 255, 255, .97); color: var(--lp-ink);
  box-shadow: 0 18px 40px rgba(3, 10, 20, .35);
  font-size: 13px; line-height: 1.35;
}
.lp-float b { font-weight: 800; }
.lp-float small { display: block; color: var(--lp-muted); font-size: 11.5px; font-weight: 600; }
.lp-float-ai { right: -1%; bottom: 4%; width: min(300px, 62%); }
.lp-float-mark {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--lp-navy);
}
.lp-float-mark svg { width: 16px; height: 16px; fill: var(--lp-gold); }
.lp-float-cup { right: 3%; top: -14px; padding: 9px 13px; }
.lp-float-emoji { font-size: 22px; }
@media (max-width: 480px) {
  .lp-float-cup { display: none; }
  .lp-float { font-size: 12px; padding: 9px 11px; }
  .lp-float-ai { width: 66%; right: -2%; bottom: 0; }
  .lp-hero-art { padding-bottom: 24%; }
}
@media (prefers-reduced-motion: no-preference) {
  .lp-float-ai { animation: lpBob 6s ease-in-out infinite; }
  .lp-float-cup { animation: lpBob 7s ease-in-out -2s infinite; }
}
@keyframes lpBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

@media (min-width: 900px) {
  .lp-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: 48px; padding: 70px 0 84px; }
  .lp-hero .lp-ctas .lp-btn { flex: 0 0 auto; }
  .lp-proof { grid-auto-flow: column; justify-content: start; gap: 18px; }
  .lp-proof li { white-space: nowrap; }
}
@media (min-width: 900px) and (max-width: 1100px) {
  .lp-proof { grid-auto-flow: row; }
}

/* ---- sections ---- */
.lp-section { padding: 64px 0; }
.lp-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.lp-head-left { margin: 0; text-align: left; }
.lp-kicker { display: inline-block; color: #1769e0; font-size: 12.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.lp h2 {
  margin: 10px 0 0;
  font-family: "Barlow Condensed", sans-serif; font-weight: 700; text-transform: uppercase;
  font-size: clamp(34px, 7vw, 54px); line-height: .98; letter-spacing: .005em;
}
.lp-head p { margin: 14px auto 0; color: var(--lp-muted); font-size: 17px; line-height: 1.55; }
.lp h3 {
  margin: 10px 0 0;
  font-family: "Barlow Condensed", sans-serif; font-weight: 700; text-transform: uppercase;
  font-size: clamp(28px, 5.4vw, 38px); line-height: 1; letter-spacing: .005em;
}

/* features: a picture beside its words, alternating sides on a wide screen */
.lp-feature { display: grid; gap: 26px; align-items: center; margin: 0 0 64px; }
.lp-feature-copy p { margin: 14px 0 0; color: var(--lp-muted); font-size: 16.5px; line-height: 1.6; }
.lp-feature-copy > h3:first-child, .lp-card h3:first-child { margin-top: 0; }
.lp-list { display: grid; gap: 9px; margin: 18px 0 0; padding: 0; list-style: none; }
.lp-list li { position: relative; padding-left: 28px; font-size: 15px; font-weight: 600; line-height: 1.45; }
.lp-list li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 19px; height: 19px; border-radius: 50%;
  background: rgba(22, 131, 74, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.6L12 5.4' fill='none' stroke='%2316834a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.lp-feature-art .lp-browser { box-shadow: 0 24px 60px rgba(7, 24, 39, .18); border-color: rgba(7, 24, 39, .1); }
.lp-art-phone { display: flex; justify-content: center; }
.lp-art-phone .lp-phone { width: min(320px, 78%); }
/* the conversation, not the empty screen under it */
.lp-art-phone .lp-phone img { aspect-ratio: 600 / 700; object-fit: cover; object-position: top; }
.lp-asks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.lp-asks span {
  padding: 9px 13px; border-radius: 14px 14px 14px 4px; background: #1769e0; color: #fff;
  font-size: 14px; font-weight: 600; line-height: 1.35;
}
.lp-asks span:nth-child(2) { background: #1d4f9c; }
.lp-asks span:nth-child(3) { background: var(--lp-navy-3); }

/* the trophy room's row is dark, like the room */
.lp-feature-dark {
  padding: 30px 18px; border-radius: 26px; color: #fff;
  background: radial-gradient(700px 400px at 70% 0%, rgba(246, 183, 60, .14), transparent 60%), linear-gradient(180deg, #0a1220, #070b12);
}
.lp-feature-dark .lp-feature-copy p { color: #b9c5d3; }
.lp-feature-dark .lp-list li { color: #e6edf5; }
.lp-art-stack { position: relative; padding-bottom: 22%; }
.lp-art-stack .lp-browser { box-shadow: 0 24px 60px rgba(0, 0, 0, .5); border-color: rgba(255, 255, 255, .1); }
.lp-art-stack .lp-inset { position: absolute; right: -4px; bottom: 0; width: 52%; }
.lp-art-stack > .lp-browser:first-child { width: 88%; }

@media (min-width: 900px) {
  .lp-feature { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; margin-bottom: 96px; }
  .lp-feature-flip .lp-feature-copy { order: 2; }
  .lp-feature-flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .lp-feature-ai { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); }
  .lp-feature-ai .lp-feature-copy { order: 0; }
  .lp-feature-dark { padding: 48px; }
  .lp-section { padding: 96px 0; }
}

/* front office and player history, side by side */
.lp-duo { display: grid; gap: 18px; margin-bottom: 56px; }
.lp-card {
  overflow: hidden; padding: 24px 22px 0; border-radius: var(--lp-radius);
  background: #fff; border: 1px solid var(--lp-line);
}
.lp-card p { margin: 12px 0 20px; color: var(--lp-muted); font-size: 15.5px; line-height: 1.55; }
.lp-card .lp-browser { margin: 0 -4px -14px; border-radius: 12px 12px 0 0; box-shadow: 0 -8px 30px rgba(7, 24, 39, .1); border-color: rgba(7, 24, 39, .1); }
.lp-card-phone { display: grid; gap: 4px; background: linear-gradient(180deg, #fff, #f2f5fa); }
.lp-phone-sm { width: min(250px, 72%); margin: 0 auto -60px; }
.lp-phone-sm img { aspect-ratio: 600 / 860; object-fit: cover; object-position: top; }
@media (min-width: 900px) {
  .lp-duo { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .lp-card { padding: 30px 30px 0; }
  .lp-card-phone { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: start; gap: 18px; }
  .lp-phone-sm { width: 100%; margin: 0 0 -70px; align-self: end; }
}

.lp-more h3 { font-size: 26px; text-align: center; }
.lp-more-grid { display: grid; gap: 12px; margin-top: 22px; }
.lp-more-grid div { padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--lp-line); }
.lp-more-grid strong { display: block; font-size: 15px; }
.lp-more-grid span { display: block; margin-top: 4px; color: var(--lp-muted); font-size: 14px; line-height: 1.45; }
@media (min-width: 640px) { .lp-more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .lp-more-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---- how it works ---- */
.lp-steps { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.lp-steps li { position: relative; padding: 24px 22px; border-radius: var(--lp-radius); background: #fff; border: 1px solid var(--lp-line); }
.lp-step-n {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--lp-navy); color: var(--lp-gold);
  font-family: "Barlow Condensed", sans-serif; font-size: 24px; font-weight: 700;
}
.lp-steps h3 { margin-top: 14px; font-size: 28px; }
.lp-steps p { margin: 8px 0 0; color: var(--lp-muted); font-size: 15.5px; line-height: 1.55; }
@media (min-width: 820px) { .lp-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }

/* ---- the league finder ---- */
.lp-find { padding: 56px 0 64px; background: linear-gradient(180deg, #e6ecf3, var(--lp-page)); border-top: 1px solid var(--lp-line); }
.lp-find-grid { display: grid; gap: 22px; }
.lp-find-copy p { margin: 12px 0 0; color: var(--lp-muted); font-size: 16.5px; line-height: 1.55; }
.lp-find-copy h2 { font-size: clamp(36px, 7vw, 52px); }
.lp-demo-mini { display: inline-block; margin-top: 14px; color: #1352b0; font-size: 15px; font-weight: 700; text-decoration: none; }
.lp-demo-mini:hover { text-decoration: underline; }
.lp-find-stack { min-width: 0; }
.lp-find-stack .card { box-shadow: 0 14px 34px rgba(7, 24, 39, .08); }
@media (min-width: 980px) {
  .lp-find { padding: 88px 0 96px; }
  .lp-find-grid { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 48px; align-items: start; }
  .lp-find-copy { position: sticky; top: 96px; }
}

/* ---- questions ---- */
.lp-faq { background: #fff; border-top: 1px solid var(--lp-line); }
.lp-faq-grid { display: grid; gap: 26px; }
.lp-faq-list { display: grid; gap: 10px; }
.lp-faq details { border: 1px solid var(--lp-line); border-radius: 16px; background: var(--lp-page); }
.lp-faq summary {
  position: relative; padding: 18px 52px 18px 20px; cursor: pointer; list-style: none;
  font-size: 16.5px; font-weight: 700; border-radius: 16px;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2.5px solid #1769e0; border-bottom: 2.5px solid #1769e0; transform: rotate(45deg);
  transition: transform .25s var(--lp-ease);
}
.lp-faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.lp-faq details p { margin: 0; padding: 0 20px 18px; color: var(--lp-muted); font-size: 15.5px; line-height: 1.6; }
@media (min-width: 900px) { .lp-faq-grid { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 48px; } }

/* ---- the last word ---- */
.lp-final {
  padding: 72px 0; color: #fff; text-align: center;
  background: radial-gradient(600px 300px at 50% 0%, rgba(246, 183, 60, .18), transparent 70%), var(--lp-navy);
}
.lp-final-inner { display: grid; justify-items: center; gap: 6px; }
.lp-final img { width: 64px; height: 64px; object-fit: contain; }
.lp-final h2 { max-width: 760px; }
.lp-final .lp-ctas { justify-content: center; }

/* (the site's footer rule is written to win, so this one matches it) */
body.lp:not(#_) .lp-footer { margin: 0; padding: 28px 0 40px; background: var(--lp-navy); color: #8597aa; font-size: 13px; border-top: 1px solid rgba(255, 255, 255, .08); }
body.lp:not(#_) .lp-footer::before { display: none; }
body.lp:not(#_) .lp-footer a { color: #c3d0dc; }
body.lp:not(#_) .lp-footer .lp-logo { color: #fff; text-decoration: none; }
.lp-footer-inner { display: grid; gap: 12px; justify-items: center; text-align: center; }
.lp-footer p { margin: 0; font-size: 13px; line-height: 1.5; }
.lp-logo-sm { font-size: 17px; }
.lp-logo-sm img { width: 28px; height: 28px; }

/* ads stay in the page for later, hidden while they're switched off */
.lp .ad-wrap.ad-bottom { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
