:root {
  color-scheme: dark;
  --bg: #06080d;
  --bg-2: #0a0f18;
  --panel: #101722;
  --panel-2: #0c121b;
  --panel-3: #151f2d;
  --text: #f4f7fb;
  --muted: #8c9aae;
  --muted-2: #657387;
  --line: rgba(174, 194, 224, .14);
  --line-strong: rgba(174, 194, 224, .24);
  --accent: #37d98d;
  --accent-2: #56b6ff;
  --accent-3: #a78bfa;
  --danger: #ff5d73;
  --warning: #f6b84b;
  --shadow: 0 24px 80px rgba(0, 0, 0, .42);
  --radius: 22px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(rgba(86, 182, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(86, 182, 255, .03) 1px, transparent 1px),
    radial-gradient(circle at 18% -10%, rgba(55, 217, 141, .15), transparent 32%),
    radial-gradient(circle at 86% 3%, rgba(86, 182, 255, .14), transparent 34%),
    radial-gradient(circle at 50% 120%, rgba(167, 139, 250, .1), transparent 40%),
    var(--bg);
  background-size: 44px 44px, 44px 44px, auto, auto, auto, auto;
  color: var(--text);
  font-feature-settings: "ss01" on, "cv01" on;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .035), transparent 18%, transparent 82%, rgba(255, 255, 255, .03)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 6px);
  mix-blend-mode: screen;
  opacity: .34;
}

body::after {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(55, 217, 141, .65), rgba(86, 182, 255, .5), transparent);
  pointer-events: none;
}

a { color: #8dc8ff; text-decoration-color: rgba(141, 200, 255, .38); text-underline-offset: 3px; }
a:hover { color: #d8ecff; }

.header,
section,
.footer {
  max-width: 1160px;
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 12px;
  z-index: 20;
  width: min(calc(100% - 40px), 1040px);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(174, 194, 224, .14);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(10, 18, 27, .78), rgba(7, 12, 19, .58));
  box-shadow: 0 18px 60px rgba(0, 0, 0, .25);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header::before {
  content: none;
}

.logo {
  display: inline-grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: 6px;
  color: white;
  text-decoration: none;
  font-weight: 860;
  letter-spacing: -.045em;
  line-height: 1;
}

.logo::before {
  content: "";
  width: 30px;
  height: 30px;
  border: 1px solid rgba(55, 217, 141, .55);
  border-radius: 10px;
  background:
    linear-gradient(90deg, transparent 45%, rgba(55, 217, 141, .9) 45% 55%, transparent 55%),
    linear-gradient(0deg, transparent 45%, rgba(86, 182, 255, .7) 45% 55%, transparent 55%),
    #0f1a25;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), 0 0 26px rgba(55, 217, 141, .16);
}

.logo span:first-child { color: #e8f2ff; }
.logo span:last-child { color: var(--accent); }

.nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-start;
  flex: 1 1 auto;
  min-width: 0;
  padding-right: 0;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 720;
  font-size: .82rem;
  padding: 7px 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  white-space: nowrap;
}

.nav a:hover {
  color: white;
  border-color: var(--line);
  background: rgba(255, 255, 255, .045);
}

.hero {
  padding: 74px 20px 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 24px;
  align-items: center;
  overflow: hidden;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #b8ffe0;
  font-weight: 830;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .76rem;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(55, 217, 141, .12), 0 0 24px rgba(55, 217, 141, .72);
}

h1,
h2,
h3 { color: var(--text); }

h1 {
  max-width: 780px;
  font-size: clamp(2.7rem, 5.6vw, 5.1rem);
  line-height: .92;
  letter-spacing: -.075em;
  margin: 16px 0 20px;
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.65rem);
  letter-spacing: -.055em;
  line-height: 1;
  margin: 0 0 12px;
}

h3 {
  margin: 0 0 12px;
  letter-spacing: -.025em;
}

p {
  color: var(--muted);
  line-height: 1.68;
}

.lede {
  font-size: clamp(1.03rem, 1.6vw, 1.2rem);
  max-width: 650px;
  color: #aebbd0;
}

.ctas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  color: white;
  text-decoration: none;
  padding: 11px 15px;
  border-radius: 12px;
  font-weight: 820;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .035));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  cursor: pointer;
}

.button:hover {
  transform: translateY(-1px);
  border-color: rgba(141, 200, 255, .42);
  background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .045));
}

.button.primary {
  color: #03130c;
  border-color: rgba(55, 217, 141, .72);
  background: linear-gradient(180deg, #6dffb5, #31d783 72%, #20b96d);
  box-shadow: 0 14px 42px rgba(55, 217, 141, .2), inset 0 1px 0 rgba(255, 255, 255, .48);
}

.hero-card,
.card,
.tool-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .025)),
    var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 24px;
}

.hero-card::before,
.card::before,
.tool-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, rgba(255, 255, 255, .08), transparent 18%, transparent 80%, rgba(86, 182, 255, .05));
  opacity: .75;
}

.hero-card > *,
.card > *,
.tool-card > * { position: relative; }

.hero > .hero-card {
  width: 100%;
  max-width: 300px;
  justify-self: start;
}

.hero-card ul,
.card ul {
  color: var(--muted);
  line-height: 1.8;
  padding-left: 20px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid rgba(55, 217, 141, .35);
  border-radius: 10px;
  color: #c9ffdf;
  background: rgba(55, 217, 141, .1);
  font-weight: 790;
  font-size: .86rem;
}

.control-panel,
.bitrate-panel {
  padding: 18px;
  background:
    radial-gradient(circle at 20% 0%, rgba(55, 217, 141, .12), transparent 32%),
    linear-gradient(180deg, rgba(18, 27, 39, .96), rgba(8, 13, 20, .98));
}

.panel-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 820;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #d8ffe8;
}

.live-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(55, 217, 141, .9);
}

.preview-window {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(174, 194, 224, .18);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .04), rgba(0, 0, 0, .34)),
    radial-gradient(circle at 22% 18%, rgba(86, 182, 255, .26), transparent 22%),
    radial-gradient(circle at 70% 24%, rgba(167, 139, 250, .18), transparent 28%),
    #09111a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04);
}

.preview-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 82%);
}

.preview-window::before {
  content: "OBS Program";
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 8px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, .11);
  background: rgba(7, 11, 17, .72);
  color: #dceaff;
  font-size: .73rem;
  font-weight: 800;
}

.preview-window::after {
  content: "REC";
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 8px;
  border-radius: 9px;
  color: #ffd6dc;
  background: rgba(255, 93, 115, .13);
  border: 1px solid rgba(255, 93, 115, .36);
  font-size: .73rem;
  font-weight: 850;
}

.preview-wave {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 64px;
  height: 46px;
  background:
    linear-gradient(90deg,
      transparent 0 4%, rgba(55, 217, 141, .85) 4% 7%, transparent 7% 13%, rgba(86, 182, 255, .7) 13% 16%, transparent 16% 23%, rgba(55, 217, 141, .75) 23% 27%, transparent 27% 36%, rgba(86, 182, 255, .8) 36% 39%, transparent 39% 48%, rgba(55, 217, 141, .9) 48% 51%, transparent 51% 60%, rgba(86, 182, 255, .72) 60% 64%, transparent 64% 73%, rgba(55, 217, 141, .72) 73% 77%, transparent 77% 86%, rgba(86, 182, 255, .76) 86% 90%, transparent 90% 100%);
  border-radius: 999px;
  filter: drop-shadow(0 0 16px rgba(55, 217, 141, .24));
  opacity: .92;
}

.preview-lower-third {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 12px 14px;
  border-radius: 13px;
  color: #eaf4ff;
  background: rgba(6, 9, 14, .78);
  border: 1px solid rgba(255, 255, 255, .12);
  font-weight: 820;
}

.health-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.health-grid div {
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(174, 194, 224, .13);
}

.health-grid span,
.result-grid dt {
  display: block;
  color: var(--muted-2);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-weight: 820;
}

.health-grid strong {
  display: block;
  margin-top: 6px;
  color: #f6fbff;
  font-size: .98rem;
}

.mini-checklist {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.mini-checklist li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #b8c5d6;
  font-weight: 720;
}

.mini-checklist span {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(55, 217, 141, .42);
}

.budget-meter {
  height: 18px;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(174, 194, 224, .16);
  background: linear-gradient(90deg, rgba(55, 217, 141, .08), rgba(246, 184, 75, .08), rgba(255, 93, 115, .08));
  margin: 18px 0 14px;
}

.budget-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #37d98d, #56b6ff);
  box-shadow: 0 0 24px rgba(86, 182, 255, .24);
}

.panel-note {
  margin: 14px 0 0;
  padding: 12px;
  border: 1px solid rgba(86, 182, 255, .16);
  border-radius: 13px;
  color: #b7c7da;
  background: rgba(86, 182, 255, .055);
  font-size: .92rem;
}

section { padding: 42px 20px; }

.tools-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.full { grid-column: 1 / -1; }

.tool-card h2::before,
.card h2::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 26px;
  margin-right: 10px;
  vertical-align: -4px;
  border-radius: 5px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
}

form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

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

label {
  display: grid;
  gap: 7px;
  color: #d8e5f4;
  font-weight: 760;
  font-size: .91rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(174, 194, 224, .18);
  background: rgba(5, 9, 14, .62);
  color: white;
  border-radius: 12px;
  padding: 11px 12px;
  font: inherit;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(86, 182, 255, .62);
  box-shadow: 0 0 0 3px rgba(86, 182, 255, .13);
}

textarea {
  min-height: 96px;
  resize: vertical;
}

.output {
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02)),
    rgba(5, 9, 14, .6);
  border: 1px solid rgba(174, 194, 224, .15);
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.result-grid div {
  padding: 11px;
  border-radius: 13px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(174, 194, 224, .1);
}

dd {
  margin: 5px 0 0;
  font-weight: 850;
  color: #f2f8ff;
}

.warning {
  margin-top: 14px;
  border-left: 3px solid var(--warning);
  padding: 10px 12px;
  color: #ffe0a0;
  background: rgba(246, 184, 75, .08);
  border-radius: 0 12px 12px 0;
}

.status-pill {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 10px;
  border-radius: 10px;
  font-size: .84rem;
  font-weight: 850;
  border: 1px solid var(--line);
}

.status-pill.healthy {
  color: #c9ffdf;
  background: rgba(55, 217, 141, .11);
  border-color: rgba(55, 217, 141, .35);
}

.status-pill.tight,
.status-pill.unknown {
  color: #ffe0a0;
  background: rgba(246, 184, 75, .1);
  border-color: rgba(246, 184, 75, .35);
}

.status-pill.over {
  color: #ffd0d7;
  background: rgba(255, 93, 115, .1);
  border-color: rgba(255, 93, 115, .38);
}

.obs-summary {
  margin-top: 14px;
  padding: 14px;
  border-radius: 15px;
  color: #dcecff;
  background: rgba(86, 182, 255, .09);
  border: 1px solid rgba(86, 182, 255, .18);
  line-height: 1.6;
}

.prose-card {
  max-width: 900px;
  margin: 0 auto;
}

.prose-card li { margin-bottom: 8px; }

.checklist {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
}

.checklist li {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: #aebbd0;
  background: rgba(255, 255, 255, .038);
}

.checklist span {
  display: inline-flex;
  min-width: 88px;
  margin-right: 10px;
  color: #c9ffdf;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .74rem;
}

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

.cluster-grid .card:nth-child(1),
.cluster-grid .card:nth-child(2) { grid-column: span 1; }

.gear-list {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.gear-list li {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, .04);
  line-height: 1.45;
}

.gear-list span {
  display: block;
  color: #b8ffe0;
  font-size: .73rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 6px;
}

.gear-list a { font-weight: 820; }

.gear-list p {
  margin: 8px 0 0;
  font-size: .9rem;
  line-height: 1.5;
}

.disclosure {
  font-size: .84rem;
  color: #cbd8e7;
  border: 1px solid rgba(55, 217, 141, .2);
  border-radius: 14px;
  padding: 12px;
  background: rgba(55, 217, 141, .055);
}

.footer {
  margin-top: 20px;
  padding: 28px 20px 48px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 980px) {
  .hero,
  .tools-grid,
  .cluster-grid,
  .gear-list {
    grid-template-columns: 1fr;
  }

  .hero { padding-top: 48px; }
  .hero-card { max-width: 620px; }
  .nav a { font-size: .78rem; padding: 7px 7px; }
}

@media (max-width: 850px) {
  .header {
    position: relative;
    top: 0;
    align-items: flex-start;
    flex-direction: column;
    width: min(calc(100% - 24px), 1160px);
    margin-top: 12px;
  }

  .nav {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    padding-right: 0;
  }

  .form-grid,
  .result-grid,
  .health-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .header { padding: 14px; border-radius: 18px; }
  .nav { gap: 5px; }
  .nav a { font-size: .76rem; padding: 6px 7px; }
  .hero, section { padding-left: 16px; padding-right: 16px; }
  h1 { font-size: clamp(2.35rem, 15vw, 3.4rem); }
  .ctas { flex-direction: column; }
  .button { width: 100%; }
  .preview-window { min-height: 190px; }
  .hero-card, .card, .tool-card { padding: 18px; border-radius: 18px; }
}
