/* ============================================================
   TN Sportsbook Promo — Editorial Grid Stylesheet
   Noto Sans Hebrew · Black & White · Print-inspired
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Hebrew:wght@300;400;500;700&display=swap');

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

:root {
  --ink: #000000;
  --paper: #ffffff;
  --rule: #000000;
  --muted: #555555;
  --faint: #e8e8e8;
  --accent: #000000;
  --neon: #c8ff00;
  --felt: #0a1a0a;
  --radius-card: 18px;
  --col-max: 780px;
  --gap: 1.5rem;
  --font: 'Noto Sans Hebrew', system-ui, -apple-system, sans-serif;
  --header-h: 100px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); }
a:hover { text-decoration: underline; }

/* ── Site Wrapper ───────────────────────────────────────── */
.site-wrapper { min-height: 100vh; display: flex; flex-direction: column; }

/* ── Header ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  border-bottom: 2px solid var(--rule);
}

.header-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--paper);
}

.logo-mark { border-radius: 4px; }

.brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--paper);
  white-space: nowrap;
}

.header-contact { display: flex; align-items: center; gap: 1rem; }

.header-age-notice {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--neon);
  padding: 0.2rem 0.55rem;
  border: 1px solid var(--neon);
  border-radius: 4px;
}

.header-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Primary Nav ────────────────────────────────────────── */
.primary-nav { flex: 1; overflow-x: auto; }

.primary-nav ol {
  display: flex;
  list-style: none;
  gap: 0.15rem;
  padding: 0.45rem 0;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.primary-nav ol li { flex-shrink: 0; }

.primary-nav ol li a {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  min-height: 44px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--paper);
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: background 0.2s, border-color 0.2s;
}

.primary-nav ol li a:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.5);
  text-decoration: none;
}

/* ── Header CTA Buttons ─────────────────────────────────── */
.header-ctas {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
  padding: 0.45rem 0;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.2rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.18s, background 0.18s;
}

.cta-signup {
  background: var(--neon);
  color: var(--ink);
  border: 2px solid var(--neon);
}

.cta-signup:hover { opacity: 0.88; text-decoration: none; }

.cta-login {
  background: transparent;
  color: var(--paper);
  border: 2px solid rgba(255,255,255,0.6);
}

.cta-login:hover { border-color: var(--paper); text-decoration: none; }

/* ── Hero ───────────────────────────────────────────────── */
.hero--home {
  position: relative;
  min-height: 70vh;
  background: var(--felt);
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
}

.hero-figure {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 4rem 2rem 5rem;
  max-width: 680px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.7rem;
  border: 1px solid var(--neon);
  border-radius: 4px;
}

.hero-h1 {
  font-size: clamp(1.9rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--paper);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.hero-deck {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  max-width: 520px;
  line-height: 1.6;
}

.hero-curve {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  z-index: 3;
  height: 60px;
  background: var(--paper);
  clip-path: ellipse(60% 100% at 50% 100%);
}

/* ── Review Hero ────────────────────────────────────────── */
.review-hero {
  position: relative;
  height: 38vh;
  max-height: 340px;
  overflow: hidden;
  background: var(--felt);
}

.review-hero-figure { margin: 0; height: 100%; }

.review-hero-img { width: 100%; height: 100%; object-fit: cover; }

/* ── Page Layout: aside + content ──────────────────────── */
.home-main,
.ranking-main,
.compare-main,
.review-main,
.faq-main,
.about-main,
.privacy-main,
.data-main {
  flex: 1;
  width: 100%;
}

.home-article,
.ranking-article,
.compare-article,
.review-article,
.faq-article,
.about-article,
.privacy-article,
.data-article {
  display: grid;
  grid-template-columns: 220px 1fr;
  grid-template-areas: "aside content";
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
  gap: 2.5rem;
  align-items: start;
}

/* Aside on the left */
.page-aside,
.home-aside {
  grid-area: aside;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  align-self: start;
}

/* Content on the right */
.home-content,
.ranking-content,
.compare-content,
.review-content,
.faq-content,
.about-content,
.privacy-content,
.data-content {
  grid-area: content;
  min-width: 0;
}

/* ── Aside Inner ────────────────────────────────────────── */
.aside-inner {
  background: var(--faint);
  border: 1px solid var(--ink);
  border-radius: var(--radius-card);
  padding: 1.25rem;
  font-size: 0.85rem;
}

.aside-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.aside-nav-list,
.aside-links,
.rank-toc {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.aside-nav-list li,
.aside-links li,
.rank-toc li {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.aside-nav-list li a,
.aside-links li a {
  display: block;
  padding: 0.5rem 0;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.82rem;
  line-height: 1.35;
}

.aside-nav-list li a:hover,
.aside-links li a:hover { text-decoration: underline; }

.rank-toc li {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.45rem 0;
  font-size: 0.82rem;
}

.rank-num {
  display: inline-block;
  min-width: 1.4rem;
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--muted);
}

.aside-quick-nav { margin-top: 1rem; }

.aside-quick-nav a {
  display: block;
  padding: 0.4rem 0;
  font-size: 0.82rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.aside-quick-nav a:hover { text-decoration: underline; }

.aside-rg { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(0,0,0,0.12); }

.rg-notice {
  font-size: 0.7rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ── Page Header ────────────────────────────────────────── */
.page-header { margin-bottom: 2rem; }

.page-header h1 {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin-bottom: 0.5rem;
}

.page-header hr {
  border: none;
  border-top: 3px solid var(--ink);
  margin: 0.75rem 0 1rem;
}

.page-deck {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 640px;
}

.stage-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--faint);
  border-radius: 4px;
}

.review-eyebrow,
.faq-eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper);
  padding: 0.2rem 0.65rem;
  margin-bottom: 0.65rem;
  border-radius: 3px;
}

/* ── Byline ─────────────────────────────────────────────── */
.byline {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.byline strong { color: var(--ink); }
.byline time { font-style: normal; }

/* ── Prose ──────────────────────────────────────────────── */
.prose {
  max-width: var(--col-max);
  font-size: 1rem;
  line-height: 1.75;
}

.prose > p:first-of-type::first-letter {
  font-size: 3.2em;
  font-weight: 700;
  float: left;
  line-height: 0.85;
  margin: 0.05em 0.1em 0 0;
  color: var(--ink);
  font-family: var(--font);
}

.prose h2 {
  font-size: 1.45rem;
  font-weight: 700;
  margin: 2.25rem 0 0;
  letter-spacing: -0.01em;
}

.prose h2 + hr {
  border: none;
  border-top: 2px solid var(--ink);
  margin: 0.4rem 0 1rem;
}

.prose h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 1.75rem 0 0.5rem;
}

.prose h3 + hr {
  border: none;
  border-top: 1px solid var(--faint);
  margin: 0.25rem 0 0.75rem;
}

.prose p { margin: 0.9rem 0; }

.prose a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose a:hover { opacity: 0.7; }

.prose ul, .prose ol {
  padding-left: 1.5rem;
  margin: 0.9rem 0;
}

.prose li { margin: 0.35rem 0; }

.prose blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.75rem;
  border-left: 4px solid var(--ink);
  background: var(--felt);
  color: var(--neon);
  font-size: 1.15rem;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.01em;
  border-radius: 0 8px 8px 0;
}

.prose blockquote p { margin: 0; color: var(--neon); }

/* Neon data tables */
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  background: var(--felt);
  color: var(--neon);
  border-radius: 8px;
  overflow: hidden;
}

.prose table th {
  background: var(--ink);
  color: var(--neon);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  padding: 0.8rem 1rem;
  text-align: left;
  border-bottom: 2px solid var(--neon);
}

.prose table td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid rgba(200,255,0,0.15);
  color: var(--paper);
}

.prose table tr:last-child td { border-bottom: none; }

.prose table tr:hover td { background: rgba(200,255,0,0.05); }

.prose figure {
  margin: 1.5rem 0;
}

.prose figcaption {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.5rem;
  font-style: italic;
}

.prose hr {
  border: none;
  border-top: 1px solid var(--faint);
  margin: 2rem 0;
}

.prose strong { font-weight: 700; }
.prose em { font-style: italic; }

/* ── Child Cards (home) ─────────────────────────────────── */
.child-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

.child-card {
  display: flex;
  flex-direction: column;
  flex: 1 1 240px;
  max-width: 340px;
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius-card);
  text-decoration: none;
  color: var(--ink);
  transition: background 0.18s;
}

.child-card:hover { background: var(--faint); text-decoration: none; }

.child-card > strong {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.45rem;
  display: block;
}

.child-card > span {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
}

/* ── Author Section ─────────────────────────────────────── */
.author-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 3px solid var(--ink);
}

.author-section h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.author-section hr {
  border: none;
  border-top: 2px solid var(--ink);
  margin: 0.4rem 0 1.25rem;
}

.author-card {
  padding: 1.5rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius-card);
  background: var(--faint);
}

.author-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.author-credentials {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.author-bio {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink);
}

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  margin-top: auto;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  padding: 2rem 1.25rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.footer-col {
  flex: 1 1 160px;
  min-width: 140px;
}

.footer-col dt {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 0.65rem;
}

.footer-col dd {
  margin: 0 0 0.4rem;
}

.footer-col dd a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.15s;
}

.footer-col dd a:hover {
  color: var(--paper);
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: center;
}

.footer-rg {
  font-size: 0.78rem;
  color: var(--neon);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}

.footer-trust {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}

.footer-trust a {
  color: rgba(255,255,255,0.6);
  text-decoration: underline;
}

.footer-trust a:hover { color: var(--paper); }

/* ── Ranking-specific ───────────────────────────────────── */
.ranking-prose table th { background: var(--ink); }

/* ── Compare layout ─────────────────────────────────────── */
.compare-prose table { font-size: 0.88rem; }

/* ── Scroll reveal animations ───────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .prose h2,
  .prose h3,
  .child-card,
  .author-card {
    animation: fadeUp 0.45s ease both;
  }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .home-article,
  .ranking-article,
  .compare-article,
  .review-article,
  .faq-article,
  .about-article,
  .privacy-article,
  .data-article {
    grid-template-columns: 1fr;
    grid-template-areas: "aside" "content";
    padding: 1.5rem 1rem;
    gap: 1.5rem;
  }

  .page-aside,
  .home-aside {
    position: static;
  }
}

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

  .header-nav-row { flex-direction: column; align-items: flex-start; padding: 0.5rem 1rem; }

  .primary-nav ol { gap: 0.25rem; padding: 0.3rem 0; }

  .primary-nav ol li a { font-size: 0.72rem; padding: 0.4rem 0.65rem; }

  .header-ctas { padding: 0.3rem 0 0.5rem; width: 100%; }

  .cta { font-size: 0.75rem; padding: 0 0.9rem; min-height: 44px; }

  .hero--home { min-height: 60vh; }

  .hero-copy { padding: 2.5rem 1rem 4rem; }

  .hero-h1 { font-size: 1.7rem; }

  .child-cards { flex-direction: column; }

  .child-card { max-width: 100%; }

  .footer-inner { flex-direction: column; gap: 1.25rem; }

  .page-header h1 { font-size: 1.5rem; }

  .prose > p:first-of-type::first-letter {
    font-size: 2.5em;
  }
}

@media (max-width: 375px) {
  .brand-name { font-size: 0.88rem; }
  .header-brand-row { padding: 0.4rem 0.75rem; }
  .header-nav-row { padding: 0.4rem 0.75rem; }
}

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