/* The Duesy Shop — shared brand styles */
:root {
  --navy: #0f1c2e;
  --navy-mid: #1a2d45;
  --charcoal: #243447;
  --slate: #3d5166;
  --cream: #f4f1ea;
  --white: #ffffff;
  --muted: #8a9bb0;
  --orange: #e85d04;
  --orange-hot: #f48c06;
  --red: #d00000;
  --accent: #e85d04;
  --accent-glow: rgba(232, 93, 4, 0.35);
  --success: #2d6a4f;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 8px 32px rgba(15, 28, 46, 0.25);
  --shadow-sm: 0 2px 12px rgba(15, 28, 46, 0.12);
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Segoe UI", system-ui, sans-serif;
  --max: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--navy);
  color: var(--cream);
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--orange-hot); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

/* —— Nav —— */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 28, 46, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  flex-wrap: wrap;
}

.logo {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--cream);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.logo:hover { text-decoration: none; color: var(--orange-hot); }
.logo-mark {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--orange), var(--red));
  border-radius: 10px;
  display: grid; place-items: center;
  font-size: 1.15rem;
  font-weight: 900;
  box-shadow: 0 0 16px var(--accent-glow);
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  gap: 0.1rem;
}
.logo-name { font-weight: 800; letter-spacing: -0.02em; }
.logo-tag {
  font-size: 0.68rem;
  font-weight: 600;
  font-style: italic;
  color: var(--orange-hot);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  list-style: none;
}
.nav-links a {
  color: var(--muted);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--cream);
  background: rgba(255,255,255,0.08);
  text-decoration: none;
}

.nav-cta {
  background: linear-gradient(135deg, var(--orange), var(--red)) !important;
  color: white !important;
  box-shadow: 0 4px 14px var(--accent-glow);
}
.nav-cta:hover { filter: brightness(1.08); }

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s, filter 0.12s, box-shadow 0.12s;
  font-family: inherit;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--red));
  color: white;
  box-shadow: 0 4px 18px var(--accent-glow);
}
.btn-primary:hover { filter: brightness(1.08); color: white; }
.btn-secondary {
  background: rgba(255,255,255,0.08);
  color: var(--cream);
  border: 1px solid rgba(255,255,255,0.12);
}
.btn-secondary:hover { background: rgba(255,255,255,0.14); color: white; }
.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid rgba(255,255,255,0.1);
}
.btn-lg { padding: 0.95rem 1.75rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* —— Brand wordmark —— */
.wordmark {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 9vw, 4.75rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.92;
  text-transform: uppercase;
  color: var(--cream);
  text-shadow: 0 2px 0 rgba(0,0,0,0.25), 0 0 40px var(--accent-glow);
  margin: 0;
}
.wordmark .accent {
  color: var(--orange-hot);
  display: inline;
}
.tagline {
  font-size: clamp(1.2rem, 3vw, 1.65rem);
  font-weight: 700;
  font-style: italic;
  color: var(--orange-hot);
  letter-spacing: 0.01em;
  margin-top: 0.65rem;
  margin-bottom: 0;
}
.tagline::before {
  content: "“";
  opacity: 0.55;
  margin-right: 0.05em;
}
.tagline::after {
  content: "”";
  opacity: 0.55;
  margin-left: 0.05em;
}
.brand-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.65rem;
}
.brand-hero {
  margin-bottom: 1.5rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* —— Hero —— */
.hero {
  padding: 3rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% 40% auto -10%;
  height: 70%;
  background: radial-gradient(ellipse, var(--accent-glow), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 800px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; }
}
.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange-hot);
  background: rgba(232, 93, 4, 0.15);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}
.hero-lead {
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 0.85rem;
}
.hero-lead span { color: var(--orange-hot); }
.hero-pitch {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 40ch;
  margin-bottom: 1.75rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

@media (max-width: 480px) {
  .wordmark { font-size: clamp(2.15rem, 11vw, 2.85rem); }
  .brand-hero { margin-bottom: 1.15rem; padding-bottom: 1rem; }
}

.hero-card {
  background: linear-gradient(160deg, var(--navy-mid), var(--charcoal));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.hero-card h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.hero-card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 1rem; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  text-align: center;
}
.hero-stats strong {
  display: block;
  font-size: 1.35rem;
  color: var(--orange-hot);
}
.hero-stats span { font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }

/* —— Sections —— */
.section { padding: 3rem 0; }
.section-title {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.section-sub { color: var(--muted); margin-bottom: 1.75rem; max-width: 50ch; }

/* —— Feature cards —— */
.feature-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 700px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}
.feature-card {
  background: var(--navy-mid);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
}
.feature-card:hover {
  border-color: rgba(232, 93, 4, 0.45);
  transform: translateY(-3px);
  text-decoration: none;
  color: inherit;
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  background: rgba(232, 93, 4, 0.15);
}
.feature-card h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.feature-card p { color: var(--muted); font-size: 0.92rem; flex: 1; margin-bottom: 1rem; }
.feature-link {
  font-weight: 700;
  color: var(--orange-hot);
  font-size: 0.9rem;
}


/* —— Our Services —— */
.section-services {
  background: linear-gradient(180deg, rgba(26, 45, 69, 0.45), transparent);
}
.services-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}
.service-card {
  background: var(--navy-mid);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  border-color: rgba(232, 93, 4, 0.4);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.service-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
  background: rgba(232, 93, 4, 0.15);
}
.service-card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}
.service-card p {
  color: var(--muted);
  font-size: 0.92rem;
  flex: 1;
  margin-bottom: 0;
}
.service-card-cta .feature-link {
  margin-top: 0.85rem;
  display: inline-block;
}
.service-card-cta {
  border-color: rgba(232, 93, 4, 0.22);
}
@media (min-width: 900px) {
  .service-card-cta { grid-column: span 1; }
}

/* —— Trust strip —— */
.trust-strip {
  background: var(--charcoal);
  border-block: 1px solid rgba(255,255,255,0.06);
  padding: 1.5rem 0;
}
.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  list-style: none;
  text-align: center;
}
.trust-items li {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
}
.trust-items strong { color: var(--cream); display: block; font-size: 1rem; }

/* —— Footer —— */
.site-footer {
  padding: 2.5rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 2rem;
}
.footer-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 600px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr; }
}
.footer-brand { font-weight: 900; font-size: 1.2rem; margin-bottom: 0.35rem; letter-spacing: -0.02em; text-transform: uppercase; }
.footer-contact { color: var(--muted); font-size: 0.92rem; }
.footer-contact a { color: var(--cream); }
.footer-copy {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.8rem;
  color: var(--slate);
}

/* —— Page header (subpages) —— */
.page-header {
  padding: 1.75rem 0 1.15rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: -40% 50% auto -5%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(232, 93, 4, 0.18), transparent 70%);
  pointer-events: none;
}
.page-brand {
  position: relative;
  margin-bottom: 1rem;
}
.page-brand .wordmark {
  font-size: clamp(1.65rem, 5vw, 2.35rem);
  text-shadow: 0 1px 0 rgba(0,0,0,0.2), 0 0 24px var(--accent-glow);
}
.page-brand .tagline {
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  margin-top: 0.4rem;
}
.page-header h1 {
  position: relative;
  font-size: clamp(1.4rem, 3.2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.page-header p { position: relative; color: var(--muted); margin-top: 0.35rem; }
.footer-tagline {
  font-style: italic;
  color: var(--orange-hot);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 0.35rem;
}

/* —— Forms —— */
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--cream);
}
.form-group .hint { font-weight: 400; color: var(--muted); font-size: 0.8rem; }
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.25);
  color: var(--cream);
  font: inherit;
  font-size: 1rem;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--orange);
  outline-offset: 1px;
  border-color: transparent;
}
input::placeholder { color: var(--slate); }

.checkbox-grid {
  display: grid;
  gap: 0.5rem;
}
@media (min-width: 500px) {
  .checkbox-grid { grid-template-columns: 1fr 1fr; }
}
.check-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.85rem;
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.92rem;
  user-select: none;
}
.check-item:has(input:checked) {
  border-color: rgba(232, 93, 4, 0.5);
  background: rgba(232, 93, 4, 0.12);
}
.check-item input { width: 1.1rem; height: 1.1rem; accent-color: var(--orange); }

.slider-row {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 0.85rem;
}
.slider-row .slider-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
}
.slider-row .slider-val { color: var(--orange-hot); }
input[type="range"] {
  width: 100%;
  accent-color: var(--orange);
  height: 0.5rem;
}

/* —— Cards / panels —— */
.panel {
  background: var(--navy-mid);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 1.35rem;
  margin-bottom: 1.25rem;
}
.panel h2, .panel h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem; height: 1.6rem;
  border-radius: 50%;
  background: var(--orange);
  color: white;
  font-size: 0.8rem;
  font-weight: 800;
  margin-right: 0.4rem;
}

.disclaimer {
  background: rgba(208, 0, 0, 0.12);
  border: 1px solid rgba(208, 0, 0, 0.25);
  border-radius: var(--radius-sm);
  padding: 1rem;
  font-size: 0.88rem;
  color: #ffb4a2;
  margin-top: 1rem;
}
.disclaimer strong { color: #ffd6cc; }

/* —— Estimate range —— */
.estimate-reveal {
  text-align: center;
  padding: 1.5rem;
  background: linear-gradient(160deg, rgba(232,93,4,0.15), rgba(15,28,46,0.5));
  border: 1px solid rgba(232, 93, 4, 0.35);
  border-radius: var(--radius);
  margin: 1rem 0;
}
.estimate-reveal .label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.estimate-reveal .range {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 800;
  color: var(--orange-hot);
  letter-spacing: -0.02em;
}
.estimate-reveal .sub { color: var(--muted); font-size: 0.9rem; margin-top: 0.5rem; }

/* —— Upload —— */
.upload-zone {
  border: 2px dashed rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
  background: rgba(0,0,0,0.15);
}
.upload-zone:hover, .upload-zone.dragover {
  border-color: var(--orange);
  background: rgba(232, 93, 4, 0.08);
}
.upload-zone input[type="file"] { display: none; }
.upload-zone > p { color: var(--muted); font-size: 0.9rem; margin-top: 0.35rem; }
.photo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 1rem;
}
.photo-action-btn {
  cursor: pointer;
  margin: 0;
}
.upload-tip {
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 0.85rem !important;
  line-height: 1.35;
}
.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}
.preview-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}
.preview-item img { width: 100%; height: 100%; object-fit: cover; }
.preview-item button {
  position: absolute;
  top: 4px; right: 4px;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.7);
  color: white;
  cursor: pointer;
  font-size: 0.75rem;
  line-height: 1;
}

/* —— Gallery —— */
.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.gallery-card {
  background: var(--charcoal);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}
.gallery-ba {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 120px;
}
.gallery-ba .ba-side {
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}
.gallery-ba .ba-side:first-child { background: rgba(208,0,0,0.15); }
.gallery-ba .ba-side:last-child { background: rgba(45,106,79,0.2); }
.gallery-ba .tag {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.8;
}
.gallery-card .meta {
  padding: 0.85rem 1rem;
}
.gallery-card .meta h4 { font-size: 0.95rem; margin-bottom: 0.15rem; }
.gallery-card .meta p { font-size: 0.8rem; color: var(--muted); }

/* —— Soft gate modal —— */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 14, 24, 0.75);
  backdrop-filter: blur(6px);
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}
.modal-backdrop.open { opacity: 1; visibility: visible; }
@media (min-width: 560px) {
  .modal-backdrop { align-items: center; }
}
.modal {
  background: var(--navy-mid);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  width: min(100%, 420px);
  box-shadow: var(--shadow);
  max-height: 90vh;
  overflow-y: auto;
}
.modal h3 { margin-bottom: 0.35rem; }
.modal .modal-sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.15rem; }

/* —— Canvas game / sim —— */
.canvas-wrap {
  position: relative;
  background: #0a1220;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  touch-action: none;
  max-width: 480px;
  margin: 0 auto;
}
.canvas-wrap canvas {
  display: block;
  width: 100%;
  height: auto;
}
.game-hud {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
  font-weight: 700;
}
.game-hud .stat { color: var(--muted); font-size: 0.85rem; }
.game-hud .stat strong { color: var(--cream); font-size: 1.1rem; }
.game-controls {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.touch-pad {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  max-width: 280px;
  margin: 1rem auto 0;
}
.touch-pad button {
  padding: 1rem;
  font-size: 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: var(--cream);
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}
.touch-pad button:active { background: rgba(232, 93, 4, 0.3); }

.score-screen {
  position: absolute;
  inset: 0;
  background: rgba(15, 28, 46, 0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s;
}
.score-screen.show { opacity: 1; visibility: visible; }
.score-screen h2 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.score-screen .big-score {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--orange-hot);
  margin: 0.5rem 0;
}
.score-screen p { color: var(--muted); margin-bottom: 1.25rem; }

.compare-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 600px) {
  .compare-grid { grid-template-columns: 1fr 1fr; }
}
.compare-card {
  background: var(--navy-mid);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid rgba(255,255,255,0.07);
  text-align: center;
}
.compare-card.winner {
  border-color: rgba(232, 93, 4, 0.5);
  box-shadow: 0 0 24px var(--accent-glow);
}
.compare-card h3 { margin-bottom: 0.75rem; }
.compare-card .metric {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.9rem;
}
.compare-card .metric:last-child { border: none; }
.compare-card .metric span { color: var(--muted); }
.compare-card .metric strong { color: var(--cream); }

.sim-banner {
  background: rgba(232, 93, 4, 0.12);
  border: 1px solid rgba(232, 93, 4, 0.3);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: #ffc9a0;
  margin-bottom: 1rem;
  text-align: center;
}

.hidden { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

@media (max-width: 480px) {
  .nav-links a:not(.nav-cta) { padding: 0.4rem 0.55rem; font-size: 0.8rem; }
}


/* Lead email status (estimate page) */
.lead-send-note {
  margin: 0.75rem 0 0;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(208, 0, 0, 0.15);
  border: 1px solid rgba(208, 0, 0, 0.35);
  color: #ffb4a8;
  font-size: 0.88rem;
}

/* —— Collision Avoidance (game page) —— */
.page-game .game-main { padding-bottom: 3rem; }
.game-eyebrow {
  position: relative;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-hot);
  margin: 0 0 0.35rem;
}
.page-game .canvas-wrap {
  box-shadow: 0 0 0 1px rgba(232, 93, 4, 0.2), 0 12px 40px rgba(0, 0, 0, 0.35);
  background: #0a1220;
}
.page-game .canvas-wrap canvas {
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}
.score-brand {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-hot);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.start-blurb {
  color: var(--muted);
  max-width: 28ch;
  margin: 0 auto 0.65rem;
  font-size: 0.95rem;
}
.start-controls {
  color: var(--cream);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem !important;
  opacity: 0.9;
}
.score-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.game-footnote {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 1.25rem;
}
.page-game .touch-pad button {
  min-height: 52px;
  font-weight: 700;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.page-game .touch-pad button:active,
.page-game .touch-pad button:focus-visible {
  background: rgba(232, 93, 4, 0.35);
  border-color: rgba(232, 93, 4, 0.55);
  outline: none;
}
@media (min-width: 720px) {
  .page-game .touch-pad { opacity: 0.85; }
}
