/* ============================================
   Solar Sense — Plug and Play China
   Design tokens & base
   ============================================ */

:root {
  /* Colors */
  --bg-deep: #0d1117;
  --bg-charcoal: #161b22;
  --bg-card: #1c2128;
  --bg-elevated: #21262d;
  --text-primary: #f0f6fc;
  --text-secondary: #8b949e;
  --text-muted: #6e7681;
  --accent-amber: #d4a012;
  --accent-gold: #e6b422;
  --accent-warm: #f0c14b;
  --border: #30363d;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(212, 160, 18, 0.25);

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --section-padding: clamp(3rem, 8vw, 5rem);

  /* Layout */
  --max-width: 1200px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Motion (for JS-free animation control) */
  --duration-fast: 0.2s;
  --duration-normal: 0.35s;
  --duration-slow: 0.5s;
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --duration-fast: 0.01ms;
    --duration-normal: 0.01ms;
    --duration-slow: 0.01ms;
  }
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-deep);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Subtle animated background */
.bg-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(212, 160, 18, 0.08), transparent),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-charcoal) 100%);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.5;
  animation: gridShift 20s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  body::before {
    animation: none;
  }
}

@keyframes gridShift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

a:hover {
  color: var(--accent-warm);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ============================================
   Section entry animation
   ============================================ */

.section {
  padding: var(--section-padding) 0;
  opacity: 0;
  transform: translateY(24px);
  animation: sectionEnter var(--duration-slow) var(--ease-out) forwards;
}

.section:nth-child(1) { animation-delay: 0.05s; }
.section:nth-child(2) { animation-delay: 0.1s; }
.section:nth-child(3) { animation-delay: 0.15s; }
.section:nth-child(4) { animation-delay: 0.2s; }
.section:nth-child(5) { animation-delay: 0.25s; }
.section:nth-child(6) { animation-delay: 0.3s; }
.section:nth-child(7) { animation-delay: 0.35s; }
.section:nth-child(8) { animation-delay: 0.4s; }
.section:nth-child(9) { animation-delay: 0.45s; }
.section:nth-child(10) { animation-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  .section {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

@keyframes sectionEnter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 var(--space-2xl);
  text-align: center;
  letter-spacing: -0.02em;
}

/* ============================================
   SECTION A — Sticky Nav
   ============================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 17, 23, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.125rem;
}

.nav-logo:hover {
  color: var(--text-primary);
}

.nav-logo img {
  height: 2.5rem;
  width: auto;
  max-width: 9.5rem;
  padding: 0.35rem 0.55rem;
  background: #fff;
  border-radius: var(--radius-sm);
  object-fit: contain;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md) var(--space-lg);
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
}

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

.nav-current {
  color: var(--accent-gold);
  font-weight: 500;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.lang-toggle {
  display: flex;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.lang-btn {
  padding: var(--space-sm) var(--space-md);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: color var(--duration-fast), background var(--duration-fast);
}

.lang-btn:hover {
  color: var(--text-primary);
}

.lang-btn.active {
  color: var(--bg-deep);
  background: var(--accent-gold);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-lg);
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  border-radius: var(--radius-md);
  transition: transform var(--duration-fast), box-shadow var(--duration-normal), background var(--duration-fast), color var(--duration-fast);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent-amber);
  color: var(--bg-deep);
}

.btn-primary:hover {
  background: var(--accent-gold);
  color: var(--bg-deep);
}

.btn-glow:hover {
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-gold);
  border: 1px solid var(--accent-amber);
}

.btn-secondary:hover {
  background: rgba(212, 160, 18, 0.1);
  color: var(--accent-warm);
}

.btn-lg {
  padding: var(--space-md) var(--space-xl);
  font-size: 1rem;
}

/* ============================================
   SECTION B — Hero
   ============================================ */

.hero {
  padding: clamp(4rem, 10vw, 6rem) 0;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 0 0 var(--space-lg);
}

.hero-mission {
  font-size: clamp(1.0625rem, 1.75vw, 1.25rem);
  color: var(--accent-gold);
  font-weight: 500;
  margin: 0 0 var(--space-md);
  max-width: 38ch;
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--text-secondary);
  margin: 0 0 var(--space-xl);
  max-width: 32ch;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.hero-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.hero-chips li {
  padding: var(--space-xs) var(--space-md);
  font-size: 0.8125rem;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}

.hero-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-frame {
  margin: 0;
  padding: var(--space-md);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.hero-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(212, 160, 18, 0.3), transparent 50%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero-frame img {
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 560px;
}

/* ============================================
   Cards (Problem, Capability, Seeking)
   ============================================ */

.cards {
  display: grid;
  gap: var(--space-xl);
}

.three-cols {
  grid-template-columns: repeat(3, 1fr);
}

.four-cols {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: transform var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) var(--ease-out);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

@media (prefers-reduced-motion: reduce) {
  .card:hover {
    transform: none;
  }
}

.card-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 var(--space-md);
  color: var(--text-primary);
}

.card-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

.card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.card ul li {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  padding: var(--space-xs) 0;
  padding-left: 1.25em;
  position: relative;
}

.card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 5px;
  height: 5px;
  background: var(--accent-amber);
  border-radius: 50%;
}

.capability-cards .card-title {
  margin: 0;
}

/* ============================================
   SECTION D — Global Compliance
   ============================================ */

.compliance-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.compliance-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.compliance-image img {
  width: 100%;
  height: auto;
}

.compliance-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
}

.compliance-bullets li {
  font-size: 1rem;
  color: var(--text-secondary);
  padding: var(--space-md) 0;
  padding-left: 2em;
  position: relative;
}

.compliance-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.1em;
  width: 8px;
  height: 8px;
  background: var(--accent-amber);
  border-radius: 50%;
}

/* ============================================
   SECTION E — Technology
   ============================================ */

.tech-diagram-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
  align-items: start;
}

.tech-diagram {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}

.tech-diagram img {
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
}

.tech-pcb {
  margin: var(--space-2xl) 0 0;
  text-align: center;
}

.tech-pcb img {
  width: 100%;
  max-width: 700px;
  margin: 0 auto var(--space-md);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.tech-pcb figcaption {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.solution-product-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
  margin-top: var(--space-2xl);
}

.tech-pcb--compact {
  margin: 0;
  text-align: center;
}

.solution-figure {
  margin: 0;
  text-align: center;
}

.solution-figure img {
  width: 100%;
  max-width: 560px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: block;
  margin: 0 auto var(--space-md);
}

.solution-figure figcaption {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.solution-figure--svg img {
  background: #fff;
  padding: var(--space-md);
  border-radius: var(--radius-lg);
}

.section-lead {
  max-width: 65ch;
  margin: calc(var(--space-md) * -1) auto var(--space-2xl);
  text-align: center;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.problem-visuals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.problem-visuals figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.problem-visuals img {
  width: 100%;
  height: auto;
  display: block;
}

.problem-visuals figcaption {
  padding: var(--space-sm) var(--space-md);
  font-size: 0.8125rem;
  color: var(--text-muted);
  background: var(--bg-card);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
}

.pricing-amount {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin: 0 0 var(--space-sm);
}

.pricing-label {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.45;
}

.subsection-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: var(--space-2xl) 0 var(--space-md);
  text-align: center;
}

.revenue-list {
  list-style: none;
  margin: 0 auto var(--space-xl);
  padding: 0;
  max-width: 36rem;
}

.revenue-list li {
  padding: var(--space-sm) 0;
  padding-left: 1.5em;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.revenue-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  background: var(--accent-amber);
  border-radius: 50%;
}

.traction-list {
  list-style: none;
  margin: 0 auto var(--space-xl);
  padding: 0;
  max-width: 42rem;
}

.traction-list li {
  padding: var(--space-sm) 0;
  padding-left: 1.5em;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.traction-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  background: var(--accent-amber);
  border-radius: 50%;
}

/* ============================================
   SECTION F — Lab tour (video)
   ============================================ */

.demo-intro {
  max-width: 65ch;
  margin: calc(var(--space-md) * -1) auto var(--space-2xl);
  text-align: center;
}

.demo-intro p {
  margin: 0 0 var(--space-lg);
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.demo-intro p:last-child {
  margin-bottom: 0;
}

.demo-video {
  max-width: 960px;
  margin: 0 auto;
}

.demo-video-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  background: var(--bg-elevated);
}

.demo-video-inner iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.demo-video-caption {
  margin: var(--space-md) 0 0;
  text-align: center;
  font-size: 0.9375rem;
}

.demo-video-caption a {
  color: var(--accent-amber);
  text-decoration: none;
}

.demo-video-caption a:hover {
  text-decoration: underline;
}

/* ============================================
   SECTION G — Product Evolution
   ============================================ */

.evolution .section-title {
  margin-bottom: var(--space-2xl);
}

.evolution-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  justify-items: center;
}

.evolution-images img {
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

/* ============================================
   SECTION H — Roadmap
   ============================================ */

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.timeline.timeline--two {
  grid-template-columns: repeat(2, 1fr);
}

.timeline-phase {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  position: relative;
}

.timeline-phase-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--accent-amber);
  color: var(--bg-deep);
  font-weight: 700;
  font-size: 1.125rem;
  border-radius: 50%;
  margin-bottom: var(--space-md);
}

.timeline-phase p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.timeline-phase .phase-funding {
  display: block;
  margin-top: var(--space-md);
  font-size: 0.875rem;
  color: var(--accent-gold);
  font-weight: 600;
}

.roadmap-note {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--text-muted);
  max-width: 42ch;
  margin: 0 auto;
}

/* ============================================
   SECTION I — Team
   ============================================ */

.team-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2xl);
  max-width: 800px;
  margin: 0 auto;
}

.team-card {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: transform var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) var(--ease-out);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

@media (prefers-reduced-motion: reduce) {
  .team-card:hover {
    transform: none;
  }
}

.team-photo {
  width: 160px;
  height: 160px;
  margin: 0 auto var(--space-lg);
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--border);
}

.team-photo a {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.team-photo a:focus-visible {
  outline: 2px solid var(--accent-amber);
  outline-offset: 4px;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 var(--space-xs);
}

.team-role {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin: 0;
}

/* ============================================
   SECTION J — What We're Seeking
   ============================================ */

.seeking-cards .card ul {
  margin-top: var(--space-sm);
}

/* ============================================
   SECTION K — Contact
   ============================================ */

.contact {
  background: linear-gradient(180deg, var(--bg-charcoal) 0%, var(--bg-deep) 100%);
  text-align: center;
  padding: var(--space-4xl) 0;
}

.contact-inner {
  max-width: 560px;
  margin: 0 auto;
}

.contact-headline {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 var(--space-lg);
  line-height: 1.3;
}

.contact-vision {
  max-width: 36rem;
  margin: 0 auto var(--space-xl);
}

.contact-vision-text {
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1.6;
  margin: 0 0 var(--space-sm);
  font-weight: 500;
}

.contact-mission-text {
  font-size: 0.9375rem;
  color: var(--accent-gold);
  line-height: 1.6;
  margin: 0;
}

.contact-email {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-gold);
  margin-bottom: var(--space-md);
}

.contact-email:hover {
  color: var(--accent-warm);
}

.contact-note {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin: 0 0 var(--space-xl);
}

/* ============================================
   Footer
   ============================================ */

.footer {
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.footer-brand img {
  height: 2rem;
  width: auto;
  max-width: 7.5rem;
  padding: 0.25rem 0.45rem;
  background: #fff;
  border-radius: var(--radius-sm);
  object-fit: contain;
  opacity: 0.95;
  box-shadow: var(--shadow-sm);
}

.footer-copy {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
  margin: 0;
}

.footer-links {
  margin: 0;
  font-size: 0.875rem;
  text-align: center;
}

.footer-links a {
  color: var(--accent-amber);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-sub {
    max-width: none;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-chips {
    justify-content: center;
  }

  .three-cols {
    grid-template-columns: 1fr;
  }

  .four-cols {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .problem-visuals {
    grid-template-columns: 1fr;
  }

  .solution-product-row {
    grid-template-columns: 1fr;
  }

  .compliance-layout {
    grid-template-columns: 1fr;
  }

  .tech-diagram-grid {
    grid-template-columns: 1fr;
  }

  .evolution-images {
    grid-template-columns: 1fr;
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .team-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-inner {
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-md);
  }

  .nav-actions {
    margin-left: auto;
  }

  .hero-chips {
    flex-direction: column;
    align-items: center;
  }

}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .nav-links a {
    font-size: 0.875rem;
  }
}

/* ============================================
   Journey page (SEPT / Solar Sense story)
   ============================================ */

.journey-page .journey-back-bar {
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-charcoal);
}

.journey-page .journey-back-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.journey-page .journey-back-bar h1 {
  margin: 0;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 600;
  color: var(--accent-gold);
}

.journey-hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-2xl);
}

.journey-hero-card .journey-kicker {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-amber);
  margin-bottom: var(--space-lg);
}

.journey-hero-card .journey-title-main {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  margin: 0 0 var(--space-md);
  color: var(--text-primary);
}

.journey-hero-card .journey-title-sub {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 600;
  text-align: center;
  margin: 0 0 var(--space-xl);
  color: var(--text-secondary);
}

.journey-hero-card .journey-lead {
  max-width: 52rem;
  margin: 0 auto;
}

.journey-hero-card .journey-lead p {
  color: var(--text-secondary);
  margin: 0 0 var(--space-lg);
  line-height: 1.65;
}

.journey-hero-card .journey-lead p:last-child {
  margin-bottom: 0;
}

.journey-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
}

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

.journey-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
}

.journey-stat-num {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.journey-stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.founder-story-section {
  margin-bottom: var(--space-3xl);
}

.founder-story-section .section-title {
  margin-bottom: var(--space-sm);
}

.founder-story-section .section-lead {
  margin-bottom: var(--space-2xl);
}

.founder-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  max-width: 52rem;
  margin: 0 auto;
}

.founder-block {
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid var(--border);
}

.founder-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.founder-block h3 {
  margin: 0 0 var(--space-xs);
  font-size: 1.35rem;
  color: var(--text-primary);
}

.founder-block .founder-sub {
  font-size: 0.9rem;
  color: var(--accent-amber);
  font-weight: 600;
  margin: 0 0 var(--space-lg);
}

.founder-block p {
  margin: 0 0 var(--space-md);
  color: var(--text-secondary);
  line-height: 1.65;
}

.founder-block p:last-child {
  margin-bottom: 0;
}

.founder-mission-line {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-top: var(--space-md);
}

#founder-adama,
#founder-jordan {
  scroll-margin-top: clamp(5rem, 12vw, 7rem);
}

.journey-timeline {
  max-width: 48rem;
  margin: 0 auto;
}

.journey-timeline > .section-title {
  margin-bottom: var(--space-sm);
}

.journey-timeline > .section-lead {
  margin-bottom: var(--space-2xl);
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-amber);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.timeline-card:last-child {
  margin-bottom: 0;
}

.timeline-period {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: var(--space-sm);
}

.timeline-card h3 {
  margin: 0 0 var(--space-sm);
  font-size: 1.125rem;
  color: var(--text-primary);
}

.timeline-loc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0 0 var(--space-md);
}

.timeline-card > p {
  margin: 0 0 var(--space-md);
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.timeline-outcome {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent-warm);
  margin: var(--space-md) 0 0;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}

.journey-media {
  margin: var(--space-md) 0;
}

.journey-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.journey-media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

@media (max-width: 600px) {
  .journey-media-grid {
    grid-template-columns: 1fr;
  }
}

.journey-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: var(--space-md) 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.journey-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.timeline-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-md);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent-amber);
  text-decoration: none;
}

.timeline-link:hover {
  text-decoration: underline;
}
