


@font-face {
  font-family: 'SmallBoldPixel';
  src: url('assets/small_bold_pixel-7.ttf') format('truetype');
}
@font-face {
  font-family: 'EXEPixelPerfect';
  src: url('assets/EXEPixelPerfect.ttf') format('truetype');
}
@font-face {
  font-family: 'MegatransPixel';
  src: url('assets/MegatransPixel-Regular.otf') format('opentype');
}
@font-face {
  font-family: 'AngerisPixel';
  src: url('assets/AngerisPixel-Regular.otf') format('opentype');
}
@font-face {
  font-family: 'Tungsten';
  src: url('assets/Tungsten Bold.ttf') format('truetype');
}
@font-face {
  font-family: 'Qurova';
  src: url('assets/QurovaDEMO-Bold.otf') format('opentype');
}
@font-face {
  font-family: 'Transcity';
  src: url('assets/Transcity DEMO.otf') format('opentype');
}
@font-face {
  font-family: 'Rosehot';
  src: url('assets/Rosehot.ttf') format('truetype');
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-color: #161616;
  --text-primary: #ffffff;
  --text-secondary: #aaaaaa;
  --gold: #D4AF37;
  --gold-hover: #b8962c;
  --gold-glow: rgba(212, 175, 55, 0.2);
}

html { overflow-x: hidden; }
body { min-height: 100vh; display: flex; flex-direction: column; }
html, body {
  width: 100%;
  font-family: 'EXEPixelPerfect', sans-serif; font-size: 18px;
  background-color: var(--bg-color);
  color: var(--text-primary);
}

.theme-btn {
  background: none;
  font-size: 20px;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  color: var(--gold);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.theme-btn svg { width: 32px; height: 32px; }

/* Nav element = full-width background bar */
nav.navbar {
  background-color: #000;
  border-radius: 0;
  margin-top: 0;
  width: 100%;
  box-sizing: border-box;
}
[data-theme='light'] nav.navbar {
  background-color: #fff;
}

.page-wrapper { display: flex; flex-direction: column; flex: 1 0 auto; width: 100%; }

/* ============ Navbar ============ */
.navbar { 
  display: flex; 
  justify-content: space-between; 
  align-items: center;
  gap: 12px; 
  padding: 20px max(60px, calc((100% - 1280px) / 2 + 60px));
  min-height: 64px; 
  position: relative;
  z-index: 10000;
  width: 100%;
  box-sizing: border-box;
}

.nav-logo .logo-text { font-family: 'SmallBoldPixel', sans-serif; font-size: 62px; font-weight: normal; color: var(--gold); letter-spacing: 1px; line-height: 1; }

.nav-logo-img {
  height: 56px;
  width: auto;
  margin-right: 14px;
  object-fit: contain;
}

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

.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 20px; font-weight: bold;
  transition: color 0.2s;
}

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

.theme-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* ============ Main Content ============ */
.main-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 35px 60px 35px 60px;
  max-width: 1280px;
  margin: auto;
  width: 100%;
  box-sizing: border-box;
}

/* Left Section: 60-70% width */
.left-section { flex: 0 0 45%; max-width: 550px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }

.tagline {
  font-family: 'MegatransPixel', sans-serif;
  font-size: 44px;
  font-weight: bold;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 16px;
  -webkit-text-stroke: 1.5px var(--gold);
  white-space: nowrap;
}

.hero-title {
  font-size: clamp(40px, 6vw, 75px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
}

.gold-text {
  color: var(--gold);
}

/* Download Section */
.download-section { display: flex; gap: 10px; width: 100%; justify-content: flex-start; }

.btn-download { font-family: 'EXEPixelPerfect', sans-serif; display: inline-flex;
  align-items: center;
    gap: 12px;
  gap: 12px;
  padding: 18px 36px; border-radius: 12px; font-size: 24px; font-weight: bold;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-download.primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hover) 100%) !important;
  color: #111 !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.btn-download.primary:hover {
  transform: translateY(-2px);
}

.btn-download.secondary {
  background: rgba(255, 255, 255, 0.03) !important;
  color: var(--text-primary) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px);
}

.btn-download.secondary:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  transform: translateY(-2px);
}

/* Terminal Section */
.right-section {
  flex: 0 0 480px;
  width: 480px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  gap: 20px;
}

.screenshot-selection-wrapper {
  position: relative;
  width: 480px;
  flex-shrink: 0;
  margin-bottom: 10px;
  margin-right: 50px;
}

.terminal-container {
  width: 100%;
  background-color: #012456;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
  overflow: hidden;
}

/* Screenshot Selection UI */
.selection-border {
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  border: 2px dashed rgba(255, 255, 255, 0.8);
  pointer-events: none;
  z-index: 10;
}
[data-theme='light'] .selection-border { border-color: rgba(0, 0, 0, 0.4); }

.selection-handle {
  position: absolute;
  width: 8px; height: 8px;
  background-color: #fff;
  border: 1px solid #333;
  z-index: 11;
}
[data-theme='light'] .selection-handle { border-color: #888; }

.selection-handle.top-left { top: -6px; left: -6px; }
.selection-handle.top-center { top: -6px; left: calc(50% - 4px); }
.selection-handle.top-right { top: -6px; right: -6px; }
.selection-handle.middle-left { top: calc(50% - 4px); left: -6px; }
.selection-handle.middle-right { top: calc(50% - 4px); right: -6px; }
.selection-handle.bottom-left { bottom: -6px; left: -6px; }
.selection-handle.bottom-center { bottom: -6px; left: calc(50% - 4px); }
.selection-handle.bottom-right { bottom: -6px; right: -6px; }

.screenshot-toolbar-hz {
  position: absolute;
  bottom: -55px;
  right: -2px;
  height: 48px;
  width: auto;
  z-index: 12;
}
.screenshot-toolbar-vr {
  position: absolute;
  top: -2px;
  right: -52px;
  width: 44px;
  height: auto;
  z-index: 12;
}

.light-img { display: none; }
.dark-img { display: block; }
[data-theme='light'] .light-img { display: block; }
[data-theme='light'] .dark-img { display: none; }

.terminal-header {
  display: flex;
  align-items: center;
    gap: 12px;
  padding: 12px 16px;
  background-color: #000000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-title { color: #888; font-size: 20px; font-weight: bold; font-family: 'EXEPixelPerfect', sans-serif; }

.terminal-body { padding: 20px 24px; font-family: 'EXEPixelPerfect', sans-serif; font-size: 20px; line-height: 1.6;
  overflow: hidden;
  position: relative;
}

.terminal-line {
  color: #fff;
  word-break: break-all;
  white-space: normal;
}

.prompt {
  color: var(--gold);
  font-weight: 600;
  margin-right: 8px;
}

.cursor {
  display: inline-block;
  width: 9px;
  height: 16px;
  background-color: #fff;
  animation: blink 1s step-end infinite;
  vertical-align: text-bottom;
  margin-left: 4px;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

[data-theme='light'] {
  --bg-color: #dedede;
  --text-primary: #111111;
  --text-secondary: #555555;
  --gold: #b8860b;
  --gold-hover: #996515;
  --gold-glow: rgba(184, 134, 11, 0.2);
}

[data-theme='light'] .terminal-container {
  background-color: #320927;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

[data-theme='light'] .terminal-header {
  background-color: #ffffff;
  border-bottom-color: rgba(0, 0, 0, 0.1);
}

[data-theme='light'] .terminal-title { color: #333; }
[data-theme='light'] .copy-btn { color: #666; }
[data-theme='light'] .copy-btn.success { color: #111; }

[data-theme='light'] .terminal-line { color: #ffffff; }
[data-theme='light'] .cursor { background-color: #ffffff; }
[data-theme='light'] .prompt { color: #D4AF37; }

[data-theme='light'] .tagline {
  color: #5a1046;
  -webkit-text-stroke: 1.5px #5a1046;
}


/* ================= Modal Styles ================= */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
    gap: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.modal-content {
  background: var(--bg-color);
  padding: 24px 32px;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-overlay.active .modal-content {
  transform: translateY(0);
}
.modal-content h2 {
  margin-top: 0;
  margin-bottom: 30px;
  color: var(--text-primary);
  font-size: 34px;
}
.platform-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
}
.platform-card {
  width: 115px;
  height: 85px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0 2px 0;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--text-primary);
}
.platform-card span {
  font-size: 24px;
  display: inline-block;
  transform: translateY(-5px);
}
.platform-card:hover {
  background: rgba(212, 175, 55, 0.08);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.15);
}

.linux-split-card {
  width: 290px;
  height: 85px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 16px;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--text-primary);
}
.linux-split-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.15);
}
.platform-card-split {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 16px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.platform-card-split:hover {
  background: rgba(212, 175, 55, 0.08);
  color: var(--gold);
}
.card-icon {
  width: 56px;
  height: 56px;
  margin-top: 0px;
  margin-bottom: 2px;
  color: var(--gold) !important;
  fill: var(--gold) !important;
  transition: transform 0.25s ease;
}
.platform-card:hover .card-icon {
  transform: scale(1.1);
}
.linux-icon-img {
  /* Turn Tux into a solid gold silhouette matching dark theme --gold (#D4AF37) */
  filter: brightness(0) saturate(100%) invert(77%) sepia(46%) saturate(644%) hue-rotate(357deg) brightness(91%) contrast(87%) !important;
}
[data-theme='light'] .platform-card {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(184, 134, 11, 0.3);
}
[data-theme='light'] .platform-card:hover {
  background: rgba(184, 134, 11, 0.08);
  border-color: var(--gold);
  box-shadow: 0 8px 20px rgba(184, 134, 11, 0.15);
}
[data-theme='light'] .linux-icon-img {
  filter: brightness(0) !important;
}

/* ================= Navbar Dropdown ================= */
.platform-dropdown-container {
  position: relative;
}
.platform-btn {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--gold);
  padding: 14px 29px;
  border-radius: 24px;
  font-family: inherit;
  font-size: 24px; font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
}
.platform-btn:hover, .platform-btn.active {
  background: rgba(255, 255, 255, 0.15);
}
.dropdown-arrow { width: 25px; height: 25px;
  transition: transform 0.2s ease;
  margin-left: auto;
}
.platform-btn.active .dropdown-arrow {
  transform: rotate(180deg);
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--bg-color);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 4px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  opacity: 1;
  transform: translateY(0);
  transition: all 0.2s ease;
  z-index: 10001;
  min-width: unset;
}
.dropdown-menu.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
}
.dropdown-item { display: flex; align-items: center;
  gap: 10px; padding: 14px 25px; font-size: 24px; font-weight: bold;
  color: var(--text-primary);
  opacity: 0.65;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 8px;
}
.dropdown-item:last-child { border-bottom: none; }
.dropdown-item-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  overflow: hidden;
}
.dropdown-subtitle {
  font-size: 10px;
  opacity: 0.65;
  font-family: sans-serif;
  font-weight: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dropdown-item:last-child {
  border-bottom: none;
}
.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.1);
  opacity: 1;
  box-shadow: inset 0 0 10px var(--gold-glow);
}
.dropdown-item svg { width: 24px; height: 24px;
}
[data-theme='light'] .platform-btn {
  background: rgba(0, 0, 0, 0.03);
  border-color: var(--gold);
}
[data-theme='light'] .platform-btn:hover, [data-theme='light'] .platform-btn.active {
  background: rgba(0, 0, 0, 0.08);
}
[data-theme='light'] .dropdown-menu {
  border-color: rgba(0, 0, 0, 0.1);
}
[data-theme='light'] .dropdown-item:hover {
  background: rgba(0, 0, 0, 0.08);
  box-shadow: inset 0 0 10px var(--gold-glow);
}

/* ================= Terminal Copy Button ================= */
.copy-btn {
  background: transparent;
  border: none;
  color: #999;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
    gap: 12px;
  justify-content: center;
  transition: all 0.2s ease;
}
.copy-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.copy-btn.success {
  color: #fff;
}

/* ================= Separation Line ================= */
.separator-line {
  height: 2px;
  width: 100%;
  background: linear-gradient(to right, rgba(212, 175, 55, 0) 0%, var(--gold) 50%, rgba(212, 175, 55, 0) 100%);
  margin-bottom: 12px;
}

/* ================= Tools Grid ================= */
.tools-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-bottom: 30px;
}
.tool-card { display: flex; align-items: center;
    gap: 12px; gap: 12px; background: transparent; border: none; border-bottom: 1px solid rgba(255, 255, 255, 0.03); padding: 8px 4px; max-width: 100%;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.tool-card:last-child {
  border-bottom: none;
}
.tool-card:hover {
  background: rgba(255, 255, 255, 0.03);
  transform: translateX(4px);
}
.tool-icon {
  width: 28px; height: 28px; color: var(--text-primary);
  flex-shrink: 0;
  transition: color 0.3s ease;
}
.tool-info {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 12px;
  white-space: nowrap;
}
.tool-info strong { color: var(--text-primary); font-size: 21px; font-weight: bold; display: inline; margin-right: 8px; transition: color 0.3s ease; }
.tool-info span { color: var(--text-secondary); font-size: 19px; display: inline; }

[data-theme='light'] .tool-card {
  background: transparent;
  border-bottom-color: rgba(0, 0, 0, 0.08);
}
[data-theme='light'] .tool-card:hover {
  background: rgba(0, 0, 0, 0.03);
}
.tool-card:hover .tool-icon,
.tool-card:hover .tool-info strong { color: var(--gold); }


.linux-icon-img {
  filter: brightness(0) invert(1) !important;
}
[data-theme='light'] .linux-icon-img {
  filter: brightness(0) !important;
}
.card-icon.linux-icon-img {
  width: 56px;
  height: 56px;
}
.btn-icon.linux-icon-img {
  width: 32px !important;
  height: 32px !important;
}
#dynamic-download-icon svg, #dynamic-download-icon img { width: 44px !important; height: 44px !important; color: #000 !important; }
#dynamic-download-icon img.linux-icon-img { filter: invert(0) !important; }

.pixel-snow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  overflow: hidden;
  contain: layout style paint;
  pointer-events: none;
  background-color: var(--bg-color);
}

.pixel-snow-container canvas {
  display: block;
  width: 100%;
  height: 100%;
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
}

/* Electric Border Component */
.electric-border {
  --electric-border-color: var(--gold);
  --electric-light-color: oklch(from var(--electric-border-color) l c h);
  position: relative;
  border-radius: 8px; /* Hardcoded for download btn */
  overflow: visible;
  isolation: isolate;
  display: inline-block;
  text-decoration: none;
}

.eb-canvas-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
}

.eb-canvas {
  display: block;
}

.eb-content {
  position: relative;
  border-radius: inherit;
  z-index: 1;
}

.eb-layers {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
}

.eb-glow-1,
.eb-glow-2,
.eb-background-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-sizing: border-box;
}

.eb-glow-1 {
  border: 2px solid oklch(from var(--electric-border-color) l c h / 0.6);
  filter: blur(1px);
}

.eb-glow-2 {
  border: 2px solid var(--electric-light-color);
  filter: blur(4px);
}

.eb-background-glow {
  z-index: -1;
  transform: scale(1.1);
  filter: blur(32px);
  opacity: 0.3;
  background: linear-gradient(-30deg, var(--electric-light-color), transparent, var(--electric-border-color));
}

/* Copy Button Hover fix for Light Theme */
[data-theme='light'] .copy-btn:hover {
  background-color: rgba(0, 0, 0, 0.15);
  color: #000;
}

/* ================= Footer ================= */
.site-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; padding: 14px 20px 16px; font-family: 'Inter', sans-serif; font-size: 11px; }
.footer-nav { display: flex; flex-wrap: wrap; align-items: center; row-gap: 6px; }
.footer-group { display: flex; gap: 14px; padding: 0 14px; border-left: 1px solid rgba(212, 175, 55, 0.25); }
.footer-group:first-child { padding-left: 0; border-left: 0; }
.site-footer a { color: var(--text-secondary); text-decoration: none; opacity: 0.55; transition: opacity 0.2s ease, color 0.2s ease; }
.site-footer a:hover, .site-footer a:focus-visible { opacity: 1; color: var(--gold); }
.footer-copy { color: var(--text-secondary); opacity: 0.35; margin: 0; }

/* ============ SEO & Accessibility ============ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ============ Maker card ============ */
/* sized in em: change font-size to scale the whole card */
.maker-card {
  font-size: 11px;
  position: relative;
  align-self: flex-end;
  /* right edge lines up with the toolbar; tucked up beside the Download button, under the bottom toolbar */
  margin: -20px -52px 0 0;
  width: 30em;
  padding: 1.5em 1.8em;
  border-radius: 1.6em;
  overflow: hidden;
  isolation: isolate;
  color: #1e1608;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(115deg, #f7e6b4 0%, #dcb86c 22%, #a37a36 42%, #e6c780 58%, #9f7837 78%, #ead08e 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 244, 210, 0.55), 0 1.4em 3em rgba(0, 0, 0, 0.45);
}
.maker-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 250, 230, 0.55) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.9s ease;
}
.maker-card:hover::after { transform: translateX(120%); }

.mc-top { display: flex; align-items: center; gap: 1.2em; }
.mc-brand { font-family: 'Roboto Slab', Georgia, serif; font-weight: 800; font-size: 2.1em; letter-spacing: 0.04em; line-height: 1; }

.mc-chip {
  width: 3.4em; height: 2.3em;
  border-radius: 0.5em;
  border: 1px solid rgba(110, 78, 25, 0.55);
  background:
    linear-gradient(90deg, transparent 32%, rgba(110, 78, 25, 0.5) 32% 35%, transparent 35% 65%, rgba(110, 78, 25, 0.5) 65% 68%, transparent 68%),
    linear-gradient(0deg, transparent 46%, rgba(110, 78, 25, 0.5) 46% 54%, transparent 54%),
    linear-gradient(135deg, #f8e6b2, #d7b46c);
}

.mc-photo {
  position: absolute;
  top: 1.5em; right: 1.8em;
  width: 6em; height: 6em;
  border-radius: 1em;
  object-fit: cover;
  border: 1px solid rgba(60, 40, 10, 0.4);
  box-shadow: 0 0.4em 1em rgba(60, 40, 10, 0.35);
}

.mc-email {
  margin-top: 0.9em;
  font-family: 'Space Mono', ui-monospace, monospace;
  font-weight: 700;
  font-size: 1.85em;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 0 rgba(255, 240, 200, 0.5);
}


.mc-actions { display: flex; gap: 0.5em; margin-top: 1em; }
.mc-btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.6em 0.95em;
  border-radius: 999px;
  font-size: 1em; font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.mc-btn svg { width: 1.2em; height: 1.2em; flex-shrink: 0; }
.mc-btn:hover { transform: translateY(-1px); filter: brightness(1.12); }
.mc-btn:focus-visible { outline: 2px solid #1e1608; outline-offset: 2px; }
.mc-portfolio { background: #2e2416; color: #f3d898; }
.mc-linkedin { background: linear-gradient(135deg, #2b5d9b, #173a68); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.mc-github { background: linear-gradient(135deg, #3a3d44, #15171b); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2); }

@media (prefers-reduced-motion: reduce) {
  .maker-card::after { display: none; }
  .mc-btn { transition: none; }
}


/* ============ Phones and small tablets ============ */
@media (max-width: 960px) {
  /* card goes after the feature list */
  .right-section { display: contents; }
  .screenshot-selection-wrapper { order: 3; }
  .download-section { order: 4; margin-bottom: 36px; }
  .maker-card { order: 6; align-self: center; margin: 24px 0 8px; font-size: min(11px, calc((100vw - 32px) / 30)); }


  .navbar { padding: 12px 16px; min-height: 56px; }
  .nav-logo-img { height: 36px; margin-right: 8px; }
  .nav-logo .logo-text { font-size: 38px; }
  .nav-links { gap: 8px; }
  .platform-btn { padding: 8px 14px; font-size: 18px; gap: 8px; }
  .dropdown-arrow { width: 18px; height: 18px; }
  .dropdown-item { padding: 10px 14px; font-size: 18px; }
  .theme-btn { width: 40px; height: 40px; padding: 6px; }
  .theme-btn svg { width: 24px; height: 24px; }

  /* tagline, then the install box, then the feature list */
  .main-content { flex-direction: column; align-items: stretch; padding: 24px 16px 8px; gap: 0; }
  .left-section { display: contents; }
  .tagline { order: 1; white-space: normal; font-size: clamp(28px, 8.5vw, 44px); margin-bottom: 12px; -webkit-text-stroke-width: 1px; }
  .separator-line { order: 2; margin-bottom: 28px; }
  .right-section { order: 3; flex: none; width: 100%; gap: 12px; margin-bottom: 36px; }
  .tools-grid { order: 5; margin-bottom: 8px; }

  /* leave room for the fake capture toolbars on the right and below */
  .screenshot-selection-wrapper { width: auto; align-self: stretch; margin-right: 44px; margin-bottom: 46px; }
  .screenshot-toolbar-vr { width: 34px; right: -42px; }
  .screenshot-toolbar-hz { height: 36px; bottom: -44px; }

  .terminal-header { padding: 10px 14px !important; }
  .terminal-title { font-size: 16px; }
  .terminal-body { padding: 14px 16px; font-size: 16px; }
  .cursor { width: 8px; height: 14px; }

  #dynamic-download-btn { padding: 10px 18px !important; gap: 10px !important; }
  #dynamic-download-text { font-size: 24px !important; }
  #dynamic-download-btn svg { width: 22px; height: 22px; }

  .tool-card { align-items: flex-start; padding: 10px 4px; }
  .tool-card:hover { transform: none; }
  .tool-icon { width: 24px; height: 24px; margin-top: 2px; }
  .tool-info { flex-direction: column; gap: 2px; white-space: normal; }
  .tool-info strong { font-size: 19px; margin-right: 0; }
  .tool-info span { font-size: 16px; line-height: 1.3; }

  .modal-content { width: calc(100% - 32px); max-width: 420px; padding: 20px 16px; }
  .modal-content h2 { font-size: 24px; margin-bottom: 18px; }
  .platform-cards { flex-wrap: wrap; gap: 12px; }
  .platform-card { flex: 1 1 115px; }
  .linux-split-card { width: 100%; }

  .site-footer { padding: 18px 16px 22px; }
}

@media (max-width: 380px) {
  .nav-logo .logo-text { font-size: 30px; }
  .nav-logo-img { height: 30px; }
  .platform-btn { padding: 7px 10px; font-size: 16px; }
}
