:root {
  --black: #000000;
  --white: #FFFFFF;
  --offwhite: #FFFDF5;
  --pink: #FE90E8;
  --blue: #C0F7FE;
  --green: #99E885;
  --yellow: #F7CB46;
  --cream: #FFDC8B;
  --disp: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "Space Grotesk", ui-monospace, "SF Mono", Menlo, monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  background: var(--offwhite);
  color: var(--black);
  font-family: var(--disp);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.disp {
  font-family: var(--disp);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.95;
  font-weight: 900;
}

.pill {
  display: inline-block;
  border: 3px solid var(--black);
  background: var(--white);
  box-shadow: 4px 4px 0 var(--black);
  border-radius: 9999px;
  padding: 6px 16px;
  font-family: var(--mono);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  line-height: 1.2;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 3px solid var(--black);
  background: var(--yellow);
  color: var(--black);
  box-shadow: 4px 4px 0 var(--black);
  padding: 13px 26px;
  font-family: var(--disp);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--black);
}

.btn:active {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 var(--black);
}

/* KEYFRAMES */
@keyframes heroPop {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes decoFloatA {
  0%, 100% { transform: rotate(8deg) translateY(0); }
  50% { transform: rotate(10deg) translateY(-10px); }
}

@keyframes decoFloatB {
  0%, 100% { transform: rotate(-6deg) translateY(0); }
  50% { transform: rotate(-8deg) translateY(8px); }
}

@keyframes starSpin {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(14deg) scale(1.06); }
}

@keyframes stripeSlide {
  from { background-position: 0 0; }
  to { background-position: 42.4px 0; }
}

@keyframes tuiSwap {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes meterGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes taskDoneOut {
  to {
    opacity: 0;
    transform: translateX(18px);
  }
}

.btn-white {
  background: var(--white);
}

.btn-pink {
  background: var(--pink);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--offwhite);
  border-bottom: 4px solid var(--black);
  padding: 14px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo {
  border: 3px solid var(--black);
  background: var(--pink);
  box-shadow: 4px 4px 0 var(--black);
  padding: 6px 14px;
  font-family: var(--disp);
  font-weight: 900;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-links a:hover {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

/* SECTIONS */
section {
  padding: 88px 60px;
  position: relative;
  border-bottom: 4px solid var(--black);
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

.sec-head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.sec-head h2 {
  font-family: var(--disp);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
}

.sec-head .sp {
  flex: 1;
  min-width: 60px;
  height: 4px;
  background: var(--black);
}

/* HERO COVER */
.cover {
  min-height: calc(100vh - 76px);
  background: var(--offwhite);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.dg {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: radial-gradient(circle, var(--black) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
  pointer-events: none;
}

.deco-rect {
  position: absolute;
  top: 12%;
  right: 6%;
  width: 210px;
  height: 130px;
  background: var(--pink);
  border: 4px solid var(--black);
  box-shadow: 8px 8px 0 var(--black);
  transform: rotate(8deg);
  z-index: 1;
  animation: decoFloatA 6s ease-in-out infinite;
}

.deco-rect2 {
  position: absolute;
  bottom: 12%;
  right: 14%;
  width: 130px;
  height: 130px;
  background: var(--blue);
  border: 4px solid var(--black);
  box-shadow: 8px 8px 0 var(--black);
  transform: rotate(-6deg);
  z-index: 1;
  animation: decoFloatB 7s ease-in-out infinite;
}

.star {
  position: absolute;
  top: 22%;
  right: 22%;
  width: 92px;
  height: 92px;
  background: var(--yellow);
  border: 3px solid var(--black);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  z-index: 2;
  animation: starSpin 5.5s ease-in-out infinite;
}

.hero-copy > * {
  animation: heroPop 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-copy > *:nth-child(1) { animation-delay: 0.04s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.12s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.20s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.28s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.36s; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-copy .pill {
  margin-bottom: 24px;
  background: var(--cream);
}

.hero-copy h1 {
  font-family: var(--disp);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 0.9;
  font-size: clamp(52px, 7vw, 108px);
}

.hero-copy .sub {
  font-family: var(--disp);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.6;
  margin-top: 24px;
  max-width: 580px;
  color: #111;
}

.install-box {
  margin-top: 32px;
  border: 4px solid var(--black);
  background: var(--white);
  box-shadow: 8px 8px 0 var(--black);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  max-width: 640px;
}

.install-box code {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 14px;
  overflow-x: auto;
  white-space: nowrap;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.hero-mini-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.statcard {
  border: 3px solid var(--black);
  background: var(--white);
  box-shadow: 4px 4px 0 var(--black);
  padding: 22px;
  position: relative;
  transition: transform 0.16s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.16s cubic-bezier(0.22, 1, 0.36, 1);
}

.statcard.tilt-l {
  transform: rotate(-2deg);
}

.statcard.tilt-r {
  transform: rotate(2deg);
}

.statcard:hover {
  transform: rotate(0deg) translate(-3px, -3px);
  box-shadow: 8px 8px 0 var(--black);
}

.statcard .dot {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--black);
}

.statcard .n {
  font-family: var(--disp);
  font-weight: 900;
  font-size: 44px;
  line-height: 1;
}

.statcard .l {
  font-family: var(--mono);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  margin-top: 8px;
}

/* FEATURES (BLUE) */
.sec-blue {
  background: var(--blue);
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.fcard {
  border: 4px solid var(--black);
  background: var(--white);
  box-shadow: 8px 8px 0 var(--black);
  padding: 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.14s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.14s cubic-bezier(0.22, 1, 0.36, 1);
}

.fcard:hover {
  transform: translate(-3px, -3px);
  box-shadow: 11px 11px 0 var(--black);
}

.fcard .notch {
  position: absolute;
  top: -12px;
  right: 22px;
  width: 36px;
  height: 36px;
  background: var(--yellow);
  border: 3px solid var(--black);
}

.fcard .ic {
  width: 56px;
  height: 56px;
  border: 3px solid var(--black);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 18px;
}

.fcard .t {
  font-family: var(--disp);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 21px;
  line-height: 1.15;
}

.fcard .bd {
  font-family: var(--disp);
  font-weight: 500;
  font-size: 14.5px;
  line-height: 1.6;
  color: #1f1f1f;
  margin-top: 10px;
}

.fcard-list {
  list-style: none;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 3px solid var(--black);
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.fcard-list li {
  font-family: var(--disp);
  font-weight: 500;
  font-size: 13.5px;
  line-height: 1.45;
  padding-left: 18px;
  position: relative;
}

.fcard-list li::before {
  content: "+";
  position: absolute;
  left: 0;
  font-family: var(--mono);
  font-weight: 700;
}

.fcard-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.ftag {
  border: 2px solid var(--black);
  background: var(--offwhite);
  padding: 3px 9px;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* INTERACTIVE WORKSPACE (CREAM) */
.sec-cream {
  background: var(--cream);
  overflow: hidden;
}

.demo-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: start;
}

.tui-shell {
  border: 4px solid var(--black);
  background: var(--black);
  color: var(--white);
  box-shadow: 8px 8px 0 var(--black);
}

.tui-topbar {
  padding: 14px 18px;
  border-bottom: 3px solid #2b2b2b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.tui-brand {
  background: var(--pink);
  color: var(--black);
  padding: 3px 10px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
}

.tui-vitals {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--blue);
}

.tui-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 18px;
  border-bottom: 3px solid #2b2b2b;
}

.tui-tab {
  border: 2px solid #444;
  background: #1b1b1b;
  color: #ccc;
  padding: 6px 12px;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.1s ease, background-color 0.12s ease, color 0.12s ease;
}

.tui-tab:hover {
  transform: translateY(-2px);
  border-color: var(--white);
  color: var(--white);
}

.tui-tab.active {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--white);
}

.tui-screen {
  padding: 20px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.65;
  min-height: 310px;
}

.tui-screen-anim {
  animation: tuiSwap 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.tui-line-hi {
  color: var(--green);
  font-weight: 700;
}

.tui-line-warn {
  color: var(--yellow);
}

.tui-line-pink {
  color: var(--pink);
  font-weight: 700;
}

.tui-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 12px;
}

.tui-table th {
  text-align: left;
  color: #999;
  border-bottom: 2px solid #333;
  padding-bottom: 6px;
}

.tui-table td {
  padding: 6px 4px 6px 0;
  border-bottom: 1px solid #222;
}

.tui-meter {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
}

.tui-meter-track {
  flex: 1;
  height: 12px;
  background: #222;
  border: 2px solid #555;
}

.tui-meter-fill {
  height: 100%;
  background: var(--green);
  transform-origin: left center;
  animation: meterGrow 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* FLOATING DESK HUD MOCKUP */
.hud-card {
  border: 4px solid var(--black);
  background: #141416;
  color: var(--white);
  box-shadow: 8px 8px 0 var(--black);
  padding: 18px;
  transform: rotate(1.5deg);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease;
}

.hud-card:hover {
  transform: rotate(0deg) translate(-2px, -2px);
  box-shadow: 11px 11px 0 var(--black);
}

.hud-card.is-minimized {
  transform: rotate(0deg);
}

.hud-body {
  overflow: hidden;
  max-height: 520px;
  opacity: 1;
  transition: max-height 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}

.hud-body.collapsed {
  max-height: 0;
  opacity: 0;
}

.hud-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.hud-title {
  font-family: var(--disp);
  font-weight: 900;
  font-size: 15px;
  color: var(--pink);
}

.hud-chip {
  font-family: var(--mono);
  font-size: 11px;
  color: #bbb;
}

.hud-btns {
  display: flex;
  gap: 6px;
}

.hud-mini-btn {
  border: 2px solid var(--white);
  background: #242428;
  color: var(--white);
  padding: 3px 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.hud-mini-btn:hover {
  background: var(--yellow);
  color: var(--black);
}

.hud-bar-row {
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
}

.hud-bar-track {
  height: 7px;
  background: #2d2d32;
  margin-top: 4px;
}

.hud-bar-fill {
  height: 100%;
}

.hud-subcard {
  border: 2px solid #303036;
  background: #1b1b1f;
  padding: 10px 12px;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 11.5px;
}

.hud-subhead {
  color: var(--yellow);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.hud-task-btn {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--white);
  font-family: var(--mono);
  font-size: 12px;
  padding: 4px 0;
  cursor: pointer;
  transition: transform 0.12s ease, color 0.12s ease;
}

.hud-task-btn:hover {
  color: var(--green);
  transform: translateX(4px);
}

.hud-task-btn.completing {
  text-decoration: line-through;
  color: var(--green);
  animation: taskDoneOut 0.22s ease forwards;
}

.hud-task-pin {
  color: var(--yellow);
}

.hud-foot {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: #9a9aa2;
}

/* SAFETY & NUMBERS (GREEN) */
.sec-green {
  background: var(--green);
}

.stat-row-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.stripe {
  height: 36px;
  border: 3px solid var(--black);
  background: repeating-linear-gradient(
    45deg,
    var(--black),
    var(--black) 5px,
    var(--yellow) 5px,
    var(--yellow) 15px
  );
  background-size: 42.4px 42.4px;
  animation: stripeSlide 2.6s linear infinite;
  margin-bottom: 36px;
}

.dos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.do-card {
  border: 4px solid var(--black);
  box-shadow: 8px 8px 0 var(--black);
  padding: 32px;
  background: var(--white);
}

.do-card.alt {
  background: var(--offwhite);
}

.do-card h3 {
  font-family: var(--disp);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 26px;
  margin-bottom: 20px;
}

.rule-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.listnum {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  border: 3px solid var(--black);
  background: var(--yellow);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 13px;
}

/* COMMANDS (PINK) */
.sec-pink {
  background: var(--pink);
}

.cmd-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.cmd-card {
  border: 4px solid var(--black);
  background: var(--white);
  box-shadow: 6px 6px 0 var(--black);
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: transform 0.14s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.14s cubic-bezier(0.22, 1, 0.36, 1);
}

.cmd-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--black);
}

.cmd-card code {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 15px;
  background: var(--offwhite);
  border: 2px solid var(--black);
  padding: 4px 10px;
}

.cmd-card span {
  font-family: var(--disp);
  font-weight: 500;
  font-size: 14px;
  text-align: right;
}

/* CLOSER (BLACK) */
.sec-black {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 100px 60px;
  border-bottom: 3px solid #222;
}

.close-box {
  border: 4px solid var(--white);
  box-shadow: 12px 12px 0 var(--yellow);
  padding: 56px 48px;
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  background: var(--black);
}

.close-box .star-close {
  position: absolute;
  top: -36px;
  right: -32px;
  width: 76px;
  height: 76px;
  background: var(--pink);
  border: 3px solid var(--white);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  animation: starSpin 5.5s ease-in-out infinite;
}

/* SCROLL REVEALS */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1), transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* HYPERFRAMES VIDEO WALKTHROUGH */
.video-demo-card {
  border: 4px solid var(--black);
  background: var(--white);
  box-shadow: 10px 10px 0 var(--black);
  margin-bottom: 44px;
  overflow: hidden;
}

.video-topbar {
  background: var(--black);
  color: var(--white);
  border-bottom: 4px solid var(--black);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.video-topbar-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.pill.yellow-sm {
  background: var(--yellow);
  color: var(--black);
  border: 2px solid var(--white);
  box-shadow: 3px 3px 0 var(--white);
  padding: 4px 12px;
  font-size: 11px;
}

.video-switch {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
}

.vsw-btn {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 2px solid var(--white);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  transition: background-color 0.12s ease, color 0.12s ease, transform 0.12s ease;
}

.vsw-btn.active {
  background: var(--yellow);
  color: var(--black);
  box-shadow: 3px 3px 0 var(--white);
  transform: translate(-1px, -1px);
}

.video-sub {
  font-family: var(--mono);
  font-size: 13px;
  color: #e5e5e5;
}

.video-badge {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 2px solid var(--green);
  color: var(--green);
}

.video-frame {
  background: var(--black);
  border-bottom: 4px solid var(--black);
  line-height: 0;
}

.video-frame video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: var(--black);
}

.video-chapters {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  padding: 16px 18px;
  background: var(--offwhite);
}

.chap-btn {
  border: 3px solid var(--black);
  background: var(--white);
  box-shadow: 4px 4px 0 var(--black);
  padding: 10px 12px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: left;
  color: var(--black);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
}

.chap-btn span {
  font-size: 11px;
  opacity: 0.72;
}

.chap-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--black);
  background: var(--blue);
}

.chap-btn.active {
  background: var(--yellow);
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--black);
}

.sandbox-subhead {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.sandbox-subhead h3 {
  font-family: var(--disp);
  font-weight: 900;
  font-size: clamp(22px, 2.8vw, 32px);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

@media (max-width: 980px) {
  .video-chapters {
    grid-template-columns: repeat(2, 1fr);
  }
}

.reveal.statcard.tilt-l.in {
  transform: rotate(-2deg);
}

.reveal.statcard.tilt-r.in {
  transform: rotate(2deg);
}

.reveal.hud-card.in {
  transform: rotate(1.5deg);
}

.reveal.hud-card.is-minimized.in {
  transform: rotate(0deg);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

.close-box .pill {
  background: var(--black);
  color: var(--white);
  border-color: var(--white);
  box-shadow: 4px 4px 0 var(--white);
  margin-bottom: 22px;
}

.close-box h2 {
  font-family: var(--disp);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.94;
  font-size: clamp(40px, 6vw, 72px);
}

.close-box p {
  font-family: var(--mono);
  font-size: 15px;
  color: #d0d0d0;
  margin: 22px auto 32px;
  max-width: 520px;
  line-height: 1.6;
}

.close-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.foot {
  padding: 36px 60px;
  background: var(--black);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.foot .l {
  font-family: var(--disp);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  font-size: 26px;
}

.foot .r {
  font-family: var(--mono);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  color: #aaa;
}

.foot-back {
  font-family: var(--mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.foot-back:hover {
  color: var(--white);
}

@media (max-width: 980px) {
  .nav { padding: 14px 20px; }
  .nav-links, .nav-badge { display: none; }
  .nav-actions { gap: 8px; }
  section { padding: 64px 24px; }
  .hero-grid, .demo-grid, .dos, .cmd-grid { grid-template-columns: 1fr; }
  .cards-3 { grid-template-columns: 1fr; }
  .stat-row-4 { grid-template-columns: 1fr 1fr; }
  .deco-rect, .deco-rect2, .star { display: none; }
}
