/* Fingo TV - Editorial Design System (Plain CSS) */
/* Force Light Mode Only, Clean Minimalist Aesthetics */

:root {
  --bg-pure: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --navy-deep: #0B132B;
  --text-body: #334155;
  --text-muted: #64748B;
  --teal-primary: #0D9488;
  --teal-hover: #0F766E;
  --teal-tint: #F0FDFA;
  --hairline: #E2E8F0;
  --container-width: 840px;
  --reading-width: 720px;
}

/* Force light mode & clean reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

[hidden] {
  display: none !important;
}

html {
  color-scheme: light only;
  background-color: var(--bg-pure);
  color: var(--text-body);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.65;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-pure);
  color: var(--text-body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Accessible Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 24px;
  background: var(--navy-deep);
  color: var(--bg-pure);
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  z-index: 100;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  outline: 2px solid var(--teal-primary);
  outline-offset: 2px;
}

/* Subtle page entrance */
main {
  flex: 1;
  width: 100%;
  animation: pageFade 0.35s ease-out forwards;
}

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

/* Layout Containers */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.reading-container {
  width: 100%;
  max-width: var(--reading-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation Header */
header.site-header {
  width: 100%;
  background-color: var(--bg-pure);
  border-bottom: 1px solid var(--hairline);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-deep);
  text-decoration: none;
  letter-spacing: -0.03em;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}

.brand-logo span {
  color: var(--teal-primary);
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active,
.nav-links a[aria-current="page"] {
  color: var(--navy-deep);
  border-bottom-color: var(--teal-primary);
  text-decoration: none;
}

/* Redesigned Minimal Hero (No Background Image, No Gradient) */
.hero-section {
  padding: 88px 0 64px 0;
  border-bottom: 1px solid var(--hairline);
  background: var(--bg-pure);
}

.hero-section h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--navy-deep);
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-section p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.6;
}

/* Home Page Content Sections */
.about-section {
  padding: 56px 0 32px 0;
  border-bottom: none;
}

.directory-section {
  padding: 16px 0 56px 0;
  border-bottom: 1px solid var(--hairline);
}

.contact-section {
  padding: 56px 0 64px 0;
}

.content-section {
  padding: 56px 0;
  border-bottom: 1px solid var(--hairline);
}

.content-section:last-of-type {
  border-bottom: none;
}

h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy-deep);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-deep);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

p {
  margin-bottom: 16px;
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.65;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--teal-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

a:hover,
a:focus {
  color: var(--teal-hover);
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--teal-primary);
  outline-offset: 3px;
}

/* Borderless Editorial Directory (Replaces the 4 Boxes) */
.directory-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 48px;
  row-gap: 40px;
  margin-top: 8px;
}

.directory-item {
  border: none;
  background: transparent;
  box-shadow: none;
  border-top: 1px solid var(--hairline);
  padding-top: 24px;
}

.directory-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.directory-item p {
  font-size: 0.94rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.55;
}

.directory-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal-primary);
  text-decoration: none !important;
}

.directory-link span.arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.directory-link:hover {
  color: var(--teal-hover);
}

.directory-link:hover span.arrow {
  transform: translateX(3px);
}

/* Inner Legal Pages (/privacy, /terms, /copyright, /licenses) */
.legal-document {
  padding: 64px 0 80px 0;
}

.legal-document h1 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--navy-deep);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  line-height: 1.15;
}

.legal-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--hairline);
}

.legal-document .lead {
  font-size: 1.15rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Table of Contents - Clean, Borderless / Hairline separated */
.toc {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  border-left: none;
  border-right: none;
  border-radius: 0;
  box-shadow: none;
  padding: 24px 28px;
  margin: 32px 0 44px;
}

.toc h2 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy-deep);
  margin-bottom: 12px;
}

.toc ol {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.toc li {
  margin-bottom: 6px;
  font-size: 0.92rem;
}

.toc a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
}

.toc a:hover,
.toc a:focus {
  color: var(--teal-primary);
  text-decoration: underline;
}

/* Major Clauses with Hairline Rules */
.legal-clause {
  border-top: 1px solid var(--hairline);
  padding-top: 36px;
  margin-top: 36px;
}

.legal-clause:first-of-type {
  border-top: 1px solid var(--hairline);
}

.legal-clause h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy-deep);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.legal-clause h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-deep);
  letter-spacing: -0.01em;
  margin-top: 24px;
  margin-bottom: 10px;
}

.legal-document ul,
.legal-clause ul {
  margin: 0 0 18px 20px;
  color: var(--text-body);
  padding-left: 0;
}

.legal-document ol,
.legal-clause ol {
  margin: 0 0 18px 20px;
  color: var(--text-body);
  padding-left: 0;
}

.legal-document li,
.legal-clause li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* License Entries */
.license {
  border-top: 1px solid var(--hairline);
  padding-top: 28px;
  margin-top: 28px;
}

.license h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 6px;
}

.license .meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

/* Notes & Disclaimers */
.note {
  border-top: 1px solid var(--hairline);
  padding-top: 24px;
  margin-top: 40px;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: normal;
}

/* Footer / Contact */
.site-footer {
  width: 100%;
  background-color: var(--bg-pure);
  border-top: 1px solid var(--hairline);
  padding: 44px 0 60px 0;
  margin-top: auto;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--navy-deep);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 640px) {
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
  }
  .nav-links {
    gap: 16px;
    flex-wrap: wrap;
  }
  .hero-section {
    padding: 56px 0 40px 0;
  }
  .hero-section h1 {
    font-size: 2.25rem;
  }
  .about-section {
    padding: 40px 0 24px 0;
  }
  .directory-section {
    padding: 12px 0 40px 0;
  }
  .directory-grid {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }
  .contact-section {
    padding: 40px 0 48px 0;
  }
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 0 20px;
  }
  .container,
  .reading-container {
    padding: 0 20px;
  }
}
