/* ============================================
   Solar Sense — Midnight Champagne
   Design tokens & base
   ============================================ */

:root {
  /* Midnight Champagne colors */
  --gold: #c4a35a;
  --gold-light: #e2c887;
  --gold-dark: #9a7b3c;
  --gold-glow: rgba(196, 163, 90, 0.35);
  --ink: #0c0c0f;
  --ink-raised: #12121a;
  --surface: #18181f;
  --surface-hover: #1f1f28;
  --border: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(196, 163, 90, 0.25);
  --text: #eceae4;
  --text-muted: #9c9a94;
  --text-dim: #6b6963;

  /* Legacy aliases (inline styles, pro-styles, market page) */
  --bg-deep: var(--ink);
  --bg-charcoal: var(--ink-raised);
  --bg-card: var(--surface);
  --bg-elevated: var(--surface-hover);
  --text-primary: var(--text);
  --text-secondary: var(--text-muted);
  --accent-amber: var(--gold);
  --accent-gold: var(--gold-light);
  --accent-warm: var(--gold-light);

  /* Typography */
  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-math: 'Cambria Math', Cambria, 'Times New Roman', serif;

  /* 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(3.5rem, 8vw, 5.5rem);

  /* Layout */
  --max-width: 76rem;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 32px var(--gold-glow);

  /* Motion */
  --duration-fast: 250ms;
  --duration-normal: 400ms;
  --duration-slow: 650ms;
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: var(--ease-standard);
}

@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: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    radial-gradient(ellipse 70% 45% at 50% -15%, rgba(196, 163, 90, 0.06), transparent 55%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-raised) 100%);
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 72px 72px;
}

@media (prefers-reduced-motion: no-preference) {
  body::after {
    animation: gridDrift 40s linear infinite;
  }
}

@keyframes gridDrift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(72px, 72px); }
}

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

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

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

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

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(var(--space-md), 4vw, var(--space-xl));
}

/* Typography utilities */
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 var(--space-md);
}

.eyebrow--center {
  display: block;
  text-align: center;
}

h1, h2, h3, h4, h5, h6,
.section-title,
.hero-title,
.contact-headline {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
}

.font-math {
  font-family: var(--font-math);
}

/* Scroll reveal */
.reveal,
.reveal-item {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity var(--duration-slow) var(--ease-standard),
    transform var(--duration-slow) var(--ease-standard);
}

.reveal.is-visible,
.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Sections */
.section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section:nth-child(even) {
  background: rgba(18, 18, 26, 0.45);
}

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

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

/* ============================================
   Sticky Nav
   ============================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 12, 15, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  min-height: 44px;
}

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

.nav-logo img {
  height: 2.5rem;
  width: auto;
  max-width: 9.5rem;
  padding: 0.35rem 0.55rem;
  background: transparent;
  border: none;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.35));
  transition:
    transform var(--duration-fast) var(--ease-standard),
    filter var(--duration-normal) var(--ease-standard);
}

.nav-logo:hover img {
  transform: translateY(-1px);
  filter: drop-shadow(0 5px 12px rgba(196, 163, 90, 0.22));
}

.nav-links {
  display: none;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 0.125rem;
  padding: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), rgba(196, 163, 90, 0.025)),
    rgba(18, 18, 26, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 8px 24px rgba(0, 0, 0, 0.16);
}

@media (min-width: 901px) {
  .nav-links {
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    scroll-behavior: smooth;
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 1.5rem), transparent);
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 1.5rem), transparent);
  }
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.5rem 0.7rem;
  color: var(--text-muted);
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition:
    color var(--duration-fast) var(--ease-standard),
    background var(--duration-fast) var(--ease-standard),
    border-color var(--duration-fast) var(--ease-standard),
    transform var(--duration-fast) var(--ease-standard);
}

.nav-links a::after {
  content: '';
  position: absolute;
  right: 0.7rem;
  bottom: 0.3rem;
  left: 0.7rem;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  opacity: 0;
  transform: scaleX(0.35);
  transition:
    opacity var(--duration-fast) var(--ease-standard),
    transform var(--duration-fast) var(--ease-standard);
}

.nav-links a:hover {
  color: var(--gold-light);
  background: rgba(196, 163, 90, 0.08);
  border-color: rgba(196, 163, 90, 0.16);
  transform: translateY(-1px);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  opacity: 0.8;
  transform: scaleX(1);
}

.nav-current {
  color: var(--gold-light) !important;
  background: rgba(196, 163, 90, 0.1);
  border-color: var(--border-gold) !important;
  box-shadow: inset 0 0 14px rgba(196, 163, 90, 0.05);
}

.nav-current::after {
  opacity: 1 !important;
  transform: scaleX(1) !important;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-left: auto;
  flex: 0 0 auto;
}

@media (min-width: 901px) {
  .nav-actions {
    margin-left: 0;
  }
}

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

.lang-btn {
  flex: 0 0 auto;
  padding: var(--space-sm) var(--space-md);
  min-width: 44px;
  min-height: 44px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition:
    color var(--duration-fast) var(--ease-standard),
    background var(--duration-fast) var(--ease-standard);
}

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

.lang-btn.active {
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
}

.nav-actions > .btn-primary {
  flex: 0 0 auto;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border: 1px solid rgba(226, 200, 135, 0.45);
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: 0.01em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 6px 18px rgba(196, 163, 90, 0.22);
}

.nav-actions > .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 10px 26px rgba(196, 163, 90, 0.32);
}

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

.btn:active:not(:disabled) {
  transform: translateY(1px);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 45%, var(--gold-dark) 100%);
  color: var(--ink);
  box-shadow: 0 4px 16px rgba(196, 163, 90, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  color: var(--ink);
}

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

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

.btn-secondary:hover {
  background: rgba(196, 163, 90, 0.08);
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-2px);
}

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

/* ============================================
   Hero
   ============================================ */

.hero {
  padding: clamp(4rem, 10vw, 6.5rem) 0;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: transparent;
}

.hero-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-spotlight {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-standard);
  background: radial-gradient(
    520px circle at var(--spot-x, 50%) var(--spot-y, 40%),
    rgba(196, 163, 90, 0.1),
    transparent 65%
  );
}

.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

@media (min-width: 901px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
  }
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.15rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 var(--space-lg);
  color: var(--text);
}

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

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

.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;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition:
    border-color var(--duration-fast) var(--ease-standard),
    color var(--duration-fast) var(--ease-standard);
}

.hero-chips li:hover {
  border-color: var(--border-gold);
  color: var(--gold-light);
}

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

.hero-frame {
  margin: 0;
  padding: var(--space-md);
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  transition:
    transform var(--duration-normal) var(--ease-standard),
    box-shadow var(--duration-normal) var(--ease-standard);
}

.hero-frame:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.hero-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(196, 163, 90, 0.35), transparent 55%);
  -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;
}

@media (max-width: 900px) {
  .hero-inner {
    text-align: center;
  }

  .hero-sub,
  .hero-mission {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

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

/* ============================================
   Cards
   ============================================ */

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

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

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

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

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--duration-normal) var(--ease-standard),
    box-shadow var(--duration-normal) var(--ease-standard),
    border-color var(--duration-normal) var(--ease-standard);
  transform-style: preserve-3d;
  will-change: transform;
}

.card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-md);
}

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

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

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

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

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

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

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

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

@media (min-width: 768px) {
  .compliance-layout {
    grid-template-columns: 1.2fr 1fr;
  }
}

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

.compliance-image:hover {
  box-shadow: var(--shadow-md), 0 0 24px rgba(196, 163, 90, 0.12);
}

.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-muted);
  padding: var(--space-md) 0;
  padding-left: 2em;
  position: relative;
  line-height: 1.65;
}

.compliance-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.25em;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--gold-glow);
}

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

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

.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;
  box-shadow: var(--shadow-sm);
}

.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-muted);
}

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

@media (min-width: 768px) {
  .solution-product-row {
    grid-template-columns: 1fr 1fr;
  }
}

.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-muted);
}

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

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

@media (min-width: 640px) {
  .problem-visuals {
    grid-template-columns: 1fr 1fr;
  }
}

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

.problem-visuals figure:hover {
  transform: translateY(-3px);
}

.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-dim);
  background: var(--surface);
  line-height: 1.5;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

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

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--duration-normal) var(--ease-standard),
    box-shadow var(--duration-normal) var(--ease-standard),
    border-color var(--duration-normal) var(--ease-standard);
  transform-style: preserve-3d;
}

.pricing-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-md);
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-light);
  margin: 0 0 var(--space-sm);
  letter-spacing: -0.02em;
}

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

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

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

.revenue-list li,
.traction-list li {
  padding: var(--space-sm) 0;
  padding-left: 1.5em;
  position: relative;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

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

/* Demo 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-muted);
  line-height: 1.7;
}

.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-gold);
  box-shadow: var(--shadow-md);
  background: var(--surface-hover);
}

.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(--gold);
}

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

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

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

@media (min-width: 640px) {
  .evolution-images {
    grid-template-columns: 1fr 1fr;
  }
}

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

.evolution-images img:hover {
  transform: translateY(-4px);
}

/* Roadmap */
.timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

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

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

.timeline-phase {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--duration-normal) var(--ease-standard),
    box-shadow var(--duration-normal) var(--ease-standard),
    border-color var(--duration-normal) var(--ease-standard);
  transform-style: preserve-3d;
}

.timeline-phase:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-md);
}

.timeline-phase-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.125rem;
  border-radius: 50%;
  margin-bottom: var(--space-md);
  box-shadow: 0 4px 12px var(--gold-glow);
}

.timeline-phase p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
  text-align: left;
}

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

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

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

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

.team-card {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--duration-normal) var(--ease-standard),
    box-shadow var(--duration-normal) var(--ease-standard),
    border-color var(--duration-normal) var(--ease-standard);
  transform-style: preserve-3d;
}

.team-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-md);
}

.team-photo {
  width: 160px;
  height: 160px;
  margin: 0 auto var(--space-lg);
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--border-gold);
  box-shadow: 0 0 20px rgba(196, 163, 90, 0.15);
}

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

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-standard);
}

.team-card:hover .team-photo img {
  transform: scale(1.04);
}

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

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

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

/* Contact */
.contact {
  background: linear-gradient(180deg, var(--ink-raised) 0%, var(--ink) 100%);
  text-align: center;
  padding: var(--space-4xl) 0;
  border-top: 1px solid var(--border);
}

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

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

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

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

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

.contact-email {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: var(--space-md);
  min-height: 44px;
  line-height: 44px;
}

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

/* Footer */
.footer {
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--border);
  background: var(--ink);
}

.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: transparent;
  border: none;
  object-fit: contain;
  opacity: 0.95;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.35));
}

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

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

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

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

/* Full-width swipeable link strip on tablets and phones */
@media (max-width: 900px) {
  .nav-inner {
    flex-wrap: wrap;
    row-gap: var(--space-sm);
  }

  .nav-links {
    display: flex;
    order: 3;
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.15rem;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
  }

  .nav-links a {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

@media (max-width: 639px) {
  .nav-actions {
    width: 100%;
    justify-content: space-between;
  }

  .hero-ctas {
    flex-direction: column;
  }

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

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

  .hero-chips li {
    text-align: center;
  }
}

/* ============================================
   Journey page
   ============================================ */

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

.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-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 700;
  color: var(--gold-light);
}

.journey-hero-card {
  background: var(--surface);
  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-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-lg);
}

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

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

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

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

.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(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  transition:
    transform var(--duration-normal) var(--ease-standard),
    border-color var(--duration-normal) var(--ease-standard);
}

.journey-stat:hover {
  transform: translateY(-3px);
  border-color: var(--border-gold);
}

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

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

.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(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  max-width: 52rem;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}

.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-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text);
}

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

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

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

.founder-mission-line {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold-light);
  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(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
  transition:
    transform var(--duration-normal) var(--ease-standard),
    box-shadow var(--duration-normal) var(--ease-standard);
}

.timeline-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

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

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

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

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

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

.timeline-outcome {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gold-light);
  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-gold);
  background: var(--surface-hover);
}

.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: 600;
  color: var(--gold);
  text-decoration: none;
  min-height: 44px;
}

.timeline-link:hover {
  text-decoration: underline;
  color: var(--gold-light);
}
