/* Broadcast TV — site styles */
:root {
  --bg: #ffffff;
  --bg-alt: #f5f8fc;
  --panel: #ffffff;
  --panel-2: #eef4fb;
  --border: #d8e2ee;
  --text: #0B2F5E;
  --muted: #5e6d85;
  --accent: #0259AB;
  --accent-2: #2A9F45;
  --accent-ink: #ffffff;
  --radius: 14px;
  --max: 1120px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
code {
  font-family: var(--mono);
  font-size: .9em;
  background: var(--panel);
  border: 1px solid var(--border);
  padding: .1em .4em;
  border-radius: 6px;
}

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }

.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--accent); color: var(--accent-ink);
  padding: 8px 14px; border-radius: 8px; z-index: 100; font-weight: 600;
}
.skip-link:focus { left: 8px; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 1.15rem; }
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; }
.brand span b { color: var(--accent); font-weight: 800; }
.nav-links { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--muted); font-weight: 500; padding: 8px 14px; border-radius: 8px; display: block;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: var(--panel); text-decoration: none; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--border); color: var(--text);
  border-radius: 8px; padding: 6px 8px; cursor: pointer;
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; background: var(--bg-alt); border-bottom: 1px solid var(--border);
    padding: 8px 16px 16px;
  }
  .nav-links.open { display: flex; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px; font-weight: 700; font-size: 1rem;
  border: 1px solid transparent; transition: transform .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #4ae3d2; }
.btn-ghost { border-color: var(--border); color: var(--text); background: var(--panel); }
.btn-ghost:hover { background: var(--panel-2); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 80px;
  background:
    radial-gradient(800px 400px at 85% 10%, rgba(10, 123, 255, .13), transparent 60%),
    radial-gradient(600px 300px at 0% 100%, rgba(32, 199, 201, .08), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block; font-family: var(--mono); font-size: .8rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent); background: rgba(10, 123, 255, .08);
  border: 1px solid rgba(10, 123, 255, .28); padding: 4px 10px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); font-weight: 800; }
.hero p.lead { color: var(--muted); font-size: 1.15rem; margin-bottom: 28px; }
.hero figure { margin: 0; }
.hero figcaption { color: var(--muted); font-size: .85rem; text-align: center; margin-top: 12px; font-style: italic; }
@media (max-width: 900px) {
  .hero { padding: 48px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- EPG mockup ---------- */
.epg {
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 18px 50px rgba(6, 27, 92, .14); font-size: .82rem;
}
.epg-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px; background: var(--panel); border-bottom: 1px solid var(--border);
  font-family: var(--mono); color: var(--muted); font-size: .75rem;
}
.epg-head .live { color: #ff6b6b; font-weight: 700; }
.epg-scroll { overflow-x: auto; }
.epg-grid { display: grid; grid-template-columns: 92px repeat(4, minmax(80px, 1fr)); min-width: 440px; }
.epg-cell { padding: 9px 10px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.epg-time { color: var(--muted); font-family: var(--mono); font-size: .72rem; background: var(--panel); }
.epg-ch { font-weight: 700; background: var(--panel); display: flex; flex-direction: column; line-height: 1.25; }
.epg-ch small { color: var(--muted); font-weight: 500; font-family: var(--mono); font-size: .68rem; }
.epg-show { background: #f4f7fb; }
.epg-show.now { background: rgba(10, 123, 255, .10); box-shadow: inset 3px 0 0 var(--accent); }
.epg-show small { display: block; color: var(--muted); font-size: .7rem; }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section.alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title { text-align: center; font-size: clamp(1.7rem, 3.5vw, 2.3rem); font-weight: 800; }
.section-sub { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 44px; }
@media (max-width: 720px) { .section { padding: 56px 0; } }

.about { text-align: center; }
.about img { width: 84px; height: 84px; margin: 0 auto 18px; }
.about p { font-size: 1.12rem; color: var(--muted); }
.tagline { color: var(--text) !important; font-style: italic; font-weight: 600; font-size: 1.2rem !important; margin-top: 8px; }

/* Feature cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-3 { grid-template-columns: 1fr; } }
.card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: rgba(10, 123, 255, .45); transform: translateY(-2px); }
.card .icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(10, 123, 255, .10); color: var(--accent); margin-bottom: 16px;
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 22px; text-align: center; position: relative;
}
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto 14px;
  border-radius: 50%; background: var(--accent); color: var(--accent-ink);
  font-weight: 800; font-size: 1.15rem;
}
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* FAQ */
.faq details {
  background: var(--panel); border: 1px solid var(--border); border-radius: 12px;
  padding: 0 20px; margin-bottom: 12px;
}
.faq summary {
  cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding-bottom: 16px; margin: 0; }

/* CTA band */
.cta { text-align: center; }
.cta p { color: var(--muted); max-width: 600px; margin: 0 auto 28px; }
.cta .btn-row { justify-content: center; }

/* ---------- Content pages ---------- */
.page-header { padding: 56px 0 36px; border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.page-header h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); font-weight: 800; }
.page-header p { color: var(--muted); font-size: 1.1rem; margin: 0; max-width: 680px; }
.content { padding: 48px 0 80px; }
.content h2 { font-size: 1.5rem; margin-top: 2em; padding-top: .4em; }
.content h2:first-child { margin-top: 0; }
.content ul, .content ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.content li { margin-bottom: .4em; }
.content li::marker { color: var(--accent); }
.note {
  background: rgba(249, 166, 2, .08); border: 1px solid rgba(249, 166, 2, .35);
  border-left: 4px solid var(--accent-2); border-radius: 10px; padding: 14px 18px; margin: 1.5em 0;
}
.note strong { color: var(--accent-2); }
.toc {
  background: var(--panel); border: 1px solid var(--border); border-radius: 12px;
  padding: 18px 22px; margin-bottom: 36px;
}
.toc h2 { font-size: 1rem !important; margin: 0 0 8px !important; padding: 0 !important; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.toc ol { margin: 0; }

.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 8px; }
@media (max-width: 640px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-grid .card a.big { font-size: 1.1rem; font-weight: 700; word-break: break-all; }

.notfound { text-align: center; padding: 100px 0; }
.notfound .code { font-family: var(--mono); font-size: 5rem; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 12px; }
.notfound p { color: var(--muted); }
.notfound .btn-row { justify-content: center; margin-top: 24px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); background: #0B2F5E; padding: 36px 0; text-align: center; }
.footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; margin-bottom: 14px; }
.footer nav a { color: var(--muted); font-weight: 500; }
.footer nav a:hover { color: var(--text); }
.footer small { color: #6f7891; }

/* Keep grid children from overflowing narrow screens */
.hero-grid > * { min-width: 0; }
.epg-grid { grid-template-columns: 104px repeat(4, minmax(80px, 1fr)); }

/* Tables, license text, download cards */
.table-wrap { overflow-x: auto; margin: 0 0 1.5em; border: 1px solid var(--border); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: var(--panel); color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
tbody tr:last-child td { border-bottom: 0; }
td code { white-space: nowrap; }
pre.license {
  white-space: pre-wrap; font-family: var(--mono); font-size: .8rem; line-height: 1.55; color: var(--muted);
  background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; margin: 0 0 1.5em;
}
.dl-grid { margin-bottom: 8px; }
.soon { display: inline-block; margin-top: 12px !important; font-family: var(--mono); font-size: .75rem; text-transform: uppercase;
  letter-spacing: .06em; color: var(--accent-2) !important; border: 1px solid rgba(249,166,2,.4); border-radius: 999px; padding: 3px 10px; }

/* Release/download additions */
.release-hero { padding: 32px; margin-bottom: 38px; }
.release-hero h2 { margin: 8px 0 10px !important; padding: 0 !important; font-size: 1.8rem; }
.release-hero .btn-row { margin-top: 22px; }
.release-meta { color: var(--muted); font-family: var(--mono); font-size: .82rem; margin: 16px 0 0; }
pre.install { overflow-x: auto; white-space: pre; font-family: var(--mono); font-size: .86rem; line-height: 1.65; color: var(--text); background: #0B2F5E; border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; margin: 1.2em 0 1.6em; }

/* ---------- Commercial site additions ---------- */
.microcopy { color: var(--muted); font-size: .82rem; margin-top: 16px; max-width: 620px; }
.kicker { text-align:center; color:var(--accent); font-family:var(--mono); text-transform:uppercase; letter-spacing:.08em; font-size:.78rem; margin-bottom:10px; }
.grid-4 { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.use-card { display:flex; flex-direction:column; gap:6px; background:var(--panel); border:1px solid var(--border); border-radius:var(--radius); padding:24px; color:var(--text); }
.use-card:hover { text-decoration:none; border-color:rgba(10,123,255,.50); transform:translateY(-2px); }
.use-card strong { font-size:1.08rem; }
.use-card span { color:var(--muted); font-size:.94rem; }
.split { display:grid; grid-template-columns:1.15fr .85fr; gap:44px; align-items:center; }
.lead-sm { font-size:1.08rem; color:var(--muted); }
.checklist { list-style:none; padding:0 !important; margin:22px 0 28px !important; }
.checklist li { position:relative; padding-left:28px; margin:10px 0; color:var(--muted); }
.checklist li::before { content:"✓"; position:absolute; left:0; color:var(--accent); font-weight:800; }
.checklist.compact { margin:18px 0 24px !important; }
.stat-panel { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.stat-panel div { background:var(--panel); border:1px solid var(--border); border-radius:14px; padding:22px; min-height:128px; }
.stat-panel strong { display:block; color:var(--accent); font-size:1.5rem; margin-bottom:6px; }
.stat-panel span { color:var(--muted); font-size:.9rem; }
.offer-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.offer-card,.price-card { background:var(--panel); border:1px solid var(--border); border-radius:var(--radius); padding:28px; }
.offer-card.featured,.price-card.featured { border-color:rgba(10,123,255,.65); box-shadow:0 14px 40px rgba(6,27,92,.12); }
.plan-label { display:inline-block; color:var(--accent); font-family:var(--mono); text-transform:uppercase; letter-spacing:.07em; font-size:.75rem; margin-bottom:10px; }
.offer-card p,.price-card p { color:var(--muted); }
.text-link { font-weight:700; }
.center-actions { display:flex; justify-content:center; gap:12px; flex-wrap:wrap; margin-top:34px; }
.sales-header { background:radial-gradient(700px 300px at 80% 0%, rgba(10,123,255,.13), transparent 60%),var(--bg-alt); padding:64px 0 48px; }
.sales-header .btn-row { margin-top:24px; }
.status-badge { display:inline-block; margin-top:18px; border:1px solid rgba(249,166,2,.45); color:var(--accent-2); background:rgba(249,166,2,.08); border-radius:999px; padding:5px 11px; font-size:.8rem; font-family:var(--mono); }
.accent-card { border-color:rgba(10,123,255,.40); }
.muted { color:var(--muted); }
.feature-list { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.feature-list>div { background:var(--panel); border:1px solid var(--border); border-radius:12px; padding:20px; }
.feature-list strong { display:block; margin-bottom:5px; }
.feature-list span { color:var(--muted); font-size:.95rem; }
.compact-list { grid-template-columns:1fr; }
.industry-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.industry-card { background:var(--panel); border:1px solid var(--border); border-radius:14px; padding:24px; }
.industry-card h2 { font-size:1.1rem; margin:0 0 7px; padding:0; }
.industry-card p { color:var(--muted); margin:0; font-size:.94rem; }
.pricing-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; align-items:stretch; }
.price-card { display:flex; flex-direction:column; }
.price-card .btn { margin-top:auto; justify-content:center; }
.price { font-size:2rem; font-weight:800; margin:4px 0 12px; }
.price span { font-size:.9rem; font-weight:500; color:var(--muted); }
.pricing-note { color:var(--muted); font-size:.82rem; max-width:900px; margin:22px auto 0; text-align:center; }
.hierarchy { display:flex; justify-content:center; align-items:center; gap:12px; flex-wrap:wrap; margin:34px 0 8px; }
.hierarchy div { background:var(--panel); border:1px solid var(--border); border-radius:10px; padding:14px 18px; font-weight:700; }
.hierarchy span { color:var(--accent); font-weight:800; }
.top-gap { margin-top:28px; }
.timeline { margin:0; padding-left:1.3rem; color:var(--muted); }
.timeline li { margin:8px 0; }
.commercial-hero .hero-grid { align-items:center; }
@media (max-width:1050px) {
  .nav-links a { padding:8px 9px; font-size:.92rem; }
  .pricing-grid { grid-template-columns:repeat(2,1fr); }
  .grid-4 { grid-template-columns:repeat(2,1fr); }
  .industry-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:860px) {
  .nav-toggle { display:block; }
  .nav-links { display:none; position:absolute; top:64px; left:0; right:0; flex-direction:column; background:var(--bg-alt); border-bottom:1px solid var(--border); padding:8px 16px 16px; max-height:calc(100vh - 64px); overflow:auto; }
  .nav-links.open { display:flex; }
  .split { grid-template-columns:1fr; }
}
@media (max-width:700px) {
  .grid-4,.offer-grid,.pricing-grid,.industry-grid,.feature-list { grid-template-columns:1fr; }
  .stat-panel { grid-template-columns:1fr 1fr; }
}
@media (max-width:460px) { .stat-panel { grid-template-columns:1fr; } }
.contact-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }


/* ---------- Broadcast TV official Noot brand refresh ---------- */
:root {
  --navy: #0B2F5E;
  --blue: #0259AB;
  --cyan: #20C7C9;
  --green: #2A9F45;
  --orange: #2A9F45;
  --ice: #E6ECF2;
}
body { background:#fff; color:var(--navy); }
a { color:var(--blue); }
.navbar { box-shadow:0 2px 18px rgba(6,27,92,.08); border-bottom:1px solid #e1e8f1; }
.navbar .container { height:72px; }
.brand { min-width:210px; }
.brand .brand-logo { width:205px; height:auto; max-height:48px; object-fit:contain; }
.nav-links a { color:#40506b; font-weight:650; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color:var(--navy); background:#eef5ff; }
.nav-toggle { border-color:#cfd9e7; color:var(--navy); background:#fff; }
.btn { border-radius:10px; box-shadow:0 5px 14px rgba(6,27,92,.06); }
.btn-primary { background:var(--blue); color:#fff; box-shadow:0 9px 22px rgba(10,123,255,.22); }
.btn-primary:hover { background:#006eea; }
.btn-ghost { background:#fff; color:var(--navy); border-color:#cfd9e7; }
.btn-ghost:hover { background:#f4f8fd; border-color:#afbed2; }
.hero { background:radial-gradient(850px 430px at 88% 8%, rgba(10,123,255,.13), transparent 60%),radial-gradient(620px 320px at 0% 100%, rgba(32,199,201,.09), transparent 60%),#fff; }
.hero h1,.page-header h1,.section-title,h1,h2,h3,h4 { color:var(--navy); }
.eyebrow,.kicker,.plan-label { color:var(--blue); }
.eyebrow { background:#eef6ff; border-color:#bfdbff; }
.card,.use-card,.offer-card,.price-card,.industry-card,.feature-list>div,.stat-panel div,.step,.faq details,.release-hero { box-shadow:0 7px 24px rgba(6,27,92,.06); }
.card:hover,.use-card:hover { border-color:#93c3ff; box-shadow:0 11px 30px rgba(10,123,255,.10); }
.card .icon { background:#eef6ff; color:var(--blue); }
.step::before { background:var(--blue); color:#fff; box-shadow:0 6px 16px rgba(10,123,255,.22); }
.section.alt,.page-header,.sales-header { background:#f7f9fc; }
.sales-header { background:radial-gradient(700px 300px at 80% 0%, rgba(10,123,255,.11), transparent 60%),#f7f9fc; }
.stat-panel strong { color:var(--blue); }
.offer-card.featured,.price-card.featured,.accent-card { border-color:#79b7ff; }
.price { color:var(--navy); }
.status-badge,.soon { color:#9b6500 !important; background:#fff7e6; border-color:#ffd98c; }
.note { background:#fff8e8; border-color:#ffd788; border-left-color:var(--orange); }
.epg { background:#fff; border-color:#d7e2ee; }
.epg-head,.epg-time,.epg-ch { background:#f3f7fc; color:#50617a; }
.epg-show { background:#fff; }
.epg-show.now { background:#eef6ff; box-shadow:inset 3px 0 0 var(--blue); }
.epg-head .live { color:#d92f42; }
pre.install { color:#fff; background:var(--navy); border-color:var(--navy); }
code { background:#f1f5fa; color:var(--navy); border-color:#d8e2ee; }
pre.install code { color:#fff; }
.footer { background:var(--navy); color:#dce7ff; }
.footer a { color:#fff; }
.footer small { color:#b9c8e6; }
@media (max-width:1050px){ .brand{min-width:175px}.brand .brand-logo{width:172px}.nav-links a{font-size:.89rem;padding:8px 7px} }
@media (max-width:860px){ .navbar .container{height:68px}.brand{min-width:0}.brand .brand-logo{width:180px}.nav-links{top:68px;background:#fff;box-shadow:0 14px 24px rgba(6,27,92,.10)} }
