/* =========================================================
   IOCX Full Stylesheet with Refined Typography & Premium Dark Theme
   ========================================================= */

:root {
  /* Core palette: premium charcoal dark */
  --bg: #0b0f16;
  --bg-alt: #111722;
  --surface-soft: #151c28;
  --surface-strong: #1b2433;

  --fg: #f7f8fb;
  --fg-soft: #d3d7e3;
  --muted: #9ca3b5;

  /* Brand accents */
  --accent: #f47853; /* warm primary accent */
  --accent-soft: rgba(244, 120, 83, 0.14);
  --accent-alt: #35c2ff; /* cool secondary accent */
  --accent-alt-soft: rgba(53, 194, 255, 0.14);

  --danger: #f97373;

  --border-subtle: #1f2937;
  --border-strong: #273244;

  --card-bg: #151c28;

  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Menlo, monospace;
}

/* =========================================================
   Base / Reset
   ========================================================= */

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

html,
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top, #1b2435 0, #0b0f16 55%);
  color: var(--fg);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Global typography */

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.4rem;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.6rem, 3.4vw, 3.4rem);
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.6rem, 2.1vw, 2rem);
  line-height: 1.15;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.2;
}

h4 {
  font-size: 1.05rem;
  line-height: 1.25;
}

p {
  margin: 0 0 0.8rem;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

strong {
  color: var(--fg-soft);
}

/* =========================================================
   Layout
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 7vw;
  background: linear-gradient(
    to bottom,
    rgba(11, 15, 22, 0.96),
    rgba(11, 15, 22, 0.88),
    transparent
  );
  border-bottom: 1px solid rgba(39, 50, 68, 0.9);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

/* Container for MalX + IOCX */
.logo {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding: 0.2rem 0;
}

/* MalX parent brand (subtle, secondary) */
.logo img {
  width: clamp(90px, 14vw, 120px);
  height: auto;
  opacity: 0.65;
  filter: saturate(0.75);
  transition: opacity 0.2s ease;
}

.logo img:hover {
  opacity: 1;
}

/* IOCX product brand (primary) */
.logo-iocx {
  width: clamp(200px, 26vw, 320px);
  height: auto;
  display: block;
}

.logo-mark {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--accent);
  box-shadow: 0 0 10px rgba(244, 120, 83, 0.25);
}

.logo-text {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.nav {
  display: flex;
  gap: 1.1rem;
  font-size: 0.85rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  position: relative;
  padding-bottom: 0.2rem;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent-alt);
  transition: width 0.18s ease-out;
}

.nav a:hover {
  color: var(--fg);
}

.nav a:hover::after {
  width: 100%;
}

.nav a[aria-current="page"] {
  border-bottom: 1px solid var(--accent-alt);
  color: var(--fg);
}

main {
  flex: 1;
  padding: 2.5rem 7vw 3.5rem;
}

/* Scroll cue */

.scroll-cue {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.35s ease;
  bottom: clamp(20px, 5vh, 36px);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(199, 210, 229, 0.9);
  pointer-events: none;
  animation: fade-in 2s ease forwards;
  user-select: none;
  z-index: 10;
}

.scroll-arrow {
  font-size: 1.1rem;
  margin-top: 6px;
  animation: arrow-bob 1.8s ease-in-out infinite;
}

.scroll-cue span {
  opacity: 0.9;
  letter-spacing: 0.02em;
}

@keyframes arrow-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.anchor-offset {
  scroll-margin-top: 230px; /* or 120â€“140 depending on header height */
}

/* =========================================================
   Hero
   ========================================================= */

.video-header {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 480px;
  overflow: hidden;
  background-color: #0a0f18;
  background-image: url("data:image/svg+xml;utf8,\
  <svg xmlns='http://www.w3.org/2000/svg' width='120' height='104' viewBox='0 0 120 104'>\
    <g fill='none' stroke='rgba(0,212,255,0.18)' stroke-width='1'>\
      <polygon points='30,2 90,2 118,52 90,102 30,102 2,52'/>\
    </g>\
  </svg>");
  background-size: 120px 104px;
  background-position: center;
}

.video-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.45), rgba(0,0,0,0.85));
  pointer-events: none;
}

.video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: brightness(0.6) contrast(1.15);
  object-position: center center;
}

.hero {
  position: relative;
  display: grid;
  gap: 3rem;
  align-items: center;
  padding: clamp(2rem, 6vh, 4rem) 0;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 960px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-content h1 {
  text-transform: none;
}

.hero-content h2 {
  font-weight: 500;
  margin-bottom: 0.6rem;
  color: var(--fg-soft);
}

.tagline {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-alt);
  margin: 0.3rem 0 1rem;
}

.hero-text {
  max-width: 34rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.4rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* =========================================================
   Quickstart
   ========================================================== */

.code-block {
  position: relative;
}

/* Corrected selector + SVG support */
.copy-btn {
  position: absolute;
  top: 10px;
  right: 14px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;

  background: #1a1a1a;
  border: 1px solid #333;
  color: #e6e6e6;

  padding: 4px 10px;
  font-size: 0.8rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s ease;
  z-index: 10;
}

.copy-btn:hover {
  background: #222;
}

.copy-btn:active {
  background: #333;
}

.copy-icon {
  width: 14px;
  height: 14px;
  pointer-events: none;
}

/* Quickstart container */
.quickstart {
  max-width: 54rem;
  margin: 3rem auto;
  background: radial-gradient(circle at top left, rgba(53, 194, 255, 0.12), transparent 55%);
  border-radius: 18px;
  border: 1px solid var(--border-strong);
  padding: 2.4rem 2.6rem 2.6rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}

/* Subtle inset */
.quickstart h2,
.quickstart p,
.quickstart pre,
.quickstart .hero-actions {
  margin-left: 0.7rem;
  margin-right: 0.2rem;
}

/* Code block styling */
.quickstart pre {
  padding: 1.3rem 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: var(--surface-soft);
  margin-bottom: 1.8rem;

  /* Ensure button aligns correctly */
  position: relative;
}

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.18s ease-out,
    color 0.18s ease-out,
    border-color 0.18s ease-out,
    box-shadow 0.18s ease-out,
    transform 0.12s ease-out;
}

.btn.primary {
  background: var(--accent);
  color: #050814;
  border-color: var(--accent);
  box-shadow: 0 10px 26px rgba(244, 120, 83, 0.35);
}

.btn.primary:hover {
  background: #f58a69;
  border-color: #f58a69;
  box-shadow: 0 14px 32px rgba(244, 120, 83, 0.45);
  transform: translateY(-1px);
}

.btn.secondary {
  background: transparent;
  color: var(--fg);
  border-color: var(--border-subtle);
}

.btn.secondary:hover {
  border-color: var(--accent-alt);
  background: rgba(53, 194, 255, 0.10);
  color: #e8faff;
  box-shadow: 0 10px 24px rgba(53, 194, 255, 0.35);
  transform: translateY(-1px);
}

.btn.primary-inline {
  color: var(--accent);
}

/* =========================================================
   Sections
   ========================================================= */

.section {
  padding: 2.5rem 0;
  max-width: 54rem;
  margin: 0 auto;
}

.section h3 {
  margin-bottom: 0.9rem;
}

.section-intro {
  margin-bottom: 1.4rem;
}

blockquote {
  margin: 1.2rem 0;
  padding-left: 1rem;
  border-left: 2px solid var(--accent);
  color: var(--fg-soft);
  font-style: italic;
}

/* =========================================================
   Lists
   ========================================================= */

.bullets {
  list-style: none;
  padding-left: 0;
  margin: 0.8rem 0 1.2rem;
}

.bullets-steps {
  padding-left: 10;
  margin: 0.8rem 0 1.2rem;
}

.bullets-steps li strong {
  color: #fff;
}

.bullets-steps li,
.bullets li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.bullets-steps li::marker {
  color: var(--accent);
}

.bullets li::before {
  content: ">";
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-mono);
  color: var(--accent-alt);
}

.repo-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  border: 1px solid var(--border-subtle);
  background: var(--surface-soft);
  border-radius: 14px;
  padding: 1.2rem 1.4rem;
  box-shadow: 0 10px 26px rgba(0,0,0,0.35);
}

.repo-list li {
  margin: 0.4rem 0;
  padding: 0.4rem 0;
  font-size: 0.95rem;
  color: var(--fg-soft);
  display: flex;
  flex-direction: column;
}

.repo-list li span {
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.1rem;
}

.repo-list a {
  color: var(--accent-alt);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-decoration: none;
  word-break: break-all;
  transition: color 0.15s ease, text-shadow 0.15s ease;
}

.repo-list a:hover {
  color: var(--accent);
  text-shadow: 0 0 6px rgba(244,120,83,0.45);
}

/* =========================================================
   Code
   ========================================================= */

pre {
  padding: 5px;
  border-radius: 6px;
  overflow-x: auto;
}

code {
  font-family: Consolas, Monaco, monospace;
}

/* =========================================================
   Grid / Cards
   ========================================================= */

.section-grid {
  max-width: 64rem;
  margin: 0 auto;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
  margin-top: 1.4rem;
}

.card {
  background: var(--card-bg);
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  padding: 1.1rem 1.2rem;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
}

.card h4 {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.card p {
  margin: 0;
  font-size: 0.9rem;
}

/* =========================================================
   Examples
   ========================================================= */
.example-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

/* Panels */
.example-panel {
  flex: 1;
  min-width: 0;
}

/* Make wide JSON panels span the full width */
.example-panel.wide-output {
  grid-column: 1 / -1;
}

/* Code blocks */
.example-panel pre {
  background: #0d0d0d;
  color: #e6e6e6;
  padding: 1rem;
  border-radius: 6px;

  /* FIX: allow horizontal scroll instead of wrapping */
  white-space: pre;
  overflow-x: auto;

  /* prevent forced word-breaking */
  word-break: normal;

  font-family: "JetBrains Mono", "Fira Code", monospace;
  font-size: 0.95rem;
  line-height: 1.45;
}

/* Accent: cold, desaturated blue */
.key {
  color: #5fa8ff; /* IOCX accent */
  font-weight: 500;
}

/* Strings: slightly lighter grey, not neon */
.string {
  color: #c8c8c8;
}

/* Numbers: neutral, slightly brighter */
.number {
  color: #dcdcdc;
}

/* Booleans: muted red for flags, not neon */
.boolean {
  color: #ff6b6b;
  font-weight: 500;
}

/* Null: same as boolean for consistency */
.null {
  color: #ff6b6b;
}

/* CLI commands: subtle cyan tint */
.cli {
  color: #7fd3e3;
}

/* Comments / logs: graphite grey */
.comment {
  color: #6a6a6a;
  font-style: italic;
}

/* =========================================================
   Warning / Responsible use
   ========================================================= */

.warning {
  border-radius: 14px;
  border: 1px solid rgba(249, 115, 115, 0.6);
  background:
    radial-gradient(circle at top left, rgba(249, 115, 115, 0.12), transparent 55%),
    linear-gradient(to bottom, rgba(21, 28, 40, 0.9), rgba(11, 15, 22, 0.95));
  padding: 2rem 1.6rem;
}

/* =========================================================
   Comparison table
   ========================================================= */

.table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
}

.comparison {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.2rem;
  font-size: 0.9rem;
  min-width: 600px; /* ensures columns stay readable */
}

.comparison th,
.comparison td {
  padding: 0.6rem 0.7rem;
  border-bottom: 1px solid var(--border-subtle);
  text-align: left;
  white-space: nowrap; /* prevents ugly wrapping */
}

.comparison th {
  text-align: left;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.comparison td:first-child {
  color: var(--fg-soft);
}

.comparison caption {
  caption-side: bottom;
  padding-top: 0.5rem;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  border-top: 1px solid rgba(39, 50, 68, 0.9);
  padding: 1.2rem 7vw 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted);
  background: radial-gradient(circle at top, #151c28 0, #0b0f16 55%);
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.footer-brand {
  font-weight: 500;
}

.footer-tagline {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
}

/****************************************
 * Menu toggle button
 ***************************************/
.menu-toggle {
  width: 34px;
  height: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 50;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--fg);
  border-radius: 3px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Transform into X when open */
.menu-toggle.open span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* Floating menu panel */
.menu-panel {
  position: absolute;
  top: 64px;
  right: 7vw;
  width: 240px;
  background: var(--surface-soft);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 1rem 0.6rem;
  box-shadow: 0 18px 40px rgba(0,0,0,0.55);
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  z-index: 40;
}

.menu-panel.open {
  display: flex;
}

.menu-panel a {
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--fg-soft);
  font-size: 0.9rem;
  transition: background 0.15s ease, color 0.15s ease;
}

.menu-panel a:hover {
  background: rgba(53, 194, 255, 0.12);
  color: var(--accent-alt);
}

/* Hide old horizontal nav */
.nav {
  display: none !important;
}

/************************************************
 * How IOCX Works
/*************************************************/

.iocx-arch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  font-family: system-ui, sans-serif;
  color: #e6e6e6;
}

/* Generic box styling */
.arch-box {
  background: #111;
  border: 1px solid #333;
  padding: 1.2rem 1.4rem;
  border-radius: 6px;
  text-align: center;
  width: 100%;
  max-width: 900px;
}

.arch-box ul {
  list-style: none;
  padding: 0;
  margin: 0.6rem 0 0;
}

.arch-box ul li {
  margin: 0.2rem 0;
  opacity: 0.85;
}

/* Highlighted output box */
.arch-box.highlight {
  background: #0d1a2b;
  border-color: #5fa8ff;
  color: #cfe4ff;
}

/* Sub‑boxes inside plugin framework */
.arch-subbox {
  background: #181818;
  border: 1px solid #333;
  padding: 1rem;
  border-radius: 6px;
  text-align: center;
}

.arch-subbox p {
  margin: 0.4rem 0 0;
  opacity: 0.8;
}

/* Arrows */
.arch-arrow {
  font-size: 1.4rem;
  opacity: 0.7;
  text-align:center;
}

/* Responsive rows */
.arch-row {
  display: grid;
  gap: 1rem;
  width: 100%;
  max-width: 900px;
}

/* 2‑column layout for inputs */
.arch-row.two-col {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* 3‑column layout for plugin framework */
.arch-row.three-col {
  margin-top:1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

/* Wide blocks */
.arch-box.wide {
  width: 100%;
}

/* ========================================================
 * Demo VIDEO
 * ======================================================*/
.video-demo {
  text-align: center;
  padding: 80px 0;
}

.video-demo p {
  color: #888;
  margin-bottom: 30px;
}

.video-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  overflow: hidden;
}

.iocx-video {
  width: 100%;
  border-radius: 8px;
  display: block;
  aspect-ratio: 16 / 9;

  line-height: 0;
}

.video-fallback {
  margin-top: 10px;
  font-size: 14px;
  color: #666;
}

.video-fallback a {
  color: var(--accent-alt);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-decoration: none;
  word-break: break-all;
  transition: color 0.15s ease, text-shadow 0.15s ease;
}

.video-fallback a:hover {
  color: var(--accent);
  text-shadow: 0 0 6px rgba(244,120,83,0.45);
}

/* ========================================================
 * Back to top
 * ======================================================*/

.back-to-top {
  text-align: center;
  margin: 60px 0 20px;
}

.bounce-top {
  display: inline-block;
  padding: 12px 20px;
  background: #111;
  color: #fff;
  border-radius: 6px;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s ease;
  animation: bounce 2s infinite;
}

.bounce-top:hover {
   color: var(--accent-alt);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-6px);
  }
  60% {
    transform: translateY(-3px);
  }
}



/* =========================================================
   Responsive
   ========================================================== */

@media (max-width: 600px) {
  .hero {
    position: relative;
    padding: 2rem 0;
    gap: 1.6rem;
  }

  .hero-content {
    height: auto;
    justify-content: flex-start;
    padding-top: 1rem;
  }

  .hero-content h1 {
    font-size: 2.2rem;
    margin-bottom: 0.1rem;
  }

  .hero-content h2 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
  }

  .hero-text {
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section {
    padding: 2rem 0;
  }

  .video-header {
    padding-bottom: 5rem;
  }

  .scroll-cue {
    display: none;
  }

  .logo img {
    display: none;
  }

  .logo-iocx {
    width: clamp(340px, 42vw, 440px) !important;
    height: auto !important;
  }

  .site-header {
    padding: 0.9rem 4vw;
  }

  .example-panel pre {
    padding: 0.75rem;
    font-size: 0.9rem;
  }

  .video-demo {
    padding: 50px 0;
  }
}

@media (max-width: 700px) {
  .video-bg {
    display: none;
  }

  .video-header {
    background: #111722;
    height: auto;
    min-height: unset;
    padding-bottom: 4rem;
  }

  .example-grid {
    gap: 1.25rem;
  }
}

@media (max-width: 900px) {
  .hero {
    position: relative;
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    order: -1;
    margin-bottom: 1.6rem;
  }

  /* MOBILE NAVIGATION */
  .nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
    position: relative;
    z-index: 10001;
  }

  .site-header {
    padding-inline: 5vw;
    position: relative;
    z-index: 10000;
  }

  main {
    padding-inline: 5vw;
  }

  .scroll-cue {
    position: static;
    transform: none;
    margin-top: 2.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    bottom: auto;
  }

  .video-header {
    padding-bottom: 2.5rem;
  }

  .example-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 1440px) {
  .scroll-cue {
    position: static;
    transform: none;
    bottom: auto;
    margin-top: clamp(1.6rem, 2.2vw, 2.4rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .video-header {
    padding-bottom: 4rem;
  }
}

/* DESKTOP NAVIGATION */
@media (min-width: 900px) {
  .nav {
    display: flex;
  }

  /* FIX: burger must also show on desktop */
  .menu-toggle {
    display: flex;
    position: relative;
    z-index: 10001;
  }
}

/* Mobile menu panel positioning */
@media (max-width: 899px) {
  .menu-panel {
    right: 5vw;
  }
}
