:root {
  color-scheme: dark light;
  --bg: #08110f;
  --panel: rgba(255, 255, 255, 0.12);
  --panel-strong: rgba(255, 255, 255, 0.18);
  --text: #f3fbf8;
  --muted: rgba(243, 251, 248, 0.66);
  --line: rgba(255, 255, 255, 0.16);
  --accent: #17c964;
  --accent-2: #56d4ff;
  --danger: #ff5c7a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% -8%, rgba(86, 212, 255, 0.28), transparent 28rem),
    radial-gradient(circle at 110% 24%, rgba(23, 201, 100, 0.26), transparent 24rem),
    linear-gradient(145deg, #07110f 0%, #0d1618 58%, #14201d 100%);
  color: var(--text);
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.popup-shell {
  width: 390px;
  min-height: 560px;
  overflow: hidden;
}

.popup-frame {
  min-height: 560px;
  padding: 18px;
}

.glass-panel,
.metric-card,
.timeline-card,
.site-card {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(140%);
}

.glass-panel {
  border-radius: 24px;
}

.popup-hero,
.dashboard-header,
.section-heading,
.site-card,
.header-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.eyebrow,
.muted,
.metric-card span,
.metric-card small,
.status-message {
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: 25px;
  line-height: 1.08;
}

.power-button,
.icon-button {
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--text);
  background: var(--panel-strong);
}

.power-button {
  width: 54px;
  height: 54px;
  border-radius: 999px;
}

.power-button span {
  width: 24px;
  height: 24px;
  border: 4px solid var(--accent);
  border-top-color: transparent;
  border-radius: 999px;
}

.power-button.off span {
  border-color: var(--danger);
  border-top-color: transparent;
}

.stat-grid,
.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.dashboard-metrics {
  grid-template-columns: repeat(4, 1fr);
}

.metric-card,
.timeline-card,
.site-card,
.dashboard-panel {
  border-radius: 18px;
  padding: 14px;
}

.metric-card {
  min-height: 106px;
}

.metric-card.primary {
  background: linear-gradient(145deg, rgba(23, 201, 100, 0.34), rgba(86, 212, 255, 0.16));
}

.metric-card strong {
  display: block;
  margin: 12px 0 2px;
  font-size: 27px;
  line-height: 1;
}

.metric-card span,
.metric-card small {
  display: block;
  font-size: 12px;
}

.timeline-card,
.site-card,
.category-list {
  margin-top: 12px;
}

.section-heading {
  min-height: 30px;
  font-size: 13px;
}

.section-heading span {
  color: var(--muted);
}

.bar-chart {
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  align-items: end;
  height: 84px;
  gap: 4px;
  padding-top: 12px;
}

.bar-chart.large {
  grid-template-columns: repeat(60, 1fr);
  height: 220px;
}

.bar-chart span {
  min-height: 6px;
  border-radius: 999px 999px 3px 3px;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
}

.soft-button,
.danger-button {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 9px 12px;
  color: var(--text);
  background: var(--panel-strong);
}

.danger-button {
  border-color: rgba(255, 92, 122, 0.42);
  color: #ffdce4;
}

.icon-button {
  width: 30px;
  height: 30px;
  border-radius: 10px;
}

.site-row,
.diagnostic-row,
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

.site-row:last-child,
.diagnostic-row:last-child {
  border-bottom: 0;
}

.status-message {
  margin: 14px 2px 0;
  font-size: 12px;
  line-height: 1.35;
}

.dashboard-shell {
  min-height: 100vh;
  padding: 28px;
}

.dashboard-layout {
  max-width: 1180px;
  margin: 0 auto;
}

.dashboard-header h1 {
  font-size: 42px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  gap: 16px;
  margin-top: 16px;
}

.dashboard-panel {
  min-height: 260px;
}

.toggle-row {
  min-height: 45px;
}

.toggle-row input {
  width: 42px;
  height: 24px;
  accent-color: var(--accent);
}

.site-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin: 14px 0;
}

.site-form input {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 11px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
}

.marketing-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 24%, rgba(86, 212, 255, 0.2), transparent 28%),
    linear-gradient(120deg, rgba(3, 20, 16, 0.88), rgba(5, 13, 18, 0.64) 48%, rgba(20, 11, 28, 0.72)),
    linear-gradient(145deg, #04110e 0%, #0a1617 48%, #201124 100%);
}

.marketing-shell a {
  color: inherit;
  text-decoration: none;
}

.marketing-nav,
.marketing-hero,
.marketing-band,
.stats-showcase,
.privacy-band,
.marketing-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.marketing-nav {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(4, 16, 14, 0.9);
  backdrop-filter: blur(22px) saturate(145%);
}

.brand-lockup,
.marketing-nav nav,
.hero-actions,
.preview-topline,
.marketing-footer {
  display: flex;
  align-items: center;
}

.brand-lockup {
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
}

.brand-mark {
  position: relative;
  display: block;
  width: 32px;
  height: 32px;
  overflow: hidden;
  border: 1px solid rgba(152, 255, 193, 0.42);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(152, 255, 193, 0.96), rgba(86, 212, 255, 0.86)),
    #07120f;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.24),
    0 10px 28px rgba(35, 219, 129, 0.18);
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  content: "";
}

.brand-mark::before {
  inset: 7px;
  border: 3px solid #06120f;
  border-radius: 999px;
}

.brand-mark::after {
  display: block;
  top: 14px;
  left: 7px;
  width: 18px;
  height: 4px;
  border-radius: 999px;
  background: #06120f;
  transform: rotate(-24deg);
}

.marketing-nav nav {
  gap: 22px;
  color: rgba(243, 251, 248, 0.8);
  font-size: 14px;
}

.marketing-nav a:hover {
  color: #fff;
}

.nav-action,
.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 12px;
  padding: 0 16px;
  font-weight: 800;
}

.nav-action,
.secondary-link {
  border: 1px solid rgba(226, 255, 239, 0.24);
  color: #f8fffb;
  background: rgba(255, 255, 255, 0.1);
}

.marketing-shell .primary-link {
  border: 1px solid rgba(184, 255, 211, 0.74);
  color: #03110b;
  background: linear-gradient(180deg, #b9ffd1 0%, #78f1a7 100%);
  box-shadow: 0 18px 42px rgba(23, 201, 100, 0.32);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.32);
}

.marketing-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
  gap: 34px;
  align-items: center;
  min-height: calc(100vh - 156px);
  padding: 48px 0 38px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  font-size: clamp(58px, 9vw, 118px);
  line-height: 0.9;
}

.hero-lede {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(243, 251, 248, 0.86);
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-product {
  position: relative;
  min-height: 560px;
}

.browser-preview,
.hero-popup-preview,
.feature-grid article,
.stat-wall article,
.privacy-list {
  border: 1px solid rgba(228, 255, 240, 0.16);
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(24px) saturate(145%);
}

.browser-preview {
  position: absolute;
  inset: 38px 0 auto auto;
  width: min(100%, 650px);
  min-height: 424px;
  overflow: hidden;
  border-radius: 22px;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
}

.browser-bar span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #ff6b7d;
}

.browser-bar span:nth-child(2) {
  background: #ffc857;
}

.browser-bar span:nth-child(3) {
  background: #7cffad;
}

.browser-bar strong {
  min-width: 0;
  margin-left: 10px;
  overflow: hidden;
  color: rgba(243, 251, 248, 0.82);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.watch-preview {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(170px, 0.55fr);
  gap: 18px;
  padding: 18px;
}

.video-surface {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 318px;
  overflow: hidden;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(124, 255, 173, 0.2), rgba(86, 212, 255, 0.08)),
    linear-gradient(155deg, #121818 0%, #1a2426 52%, #34212f 100%);
}

.video-surface::before,
.video-surface::after {
  position: absolute;
  content: "";
}

.video-surface::before {
  inset: 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.video-surface::after {
  right: 22px;
  bottom: 20px;
  width: 124px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(90deg, rgba(255, 107, 125, 0.85), rgba(255, 200, 87, 0.8));
  opacity: 0.34;
}

.skip-badge,
.blocked-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid rgba(124, 255, 173, 0.36);
  border-radius: 999px;
  color: #dfffea;
  background: rgba(5, 20, 12, 0.72);
}

.skip-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  min-height: 36px;
  padding: 0 13px;
  font-size: 13px;
  font-weight: 800;
}

.play-ring {
  width: 74px;
  height: 74px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.feed-lines {
  display: grid;
  align-content: start;
  gap: 14px;
}

.line {
  display: block;
  width: 78%;
  height: 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.line.wide {
  width: 100%;
  height: 120px;
  border-radius: 14px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.16), rgba(86, 212, 255, 0.1));
}

.line.short {
  width: 52%;
}

.blocked-chip {
  min-height: 34px;
  padding: 0 12px;
  color: #f7fff9;
  font-size: 12px;
  font-weight: 800;
}

.hero-popup-preview {
  position: absolute;
  right: 34px;
  bottom: 8px;
  width: min(330px, 68%);
  border-radius: 20px;
  padding: 18px;
  background: rgba(7, 18, 16, 0.82);
}

.preview-topline {
  justify-content: space-between;
  gap: 14px;
  color: rgba(243, 251, 248, 0.84);
  font-size: 13px;
}

.preview-topline strong {
  color: #7cffad;
  font-size: 30px;
}

.preview-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 18px;
}

.preview-stats div {
  min-width: 0;
  border-radius: 12px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.09);
}

.preview-stats strong,
.preview-stats span {
  display: block;
}

.preview-stats strong {
  font-size: 19px;
}

.preview-stats span {
  margin-top: 4px;
  color: rgba(243, 251, 248, 0.78);
  font-size: 11px;
}

.mini-bars {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: end;
  gap: 5px;
  height: 76px;
  margin-top: 18px;
}

.mini-bars span {
  min-height: 12px;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, #56d4ff, #7cffad);
}

.mini-bars span:nth-child(2n) {
  height: 48%;
}

.mini-bars span:nth-child(3n) {
  height: 78%;
}

.mini-bars span:nth-child(4n) {
  height: 34%;
}

.marketing-band,
.stats-showcase,
.privacy-band {
  padding: 76px 0;
}

.section-kicker {
  max-width: 760px;
}

.section-kicker h2,
.stats-showcase h2,
.privacy-band h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.feature-grid article {
  min-height: 250px;
  border-radius: 18px;
  padding: 22px;
}

.feature-icon {
  position: relative;
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(124, 255, 173, 0.16);
}

.feature-icon::before,
.feature-icon::after {
  position: absolute;
  content: "";
}

.feature-icon.network::before {
  inset: 11px;
  border: 2px solid #7cffad;
  border-radius: 999px;
}

.feature-icon.network::after {
  top: 20px;
  left: 9px;
  width: 24px;
  height: 2px;
  background: #7cffad;
}

.feature-icon.video::before {
  inset: 12px 10px;
  border: 2px solid #56d4ff;
  border-radius: 7px;
}

.feature-icon.video::after {
  top: 16px;
  left: 18px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #56d4ff;
}

.feature-icon.social::before,
.feature-icon.social::after {
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: #ffc857;
}

.feature-icon.social::before {
  top: 15px;
  left: 10px;
  transform: rotate(38deg);
}

.feature-icon.social::after {
  top: 24px;
  left: 10px;
  transform: rotate(-38deg);
}

.feature-icon.control::before {
  top: 11px;
  left: 18px;
  width: 6px;
  height: 20px;
  border-radius: 999px;
  background: #ff8db0;
}

.feature-icon.control::after {
  inset: 10px;
  border: 2px solid #ff8db0;
  border-top-color: transparent;
  border-radius: 999px;
}

.feature-grid h3 {
  margin: 24px 0 10px;
  font-size: 20px;
}

.feature-grid p,
.stats-showcase p,
.privacy-band p {
  margin: 0;
  color: rgba(243, 251, 248, 0.78);
  line-height: 1.65;
}

.stats-showcase,
.privacy-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
  gap: 36px;
  align-items: center;
}

.stats-showcase p,
.privacy-band p {
  max-width: 660px;
  margin-top: 18px;
  font-size: 18px;
}

.stat-wall {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.stat-wall article {
  min-height: 150px;
  border-radius: 18px;
  padding: 22px;
}

.stat-wall strong {
  display: block;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1;
}

.stat-wall span {
  display: block;
  margin-top: 12px;
  color: rgba(243, 251, 248, 0.8);
}

.privacy-list {
  display: grid;
  gap: 12px;
  border-radius: 18px;
  padding: 18px;
}

.privacy-list div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(243, 251, 248, 0.86);
}

.privacy-list div:last-child {
  border-bottom: 0;
}

.privacy-list span {
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: #7cffad;
  box-shadow: 0 0 0 6px rgba(124, 255, 173, 0.12);
}

.marketing-footer {
  justify-content: space-between;
  min-height: 94px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(243, 251, 248, 0.64);
}

.marketing-footer span {
  margin-right: auto;
  color: #fff;
  font-weight: 800;
}

.marketing-footer a {
  margin-left: 20px;
}

@media (max-width: 760px) {
  .dashboard-shell {
    padding: 16px;
  }

  .dashboard-header,
  .dashboard-metrics,
  .dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .dashboard-header h1 {
    font-size: 32px;
  }

  .marketing-nav,
  .marketing-hero,
  .marketing-band,
  .stats-showcase,
  .privacy-band,
  .marketing-footer {
    width: min(100% - 28px, 1180px);
  }

  .marketing-nav {
    min-height: 66px;
  }

  .marketing-shell {
    background:
      radial-gradient(circle at 80% 16%, rgba(86, 212, 255, 0.16), transparent 32%),
      linear-gradient(120deg, rgba(3, 20, 16, 0.88), rgba(5, 13, 18, 0.64) 48%, rgba(20, 11, 28, 0.72)),
      linear-gradient(145deg, #04110e 0%, #0a1617 48%, #201124 100%);
  }

  .marketing-nav nav {
    display: none;
  }

  .nav-action {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .marketing-hero,
  .stats-showcase,
  .privacy-band {
    grid-template-columns: 1fr;
  }

  .marketing-hero {
    gap: 18px;
    min-height: auto;
    padding: 34px 0 30px;
  }

  .hero-lede {
    font-size: 17px;
  }

  .hero-product {
    min-height: 410px;
  }

  .browser-preview {
    inset: 0 0 auto;
    width: 100%;
    min-height: 360px;
  }

  .watch-preview {
    grid-template-columns: 1fr;
  }

  .video-surface {
    min-height: 206px;
  }

  .feed-lines {
    display: none;
  }

  .hero-popup-preview {
    right: 14px;
    bottom: 2px;
    width: min(340px, 88%);
  }

  .preview-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .preview-stats strong {
    font-size: 17px;
  }

  .preview-stats span {
    font-size: 10px;
  }

  .mini-bars {
    height: 54px;
  }

  .marketing-band,
  .stats-showcase,
  .privacy-band {
    padding: 46px 0;
  }

  .feature-grid,
  .stat-wall {
    grid-template-columns: 1fr;
  }

  .feature-grid article {
    min-height: auto;
  }

  .marketing-footer {
    flex-wrap: wrap;
    gap: 14px;
    padding: 24px 0;
  }

  .marketing-footer a {
    margin-left: 0;
  }
}
