/* =========================================================
   NFL Parlay — Dimensional Layering Theme
   Palette: #ffffff / #f5f5f5 / #1f1f1f
   Fonts: Syne (headings) + Manrope (body)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700&family=Syne:wght@400;500;600;700&display=swap');

/* --- Reset & base ---------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white:   #ffffff;
  --off:     #f5f5f5;
  --ink:     #1f1f1f;
  --ink-60:  rgba(31,31,31,.6);
  --ink-12:  rgba(31,31,31,.12);
  --accent:  #1f1f1f;
  --accent-2: #555;

  /* Elevation scale */
  --shadow-sm:  0 2px 6px rgba(0,0,0,.08);
  --shadow-md:  0 6px 18px rgba(0,0,0,.12);
  --shadow-lg:  0 14px 40px rgba(0,0,0,.16);
  --shadow-xl:  0 24px 64px rgba(0,0,0,.22);

  --radius-card: 18px;
  --radius-sm:   8px;
  --col-max: 1200px;
  --content-max: 740px;
  --sidebar-w: 240px;
  --gap: 2rem;
  --header-h: 112px;

  font-size: 16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--off);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Syne', system-ui, sans-serif;
  line-height: 1.2;
  color: var(--ink);
}
h1 { font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.3rem, 3vw, 2rem); font-weight: 700; margin-top: 2.5rem; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); font-weight: 600; margin-top: 2rem; }
h4 { font-size: 1.1rem; font-weight: 600; margin-top: 1.5rem; }

p { margin-top: 1rem; }
a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
a:hover { opacity: .7; }

ul, ol { padding-left: 1.5rem; margin-top: .75rem; }
li { margin-top: .4rem; }
img { display: block; max-width: 100%; height: auto; }
hr { border: none; border-top: 2px solid var(--ink); margin: 1rem 0; }

/* --- Site wrapper --------------------------------------- */
.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--off);
}

/* =========================================================
   HEADER — two-row dimensional
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.header-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .6rem 1.5rem;
  border-bottom: 1px solid var(--ink-12);
  min-height: 56px;
}

.brand {
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: .5rem;
  white-space: nowrap;
}
.brand img { border-radius: 4px; }

/* CTA area (header right) */
.header-ctas {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
}

/* CTA buttons */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.25rem;
  border-radius: var(--radius-sm);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: .875rem;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .15s, box-shadow .15s, opacity .15s;
}
.cta-signup {
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.cta-signup:hover {
  opacity: .85;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.cta-login {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
}
.cta-login:hover {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-1px);
}

/* Burger / toggle */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 2px solid var(--ink-12);
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-shrink: 0;
}
.burger,
.burger::before,
.burger::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  transition: transform .2s;
}
.burger::before,
.burger::after {
  content: '';
  position: absolute;
  left: 0;
}
.burger::before { top: -6px; }
.burger::after  { top: 6px; }

/* Header nav row */
.header-nav-row {
  padding: 0 1.5rem;
  background: var(--white);
  min-height: 56px;
  display: flex;
  align-items: center;
}

/* --- Nav details/summary (mobile collapsed) ------------- */
.nav-details { display: none; }
.nav-summary {
  list-style: none;
  cursor: pointer;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: .875rem;
  padding: .75rem 0;
  user-select: none;
}
.nav-summary::-webkit-details-marker { display: none; }

.nav-menu {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--ink-12);
  box-shadow: var(--shadow-lg);
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 200;
}
.nav-menu li a {
  display: block;
  padding: .9rem 1.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  border-bottom: 1px solid var(--ink-12);
  min-height: 44px;
}
.nav-menu li a:hover { background: var(--off); }

/* Desktop inline nav */
.nav-inline {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding: 0;
  flex-wrap: nowrap;
  overflow: hidden;
}
.nav-inline li a {
  text-decoration: none;
  font-family: 'Manrope', sans-serif;
  font-size: .875rem;
  font-weight: 600;
  white-space: nowrap;
  padding: .5rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color .15s;
}
.nav-inline li a:hover { border-bottom-color: var(--ink); }

.primary-nav { position: relative; width: 100%; }

/* =========================================================
   MAIN CONTENT WRAPPER — sidebar left, content right
   ========================================================= */
main { flex: 1; }

.content-with-sidebar {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  gap: var(--gap);
  max-width: var(--col-max);
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  align-items: start;
}

/* =========================================================
   SIDEBAR (left, dimensional cards)
   ========================================================= */
.sidebar {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  z-index: 2;
}

.sidebar-card {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
  padding: 1.25rem 1rem;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--ink);
  transition: box-shadow .2s, transform .2s;
}
.sidebar-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255,255,255,.6) 0%, transparent 70%);
  pointer-events: none;
  border-radius: inherit;
}
.sidebar-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.sidebar-label {
  font-family: 'Syne', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-60);
  margin: 0 0 .75rem;
}

.sidebar-toc {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-toc li { margin: 0; }
.sidebar-toc li a {
  display: block;
  font-size: .875rem;
  font-weight: 500;
  padding: .45rem 0;
  text-decoration: none;
  border-bottom: 1px solid var(--ink-12);
  min-height: 44px;
  display: flex;
  align-items: center;
}
.sidebar-toc li:last-child a { border-bottom: none; }
.sidebar-toc li a:hover { color: var(--ink); text-decoration: underline; }

.sidebar-rg { background: var(--off); }
.rg-text {
  font-size: .78rem;
  color: var(--ink-60);
  line-height: 1.5;
  margin: 0;
}

.sidebar-btn {
  width: 100%;
  margin-top: .5rem;
}

/* =========================================================
   CONTENT BODY
   ========================================================= */
.content-body {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  padding: 2rem 2.25rem 2.5rem;
  position: relative;
  z-index: 1;
  max-width: 100%;
}

.content-body h2 + hr { margin-top: .25rem; }
.content-body a { color: var(--ink); }

/* =========================================================
   HOME PAGE — Hero
   ========================================================= */
.main-home { background: var(--off); }

.hero-section {
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: var(--col-max);
  margin: 0 auto;
  min-height: 45vh;
  padding: 2.5rem 1.5rem;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-media {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transform: translateZ(0);
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-card);
}

.floating-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: var(--white);
  color: var(--ink);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .08em;
  padding: .35rem .75rem;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  z-index: 5;
}

.hero-copy {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
  color: var(--white);
}
.hero-copy h1 {
  color: var(--white);
  text-wrap: balance;
}
.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.8);
  margin: 0;
  max-width: 36ch;
}
.hero-cta {
  background: var(--white);
  color: var(--ink);
}
.hero-cta:hover {
  background: var(--off);
  color: var(--ink);
  opacity: 1;
}

.eyebrow {
  font-family: 'Syne', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-60);
  display: block;
}
.hero-copy .eyebrow { color: rgba(255,255,255,.6); }

/* Child-page guides (home) */
.child-cards, .extra-guides {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ink-12);
}
.section-label {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 .25rem;
}

/* Guide DL list (child-page list) — dl > dt > a + dd */
.guide-dl {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
  list-style: none;
  padding: 0;
}
.guide-dl-item {
  background: var(--off);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  border-bottom: 3px solid var(--ink);
  padding: 1.25rem 1rem;
  transition: box-shadow .2s, transform .2s;
  position: relative;
  overflow: hidden;
}
.guide-dl-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.guide-dl-item dt {
  margin: 0;
  font-weight: 700;
  font-size: .95rem;
}
.guide-dl-item dt a {
  text-decoration: none;
  color: var(--ink);
  font-family: 'Syne', sans-serif;
}
.guide-dl-item dt a:hover { text-decoration: underline; }
.guide-dl-item dd {
  margin: .4rem 0 0;
  font-size: .85rem;
  color: var(--ink-60);
  line-height: 1.5;
}

/* =========================================================
   GUIDE PAGE
   ========================================================= */
.guide-hero-wrap {
  position: relative;
  max-height: 280px;
  overflow: hidden;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
  z-index: 1;
  margin-bottom: 1.5rem;
}
.guide-hero-img {
  width: 100%;
  object-fit: cover;
  display: block;
}
.guide-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(31,31,31,.55));
}

.guide-title-block,
.faq-title-block,
.inner-title-block {
  padding: 2rem 1.5rem 0;
  max-width: var(--col-max);
  margin: 0 auto;
}

.guide-header-section { background: var(--white); }
.guide-body-section,
.faq-body-section,
.inner-body-section { background: var(--off); }

/* =========================================================
   FAQ PAGE
   ========================================================= */
.faq-body details {
  border: 1px solid var(--ink-12);
  border-radius: var(--radius-sm);
  margin-top: 1rem;
  background: var(--off);
  transition: box-shadow .15s;
}
.faq-body details[open] { box-shadow: var(--shadow-sm); }
.faq-body details summary {
  font-weight: 600;
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  list-style: none;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.faq-body details summary::-webkit-details-marker { display: none; }
.faq-body details > :not(summary) {
  padding: 0 1.25rem 1.25rem;
  font-size: .95rem;
}

/* =========================================================
   ABOUT PAGE — author section
   ========================================================= */
.author-section {
  margin-top: 2rem;
  padding: 1.75rem;
  background: var(--off);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
  border-bottom: 3px solid var(--ink);
  position: relative;
  overflow: hidden;
}
.author-name-lg {
  font-family: 'Syne', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin: .5rem 0 .25rem;
}
.author-credentials {
  font-size: .85rem;
  color: var(--ink-60);
  font-style: italic;
  margin-bottom: .75rem;
}
.author-bio {
  font-size: .95rem;
  line-height: 1.7;
}

/* =========================================================
   BYLINE
   ========================================================= */
.byline {
  font-size: .875rem;
  color: var(--ink-60);
  margin: .75rem 0 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .25rem;
}
.author-name { font-weight: 600; color: var(--ink); }

/* =========================================================
   INNER PAGES (privacy / about / trust)
   ========================================================= */
.inner-header-section { background: var(--white); padding-bottom: 1.5rem; }
.inner-body-section { background: var(--off); }

/* =========================================================
   FOOTER — four columns, dimensional
   ========================================================= */
.site-footer {
  background: var(--ink);
  color: var(--white);
  margin-top: auto;
  box-shadow: inset 0 4px 20px rgba(0,0,0,.25);
  position: relative;
  z-index: 10;
}

.footer-inner {
  max-width: var(--col-max);
  margin: 0 auto;
  padding: 3rem 1.5rem 0;
}

.footer-nav {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr 2fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.footer-brand-col .brand {
  color: var(--white);
  font-size: 1.1rem;
}
.footer-desc {
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  margin-top: .75rem;
  line-height: 1.6;
}

.footer-col-head {
  font-family: 'Syne', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: .75rem;
}

.footer-links-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links-col ul li { margin: 0; }
.footer-links-col ul li a {
  display: block;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  font-size: .85rem;
  padding: .35rem 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: color .15s;
}
.footer-links-col ul li:last-child a { border-bottom: none; }
.footer-links-col ul li a:hover { color: var(--white); }

.footer-rg-col .rg-text {
  font-size: .78rem;
  color: rgba(255,255,255,.45);
  line-height: 1.6;
}
.footer-rg-col .footer-col-head { color: rgba(255,255,255,.45); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  padding: 1.25rem 0 1.5rem;
}
.footer-copy {
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}
.footer-trust {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
}
.footer-trust a {
  color: rgba(255,255,255,.6);
  text-decoration: underline;
}
.footer-trust a:hover { color: var(--white); }

/* =========================================================
   CARD elevation layer (generic utility)
   ========================================================= */
.card-layer {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
  transform: translateZ(0);
}

/* =========================================================
   TABLES (ranking / payout)
   ========================================================= */
.content-body table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.25rem;
  font-size: .9rem;
}
.content-body th {
  background: var(--ink);
  color: var(--white);
  text-align: left;
  padding: .75rem 1rem;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .05em;
}
.content-body td {
  padding: .65rem 1rem;
  border-bottom: 1px solid var(--ink-12);
}
.content-body tr:nth-child(even) td { background: var(--off); }
.content-body tr:hover td { background: rgba(31,31,31,.04); }

/* =========================================================
   MOTION — hover micro-interactions
   Disabled under prefers-reduced-motion
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  .guide-dl-item,
  .sidebar-card,
  .cta {
    will-change: transform, box-shadow;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* =========================================================
   RESPONSIVE — ≤ 1024px: shrink sidebar
   ========================================================= */
@media (max-width: 1024px) {
  :root { --sidebar-w: 200px; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .hero-inner { gap: 1.25rem; }
}

/* =========================================================
   RESPONSIVE — ≤ 768px: collapse to mobile
   ========================================================= */
@media (max-width: 768px) {

  /* Show burger, hide desktop nav */
  .nav-toggle { display: flex; }
  .header-nav-row { display: none; }
  .nav-inline { display: none; }

  /* Mobile: show details/summary nav in overlay */
  .header-nav-row.nav-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    z-index: 300;
    padding: 0;
  }
  .header-nav-row.nav-open .nav-details { display: block; width: 100%; }
  .header-nav-row.nav-open .nav-inline { display: none; }

  /* Header height */
  .header-brand-row { min-height: 56px; padding: .5rem 1rem; }
  .site-header { --header-h: 56px; }

  /* CTA on mobile: smaller text, same min-height */
  .cta { font-size: .8rem; padding: 0 .75rem; min-height: 44px; }

  /* Stack sidebar below content on mobile */
  .content-with-sidebar {
    grid-template-columns: 1fr;
    padding: 1.25rem 1rem 2rem;
  }
  .sidebar {
    position: static;
    order: 2;
  }
  .content-body { order: 1; padding: 1.25rem 1.1rem; }

  /* Hero */
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 2rem 1rem;
  }
  .hero-copy { text-align: left; align-items: flex-start; }
  .hero-media { max-height: 200px; }

  /* Footer */
  .footer-nav {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
  }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  /* Guide dl */
  .guide-dl { grid-template-columns: 1fr; }

  /* Body padding */
  .guide-title-block,
  .faq-title-block,
  .inner-title-block { padding: 1.25rem 1rem 0; }
}

/* =========================================================
   RESPONSIVE — ≤ 480px: fine-tune
   ========================================================= */
@media (max-width: 480px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.2rem; }
  .brand { font-size: 1rem; }
  .content-body { padding: 1rem .85rem; }
}

a[data-cta],button[aria-controls]{min-height:44px;min-width:44px;box-sizing:border-box}main p a{text-decoration:underline}