/* ==========================================================================
   oliverthis.com — shared styles
   ========================================================================== */

:root {
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --text: #000;
  --text-muted: #444;
  --accent: #d71c1c;
  --link: #000;
  --bg: #fff;
  --card-bg: #fff;
  --card-gray: #edebeb;
  --card-radius: 30px;
  --card-shadow: 0 3px 17px 4px rgba(0, 0, 0, 0.13);
  --btn-light: #d8e7fd;
  --btn-light-hover: #c8deff;
  --btn-light-text: #2f6fe4;
  --btn-blue: #3c53f4;
  --btn-blue-hover: #2a3fd6;
  --btn-dark-bg: #000;
  --btn-dark-hover: #333;
  --btn-dark-text: #fff;
  --header-bg: rgba(255, 255, 255, 0.92);
  --header-line: rgba(0, 0, 0, 0.08);
  --nav-current: #8c8c8c;
  --eyebrow: #4a4a4a;
  --caption: #444;
  --surface-raised: #fff;
  --raised-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
  --profile-ring: #fff;
  --profile-shadow: 0 0 14px rgba(0, 0, 0, 0.2);
  --media-radius: 4px;
  --review-shadow: 0 2px 14px rgba(0, 0, 0, 0.12);
  --pill-green-bg: #b1e5b1;   --pill-green: #10a810;
  --pill-purple-bg: #e2b8ff;  --pill-purple: #8f0fe8;
  --pill-blue-bg: #b6d3f5;    --pill-blue: #0d5fd8;
  --pill-orange-bg: #ffe0a6;  --pill-orange: #f59e0b;
  color-scheme: light;
  --max: 980px;
  --gutter: 24px;
  --ease-float: cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 300;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

main { flex: 1 0 auto; }

img { max-width: 100%; height: auto; display: block; min-width: 0; flex-shrink: 1; }

h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; line-height: 1.25; }

p { margin: 0 0 1em; }

a { color: inherit; }

.text a,
.caption a { text-decoration: underline; text-underline-offset: 2px; }
.text a:hover { color: var(--accent); }

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #000;
  color: #fff;
  padding: 8px 14px;
  z-index: 1000;
}
.skip-link:focus { left: 8px; top: 8px; }

:focus-visible { outline: 3px solid #2f6fe4; outline-offset: 3px; border-radius: 4px; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 1px 0 var(--header-line); }

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: none;
  padding: 0 clamp(20px, 5vw, 100px);
}

.logo { display: block; width: 142px; flex-shrink: 0; }
.logo img { width: 100%; height: auto; }

.nav { display: flex; gap: 6px; }
.nav a {
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  padding: 6px 12px;
  border-radius: 20px;
  color: var(--text);
  transition: color 0.4s ease, background-color 0.3s ease;
}
.nav a:hover { color: var(--accent); }
.nav a[aria-current="page"] { color: var(--nav-current); }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 10px;
  background: var(--surface-raised);
  box-shadow: var(--raised-shadow);
  cursor: pointer;
  position: relative;
  z-index: 120;
  padding: 0;
}
.menu-toggle span {
  position: absolute;
  left: 11px;
  width: 24px;
  height: 2px;
  background: #e4544f;
  border-radius: 2px;
  transition: transform 0.35s ease, opacity 0.25s ease, top 0.35s ease;
}
/* Three parallel diagonal "slashes" (matches the original mobile menu button) */
.menu-toggle span:nth-child(1) { top: 16px; left: 9px; width: 18px; transform: rotate(-45deg); }
.menu-toggle span:nth-child(2) { top: 22px; left: 14px; width: 18px; transform: rotate(-45deg); }
.menu-toggle span:nth-child(3) { top: 28px; left: 19px; width: 18px; transform: rotate(-45deg); }
.menu-open .menu-toggle span:nth-child(1) { top: 22px; left: 11px; width: 24px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { top: 22px; left: 11px; width: 24px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-menu a {
  font-size: 30px;
  font-weight: 700;
  text-decoration: none;
  padding: 10px 20px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease, color 0.3s ease;
}
.mobile-menu a[aria-current="page"] { color: var(--nav-current); }
.mobile-menu a:hover { color: var(--accent); }
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.menu-open .mobile-menu a { opacity: 1; transform: none; }
.menu-open .mobile-menu a:nth-child(2) { transition-delay: 0.04s; }
.menu-open .mobile-menu a:nth-child(3) { transition-delay: 0.08s; }
.menu-open .mobile-menu a:nth-child(4) { transition-delay: 0.12s; }
.menu-open .mobile-menu a:nth-child(5) { transition-delay: 0.16s; }
body.menu-open { overflow: hidden; }
/* Keep the logo and close button visible above the open menu */
.menu-open .site-header { z-index: 130; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { padding: 90px 0 40px; text-align: center; }
.social { display: flex; justify-content: center; gap: 20px; margin-bottom: 26px; }
.social a { display: block; width: 39px; height: 39px; transition: transform 0.25s ease, opacity 0.25s ease; }
.social a:hover { transform: translateY(-3px); opacity: 0.75; }
.social img { width: 39px; height: 39px; }
.made-with { font-size: 13px; font-weight: 700; margin: 0; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease, color 0.3s ease;
}
.btn-light {
  background: var(--btn-light);
  color: var(--btn-light-text);
  border-radius: 50px;
  height: 42px;
  min-width: 181px;
  padding: 0 24px;
}
.btn-light:hover { background: var(--btn-light-hover); }
.btn-light svg { width: 16px; height: 16px; fill: currentColor; transition: width 0.2s ease, height 0.2s ease; }
.btn-light:hover svg { width: 20px; height: 20px; }
.btn-light.icon-right { flex-direction: row-reverse; }

.btn-blue {
  background: var(--btn-blue);
  color: #fff;
  border-radius: 24px;
  height: 40px;
  min-width: 142px;
  padding: 0 24px;
  font-size: 14px;
}
.btn-blue:hover { background: var(--btn-blue-hover); }

.btn-dark {
  background: var(--btn-dark-bg);
  color: var(--btn-dark-text);
  border-radius: 24px;
  height: 36px;
  padding: 0 20px;
  font-size: 13px;
}
.btn-dark:hover { background: var(--btn-dark-hover); }

/* --------------------------------------------------------------------------
   Status pills ("Published", "Complete", ...)
   -------------------------------------------------------------------------- */
.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 29px;
  padding: 0 14px 0 10px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.status::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: currentColor; }
.status-published,
.status-complete { background: var(--pill-green-bg); color: var(--pill-green); }
.status-contributed { background: var(--pill-purple-bg); color: var(--pill-purple); }
.status-testflight { background: var(--pill-blue-bg); color: var(--pill-blue); }
.status-development { background: var(--pill-orange-bg); color: var(--pill-orange); }

/* --------------------------------------------------------------------------
   Scroll-in animations (recreates Wix "Float In")
   -------------------------------------------------------------------------- */
.js [data-animate] {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 1s var(--ease-float), transform 1s var(--ease-float);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}
.js [data-animate="up"] { transform: translateY(40px); }
.js [data-animate="fade"] { transform: none; }
.js [data-animate].in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-animate] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* --------------------------------------------------------------------------
   Home
   -------------------------------------------------------------------------- */
.hero { text-align: left; padding-top: 28px; }
.profile {
  width: 248px;
  height: 248px;
  border-radius: 50%;
  border: 6px solid var(--profile-ring);
  box-shadow: var(--profile-shadow);
  margin: 0 auto 36px;
  overflow: hidden;
}
.profile img { width: 100%; height: 100%; object-fit: cover; }
.eyebrow { font-size: 13px; font-weight: 700; color: var(--eyebrow); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 14px; }
.hero h1 { font-size: 48px; line-height: 1.4; }
.hero .lede { font-size: 16px; font-weight: 300; color: var(--text-muted); margin: 4px 0 0; }
.hero .actions { text-align: center; margin-top: 54px; }

.section-title { font-size: 68px; line-height: 1.2; margin: 90px 0 44px; }
.section-title.sm { font-size: 58px; }

/* App cards (home = white with shadow, projects = gray) */
.app-list { display: flex; flex-direction: column; gap: 40px; }
.app-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr);
  align-items: stretch;
  min-height: 400px;
  border-radius: var(--card-radius);
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.4s ease;
}
.app-card:hover,
.app-card:focus-visible { transform: scale(1.03); z-index: 1; }
.app-card .info { padding: 44px 0 36px 48px; display: flex; flex-direction: column; align-items: flex-start; }
.app-card .kind { font-size: 13px; font-weight: 400; text-transform: uppercase; margin: 0 0 4px; }
.app-card h2,
.app-card h3 { font-size: 38px; line-height: 1.2; margin-bottom: 14px; }
.app-card .users { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.app-card .users img { width: 17px; height: 17px; }
.app-card .media { display: flex; align-items: center; justify-content: flex-end; }
.app-card .media img { width: 100%; max-width: 654px; height: auto; }

.app-card.gray { background: var(--card-gray); box-shadow: none; }
.app-card.gray .status { margin-top: auto; }

.center { text-align: center; }
.mt-48 { margin-top: 48px; }

/* About columns */
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.about-grid h3 { font-size: 28px; margin-bottom: 14px; }
.about-grid p { font-size: 16px; line-height: 1.8; }

/* --------------------------------------------------------------------------
   Projects page
   -------------------------------------------------------------------------- */
.page-head { padding-top: 60px; }
.page-head h1 { font-size: 68px; line-height: 1.2; }
.page-head .sub { font-size: 18px; font-weight: 300; max-width: 360px; margin-top: 18px; line-height: 1.4; }
.all-apps { width: 100%; max-width: 1507px; margin: 10px auto 0; padding: 0 10px; }
.all-apps img { width: 100%; }
.windows-apps h2 { font-size: 48px; margin: 90px 0 14px; }
.windows-apps p { font-size: 16px; max-width: 420px; }

/* --------------------------------------------------------------------------
   Project detail pages
   -------------------------------------------------------------------------- */
.project-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 40px;
  align-items: center;
  padding-top: 40px;
}
.project-hero h1 { font-size: 68px; line-height: 1.2; }
.project-hero .tagline { font-size: 18px; font-weight: 300; margin-top: 18px; max-width: 420px; line-height: 1.4; }
.store-badges { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 48px; }
.store-badges a,
.store-badges span { display: block; height: 56px; transition: transform 0.2s ease, opacity 0.2s ease; }
.store-badges a:hover { transform: translateY(-2px); opacity: 0.85; }
.store-badges img { height: 56px; width: auto; }
.project-icon { width: 100%; max-width: 360px; justify-self: end; }

.project-body { margin-top: 60px; }
.project-body h2 { font-size: 46px; line-height: 1.25; margin: 70px 0 22px; }
.project-body h2:first-child { margin-top: 0; }
.project-body h3 { font-size: 26px; margin: 34px 0 12px; }
.text { font-size: 15px; line-height: 1.6; max-width: 680px; }
.text.wide { max-width: none; }
.text ul { padding-left: 1.3em; margin: 0 0 1em; }
.text li { margin-bottom: 4px; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: start;
}
.split.reverse { grid-template-columns: auto minmax(0, 1fr); }
.split.even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.split > .text { max-width: none; }

figure { margin: 0; }
.figure img { border-radius: var(--media-radius); }
.caption { font-size: 12px; color: var(--caption); text-align: center; margin-top: 10px; line-height: 1.45; }

.gallery { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin: 30px 0; }
.gallery figure { flex: 0 1 auto; }
.gallery img { height: auto; }

.phone { max-width: 204px; }
.push-down { padding-top: 330px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Horizontal scroll slideshow */
.slideshow { position: relative; margin: 36px 0; }
.slides {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.slides::-webkit-scrollbar { display: none; }
.slides img { flex: none; height: 464px; width: auto; max-width: none; scroll-snap-align: center; border-radius: var(--media-radius); }
.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--surface-raised);
  box-shadow: var(--raised-shadow);
  cursor: pointer;
  font-size: 22px;
  line-height: 44px;
  color: var(--text);
  transition: opacity 0.2s ease, background-color 0.2s ease;
}
.slide-btn:hover { filter: brightness(1.05); }
.slide-btn[disabled] { opacity: 0; pointer-events: none; }
.slide-btn.prev { left: 10px; }
.slide-btn.next { right: 10px; }

/* Testimonials collage (same layout as the original site), each tweet styled as a floating card */
.reviews { position: relative; height: 400px; max-width: 980px; margin: 34px auto 0; }
.reviews img {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  box-sizing: content-box;
  padding: 6px 8px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.reviews img:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08), 0 18px 40px rgba(0, 0, 0, 0.18);
  z-index: 2;
}

/* Tools grid */
.tools { margin-top: 80px; }
.tools h3 { font-size: 32px; margin: 0 0 22px; }
.tools h3 + div { margin-bottom: 44px; }
.tools > div:last-child { margin-bottom: 0; }
.tool-grid { display: flex; flex-wrap: wrap; gap: 24px 10px; }
.tool { width: 171px; text-align: center; }
.tool img { width: 96px; height: 96px; object-fit: contain; margin: 0 auto 12px; }
.tool span { font-size: 14px; font-weight: 400; }

/* --------------------------------------------------------------------------
   Videos page
   -------------------------------------------------------------------------- */
.video-hero {
  position: relative;
  height: 601px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
}
.video-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-hero::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.35); }
.video-hero h1 { position: relative; z-index: 1; font-size: 64px; letter-spacing: 0.01em; }

.videos-section h2 { font-size: 44px; line-height: 1.2; }
.videos-section .text { font-size: 15px; margin-top: 12px; }
.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  margin-top: 26px;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.channel { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; margin-top: 80px; }
.channel img { width: 251px; }
.equipment { margin-top: 90px; }
.equipment > h2 { font-size: 44px; margin-bottom: 30px; }
.gear { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 40px; margin-bottom: 20px; }
.gear h3 { font-size: 28px; margin-bottom: 12px; }
.gear img { margin: 0 auto; }
.gear.reverse img { order: -1; }

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */
.not-found { text-align: center; padding: 120px 0 40px; }
.not-found h1 { font-size: 96px; }
.not-found p { font-size: 18px; margin: 10px 0 34px; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1000px) {
  .section-title { font-size: 56px; }
  .app-card h2, .app-card h3 { font-size: 32px; }
  .app-card .info { padding: 36px 0 30px 36px; }
  .project-hero { grid-template-columns: minmax(0, 1fr) 280px; }
  .slides img { height: 360px; }
}

@media (max-width: 760px) {
  :root { --gutter: 20px; }
  .nav { display: none; }
  .menu-toggle { display: block; }
  .site-header .container { height: 72px; }
  .logo { width: 210px; }

  .hero { padding-top: 10px; }
  .profile { width: 208px; height: 208px; margin-bottom: 26px; }
  .hero h1 { font-size: 22px; line-height: 1.5; }
  .hero h1 br { display: none; }
  .hero .lede { font-size: 17px; }
  .hero .actions { margin-top: 26px; }
  .btn-light { height: 48px; font-size: 18px; }

  .section-title,
  .section-title.sm { font-size: 40px; margin: 60px 0 32px; }

  .app-card { grid-template-columns: 1fr; min-height: 0; }
  .app-card .info { padding: 28px 22px 0; }
  .app-card h2, .app-card h3 { font-size: 30px; margin-bottom: 10px; }
  .app-card .media { justify-content: center; padding: 12px 0 18px; }
  .app-card.gray .info { padding-bottom: 4px; }
  .app-card:hover { transform: none; }

  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-grid p { font-size: 17px; }

  .page-head { padding-top: 30px; }
  .page-head h1 { font-size: 44px; }
  .windows-apps h2 { font-size: 36px; margin-top: 60px; }

  .project-hero { grid-template-columns: 1fr; gap: 10px; padding-top: 20px; }
  .project-icon { order: -1; justify-self: center; max-width: 220px; }
  .project-hero h1 { font-size: 44px; }
  .store-badges { margin-top: 28px; gap: 12px; }
  .store-badges a, .store-badges span, .store-badges img { height: 46px; }
  .project-body { margin-top: 40px; }
  .project-body h2 { font-size: 34px; margin-top: 54px; }
  .project-body h3 { font-size: 22px; }
  .text { font-size: 16px; }
  .split, .split.reverse, .split.even { grid-template-columns: 1fr; gap: 24px; }
  .split.reverse > :first-child { order: 1; }
  .push-down { padding-top: 0; }
  .split .figure img, .split figure img { margin: 0 auto; }
  .slides img { height: 300px; }
  .reviews { height: auto; display: flex; flex-direction: column; align-items: center; gap: 10px; }
  .reviews { gap: 14px; }
  .reviews img { position: static; width: min(var(--w), calc(100% - 16px)); }
  .tools h3 { font-size: 26px; }
  .tool-grid { gap: 22px 0; }
  .tool { width: 33.333%; }
  .tool img { width: 72px; height: 72px; }
  .tool span { font-size: 13px; }

  .video-hero { height: 420px; }
  .video-hero h1 { font-size: 44px; }
  .videos-section h2, .equipment > h2 { font-size: 34px; }
  .channel { grid-template-columns: 1fr; text-align: left; gap: 20px; }
  .channel img { width: 140px; }
  .channel h2 br { display: none; }
  .videos-section .text { font-size: 16px; }
  .all-apps { overflow: hidden; padding: 0; }
  .all-apps img { width: 140%; max-width: none; margin-left: -20%; }
  .gear { grid-template-columns: 1fr; gap: 18px; margin-bottom: 40px; }
  .gear.reverse img { order: 0; }
}

@media (max-width: 380px) {
  .project-hero h1,
  .page-head h1 { font-size: 36px; }
  .section-title,
  .section-title.sm { font-size: 34px; }
}
h1, h2 { overflow-wrap: break-word; }

/* Images that should stay side by side even on phones */
.gallery.row { flex-wrap: nowrap; gap: 12px; }
.gallery.row > img { flex: 1 1 0; }

/* ==========================================================================
   Dark mode (follows the system setting)
   ========================================================================== */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --text: #f5f5f7;
    --text-muted: #b4b4ba;
    --accent: #ff5a52;
    --bg: #0b0b0d;
    --card-bg: #161618;
    --card-gray: #1c1c1f;
    --card-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 10px 30px rgba(0, 0, 0, 0.55);
    --btn-light: rgba(77, 140, 255, 0.16);
    --btn-light-hover: rgba(77, 140, 255, 0.26);
    --btn-light-text: #8ab4ff;
    --btn-blue: #4a63ff;
    --btn-blue-hover: #5d74ff;
    --btn-dark-bg: #f5f5f7;
    --btn-dark-hover: #ffffff;
    --btn-dark-text: #0b0b0d;
    --header-bg: rgba(11, 11, 13, 0.82);
    --header-line: rgba(255, 255, 255, 0.08);
    --nav-current: #7c7c82;
    --eyebrow: #9a9aa0;
    --caption: #8e8e93;
    --surface-raised: #1f1f23;
    --raised-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 4px 14px rgba(0, 0, 0, 0.5);
    --profile-ring: #1f1f23;
    --profile-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 8px 30px rgba(0, 0, 0, 0.6);
    --media-radius: 10px;
    --review-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 6px 20px rgba(0, 0, 0, 0.5);
    --pill-green-bg: rgba(48, 209, 88, 0.16);   --pill-green: #4cd964;
    --pill-purple-bg: rgba(191, 90, 242, 0.18); --pill-purple: #d58cff;
    --pill-blue-bg: rgba(10, 132, 255, 0.18);   --pill-blue: #6cb4ff;
    --pill-orange-bg: rgba(255, 159, 10, 0.18); --pill-orange: #ffb340;
  }

  /* Solid-black glyphs (GitHub, AWS text, footer icons, user icon) would vanish:
     invert lightness while keeping brand hues */
  .invert-dark { filter: invert(1) hue-rotate(180deg); }

  /* White-background screenshots: soften their edges against the dark page */
  .figure img,
  .gallery > img,
  .split > img { border-radius: var(--media-radius); }
  .reviews img { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 10px 30px rgba(0, 0, 0, 0.6); }
  .reviews img:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 20px 44px rgba(0, 0, 0, 0.7); }

  /* Subtle glow so the dark drone renders lift off the background */
  .gear img { filter: drop-shadow(0 10px 40px rgba(255, 255, 255, 0.08)); }

  .video-hero::after { background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.45) 70%, var(--bg)); }
  .video-embed { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06); }

  /* Thin text on dark looks faint: use regular weight and a soft off-white for reading text */
  body { font-weight: 400; }
  p, li, .caption, .tagline, .sub, .lede { color: #dcdce1; }
  .hero .lede { color: var(--text-muted); }
  .caption { color: var(--caption); }

  ::selection { background: rgba(255, 90, 82, 0.35); }
  :focus-visible { outline-color: #8ab4ff; }
}
