/* ============================================
   HeatSinc — Bright theme, sine-wave background
   Story: Problem → Solution → Features → Status
   ============================================ */

:root {
  --bg: #f8fafc;
  --bg-elevated: #ffffff;
  --bg-soft: #f1f5f9;
  --bg-wave: #e2e8f0;
  --accent: #ea580c;
  --accent-soft: rgba(234, 88, 12, 0.12);
  --accent-strong: #c2410c;
  --text: #0f172a;
  --text-soft: #475569;
  --text-muted: #64748b;
  --border-subtle: #e2e8f0;
  --border-strong: #cbd5e1;
  --danger: #dc2626;
  --success: #059669;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --radius-full: 9999px;
  --shadow-soft: 0 4px 24px rgba(15, 23, 42, 0.08);
  --shadow-medium: 0 8px 32px rgba(15, 23, 42, 0.1);
  --shadow-subtle: 0 2px 12px rgba(15, 23, 42, 0.06);
  --nav-height: 72px;
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  position: relative;
}

img,
video {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1160px, 100% - 2.5rem);
  margin-inline: auto;
}

.container-wide {
  width: min(1280px, 100% - 2.5rem);
  margin-inline: auto;
}

.section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.section-alt {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
}

.section-heading {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(1.85rem, 2.2vw, 2.35rem);
  margin: 0 0 10px;
  color: var(--text);
  font-weight: 600;
}

.section-heading p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1rem;
}

/* ---------- Sine wave background ---------- */
.wave-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.wave-background svg {
  position: absolute;
  width: 200%;
  height: 100%;
  left: -50%;
  top: 0;
  opacity: 0.35;
}

.wave-background .wave-layer {
  animation: wave-drift 90s linear infinite;
}

.wave-background .wave-layer-2 {
  animation: wave-drift 120s linear infinite reverse;
  opacity: 0.25;
}

.wave-background .wave-layer-3 {
  animation: wave-drift 150s linear infinite;
  opacity: 0.15;
}

@keyframes wave-drift {
  0% { transform: translateX(0); }
  100% { transform: translateX(25%); }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(248, 250, 252, 0.92);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.logo-mark {
  width: 57px;
  height: 38px;
  border-radius: 12px;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-subtle);
  border: 1px solid var(--border-subtle);
  padding: 0px 0px;
  overflow: hidden;
}

.logo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-name {
  font-weight: 600;
  font-size: 1.05rem;
}

.logo-tagline {
  font-size: 0.7rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.nav-links a.btn {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
}

.nav-links a.btn:hover {
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text-soft);
  border-radius: var(--radius-full);
}

/* ---------- Hero: product + dashboard first ---------- */
.hero {
  padding: 32px 0 40px;
  position: relative;
  z-index: 1;
}

.hero-headline-block {
  text-align: center;
  margin-bottom: 32px;
}

.hero .eyebrow {
  display: inline-block;
  color: var(--accent-strong);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin: 0 0 12px;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  margin: 0 0 16px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-tagline {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--text-soft);
  max-width: 560px;
  margin: 0 auto 24px;
  line-height: 1.5;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  font-family: inherit;
}

.btn.primary {
  background: var(--accent);
  border-color: var(--accent-strong);
  color: #fff;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
}

.btn.primary:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.4);
}

.btn.ghost {
  background: var(--bg-elevated);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn.ghost:hover {
  background: var(--bg-soft);
  border-color: var(--text-muted);
}

.btn.full-width {
  width: 100%;
}

/* Hero product strip: dashboard + device side by side */
/* Hardware render (Hub + Node) */
.hero-hardware-wrap {
  max-width: 700px;
  margin: 0 auto 16px;
}

.hardware-render {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 24px 20px;
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-medium);
  position: relative;
}

.hardware-hub,
.hardware-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hardware-body {
  width: 110px;
  height: 140px;
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 10px;
  border: 2px solid var(--border-subtle);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  position: relative;
  z-index: 2;
}

.hardware-screen {
  width: 100%;
  height: 45px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 5px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hardware-screen::after {
  content: '';
  width: 80%;
  height: 20px;
  position: absolute;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' preserveAspectRatio='none'%3E%3Cpath d='M0,10 C5,5 10,5 15,10 C20,15 25,15 30,10 C35,5 40,5 45,10 C50,15 55,15 60,10 C65,5 70,5 75,10 C80,15 85,15 90,10 C95,5 100,5 100,10' stroke='rgba(234,88,12,0.7)' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  animation: screen-pulse 2s ease-in-out infinite;
}

@keyframes screen-pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

.hardware-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hardware-glow {
  position: absolute;
  width: 140px;
  height: 170px;
  border-radius: 14px;
  z-index: 1;
  pointer-events: none;
}

.hardware-glow-pulse {
  background: radial-gradient(circle, rgba(234, 88, 12, 0.15) 0%, transparent 70%);
  animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

.hardware-connection {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  max-width: 150px;
}

.connection-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.hero-hardware-renders {
  max-width: 600px;
  margin: 0 auto 8px;
  display: block;
  visibility: visible;
  opacity: 1;
}

.hero-hardware-render {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 4px 12px;
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-medium);
  position: relative;
  min-height: auto;
  visibility: visible;
  opacity: 1;
}

.hero-hardware-hub,
.hero-hardware-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  justify-content: flex-start;
}
/*
.hero-hardware-image-wrapper {
  width: 180px !important;
  height: 200px !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: transparent;
  position: relative;
  isolation: isolate;
}

.hero-hardware-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
  flex-shrink: 0;
  border-radius: 16px !important;
}
*/

.hero-hardware-image-wrapper {
  width: 144px;
  height: 120px;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;

  /* FIX 1: Force GPU Acceleration to smooth the render */
  transform: scale(0.90) translateZ(0); 
  backface-visibility: hidden;
  -webkit-font-smoothing: subpixel-antialiased;

  /* FIX 2: The "Transparent Border" trick stops edge bleeding */
  border: 1px solid transparent;
  
  /* FIX 3: Force the mask to respect the border radius */
  mask-image: radial-gradient(white, black);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.hero-hardware-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures image fills the rounded box */
  display: block;
  
  /* FIX 4: slightly scale the image UP inside the wrapper to hide seam lines */
  transform: scale(1.01); 
}


.hero-hardware-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 2px;
}

.hero-hardware-description {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.4;
  margin-top: 2px;
}


.hero-device-wrap {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}

.device-card {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 18px 20px;
  box-shadow: var(--shadow-medium);
}

.device-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.device-brand {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--text-soft);
  font-weight: 600;
}

.device-status {
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(5, 150, 105, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--success);
  font-weight: 500;
}

.device-center {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 14px;
  align-items: center;
  padding: 12px 0 10px;
}

.device-ring {
  width: 100px;
  height: 100px;
  margin-inline: auto;
  border-radius: 50%;
  background: linear-gradient(145deg, #fff 0%, #f1f5f9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2px var(--border-subtle), 0 4px 12px rgba(234, 88, 12, 0.15);
}

.device-ring-inner {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid var(--border-subtle);
}

.device-readings {
  display: grid;
  gap: 6px;
}

.device-readings div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.reading-label {
  color: var(--text-soft);
}

.reading-value {
  font-weight: 600;
  color: var(--text);
}

.reading-chip {
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 500;
}

.reading-chip.critical {
  background: rgba(220, 38, 38, 0.12);
  color: var(--danger);
  border: 1px solid rgba(220, 38, 38, 0.3);
}

.device-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px dashed var(--border-subtle);
  padding-top: 10px;
  margin-top: 6px;
}

.device-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.hero-metrics {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border-subtle);
}

.hero-metrics-inline {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  align-items: center;
  min-width: 120px;
}

.hero-metrics-inline div {
  text-align: center;
}

.hero-metrics-inline .metric-value {
  font-size: 1.2rem;
}

.hero-metrics-inline .metric-label {
  font-size: 0.7rem;
}

.hero-metrics div {
  text-align: center;
  min-width: 90px;
}

.metric-value {
  display: block;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--accent-strong);
}

.metric-label {
  font-size: 0.7rem;
  color: var(--text-soft);
}

.metric-footnote {
  margin: 12px 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

/* ---------- Problem section ---------- */
.problem-section {
  padding: 80px 0;
}

.problem-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.problem-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.problem-image-placeholder {
  aspect-ratio: 4/3;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #fef2f2 0%, #fee2e2 50%, #fef2f2 100%);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.problem-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hotspot-overlay {
  position: absolute;
  top: 43%;
  left: 45%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  pointer-events: none;
  z-index: 2;
}

.hotspot-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.3);
  animation: hotspot-pulse 2s ease-in-out infinite;
}

.hotspot-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: radial-gradient(circle, #dc2626 0%, #991b1b 100%);
  box-shadow: 0 0 20px rgba(220, 38, 38, 0.8), 0 0 40px rgba(220, 38, 38, 0.4);
}

@keyframes hotspot-pulse {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.8;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.4;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

.image-citation {
  margin: 12px 0 0;
  padding-left: 4px;
  font-size: 0.6rem !important;
  color: var(--text-muted);
  line-height: 1.4;
}

.image-citation a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.image-citation a:hover {
  border-bottom-color: var(--accent);
}

.problem-content h2 {
  font-size: clamp(1.75rem, 2vw, 2.1rem);
  margin: 0 0 16px;
  color: var(--text);
  font-weight: 600;
}

.problem-content p {
  color: var(--text-soft);
  margin: 0 0 14px;
  line-height: 1.6;
}

.problem-stat {
  margin-top: 24px;
  padding: 16px 20px;
  background: var(--accent-soft);
  border-radius: var(--radius-md);
  border: 1px solid rgba(234, 88, 12, 0.2);
}

.problem-stat strong {
  display: block;
  font-size: 1.25rem;
  color: var(--accent-strong);
  margin-bottom: 4px;
}

.problem-stat span {
  font-size: 0.9rem;
  color: var(--text-soft);
}

.stat-citation {
  margin: 10px 0 0;
  padding-left: 4px;
  font-size: 0.6rem !important;
  color: var(--text-muted);
  line-height: 1.4;
}

.stat-citation a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.stat-citation a:hover {
  border-bottom-color: var(--accent);
}

.blind-spot-copy {
  margin: 16px 0 !important;
  padding: 12px 16px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.95rem !important;
}

/* ---------- Science section: Safety Gap + Physics ---------- */
/* .science-section - Transparent background - wave shows through like hero section */

.safety-gap-table-wrap {
  overflow-x: auto;
  margin: 32px 0 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-subtle);
  background: var(--bg-elevated);
}

.safety-gap-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.safety-gap-table th,
.safety-gap-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.safety-gap-table th {
  background: var(--bg-soft);
  font-weight: 600;
  color: var(--text);
}

.safety-gap-table td {
  color: var(--text-soft);
}

.safety-gap-table tbody tr:last-child td {
  border-bottom: none;
}

.safety-gap-table .heatsinc-row {
  background: rgba(234, 88, 12, 0.08);
}

.safety-gap-table .heatsinc-row td {
  color: var(--text);
  font-weight: 600;
}

.check-mark {
  display: inline-block;
  color: var(--success);
  font-weight: 700;
  font-size: 1.1em;
  margin-right: 8px;
}

.x-mark {
  display: inline-block;
  color: var(--danger);
  font-weight: 700;
  font-size: 1.1em;
  margin-right: 8px;
}

.breaker-paradox-block {
  max-width: 900px;
  margin: 0 auto 40px;
  padding: 32px;
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.breaker-paradox-block h3 {
  margin: 0 0 32px;
  font-size: 1.35rem;
  color: var(--text);
  font-weight: 600;
  text-align: center;
}

.paradox-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.paradox-step {
  flex: 1;
  min-width: 180px;
  max-width: 220px;
  text-align: center;
  padding: 24px 20px;
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.paradox-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: var(--radius-md);
}

.paradox-step h4 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.paradox-step p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-soft);
  line-height: 1.5;
}

.paradox-arrow {
  font-size: 2rem;
  color: var(--accent);
  font-weight: 300;
  flex-shrink: 0;
}

.paradox-conclusion {
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.paradox-conclusion p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.6;
  font-size: 0.95rem;
}

.venn-wrap {
  text-align: center;
  margin-top: 32px;
}

.venn-caption {
  margin: 0 0 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.venn-diagram {
  max-width: 320px;
  height: auto;
  margin: 0 auto;
}

.venn-label {
  font-size: 11px;
  font-weight: 600;
  fill: var(--text);
  text-anchor: middle;
}

.venn-sublabel {
  font-size: 9px;
  fill: var(--text-muted);
  text-anchor: middle;
}

.venn-gap-label {
  font-size: 10px;
  font-weight: 600;
  fill: var(--danger);
  text-anchor: middle;
}

.venn-heatsinc {
  font-size: 12px;
  font-weight: 700;
  fill: var(--accent-strong);
  text-anchor: middle;
}

/* How it works: topology diagram + intelligence */
.topology-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin: 48px auto;
  padding: 40px;
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  flex-wrap: wrap;
}

.topology-hub,
.topology-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 160px;
}

.topology-device-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  border: 2px solid var(--border-subtle);
  color: var(--accent);
  margin-bottom: 8px;
}

.topology-device-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.topology-device-location {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

.topology-connection {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 200px;
  max-width: 250px;
}

.topology-connection-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.topology-caption {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-soft);
  font-style: italic;
  margin: -24px auto 32px;
  max-width: 500px;
}

.topology-copy {
  max-width: 640px;
  margin: 0 auto 28px;
  text-align: center;
}

.topology-copy p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.6;
  font-size: 1rem;
}

/* Solution: Dashboard section */
.solution-content {
  max-width: 900px;
  margin: 0 auto 48px;
  text-align: center;
}

.solution-content h3 {
  font-size: clamp(1.75rem, 2vw, 2.1rem);
  margin: 0 0 12px;
  color: var(--text);
  font-weight: 600;
}

.solution-content > p {
  font-size: 1.05rem;
  color: var(--text-soft);
  margin: 0 0 32px;
  line-height: 1.6;
}

.solution-dashboard-wrap {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-medium);
  overflow: hidden;
  margin-top: 24px;
}

.solution-dashboard-placeholder {
  aspect-ratio: 16/10;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #f1f5f9 0%, #e2e8f0 50%, #f8fafc 100%);
}

.solution-dashboard-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dashboard Showcase */
.dashboard-showcase {
  max-width: 1000px;
  margin: 48px auto;
}

.dashboard-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--border-subtle);
  padding-bottom: 0;
}

.dashboard-tab {
  background: none;
  border: none;
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s ease, border-color 0.2s ease;
  font-family: inherit;
}

.dashboard-tab:hover {
  color: var(--accent);
}

.dashboard-tab.active {
  color: var(--accent-strong);
  border-bottom-color: var(--accent-strong);
}

.dashboard-view {
  display: none;
  animation: fadeIn 0.3s ease;
}

.dashboard-view.active {
  display: block;
}

.dashboard-hardware-renders {
  max-width: 700px;
  margin: 0 auto 32px;
  display: block;
  visibility: visible;
  opacity: 1;
}

.dashboard-hardware-render {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 24px 20px;
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-medium);
  position: relative;
  min-height: 200px;
  visibility: visible;
  opacity: 1;
}

.dashboard-hardware-hub,
.dashboard-hardware-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-height: 180px;
  justify-content: flex-start;
  padding-top: 20px;
}

.dashboard-hardware-image {
  width: 110px;
  height: auto;
  max-height: 140px;
  min-height: 100px;
  object-fit: contain;
  position: relative;
  z-index: 3;
  display: block;
  background: transparent;
  flex-shrink: 0;
}

.dashboard-hardware-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.dashboard-hardware-glow {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 14px;
  z-index: 0;
  pointer-events: none;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.dashboard-hardware-glow-pulse {
  background: radial-gradient(circle, rgba(234, 88, 12, 0.15) 0%, transparent 70%);
  animation: glow-pulse 3s ease-in-out infinite;
}

.dashboard-hardware-connection {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  max-width: 150px;
}

.dashboard-connection-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.dashboard-image-wrap {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-medium);
  overflow: hidden;
  margin-bottom: 16px;
}

.dashboard-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.dashboard-status-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 16px;
}

.dashboard-status-item {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-medium);
  overflow: hidden;
}

.dashboard-status-item img {
  width: 100%;
  height: auto;
  display: block;
}

.dashboard-caption {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0;
  text-align: center;
}

.intelligence-block,
.thermal-contrast {
  max-width: 640px;
  margin: 28px auto 0;
  padding: 20px 24px;
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.intelligence-block h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.intelligence-block p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.55;
  font-size: 0.92rem;
}

.thermal-contrast {
  margin-top: 16px;
}

.thermal-contrast p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.55;
}

/* ---------- Solution (product) section ---------- */
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 40px;
  align-items: flex-start;
}

.two-column p {
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0 0 14px;
}

.icon-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 10px;
}

.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
  background: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-soft);
}

.spec-card {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 22px 22px 20px;
  box-shadow: var(--shadow-soft);
}

.spec-card h3 {
  margin: 0 0 14px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.spec-list {
  margin: 0;
  padding: 0;
}

.spec-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.spec-list div:last-child {
  border-bottom: none;
}

.spec-list dt {
  font-size: 0.88rem;
  color: var(--text-soft);
}

.spec-list dd {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
}

/* ---------- Features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  padding: 20px 20px 18px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-subtle);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  box-shadow: var(--shadow-soft);
  border-color: var(--border-strong);
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.feature-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ---------- Timeline (how it works) ---------- */
.timeline {
  position: relative;
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: linear-gradient(to bottom, var(--border-strong), var(--accent));
  border-radius: 2px;
}

.timeline-step {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 16px;
  position: relative;
}

.step-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.3);
}

.step-content {
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  padding: 14px 18px;
  box-shadow: var(--shadow-subtle);
}

.step-content h3 {
  margin: 0 0 6px;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
}

.step-content p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ---------- Media & gallery ---------- */
.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 8px;
}

.media-card {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 18px 18px 16px;
  box-shadow: var(--shadow-soft);
}

.media-card h3 {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.video-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-soft);
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-wrapper-animated video {
  object-fit: cover;
  object-position: center 100%;
}

.media-caption {
  margin: 10px 0 0;
  font-size: 0.86rem;
  color: var(--text-soft);
  line-height: 1.45;
}

.gallery {
  margin-top: 48px;
}

.gallery h3 {
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gallery-installation {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 900px;
  margin: 0 auto;
  gap: 32px;
  justify-items: center;
}

.gallery-item {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-soft);
}

.gallery-image {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  height: 160px;
  margin-bottom: 8px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  background-color: var(--bg-soft);
}

.gallery-installation .gallery-image {
  height: 280px;
  width: 100%;
  max-width: 420px;
  background-size: contain;
  background-color: var(--bg-elevated);
}

/* Placeholder style when no image */
.gallery-image.placeholder {
  background: linear-gradient(145deg, #f1f5f9 0%, #e2e8f0 100%);
}

/* ---------- Investor & status ---------- */
.investor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.investor-card {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 22px 22px 18px;
  box-shadow: var(--shadow-soft);
}

.investor-card h3 {
  margin: 0 0 8px;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
}

.investor-metric {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent-strong);
}

.investor-label {
  margin: 2px 0 10px;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.investor-note {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-soft);
  line-height: 1.5;
}

.pilots-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.pilot-card {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 20px 20px 16px;
  box-shadow: var(--shadow-soft);
}

.pilot-card h3 {
  margin: 0 0 10px;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
}

.pilot-card ul {
  margin: 0;
  padding-left: 20px;
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.55;
}

.pilot-card li + li {
  margin-top: 6px;
}

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.faq-item {
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  padding: 14px 16px;
  box-shadow: var(--shadow-subtle);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item[open] summary {
  color: var(--accent-strong);
}

.faq-item p {
  margin: 8px 0 0;
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ---------- Contact ---------- */
.contact-section {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: flex-start;
}

.contact-grid h2 {
  font-size: clamp(1.75rem, 2vw, 2rem);
  margin: 0 0 12px;
  color: var(--text);
  font-weight: 600;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-list li + li {
  margin-top: 6px;
}

.contact-form {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 24px 24px 20px;
  box-shadow: var(--shadow-soft);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}

.form-field label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-soft);
}

.form-field input,
.form-field select,
.form-field textarea {
  background: var(--bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  padding: 10px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field textarea {
  border-radius: var(--radius-md);
  resize: vertical;
  min-height: 100px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-soft);
}

.form-footnote {
  margin: 10px 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 20px 0 28px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.footer-small {
  opacity: 0.9;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-product-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-device-wrap {
    position: static;
    order: -1;
    max-width: 340px;
    margin: 0 auto;
  }

  .problem-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .problem-visual {
    max-width: 480px;
    margin: 0 auto;
  }

  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .investor-grid,
  .pilots-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 64px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: calc(var(--nav-height) + 8px);
    left: 16px;
    right: 16px;
    border-radius: var(--radius-md);
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    padding: 12px;
    flex-direction: column;
    gap: 4px;
    box-shadow: var(--shadow-medium);
    transform: scaleY(0.95);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform-origin: top;
  }

  .nav-links.open {
    opacity: 1;
    transform: scaleY(1);
    pointer-events: auto;
  }

  .nav-links a {
    padding: 10px 12px;
    border-radius: var(--radius-sm);
  }

  .nav-links a:hover {
    background: var(--bg-soft);
  }

  .hero {
    padding: 36px 0 48px;
  }

  .hero-metrics {
    gap: 24px;
  }

  .hardware-render {
    flex-direction: column;
    gap: 24px;
    padding: 40px 24px;
  }

  .hardware-connection {
    transform: rotate(90deg);
    max-width: 100px;
  }

  .hero-hardware-renders {
    max-width: 100%;
    margin: 0 auto 24px;
  }

  .hero-hardware-render {
    flex-direction: column;
    gap: 2px;
    padding: 4px 12px;
  }

  .hero-metrics-inline {
    flex-direction: row;
    gap: 20px;
    min-width: auto;
  }

  .paradox-steps {
    flex-direction: column;
    gap: 20px;
  }

  .paradox-arrow {
    transform: rotate(90deg);
    font-size: 1.5rem;
  }

  .topology-diagram {
    flex-direction: column;
    gap: 24px;
    padding: 32px 24px;
  }

  .topology-connection {
    transform: rotate(90deg);
    max-width: 120px;
  }

  .solution-dashboard-placeholder {
    min-height: 280px;
  }

  .dashboard-status-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .dashboard-hardware-renders {
    max-width: 100%;
    margin: 0 auto 24px;
  }

  .dashboard-hardware-render {
    flex-direction: column;
    gap: 24px;
    padding: 40px 24px;
  }

  .dashboard-hardware-connection {
    transform: rotate(90deg);
    max-width: 100px;
  }

  .dashboard-tabs {
    gap: 4px;
  }

  .dashboard-tab {
    padding: 10px 14px;
    font-size: 0.85rem;
  }

  .investor-grid,
  .pilots-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-installation {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .gallery-installation .gallery-image {
    height: 240px;
    max-width: 100%;
    background-size: contain;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-image {
    height: 140px;
  }
}
