@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;700;900&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  --canvas: #f5f7fa;
  --surface: #ffffff;
  --surface-tint: #edf1f7;
  --deck-bg: #0c1220;
  --deck-panel: #141c2f;
  --deck-border: rgba(255, 255, 255, 0.12);
  --cobalt: #1d4ed8;
  --cobalt-deep: #153ba8;
  --cobalt-soft: #e0ebff;
  --tally: #e11d48;
  --tally-soft: #ffe4ea;
  --amber: #d97706;
  --amber-soft: #fef3c7;
  --ink: #0f172a;
  --ink-secondary: #334155;
  --muted: #64748b;
  --line: #dbe2ec;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 16px 40px rgba(12, 18, 32, 0.08);
  --shadow-deck: 0 24px 56px rgba(12, 18, 32, 0.28);
  --max-w: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: 'Noto Sans SC', 'Outfit', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--cobalt);
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

a:hover {
  color: var(--cobalt-deep);
}

a:focus-visible,
summary:focus-visible,
button:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 2px;
}

.wrap {
  width: min(100% - 32px, var(--max-w));
  margin-inline: auto;
}

.mono {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* Broadcast Timecode Utility Strip */
.utility-bar {
  background: #070b14;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.utility-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  padding: 8px 0;
}

.utility-left,
.utility-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.tally-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.tally-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tally);
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.25);
  flex-shrink: 0;
}

.utility-bar a {
  color: #cbd5e1;
}

.utility-bar a:hover {
  color: #ffffff;
}

/* Sticky Dark Control-Deck Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(12, 18, 32, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--deck-border);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
  padding: 10px 0;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
}

.brand-link:hover {
  color: #ffffff;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--cobalt) 0%, #2563eb 60%, var(--tally) 100%);
  display: grid;
  place-items: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: #ffffff;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand-title {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-title strong {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-title span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #94a3b8;
  letter-spacing: 0.05em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 13px;
  border-radius: var(--radius-xs);
  white-space: nowrap;
}

.main-nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.main-nav a.active {
  color: #ffffff;
  background: var(--cobalt);
  font-weight: 600;
}

.nav-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-xs);
  background: rgba(225, 29, 72, 0.16);
  border: 1px solid rgba(225, 29, 72, 0.48);
  color: #fecdd3;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.nav-action:hover {
  background: var(--tally);
  border-color: var(--tally);
  color: #ffffff;
}

/* Mobile Nav Drawer (no JS required) */
.mobile-nav-details {
  display: none;
}

/* Hero Section */
.hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(29, 78, 216, 0.22), transparent 44%),
    radial-gradient(circle at 14% 88%, rgba(225, 29, 72, 0.12), transparent 38%),
    linear-gradient(180deg, #0c1220 0%, #111a2e 100%);
  color: #f8fafc;
  padding: 64px 0 72px;
  border-bottom: 3px solid var(--cobalt);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 38px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #93c5fd;
  background: rgba(29, 78, 216, 0.2);
  border: 1px solid rgba(147, 197, 253, 0.25);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0 0 18px;
  font-family: 'Outfit', 'Noto Sans SC', sans-serif;
  font-size: clamp(32px, 4.4vw, 50px);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.hero h1 .accent {
  color: #60a5fa;
}

.hero-lead {
  margin: 0 0 26px;
  font-size: 16px;
  color: #cbd5e1;
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-xs);
  font-size: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--cobalt);
  color: #ffffff;
}

.btn-primary:hover {
  background: #2563eb;
  color: #ffffff;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
  color: #f1f5f9;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.btn-outline-dark {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-outline-dark:hover {
  border-color: var(--cobalt);
  color: var(--cobalt);
  background: var(--cobalt-soft);
}

.hero-meta-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-meta-item dt {
  font-size: 11px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.hero-meta-item dd {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #f8fafc;
}

/* Right Hero: Broadcast Control Console Card */
.deck-console {
  background: var(--deck-panel);
  border: 1px solid var(--deck-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-deck);
  overflow: hidden;
}

.deck-console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  background: rgba(7, 11, 20, 0.72);
  border-bottom: 1px solid var(--deck-border);
  font-size: 12px;
  color: #94a3b8;
}

.deck-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fca5a5;
  font-weight: 600;
}

.deck-console-body {
  padding: 18px;
  display: grid;
  gap: 12px;
}

.channel-row {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
}

.ch-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  color: #93c5fd;
  background: rgba(29, 78, 216, 0.24);
  padding: 4px 8px;
  border-radius: var(--radius-xs);
  text-align: center;
}

.ch-info strong {
  display: block;
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 2px;
}

.ch-info span {
  display: block;
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.45;
}

.ch-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  color: #6ee7b7;
  border: 1px solid rgba(110, 231, 183, 0.24);
  white-space: nowrap;
}

.deck-console-foot {
  padding: 12px 18px;
  background: rgba(7, 11, 20, 0.55);
  border-top: 1px solid var(--deck-border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: #94a3b8;
}

/* Inner Page Hero */
.page-hero {
  background: linear-gradient(135deg, #0c1220 0%, #15223d 100%);
  color: #ffffff;
  padding: 46px 0 42px;
  border-bottom: 3px solid var(--cobalt);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 14px;
}

.breadcrumb a {
  color: #cbd5e1;
}

.breadcrumb a:hover {
  color: #ffffff;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-family: 'Outfit', 'Noto Sans SC', sans-serif;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.22;
  font-weight: 800;
}

.page-hero p {
  margin: 0;
  color: #cbd5e1;
  max-width: 68ch;
  font-size: 15px;
}

/* Sections */
.section {
  padding: 60px 0;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
}

.section-kicker {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: 8px;
}

.section-head h2 {
  margin: 0;
  font-family: 'Outfit', 'Noto Sans SC', sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.25;
  font-weight: 800;
  color: var(--ink);
}

.section-desc {
  margin: 8px 0 0;
  color: var(--ink-secondary);
  max-width: 66ch;
  font-size: 15px;
}

/* Cards & Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.card-accent {
  border-top: 3px solid var(--cobalt);
}

.card-tally {
  border-top: 3px solid var(--tally);
}

.card-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--tally);
  background: var(--tally-soft);
  padding: 3px 9px;
  border-radius: var(--radius-xs);
  width: fit-content;
  margin-bottom: 14px;
}

.card-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--cobalt);
  background: var(--cobalt-soft);
  padding: 3px 9px;
  border-radius: var(--radius-xs);
  width: fit-content;
  margin-bottom: 12px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.35;
  color: var(--ink);
}

.card p {
  margin: 0 0 14px;
  color: var(--ink-secondary);
  font-size: 14.5px;
}

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

.card-meta {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

/* Broadcast Rundown Timetable */
.timetable {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.tt-row {
  display: grid;
  grid-template-columns: 110px 180px minmax(0, 1.3fr) 150px;
  gap: 16px;
  align-items: center;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
}

.tt-row:last-child {
  border-bottom: none;
}

.tt-head {
  background: var(--deck-bg);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tt-code {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 13px;
  color: var(--cobalt);
}

.tt-title {
  font-weight: 700;
  color: var(--ink);
  font-size: 15px;
}

.tt-desc {
  color: var(--ink-secondary);
  font-size: 14px;
}

.tt-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-tint);
  color: var(--ink);
  border: 1px solid var(--line);
  white-space: nowrap;
}

.tt-badge.active {
  background: var(--cobalt-soft);
  color: var(--cobalt-deep);
  border-color: rgba(29, 78, 216, 0.25);
}

/* Info Box & Legal Scope Box */
.notice-panel {
  background: var(--surface-tint);
  border: 1px solid var(--line);
  border-left: 4px solid var(--cobalt);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
}

.notice-panel.amber {
  background: #fffbeb;
  border-color: #fde68a;
  border-left-color: var(--amber);
}

.notice-panel h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--ink);
}

.notice-panel p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-secondary);
}

/* Clean Structured Lists */
.check-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  color: var(--ink-secondary);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--cobalt);
}

/* FAQ Accordion */
.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  color: var(--cobalt);
  flex-shrink: 0;
}

.faq-item[open] summary {
  background: var(--surface-tint);
  border-bottom: 1px solid var(--line);
}

.faq-item[open] summary::after {
  content: "-";
  color: var(--tally);
}

.faq-body {
  padding: 16px 22px 20px;
  color: var(--ink-secondary);
  font-size: 14.5px;
}

.faq-body p {
  margin: 0;
}

/* Contact Definition List */
.contact-dl {
  margin: 0;
  display: grid;
  gap: 14px;
}

.contact-dl div {
  padding: 16px 18px;
  background: var(--surface-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.contact-dl dt {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.contact-dl dd {
  margin: 0;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  word-break: break-word;
}

/* Footer */
.site-footer {
  background: var(--deck-bg);
  color: #cbd5e1;
  padding: 52px 0 32px;
  border-top: 3px solid var(--cobalt);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--deck-border);
}

.footer-brand p {
  margin: 14px 0 0;
  font-size: 14px;
  color: #94a3b8;
  max-width: 44ch;
}

.footer-col h4 {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.04em;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  font-size: 14px;
}

.footer-links a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 20px;
  font-size: 12.5px;
  color: #94a3b8;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid,
  .grid-4,
  .grid-3,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .tt-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .tt-head {
    display: none;
  }
}

@media (max-width: 860px) {
  .main-nav,
  .nav-action {
    display: none;
  }

  .mobile-nav-details {
    display: block;
    position: relative;
  }

  .mobile-nav-details summary {
    list-style: none;
    cursor: pointer;
    padding: 8px 14px;
    border-radius: var(--radius-xs);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--deck-border);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
  }

  .mobile-nav-details summary::-webkit-details-marker {
    display: none;
  }

  .mobile-nav-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    width: 220px;
    background: var(--deck-panel);
    border: 1px solid var(--deck-border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-deck);
    padding: 8px;
    display: grid;
    gap: 4px;
    z-index: 80;
  }

  .mobile-nav-menu a {
    color: #e2e8f0;
    padding: 9px 12px;
    border-radius: var(--radius-xs);
    font-size: 14px;
  }

  .mobile-nav-menu a.active,
  .mobile-nav-menu a:hover {
    background: var(--cobalt);
    color: #ffffff;
  }

  .hero {
    padding: 46px 0 54px;
  }

  .hero-meta-strip {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 44px 0;
  }
}
