/* ============================================================
   Mediatank — Vanilla CSS
   Converted from Tailwind / React to hand-authored CSS
   ============================================================ */

/* ── Fonts ──────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&display=swap');

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  --font-display: "Playfair Display", ui-serif, Georgia, serif;
  --font-brutalist: "Anton", ui-sans-serif, system-ui, sans-serif;

  --tank-bg: #0a0a0a;
  --tank-surface: #121212;
  --tank-border: rgba(255, 255, 255, 0.1);
  --tank-accent: #ff4e00;
  --tank-accent-light: #ff8a00;
  --tank-text: #e5e5e5;
  --tank-muted: #8a8a8a;

  --nav-height: 4rem;       /* 64px */
  --nav-height-md: 5rem;    /* 80px */
}

/* ── Reset / Base ──────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--tank-bg);
  color: var(--tank-text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

::selection {
  background: var(--tank-accent);
  color: #fff;
}

/* ── Skip Link ─────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 100000;
  padding: 0.75rem 1.5rem;
  background: var(--tank-accent);
  color: #000;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 0 0 4px 4px;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* ── Focus Outlines ────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--tank-accent);
  outline-offset: 2px;
}

/* ── Lo-fi Noise Overlay ───────────────────────────────────── */
body::before {
  content: "";
  position: fixed;
  top: -10vh;
  left: -10vw;
  width: 120vw;
  height: 120vh;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  animation: static-noise 0.4s steps(2) infinite;
}

/* ── CRT Overlays ──────────────────────────────────────────── */

/* 1. RGB Phosphor Subpixels */
.crt-rgb {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9995;
  background: linear-gradient(
    90deg,
    rgba(255, 0, 0, 0.15) 33.3%,
    rgba(0, 255, 0, 0.15) 33.3%, rgba(0, 255, 0, 0.15) 66.6%,
    rgba(0, 0, 255, 0.15) 66.6%
  );
  background-size: 3px 100%;
  mix-blend-mode: screen;
  animation: rgb-noise 0.4s steps(2) infinite;
}

/* 2. Horizontal Scanlines */
.crt-scanlines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9996;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.25) 50%,
    transparent 50%
  );
  background-size: 100% 3px;
  animation: scanline-jitter 1s steps(2) infinite;
}

/* 3. CRT Content Halation */
.crt-content {
  filter: blur(0.3px) contrast(1.02) brightness(1.02);
}

/* 4. Rolling Scanline Band */
.crt-roll {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 15vh;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.03), transparent);
  pointer-events: none;
  z-index: 9997;
  animation: scanline-roll 8s linear infinite;
}

/* ── CRT Keyframes ─────────────────────────────────────────── */
@keyframes static-noise {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-1%, 1%); }
  40%  { transform: translate(1%, -1%); }
  60%  { transform: translate(-1%, -1%); }
  80%  { transform: translate(1%, 1%); }
  100% { transform: translate(0, 0); }
}

@keyframes rgb-noise {
  0%   { background-position: 0 0; opacity: 1; }
  25%  { background-position: 1px 0; opacity: 0.95; }
  50%  { background-position: -1px 0; opacity: 1; }
  75%  { background-position: 2px 0; opacity: 0.95; }
  100% { background-position: 0 0; opacity: 1; }
}

@keyframes scanline-jitter {
  0%   { background-position: 0 0; }
  50%  { background-position: 0 1px; }
  100% { background-position: 0 0; }
}

@keyframes scanline-roll {
  0%   { transform: translateY(-20vh); }
  100% { transform: translateY(120vh); }
}

/* ── Layout Helpers ────────────────────────────────────────── */
.site-wrapper {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 80rem; /* 1280px */
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ── Mouse Glow ────────────────────────────────────────────── */
.mouse-glow {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  transition: opacity 0.3s;
}

/* ── Tech Grid Background ─────────────────────────────────── */
.tech-grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-size: 40px 40px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
}

/* ── Glow Text ─────────────────────────────────────────────── */
.glow-text {
  text-shadow: 0 0 30px rgba(255, 78, 0, 0.4);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  height: var(--nav-height);
}

.main-nav {
  display: flex;
  width: 100%;
  height: 100%;
}

/* Logo area */
.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-inline: 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
  transition: background-color 0.2s;
}
.nav-logo:hover {
  background: rgba(255, 255, 255, 0.02);
}
.nav-logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  transition: transform 0.2s;
}
.nav-logo:hover .nav-logo-img {
  transform: scale(1.05);
}
.nav-logo-text {
  font-family: var(--font-mono);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 1.25rem;
  letter-spacing: 0.15em;
  color: #fff;
  display: none;
}

/* Hamburger button (mobile only) */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 48px;
  height: 100%;
  margin-left: auto;
  padding: 0 1rem;
  border: none;
  background: none;
  cursor: pointer;
  border-left: 1px solid rgba(255, 255, 255, 0.05);
}
.nav-hamburger__line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--tank-muted);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}
/* Animate to X when open */
.nav-hamburger--open .nav-hamburger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger--open .nav-hamburger__line:nth-child(2) {
  opacity: 0;
}
.nav-hamburger--open .nav-hamburger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Nav links container */
.nav-links {
  /* Mobile: hidden dropdown below the nav bar */
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.nav-links--open {
  display: flex;
}

.nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background-color 0.2s;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--tank-muted);
  white-space: nowrap;
}
.nav-link:last-child {
  border-bottom: none;
}
.nav-link:hover,
.nav-link--active {
  color: var(--tank-accent);
}
.nav-link:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* ============================================================
   HOME / HERO
   ============================================================ */
.page-home {
  position: relative;
  z-index: 10;
  padding-top: calc(var(--nav-height) + 2rem);
}

.hero {
  max-width: 80rem;
  margin-inline: auto;
  padding: 5rem 1.5rem 8rem;
}

.hero__inner {
  max-width: 56rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 6rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

.hero__br {
  display: none;
}

.hero__accent {
  font-style: italic;
  color: transparent;
  background: linear-gradient(to right, var(--tank-accent), var(--tank-accent-light));
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 0 30px rgba(255, 78, 0, 0.4);
}

.hero__tagline {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--tank-muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  line-height: 1.8;
  max-width: 42rem;
}

/* ============================================================
   CATEGORY PAGE
   ============================================================ */
.page-category {
  position: relative;
  z-index: 10;
  padding-top: calc(var(--nav-height) + 2rem);
  padding-bottom: 8rem;
  min-height: 100vh;
}

.category-header {
  margin-bottom: 6rem;
  border-bottom: 1px solid var(--tank-border);
  padding-bottom: 3rem;
}

.category-header__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.category-header__description {
  font-size: 1.25rem;
  color: var(--tank-muted);
  font-weight: 300;
  max-width: 42rem;
  line-height: 1.6;
}

/* ── Product List & Cards ──────────────────────────────────── */
.product-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-card {
  position: relative;
  border: 1px solid var(--tank-border);
  border-radius: 1rem;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: flex-start;
  overflow: hidden;
  transition: border-color 0.3s;
}
.product-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

/* Background image variant */
.product-card--has-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 500px;
}

/* Dark overlay for text readability */
.product-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  transition: background 0.5s ease;
  z-index: 0;
}
.product-card:hover .product-card__overlay {
  background: rgba(0, 0, 0, 0.3);
}

.product-card__content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 0.75rem;
  padding: 2rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.product-card__header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.product-card__index {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--tank-accent);
  opacity: 0.8;
}

.product-card__name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 400;
}

.product-card__description {
  color: var(--tank-text);
  font-size: 1.25rem;
  line-height: 1.7;
  font-weight: 300;
  max-width: 42rem;
  margin-bottom: 1.5rem;
}

.product-card__long-description {
  color: var(--tank-muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 42rem;
  margin-bottom: 2rem;
}

.product-card__meta-actions {
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-card__meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--tank-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.meta-dot {
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: inline-block;
}

.product-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}




/* ============================================================
   BUTTONS / LINKS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: 9999px;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn--outline {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  background: transparent;
}
.btn--outline:hover {
  border-color: var(--tank-accent);
  color: var(--tank-accent);
}

.btn--primary {
  background: var(--tank-accent);
  color: #000;
}
.btn--primary:hover {
  background: #fff;
}

.btn--ghost {
  border: 1px solid var(--tank-border);
  color: #fff;
  background: transparent;
  border-radius: 2px;
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.05);
}

.link-external {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--tank-muted);
  transition: color 0.2s;
}
.link-external:hover {
  color: var(--tank-accent);
}

/* ============================================================
   PAGE TEMPLATE (About / 404)
   ============================================================ */
.page-template {
  position: relative;
  z-index: 10;
  padding-top: calc(var(--nav-height) + 2rem);
  padding-bottom: 8rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-inline: 1.5rem;
}

.page-template__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.page-template__text {
  font-size: 1.25rem;
  color: var(--tank-muted);
  max-width: 42rem;
  margin-inline: auto;
  margin-bottom: 3rem;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.page-about {
  position: relative;
  z-index: 10;
  padding-top: calc(var(--nav-height) + 4rem);
  padding-bottom: 8rem;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-inline: 1.5rem;
}

.about__inner {
  max-width: 48rem;
  width: 100%;
}

.about__header {
  margin-bottom: 4rem;
}

.about__heading {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.about__body {
  margin-bottom: 5rem;
}

.about__lead {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--tank-text);
  margin-bottom: 2.5rem;
}

.about__text {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  line-height: 1.8;
  color: var(--tank-muted);
}

.about__ethos {
  border-top: 1px solid var(--tank-border);
  padding-top: 3rem;
}

.about__ethos-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--tank-muted);
  margin-bottom: 1rem;
}

.about__ethos-tagline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
  color: transparent;
  background: linear-gradient(to right, var(--tank-accent), var(--tank-accent-light));
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 0 40px rgba(255, 78, 0, 0.3);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3rem 0;
  position: relative;
  z-index: 10000;
  margin-top: auto;
  background: var(--tank-bg);
}

.footer-inner {
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
}

.footer-logo-text {
  font-family: var(--font-mono);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--tank-muted);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-link {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--tank-muted);
  transition: color 0.2s;
}
.footer-link:hover {
  color: var(--tank-accent);
}

.footer-copyright {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(138, 138, 138, 0.5);
}

/* ============================================================
   APP LAUNCHER MODAL
   ============================================================ */
.app-modal {
  position: fixed;
  inset: 0;
  top: var(--nav-height);
  z-index: 10001;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.app-modal[hidden] {
  display: none;
}
.app-modal--visible {
  opacity: 1;
  transform: translateY(0);
}

.app-modal__bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--tank-border);
  background: rgba(0, 0, 0, 0.8);
}

.app-modal__close {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--tank-muted);
  transition: background-color 0.2s, color 0.2s;
}
.app-modal__close:hover {
  background: var(--tank-accent);
  color: #fff;
}

.app-modal__close-text {
  display: none;
}

.app-modal__body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0;
}

.app-modal__body--scroll {
  align-items: flex-start;
  overflow-y: auto;
  padding: 2rem 1.5rem;
}

.app-modal__iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: var(--tank-surface);
}

/* ── Release Notes Modal ────────────────────────────────────── */
.release-modal__title {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--tank-text);
  margin-right: auto;
}

.release-modal__content {
  width: 100%;
  max-width: 42rem;
  margin-inline: auto;
}

.release-modal__header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--tank-border);
}

.release-modal__product {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.release-modal__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--tank-muted);
}

.release-modal__version {
  color: var(--tank-accent);
}

.release-modal__section {
  margin-bottom: 3rem;
}

.release-modal__history-item {
  margin-bottom: 4rem;
}

.release-modal__history-item--past {
  padding-top: 3rem;
  border-top: 1px dotted var(--tank-border);
  opacity: 0.8;
}

.release-modal__meta--history {
  margin-bottom: 2rem;
}

.release-modal__heading {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--tank-text);
  margin-bottom: 1.5rem;
}

.release-modal__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.release-modal__list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--tank-muted);
  line-height: 1.6;
}

.release-modal__list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--tank-accent);
  font-family: var(--font-mono);
}

/* ── Custom Scrollbar ──────────────────────────────────────── */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--tank-bg);
  border-left: 1px solid var(--tank-border);
}
::-webkit-scrollbar-thumb {
  background: var(--tank-border);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--tank-muted);
}

/* ============================================================
   RESPONSIVE — md (768px+)
   ============================================================ */
@media (min-width: 768px) {
  :root {
    --nav-height: var(--nav-height-md);
  }

  /* Hide hamburger, show inline nav */
  .nav-hamburger {
    display: none;
  }

  .nav-links {
    display: flex !important; /* Override JS toggle */
    position: static;
    flex-direction: row;
    flex: 1;
    background: none;
    backdrop-filter: none;
    border-bottom: none;
  }

  .nav-link {
    flex: 1;
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0 0.5rem;
    font-size: 1rem;
  }
  .nav-link:last-child {
    border-right: none;
  }

  .nav-logo {
    padding-inline: 2.5rem;
  }

  .hero {
    padding: 5rem 1.5rem 8rem;
  }

  .hero__tagline {
    font-size: 1rem;
  }

  .product-card {
    padding: 4rem 3rem;
  }

  .category-header__description {
    font-size: 1.5rem;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }

  .app-modal__body {
    padding: 1.5rem;
  }

  .app-modal__iframe {
    border: 1px solid var(--tank-border);
    border-radius: 2px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  }

  .app-modal__close-text {
    display: inline;
  }

  .app-modal__bar {
    padding: 1.5rem;
  }
}

/* ── lg (1024px+) ──────────────────────────────────────────── */
@media (min-width: 1024px) {
  .nav-logo-text {
    display: block;
  }

  .hero__br {
    display: block;
  }
}

/* ── Reduced Motion ────────────────────────────────────────── */
@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;
  }
}
