:root {
  color-scheme: light;
  --ink: #17201b;
  --muted: #66746d;
  --line: #d8e0da;
  --panel: #ffffff;
  --soft: #f4f7f2;
  --field: #f9faf7;
  --green: #1f6f4a;
  --green-dark: #174b36;
  --gold: #b9842c;
  --brick: #9f4c3a;
  --shadow: 0 18px 45px rgba(23, 32, 27, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--soft);
  letter-spacing: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  color: #ffffff;
  background: var(--green);
  cursor: pointer;
  font-weight: 700;
}

button:hover {
  background: var(--green-dark);
}

a {
  color: inherit;
  text-decoration: none;
}

label {
  display: block;
  margin-top: 14px;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--field);
  color: var(--ink);
  padding: 12px;
}

textarea {
  resize: vertical;
  line-height: 1.55;
}

.hidden {
  display: none !important;
}

.login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(rgba(23, 32, 27, 0.52), rgba(23, 32, 27, 0.42)),
    url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.home-page {
  background: #ffffff;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  background: rgba(23, 32, 27, 0.52);
  backdrop-filter: blur(14px);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.site-logo span {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--green);
  overflow: hidden;
}

.site-logo img {
  width: 76%;
  height: 76%;
  display: block;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 28px);
  font-weight: 800;
}

.home-hero {
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding: 120px clamp(18px, 5vw, 72px) 70px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(23, 32, 27, 0.86), rgba(23, 32, 27, 0.5), rgba(23, 32, 27, 0.15)),
    url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.home-hero-content {
  width: min(760px, 100%);
}

.home-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(3.2rem, 10vw, 7.8rem);
  line-height: 0.95;
}

.home-hero p {
  width: min(620px, 100%);
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.45;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 6px;
  padding: 0 18px;
  font-weight: 900;
}

.primary-link {
  background: var(--green);
  color: #ffffff;
}

.secondary-link {
  border: 1px solid rgba(255, 255, 255, 0.46);
  color: #ffffff;
}

.home-band {
  padding: 70px clamp(18px, 5vw, 72px);
}

.muted-band {
  background: var(--soft);
}

.home-section-heading {
  width: min(720px, 100%);
  margin-bottom: 28px;
}

.home-section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

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

.timeline-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-feature-grid article,
.timeline-grid article {
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 22px;
}

.home-feature-grid h3,
.timeline-grid h3 {
  margin: 0 0 10px;
}

.home-feature-grid p,
.timeline-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.timeline-grid span {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
}

.login-panel {
  width: min(440px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  padding: 30px;
}

.back-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 900;
}

.back-link::before {
  content: "<";
  color: var(--gold);
}

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

.brand-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  font-weight: 900;
  letter-spacing: 0;
}

.logo-mark {
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
  padding: 0;
}

.logo-mark img {
  width: 78%;
  height: 78%;
  display: block;
  object-fit: contain;
}

.brand-mark.small {
  width: 42px;
  height: 42px;
  font-size: 0.8rem;
}

.login-panel h1 {
  margin: 18px 0 8px;
  font-size: clamp(2rem, 8vw, 3.2rem);
  line-height: 1;
}

.login-panel p {
  margin: 0 0 22px;
  color: var(--muted);
}

.login-error {
  min-height: 24px;
  margin: 12px 0 0 !important;
  color: var(--brick) !important;
  font-weight: 700;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 24px 16px;
  border-right: 1px solid var(--line);
  background: #ffffff;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 8px 18px;
  border-bottom: 1px solid var(--line);
}

.sidebar-brand span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-list {
  display: grid;
  gap: 8px;
}

.nav-item,
.logout-button,
.secondary-button {
  background: transparent;
  color: var(--ink);
  border: 1px solid transparent;
  text-align: left;
  padding: 10px 12px;
}

.nav-item:hover,
.nav-item.active,
.secondary-button:hover {
  background: var(--soft);
  border-color: var(--line);
  color: var(--green-dark);
}

.logout-button {
  margin-top: auto;
  border-color: var(--line);
  text-align: center;
}

.main-panel {
  min-width: 0;
  padding: 28px;
}

.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.topbar h2 {
  margin: 0;
  font-size: 2rem;
}

.status-pill {
  border: 1px solid rgba(185, 132, 44, 0.35);
  border-radius: 999px;
  background: #fff8ea;
  color: #7b551c;
  padding: 8px 12px;
  font-size: 0.86rem;
  font-weight: 800;
  white-space: normal;
}

.status-pill.compact {
  padding: 6px 10px;
}

.view {
  display: none;
}

.active-view {
  display: block;
}

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

.metric-card,
.work-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 26px rgba(23, 32, 27, 0.06);
}

.metric-card {
  padding: 18px;
}

.metric-card span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.metric-card strong {
  display: block;
  margin: 10px 0 6px;
  font-size: 2rem;
}

.metric-card p,
.work-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.two-column,
.generator-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.work-panel {
  padding: 20px;
}

.work-panel h3 {
  margin: 0 0 14px;
  font-size: 1.12rem;
}

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

.task-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink);
}

.task-list input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--green);
}

.large-note {
  font-size: 1.08rem;
  color: var(--ink) !important;
  font-weight: 800;
}

.rule-box {
  margin-top: 16px;
  border-left: 4px solid var(--green);
  background: var(--soft);
  padding: 14px;
  line-height: 1.5;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.panel-heading h3 {
  margin: 0;
}

.secondary-button {
  min-height: 36px;
  border-color: var(--line);
  text-align: center;
  font-size: 0.9rem;
}

.output-panel pre {
  min-height: 360px;
  max-height: 520px;
  overflow: auto;
  margin: 0;
  white-space: pre-wrap;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #111a15;
  color: #e8f3ec;
  padding: 16px;
  line-height: 1.55;
}

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

.calendar-card {
  min-height: 170px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--field);
  padding: 14px;
}

.calendar-card h4 {
  margin: 0 0 8px;
}

.calendar-card p {
  margin: 0 0 10px;
}

.calendar-card ul {
  margin: 0;
  padding-left: 18px;
  line-height: 1.55;
}

.video-table {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.video-row {
  display: grid;
  grid-template-columns: 80px minmax(180px, 1fr) 150px 130px;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.video-row:nth-child(even) {
  background: var(--field);
}

.video-row:last-child {
  border-bottom: 0;
}

.video-row.header {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  background: var(--soft);
}

.tag {
  width: fit-content;
  border-radius: 999px;
  background: #e9f3ed;
  color: var(--green-dark);
  padding: 5px 9px;
  font-size: 0.78rem;
  font-weight: 900;
}

.button-row {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.button-row button {
  padding: 0 18px;
}

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

.admin-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--field);
  padding: 16px;
}

.admin-grid h4 {
  margin: 0 0 8px;
}

@media (max-width: 980px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: sticky;
    top: 0;
    z-index: 2;
    display: block;
    padding: 14px;
  }

  .sidebar-brand {
    padding-bottom: 12px;
  }

  .nav-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 12px;
  }

  .nav-item {
    text-align: center;
  }

  .logout-button {
    width: 100%;
    margin-top: 10px;
  }

  .metric-grid,
  .calendar-grid,
  .home-feature-grid,
  .timeline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-column,
  .generator-grid,
  .admin-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .main-panel {
    padding: 18px;
  }

  .topbar {
    display: grid;
  }

  .topbar h2 {
    font-size: 1.55rem;
  }

  .metric-grid,
  .calendar-grid,
  .nav-list,
  .home-feature-grid,
  .timeline-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .site-nav {
    gap: 12px;
    font-size: 0.9rem;
  }

  .site-logo strong {
    display: none;
  }

  .home-hero {
    min-height: 88vh;
  }

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

  .video-row.header {
    display: none;
  }
}

/* Tech Pink Theme */
:root {
  color-scheme: dark;
  --ink: #f9f4ff;
  --muted: #aaa1b8;
  --line: rgba(255, 255, 255, 0.12);
  --panel: rgba(18, 15, 27, 0.82);
  --soft: #08070d;
  --field: rgba(255, 255, 255, 0.06);
  --green: #ff3ba7;
  --green-dark: #d81284;
  --gold: #ff8bd2;
  --brick: #ff5b7d;
  --violet: #8d5cff;
  --cyan: #36eaff;
  --shadow: 0 24px 80px rgba(255, 59, 167, 0.18);
}

body {
  color: var(--ink);
  background:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    radial-gradient(ellipse at 50% 0%, rgba(255, 59, 167, 0.28), transparent 42%),
    #07060b;
  background-size: 46px 46px, 46px 46px, 100% 100%, 100% 100%;
}

button,
.primary-link {
  background: linear-gradient(135deg, #ff3ba7, #8d5cff);
  color: #fff;
  box-shadow: 0 16px 42px rgba(255, 59, 167, 0.25);
}

button:hover,
.primary-link:hover {
  background: linear-gradient(135deg, #ff67bd, #9f7aff);
}

input,
select,
textarea {
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--ink);
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(255, 59, 167, 0.78);
  box-shadow: 0 0 0 4px rgba(255, 59, 167, 0.12);
}

select option {
  background: #100d18;
  color: var(--ink);
}

.home-page {
  background:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    #06050a;
  background-size: 58px 58px, 58px 58px, 100% 100%;
}

.site-header {
  margin: 18px clamp(16px, 4vw, 54px) 0;
  left: 0;
  right: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(11, 9, 18, 0.72);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.32);
}

.site-logo span,
.brand-mark:not(.logo-mark) {
  background: linear-gradient(135deg, #ff3ba7, #8d5cff);
}

.site-logo span {
  background: rgba(255, 255, 255, 0.05);
}

.site-logo .logo-icon {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
}

.login-panel > .logo-mark {
  width: 74px;
  height: 74px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 44px rgba(255, 59, 167, 0.18);
}

.sidebar .logo-mark.small {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 10px;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.72);
}

.site-nav a:hover {
  color: #ffffff;
}

.home-hero {
  position: relative;
  min-height: 92vh;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 140px clamp(18px, 5vw, 72px) 72px;
  text-align: center;
  background:
    linear-gradient(rgba(6, 5, 10, 0.3), rgba(6, 5, 10, 0.88)),
    radial-gradient(ellipse at 50% 8%, rgba(255, 59, 167, 0.42), transparent 38%),
    linear-gradient(115deg, rgba(141, 92, 255, 0.22), rgba(255, 59, 167, 0.16), transparent 58%),
    url("https://images.unsplash.com/photo-1639322537228-f710d846310a?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
  pointer-events: none;
}

.home-hero-content {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  margin: 0 auto;
}

.home-hero .eyebrow,
.eyebrow {
  color: var(--gold);
  letter-spacing: 0.12em;
}

.home-hero h1 {
  margin: 8px auto 22px;
  max-width: 980px;
  font-size: clamp(3.8rem, 10vw, 9.5rem);
  font-weight: 850;
  line-height: 0.88;
  color: #ffffff;
}

.home-hero p {
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.76);
}

.home-actions {
  justify-content: center;
}

.secondary-link {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  backdrop-filter: blur(14px);
}

.hero-panel {
  position: absolute;
  z-index: 1;
  width: 150px;
  min-height: 124px;
  display: grid;
  align-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  padding: 18px;
  text-align: left;
  backdrop-filter: blur(18px);
}

.hero-panel span,
.home-stats span,
.card-index {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-panel strong {
  color: #fff;
  font-size: 2.2rem;
}

.hero-panel small {
  color: var(--muted);
  font-weight: 800;
}

.hero-panel-left {
  left: clamp(22px, 5vw, 86px);
  bottom: 22%;
}

.hero-panel-right {
  right: clamp(22px, 5vw, 86px);
  top: 24%;
}

.home-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(10, 8, 16, 0.92);
}

.home-stats article {
  min-height: 116px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 24px clamp(18px, 4vw, 56px);
  border-right: 1px solid var(--line);
}

.home-stats article:last-child {
  border-right: 0;
}

.home-stats strong {
  color: #fff;
  font-size: clamp(1.6rem, 4vw, 3.2rem);
  line-height: 1;
}

.home-band {
  background: #08070d;
}

.muted-band {
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    #0c0913;
  background-size: 54px 54px, 54px 54px, 100% 100%;
}

.home-section-heading h2 {
  color: #fff;
}

.home-feature-grid article,
.timeline-grid article,
.metric-card,
.work-panel,
.calendar-card,
.admin-grid article {
  position: relative;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.035)),
    rgba(12, 10, 18, 0.86);
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.home-feature-grid article::before,
.timeline-grid article::before,
.metric-card::before,
.work-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 59, 167, 0.8), transparent);
}

.home-feature-grid h3,
.timeline-grid h3,
.work-panel h3,
.admin-grid h4 {
  color: #fff;
}

.card-index {
  display: block;
  margin-bottom: 44px;
  color: var(--gold);
}

.site-footer {
  background: #06050a;
  border-color: var(--line);
}

.login-screen {
  background:
    linear-gradient(rgba(6, 5, 10, 0.58), rgba(6, 5, 10, 0.9)),
    radial-gradient(ellipse at 50% 8%, rgba(255, 59, 167, 0.46), transparent 38%),
    linear-gradient(120deg, rgba(141, 92, 255, 0.24), rgba(255, 59, 167, 0.18), transparent 62%),
    url("https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.login-panel {
  width: min(500px, 100%);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(13, 11, 20, 0.84);
  color: var(--ink);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.login-panel h1 {
  color: #fff;
}

.login-panel p {
  color: var(--muted);
}

.app-shell {
  background:
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    #07060b;
  background-size: 48px 48px, 48px 48px, 100% 100%;
}

.sidebar {
  background: rgba(9, 8, 14, 0.94);
  border-color: var(--line);
}

.nav-item,
.logout-button,
.secondary-button {
  color: rgba(255, 255, 255, 0.78);
}

.nav-item:hover,
.nav-item.active,
.secondary-button:hover {
  background: rgba(255, 59, 167, 0.12);
  border-color: rgba(255, 59, 167, 0.22);
  color: #fff;
}

.status-pill {
  border-color: rgba(255, 59, 167, 0.3);
  background: rgba(255, 59, 167, 0.12);
  color: #ffd7ef;
}

.metric-card strong {
  color: #fff;
}

.rule-box {
  background: rgba(255, 59, 167, 0.09);
}

.output-panel pre {
  background: #06050a;
  color: #f9f4ff;
}

.video-row {
  background: rgba(255, 255, 255, 0.045);
}

.video-row:nth-child(even),
.video-row.header {
  background: rgba(255, 255, 255, 0.075);
}

.tag {
  background: rgba(255, 59, 167, 0.16);
  color: #ffd7ef;
}

@media (max-width: 980px) {
  .home-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-panel {
    display: none;
  }
}

@media (max-width: 620px) {
  .site-header {
    position: absolute;
    margin: 12px;
    border-radius: 8px;
    padding: 14px;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .home-hero {
    min-height: 88vh;
    text-align: left;
    justify-content: flex-start;
  }

  .home-actions {
    justify-content: flex-start;
  }

  .home-stats {
    grid-template-columns: 1fr;
  }

  .home-stats article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}
