/* ============================================
   global.css — SkipTV Global Styles
   ============================================ */

/* ---- Base ---- */
body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
}

/* ---- Headings ---- */
h1 {
  font-size: 64px;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
}

h2 {
  font-size: 42px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
}

h3 {
  font-size: 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-primary);
}

h4 {
  font-size: 20px;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-primary);
}

/* ---- Body Text ---- */
p {
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ---- Links ---- */
a {
  color: var(--accent-blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.section-padding {
  padding: 100px 0;
}

/* ---- Text Utilities ---- */
.text-center {
  text-align: center;
}

.text-muted {
  color: var(--text-muted);
}

.text-blue {
  color: var(--accent-blue);
}

.text-orange {
  color: var(--accent-orange);
}

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  padding: 140px 0 80px;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(0, 174, 239, 0.15) 0%, transparent 60%),
    var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(255, 107, 0, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

/* ---- Section Heading ---- */
.section-heading {
  text-align: center;
  margin-bottom: 60px;
}

.section-heading h2 {
  margin-bottom: 16px;
}

.section-heading p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.7;
}

/* ---- Skip Link (Accessibility) ---- */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent-blue);
  color: #ffffff;
  padding: 8px 16px;
  z-index: 9999;
  font-weight: 700;
  font-size: 14px;
  border-radius: 0 0 var(--radius-sm) 0;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 0;
  text-decoration: none;
}

/* ---- Divider ---- */
.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-orange));
  border-radius: 2px;
  margin: 0 auto 24px;
}

/* ---- Highlight block ---- */
.highlight-block {
  background: var(--accent-blue-dim);
  border-left: 3px solid var(--accent-blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 24px 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

/* ---- Scroll margin for anchor links (below fixed nav) ---- */
[id] {
  scroll-margin-top: calc(var(--nav-height) + 24px);
}
