/* Hot Shot Laser — Shared Design System (Obsidian Cinema + Editorial Sheet + Alabaster Bento) */
:root {
  --bg-obsidian: #05070b;
  --bg-surface: #0e131d;
  --bg-card: #141b29;
  --bg-sheet: #ffffff;
  --bg-bento: #f5f5f7;
  --border-dark: rgba(255, 255, 255, 0.10);
  --border-dark-strong: #2b384e;
  --border-light: rgba(15, 23, 42, 0.10);
  --text-light: #f1f5f9;
  --text-muted-dark: #94a3b8;
  --text-dark: #0f172a;
  --text-muted-light: #475569;
  --flame: #ff5400;
  --flame-hi: #ff6e24;
  --flame-lo: #d94300;
  --laser-cyan: #00d2ff;
  --emerald: #10b981;
  --shadow-cta: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 10px 26px -6px rgba(255, 84, 0, 0.50);
  --shadow-card-dark: 0 24px 48px -18px rgba(0, 0, 0, 0.65);
  --shadow-card-light: 0 14px 36px -14px rgba(15, 23, 42, 0.12);
}

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

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

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-obsidian);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Blueprint subtle background for obsidian stage sections */
.stage-obsidian {
  background-color: var(--bg-obsidian);
  background-image:
    radial-gradient(circle at 18% 12%, rgba(255, 84, 0, 0.10), transparent 44%),
    radial-gradient(circle at 82% 18%, rgba(0, 210, 255, 0.08), transparent 42%),
    linear-gradient(to right, rgba(36, 48, 68, 0.22) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(36, 48, 68, 0.22) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 36px 36px, 36px 36px;
  color: var(--text-light);
}

.stage-surface {
  background-color: var(--bg-surface);
  color: var(--text-light);
}

.sheet-white {
  background-color: var(--bg-sheet);
  color: var(--text-dark);
}

.bento-alabaster {
  background-color: var(--bg-bento);
  color: var(--text-dark);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.reading-well {
  max-width: 65ch;
}

/* Display & Monospace Typography */
h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.15rem, 4.4vw, 3.65rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  font-weight: 800;
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.font-mono {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
}

.tabular-nums,
.price-figure,
.kpi-value {
  font-variant-numeric: tabular-nums lining-nums;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
}

.eyebrow-cyan {
  color: var(--laser-cyan);
  background: rgba(0, 210, 255, 0.10);
  border: 1px solid rgba(0, 210, 255, 0.30);
}

.eyebrow-flame {
  color: #ff8447;
  background: rgba(255, 84, 0, 0.12);
  border: 1px solid rgba(255, 84, 0, 0.32);
}

.eyebrow-light {
  color: #c2410c;
  background: #ffedd5;
  border: 1px solid #fed7aa;
}

/* Sacred Action Color CTAs with Top-Lit Gradient + Specular Highlight + Shadow */
.cta-primary {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  background: linear-gradient(180deg, var(--flame-hi) 0%, var(--flame) 55%, var(--flame-lo) 100%);
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.9rem 1.5rem;
  min-height: 50px;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 175, 130, 0.45);
  box-shadow: var(--shadow-cta);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.cta-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34), 0 14px 32px -6px rgba(255, 84, 0, 0.62);
}

.cta-primary-inline {
  flex-direction: row;
  gap: 0.45rem;
  font-size: 0.82rem;
  padding: 0.6rem 1.05rem;
  min-height: 42px;
  white-space: nowrap;
  flex-shrink: 0;
}

.cta-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 500;
  opacity: 0.92;
  letter-spacing: 0.02em;
}

.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.8rem 1.25rem;
  min-height: 48px;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.cta-secondary:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.35);
}

.cta-secondary-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #ffffff;
  color: var(--text-dark);
  border: 1px solid rgba(15, 23, 42, 0.16);
  padding: 0.8rem 1.25rem;
  min-height: 48px;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.cta-secondary-light:hover {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.32);
}

/* Header & Navigation */
.top-dispatch-bar {
  background: #0a0e16;
  border-bottom: 1px solid var(--border-dark);
  padding: 0.55rem 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
}

.top-dispatch-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(5, 7, 11, 0.90);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-dark);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 74px;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1;
}

.brand-name span {
  color: var(--flame);
}

.brand-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.13em;
  color: var(--laser-cyan);
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 1.05rem;
}

.main-nav a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: #ffffff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.header-phone {
  display: none;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 639px) {
  .brand-name {
    font-size: 1.12rem;
  }
  .brand-sub {
    font-size: 0.54rem;
    letter-spacing: 0.08em;
  }
  .cta-primary-inline {
    padding: 0.5rem 0.8rem;
    font-size: 0.78rem;
    min-height: 40px;
  }
}

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
  }
  .header-phone {
    display: inline-flex;
  }
}

/* Grids & Cards */
.section-pad {
  padding: 4.5rem 0;
}

.section-pad-sm {
  padding: 3rem 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 5fr 7fr;
    gap: 2.75rem;
  }
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card-dark {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 1rem;
  box-shadow: var(--shadow-card-dark);
}

.card-light {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-card-light);
}

.card-bento {
  background: var(--bg-bento);
  border: 1px solid var(--border-light);
  border-radius: 1.25rem;
}

/* Figures & Media */
figure {
  margin: 0;
}

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: 0.85rem;
  background: #0a0e16;
  border: 1px solid var(--border-dark);
}

.media-frame img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.media-frame-lg img {
  height: 360px;
}

figcaption {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-muted-dark);
  padding: 0.65rem 0.85rem;
  background: rgba(5, 7, 11, 0.85);
  border-top: 1px solid var(--border-dark);
}

.sheet-white figcaption,
.bento-alabaster figcaption {
  color: var(--text-muted-light);
  background: #f8fafc;
  border-top: 1px solid var(--border-light);
}

/* Estimator / Form Inputs */
.calc-panel {
  position: relative;
  padding: 1.75rem;
  border-top: 3px solid var(--flame);
}

.field-label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #cbd5e1;
  margin-bottom: 0.4rem;
}

.input-dark,
.select-dark,
.textarea-dark {
  width: 100%;
  background: #070a10;
  color: #ffffff;
  border: 1px solid var(--border-dark-strong);
  border-radius: 0.5rem;
  padding: 0.7rem 0.85rem;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.15s ease;
}

.input-dark:focus,
.select-dark:focus,
.textarea-dark:focus {
  border-color: var(--flame);
}

input[type="range"] {
  width: 100%;
  accent-color: var(--flame);
  cursor: pointer;
}

.option-chip {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.6rem;
  background: #0a0e16;
  border: 1px solid var(--border-dark-strong);
  font-size: 0.82rem;
  color: #e2e8f0;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.option-chip:has(input:checked) {
  border-color: var(--flame);
  background: rgba(255, 84, 0, 0.10);
}

.tier-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
}

@media (min-width: 640px) {
  .tier-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tier-card {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.75rem;
  border-radius: 0.65rem;
  background: #0a0e16;
  border: 1px solid var(--border-dark-strong);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.tier-card:has(input:checked) {
  border-color: var(--flame);
  background: rgba(255, 84, 0, 0.12);
}

.estimate-box {
  background: #070a10;
  border: 1px solid rgba(255, 84, 0, 0.55);
  border-radius: 0.85rem;
  padding: 1.25rem;
  text-align: center;
}

.estimate-total {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 800;
  color: #ff6e24;
  line-height: 1.1;
  margin: 0.2rem 0;
}

/* Bay Switcher */
.bay-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.bay-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 0.9rem;
  min-height: 44px;
  border-radius: 0.55rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.76rem;
  font-weight: 700;
  background: #141b29;
  color: #cbd5e1;
  border: 1px solid var(--border-dark-strong);
  cursor: pointer;
  transition: all 0.15s ease;
}

.bay-tab.active,
.bay-tab:hover {
  background: var(--flame);
  color: #ffffff;
  border-color: rgba(255, 175, 130, 0.5);
}

/* Comparison & Spec Tables */
.table-wrap {
  overflow-x: auto;
  border-radius: 1rem;
  border: 1px solid var(--border-light);
  background: #ffffff;
}

table.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  text-align: left;
}

table.spec-table th,
table.spec-table td {
  padding: 0.95rem 1.05rem;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
}

table.spec-table thead th {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: #f8fafc;
  color: #334155;
}

table.spec-table .col-win {
  background: #fff7ed;
  color: #0f172a;
  font-weight: 600;
  border-left: 2px solid #ff5400;
  border-right: 2px solid #ff5400;
}

/* Dropzone */
.dropzone {
  border: 2px dashed var(--border-dark-strong);
  border-radius: 0.85rem;
  background: #070a10;
  padding: 2rem 1.25rem;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.dropzone:hover,
.dropzone.drag-active {
  border-color: var(--flame);
  background: rgba(255, 84, 0, 0.06);
}

/* FAQ Accordion */
.faq-list {
  display: grid;
  gap: 0.85rem;
}

details.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 0.85rem;
  padding: 1rem 1.25rem;
}

details.faq-item summary {
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

details.faq-item p {
  margin: 0.75rem 0 0;
  color: var(--text-muted-light);
  max-width: 65ch;
  font-size: 0.94rem;
}

/* Footer */
.site-footer {
  background: #040609;
  border-top: 1px solid var(--border-dark);
  padding: 3.5rem 0 5.5rem;
  color: var(--text-muted-dark);
  font-size: 0.84rem;
}

@media (min-width: 1024px) {
  .site-footer {
    padding-bottom: 2.5rem;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.25rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.site-footer a {
  color: #cbd5e1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer a:hover {
  color: #ffffff;
}

/* Sticky Mobile Thumb-Zone Bar (>=48px) */
.mobile-sticky-bar,
.sticky-mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 0.6rem;
  padding: 0.6rem 0.85rem calc(0.6rem + env(safe-area-inset-bottom));
  background: rgba(5, 7, 11, 0.94);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.mobile-sticky-bar a,
.sticky-mobile-bar a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.65rem;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
}

@media (min-width: 1024px) {
  .mobile-sticky-bar,
  .sticky-mobile-bar {
    display: none;
  }
}

.guarantee-strip {
  margin-top: 0.65rem;
  padding: 0.55rem 0.85rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(16, 185, 129, 0.32);
  background: rgba(16, 185, 129, 0.08);
  color: #a7f3d0;
  font-size: 0.76rem;
  line-height: 1.45;
  text-align: center;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 84, 0, 0.65);
  border-radius: 1rem;
  max-width: 520px;
  width: 100%;
  padding: 1.75rem;
  color: #ffffff;
}

.hidden {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
