/* =============================================
   PLATAFORMA 56D BET — style.css
   Monochrome black/white, geometric sans-serif
   ============================================= */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  background: #fff;
  color: #000;
}

a {
  color: #000;
  text-decoration: underline;
}

a:hover { text-decoration: none; }

img { display: block; max-width: 100%; height: auto; }

/* --- Site Wrap --- */
.site-wrap {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #000;
  color: #fff;
  border-bottom: 2px solid #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  height: 60px;
}

/* Brand link — must have ≥44px tap area */
.brand {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  /* tap area */
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 0;
}

.brand:hover { color: #ccc; text-decoration: none; }

/* CTA buttons in header */
.header-cta {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.cta-signup {
  background: #fff;
  color: #000;
  border: 2px solid #fff;
}

.cta-signup:hover { background: #e0e0e0; border-color: #e0e0e0; color: #000; }

.cta-login {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.cta-login:hover { background: #fff; color: #000; }

/* Nav toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: 2px solid #fff;
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  transition: transform 0.2s, opacity 0.2s;
}

/* Nav — collapsed by default on mobile */
#main-nav {
  display: none;
  background: #1a1a1a;
  border-top: 1px solid #333;
}

#main-nav.is-open { display: block; }

#main-nav ol {
  list-style: none;
  padding: 8px 0;
}

#main-nav ol li a {
  display: block;
  padding: 12px 16px;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  border-bottom: 1px solid #2a2a2a;
  min-height: 44px;
  display: flex;
  align-items: center;
}

#main-nav ol li a:hover { background: #2a2a2a; }

/* Desktop nav */
@media (min-width: 769px) {
  .nav-toggle { display: none; }

  #main-nav {
    display: block;
    background: #000;
    border-top: none;
  }

  #main-nav ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    padding: 0 16px;
  }

  #main-nav ol li a {
    padding: 10px 14px;
    font-size: 0.82rem;
    border-bottom: none;
    border-right: 1px solid #222;
    min-height: 40px;
  }
}

/* =============================================
   FOOTER — only p + small inside
   ============================================= */
.site-footer {
  background: #000;
  color: #fff;
  padding: 24px 16px;
  margin-top: auto;
}

.footer-rg {
  font-size: 0.8rem;
  color: #aaa;
  margin-bottom: 12px;
  line-height: 1.5;
}

.footer-trust {
  font-size: 0.82rem;
  margin-bottom: 12px;
  line-height: 1.8;
}

/* Trust links — must have ≥44px tap area */
.footer-trust a {
  color: #fff;
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 8px;
  margin: 2px 0;
}

.footer-trust a:hover { color: #ccc; }

.footer-copy {
  display: block;
  font-size: 0.75rem;
  color: #666;
}

/* =============================================
   SIDEBAR
   ============================================= */
.sidebar-left {
  width: 200px;
  flex-shrink: 0;
  padding: 16px;
  border-right: 1px solid #e0e0e0;
}

.sidebar-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 12px;
}

.sidebar-links {
  list-style: none;
}

.sidebar-links li a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 0;
  font-size: 0.85rem;
  color: #000;
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
}

.sidebar-links li a:hover { text-decoration: underline; }

.sidebar-about { margin-top: 16px; font-size: 0.85rem; }
.sidebar-about a { color: #000; }

/* =============================================
   HOME LAYOUT
   ============================================= */
.home-main { flex: 1; }

/* Hero div */
.hero-section {
  display: flex;
  gap: 24px;
  padding: 32px 16px 24px;
  border-bottom: 2px solid #000;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-figure {
  flex: 1;
}

.hero-h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.hero-aside {
  width: 220px;
  flex-shrink: 0;
  border-left: 2px solid #000;
  padding-left: 16px;
}

.hero-aside .eyebrow,
.hero-aside .sidebar-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 10px;
}

.toc-list {
  list-style: none;
}

.toc-list li {
  border-bottom: 1px solid #e0e0e0;
}

.toc-list li a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 0;
  font-size: 0.85rem;
  text-decoration: none;
  color: #000;
}

.toc-list li a:hover { text-decoration: underline; }

/* Content div — sidebar + body */
.content-section {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 24px 16px;
  gap: 0;
  border-bottom: 1px solid #e0e0e0;
}

/* Child pages */
.child-pages-section {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 32px 16px;
}

.section-fig {
  margin-bottom: 20px;
}

.section-title {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.child-cards-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.child-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border: 2px solid #000;
  border-radius: 10px;
  text-decoration: none;
  color: #000;
  flex: 1 1 220px;
  min-height: 80px;
  transition: background 0.15s;
}

.child-card:hover { background: #f5f5f5; text-decoration: none; }

.child-card strong {
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.3;
}

.child-card span {
  font-size: 0.8rem;
  color: #555;
  line-height: 1.4;
}

/* =============================================
   INNER PAGES (about, privacy, contact)
   ============================================= */
.inner-main { flex: 1; }

.inner-header-section {
  display: flex;
  gap: 24px;
  padding: 32px 16px 24px;
  border-bottom: 2px solid #000;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.inner-header-fig {
  flex: 1;
}

.inner-header-fig h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.inner-aside {
  width: 200px;
  flex-shrink: 0;
  border-left: 2px solid #000;
  padding-left: 16px;
}

.inner-aside .sidebar-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 10px;
}

.inner-aside ol {
  list-style: none;
}

.inner-aside ol li a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 0;
  font-size: 0.85rem;
  text-decoration: none;
  color: #000;
  border-bottom: 1px solid #e0e0e0;
}

.inner-aside ol li a:hover { text-decoration: underline; }

.inner-body-section {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 24px 16px;
  gap: 0;
}

/* =============================================
   FEATURE LAYOUT
   ============================================= */
.feature-main { flex: 1; }

.feature-hero {
  display: flex;
  gap: 24px;
  padding: 32px 16px 24px;
  border-bottom: 2px solid #000;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.feature-hero-fig {
  flex: 1;
}

.feature-hero-fig h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.stage-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 8px;
}

.feature-aside-top {
  width: 200px;
  flex-shrink: 0;
  border-left: 2px solid #000;
  padding-left: 16px;
}

.feature-aside-top .sidebar-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 10px;
}

.feature-aside-top ol {
  list-style: none;
}

.feature-aside-top ol li a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 0;
  font-size: 0.85rem;
  text-decoration: none;
  color: #000;
  border-bottom: 1px solid #e0e0e0;
}

.feature-aside-top ol li a:hover { text-decoration: underline; }

.feature-body-section {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 24px 16px;
  gap: 0;
}

/* =============================================
   FAQ LAYOUT
   ============================================= */
.faq-main { flex: 1; }

.faq-header-section {
  display: flex;
  gap: 24px;
  padding: 32px 16px 24px;
  border-bottom: 2px solid #000;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.faq-header-fig {
  flex: 1;
}

.faq-header-fig h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.faq-aside {
  width: 200px;
  flex-shrink: 0;
  border-left: 2px solid #000;
  padding-left: 16px;
}

.faq-aside .sidebar-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 10px;
}

.faq-aside ol {
  list-style: none;
}

.faq-aside ol li a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 0;
  font-size: 0.85rem;
  text-decoration: none;
  color: #000;
  border-bottom: 1px solid #e0e0e0;
}

.faq-aside ol li a:hover { text-decoration: underline; }

.faq-content-section {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 24px 16px;
  gap: 0;
}

.faq-section-title {
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 8px;
}

/* =============================================
   SHARED CONTENT BODY
   ============================================= */
.content-body {
  flex: 1;
  min-width: 0;
  padding: 0 0 0 24px;
}

.content-body h2 {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.content-body h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-top: 24px;
  margin-bottom: 6px;
}

.content-body hr {
  border: none;
  border-top: 2px solid #000;
  margin-bottom: 20px;
}

.page-content { max-width: 72ch; }

.page-content p { margin-bottom: 16px; }

.page-content a {
  color: #000;
  text-decoration: underline;
  font-weight: 600;
}

.page-content h2 { font-size: 1.3rem; font-weight: 900; margin: 28px 0 4px; }
.page-content h2 + hr { border: none; border-top: 2px solid #000; margin-bottom: 16px; }
.page-content h3 { font-size: 1.05rem; font-weight: 800; margin: 20px 0 4px; }
.page-content ul, .page-content ol { padding-left: 20px; margin-bottom: 16px; }
.page-content li { margin-bottom: 6px; line-height: 1.6; }
.page-content table { width: 100%; border-collapse: collapse; margin-bottom: 20px; font-size: 0.9rem; }
.page-content th, .page-content td { border: 1px solid #000; padding: 8px 12px; text-align: left; }
.page-content th { background: #000; color: #fff; font-weight: 700; }

/* Byline */
.byline {
  font-size: 0.82rem;
  color: #555;
  margin-bottom: 12px;
}

.author-name { font-weight: 700; }

/* Author div */
.author-section {
  margin-top: 32px;
  padding: 20px;
  border: 2px solid #000;
  border-radius: 10px;
}

.author-section h2 {
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.author-credentials {
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.author-bio {
  font-size: 0.88rem;
  color: #333;
  line-height: 1.6;
}

/* Contact */
.contact-intro { font-size: 0.95rem; color: #444; margin-top: 8px; }
.contact-author-name { font-size: 0.85rem; font-weight: 700; margin-top: 12px; }

/* sr-only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* =============================================
   HR decoration rule (heading + hr pattern)
   ============================================= */
hr {
  border: none;
  border-top: 2px solid #000;
  margin: 8px 0 16px;
}

/* =============================================
   MOBILE — ≤768px
   ============================================= */
@media (max-width: 768px) {

  /* Hide sidebars on mobile */
  .sidebar-left,
  .hero-aside,
  .inner-aside,
  .feature-aside-top,
  .faq-aside {
    display: none;
  }

  /* Full width content */
  .content-body {
    padding: 0;
  }

  /* Sections become single column */
  .hero-section,
  .content-section,
  .inner-header-section,
  .inner-body-section,
  .feature-hero,
  .feature-body-section,
  .faq-header-section,
  .faq-content-section {
    flex-direction: column;
  }

  /* Child cards */
  .child-cards-row { flex-direction: column; }
  .child-card { flex: 1 1 auto; }

  /* Footer trust links — block display for tap area */
  .footer-trust {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .footer-trust a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 12px;
    background: #111;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.88rem;
  }

  /* Brand stays in one row with toggle + CTAs */
  .header-inner {
    height: auto;
    min-height: 60px;
    padding: 8px 12px;
    flex-wrap: nowrap;
  }

  /* CTAs compact on mobile */
  .cta {
    font-size: 0.72rem;
    padding: 0 8px;
    min-height: 44px;
  }
}

/* =============================================
   VERY SMALL — 375px tweaks
   ============================================= */
@media (max-width: 400px) {
  .hero-h1, .feature-hero-fig h1, .inner-header-fig h1,
  .faq-header-fig h1 {
    font-size: 1.4rem;
  }

  .cta {
    font-size: 0.68rem;
    padding: 0 6px;
  }

  .brand {
    font-size: 0.75rem;
  }
}

a[data-cta],button[aria-controls]{min-height:44px;min-width:44px;box-sizing:border-box}main p a{text-decoration:underline}.tbl-scroll{overflow-x:auto;max-width:100%}