:root {
  --bg: #020617;
  --bg-elevated: rgba(15, 23, 42, 0.92);
  --bg-soft: rgba(15, 23, 42, 0.7);
  --surface: rgba(15, 23, 42, 0.9);
  --surface-alt: rgba(15, 23, 42, 0.8);
  --border-subtle: rgba(148, 163, 184, 0.18);
  --border-strong: rgba(129, 140, 248, 0.7);
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.18);
  --accent-strong: #6366f1;
  --accent-glow: rgba(56, 189, 248, 0.5);
  --text: #e5e7eb;
  --text-soft: #9ca3af;
  --text-softer: #6b7280;
  --danger: #f97373;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-full: 999px;
  --shadow-soft: 0 30px 80px rgba(15, 23, 42, 0.9);
  --shadow-subtle: 0 18px 40px rgba(15, 23, 42, 0.8);
  --backdrop: blur(26px);
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top, #020617 0, #020617 40%, #020617 100%);
  background-color: #020617;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  mix-blend-mode: soft-light;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='noStitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.38'/%3E%3C/svg%3E");
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: var(--backdrop);
  background: linear-gradient(to bottom,
      rgba(15, 23, 42, 0.88),
      rgba(15, 23, 42, 0.7),
      transparent);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  object-fit: contain;
  border: 1px solid rgba(248, 250, 252, 0.16);
  background-color: #020617;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.7), 0 12px 30px rgba(15, 23, 42, 0.8);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.brand-name {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

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

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

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

.nav-links a {
  font-size: 0.82rem;
  color: var(--text-soft);
  padding: 0.3rem 0;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--accent), var(--accent-strong));
  transition: width 160ms ease-out;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.3rem;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 160ms ease-out, opacity 160ms ease-out;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 160ms ease-out, color 160ms ease-out,
    box-shadow 160ms ease-out, border-color 160ms ease-out,
    transform 120ms ease-out;
  text-decoration: none;
}

.btn-primary {
  background: radial-gradient(circle at 0 0, #38bdf8, #6366f1);
  color: #0b1120;
  box-shadow: 0 14px 40px rgba(56, 189, 248, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 20px 50px rgba(56, 189, 248, 0.38);
  transform: translateY(-1px);
}

.btn-outline {
  border-color: rgba(148, 163, 184, 0.5);
  color: var(--text-soft);
  background: rgba(15, 23, 42, 0.8);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--text);
  background: rgba(15, 23, 42, 1);
}

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

.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.8);
  color: var(--text);
}

.btn-lg {
  padding-inline: 1.5rem;
  padding-block: 0.8rem;
  font-size: 0.9rem;
}

.btn-full {
  width: 100%;
}

/* Hero */

.hero {
  padding: 4.5rem 0 4rem;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top center,
      rgba(56, 189, 248, 0.22),
      transparent 55%);
  opacity: 0.7;
  z-index: -2;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-copy h1 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(2.5rem, 3.1vw + 1.4rem, 3.6rem);
  margin: 0 0 0.9rem;
  letter-spacing: -0.03em;
}

.accent-gradient {
  background: linear-gradient(to right, #38bdf8, #a855f7, #6366f1);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 0 0 1.6rem;
  color: var(--text-soft);
  max-width: 32rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.8rem;
  font-size: 0.72rem;
  color: var(--text-soft);
}

.pill {
  padding-inline: 0.55rem;
  padding-block: 0.2rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.8);
}

.pill-glow {
  border-color: rgba(56, 189, 248, 0.7);
  background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.4), #020617);
  color: #e0f2fe;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.hero-meta {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-softer);
  max-width: 32rem;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 0;
}

.hero-metrics div {
  min-width: 6rem;
}

.hero-metrics dt {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.4rem;
  margin-bottom: 0.15rem;
}

.hero-metrics dd {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hero-orbit {
  position: relative;
  width: min(360px, 80vw);
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0,
      rgba(56, 189, 248, 0.3),
      transparent 55%),
    radial-gradient(circle at 70% 90%,
      rgba(147, 51, 234, 0.45),
      transparent 58%);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.4);
  overflow: hidden;
}

.hero-orbit-ring {
  position: absolute;
  border-radius: 999px;
  border: 1px dashed rgba(148, 163, 184, 0.4);
  inset: 18%;
}

.hero-orbit-ring-outer {
  inset: 10%;
}

.hero-orbit-core {
  position: absolute;
  inset: 32%;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 0, #38bdf8, #6366f1);
  box-shadow: 0 0 0 12px rgba(15, 23, 42, 0.9),
    0 0 50px rgba(56, 189, 248, 0.7);
}

.core-pulse {
  position: absolute;
  inset: 4px;
  border-radius: inherit;
  border: 1px solid rgba(248, 250, 252, 0.7);
  opacity: 0.7;
  animation: corePulse 2.6s infinite ease-out;
}

.core-logo {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.6rem;
  color: #0b1120;
}

.core-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.hero-orbit-node {
  position: absolute;
  width: 70px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.9);
}

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

.node-1 {
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
}

.node-2 {
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
}

.node-3 {
  bottom: 8%;
  left: 52%;
  transform: translateX(-50%);
}

.node-4 {
  left: 6%;
  top: 52%;
  transform: translateY(-50%);
}

.hero-visual-caption {
  font-size: 0.78rem;
  color: var(--text-soft);
  text-align: center;
  max-width: 20rem;
}

/* Platform page: demo preview block */
.hero-platform .hero-visual {
  align-items: stretch;
}

.platform-demo-preview {
  width: min(340px, 85vw);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: linear-gradient(145deg,
      rgba(56, 189, 248, 0.12),
      transparent 50%),
    var(--surface);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.platform-demo-header {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 0.2rem;
}

.platform-demo-block {
  font-size: 0.78rem;
  color: var(--text-soft);
  padding: 0.5rem 0.6rem;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.platform-demo-block strong {
  color: var(--text);
}

.platform-demo-answer {
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(56, 189, 248, 0.08);
}

.platform-demo-spec {
  font-size: 0.72rem;
  color: var(--text-softer);
  padding: 0.5rem 0.6rem;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.6);
}

/* Solutions page: industry pillars */
.industries-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  max-width: 320px;
}

.industry-pill {
  padding: 0.6rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(56, 189, 248, 0.5);
  background: rgba(56, 189, 248, 0.08);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
}

@keyframes corePulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }

  60% {
    transform: scale(1.12);
    opacity: 0;
  }

  100% {
    transform: scale(1.12);
    opacity: 0;
  }
}

/* Sections */

.section {
  padding: 3.5rem 0;
  position: relative;
}

.section-alt {
  background: radial-gradient(circle at top,
      rgba(15, 23, 42, 0.95),
      rgba(15, 23, 42, 1)),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.98), #020617);
}

.section-lines::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(to right,
      transparent,
      rgba(148, 163, 184, 0.3),
      transparent);
}

.section-header {
  text-align: left;
  max-width: 40rem;
  margin-bottom: 2.2rem;
}

.section-header h2 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  margin: 0 0 0.5rem;
  font-size: 1.8rem;
}

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

/* Manifesto block (from R&D content) */
.manifesto-block {
  margin: 0;
  padding: 1.8rem 2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg,
      rgba(56, 189, 248, 0.08),
      transparent 50%),
    var(--surface-alt);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow-subtle);
}

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

.manifesto-block p:last-of-type {
  margin-bottom: 0;
}

.manifesto-signoff {
  margin-top: 1.2rem !important;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--accent);
}

/* Steps */

.steps-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.step-card {
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 0 0,
      rgba(56, 189, 248, 0.2),
      transparent 55%),
    var(--surface);
  padding: 1.4rem 1.4rem 1.3rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-subtle);
}

.step-number {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-softer);
  margin-bottom: 0.5rem;
}

.step-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.step-card p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-soft);
}

.step-meta {
  margin-top: 0.7rem !important;
  font-size: 0.75rem !important;
  color: var(--text-softer) !important;
}

/* Features */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
}

.feature-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: linear-gradient(135deg,
      rgba(148, 163, 184, 0.09),
      transparent 40%),
    var(--surface-alt);
  padding: 1.1rem 1.2rem 1.2rem;
  font-size: 0.86rem;
  color: var(--text-soft);
}

.feature-card h3 {
  font-size: 0.95rem;
  margin: 0 0 0.5rem;
  color: var(--text);
}

/* Showcase */

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.video-shell {
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 0.9rem;
  background: radial-gradient(circle at 10% 0,
      rgba(56, 189, 248, 0.22),
      transparent 55%),
    radial-gradient(circle at 90% 100%,
      rgba(147, 51, 234, 0.35),
      transparent 55%),
    rgba(15, 23, 42, 0.96);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.video-overlay {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 90% 0,
      rgba(248, 250, 252, 0.06),
      transparent 55%);
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.video-frame {
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.9);
  background: radial-gradient(circle at 10% 0, #020617, #020617);
  padding: 0.9rem 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.video-logo {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.video-bars {
  display: flex;
  gap: 0.4rem;
  align-items: flex-end;
}

.video-bars span {
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(to top, rgba(148, 163, 184, 0.4), var(--accent));
  animation: bars 1.4s ease-in-out infinite alternate;
}

.video-bars span:nth-child(2) {
  height: 18px;
  animation-delay: 0.15s;
}

.video-bars span:nth-child(1) {
  height: 10px;
}

.video-bars span:nth-child(3) {
  height: 24px;
  animation-delay: 0.3s;
}

.video-bars span:nth-child(4) {
  height: 14px;
  animation-delay: 0.45s;
}

@keyframes bars {
  0% {
    transform: scaleY(0.7);
    opacity: 0.7;
  }

  100% {
    transform: scaleY(1.15);
    opacity: 1;
  }
}

.showcase-caption {
  margin-top: 0.8rem;
  font-size: 0.82rem;
  color: var(--text-soft);
}

.showcase-copy h2 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  margin: 0 0 0.7rem;
  font-size: 1.5rem;
}

.showcase-copy p {
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  font-size: 0.86rem;
  color: var(--text-soft);
}

.checklist li::before {
  content: "◎";
  color: var(--accent);
  margin-right: 0.4rem;
  font-size: 0.7rem;
}

/* Pricing */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.pricing-card {
  border-radius: 22px;
  border: 1px solid var(--border-subtle);
  background: linear-gradient(145deg,
      rgba(148, 163, 184, 0.08),
      transparent 55%),
    var(--surface);
  padding: 1.6rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.86rem;
  color: var(--text-soft);
}

.pricing-card h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--text);
}

.pricing-price {
  margin: 0.1rem 0;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.6rem;
}

.pricing-price span {
  font-size: 0.8rem;
  color: var(--text-soft);
}

.pricing-sub {
  margin: 0;
  font-size: 0.8rem;
}

.pricing-card ul {
  list-style: none;
  margin: 0.5rem 0 0.9rem;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.pricing-card ul li {
  font-size: 0.8rem;
}

.pricing-card-featured {
  border-color: rgba(56, 189, 248, 0.9);
  box-shadow: 0 26px 70px rgba(56, 189, 248, 0.25);
  position: relative;
  transform: translateY(-4px);
}

.pricing-card-featured .badge {
  position: absolute;
  top: 0.9rem;
  right: 1.1rem;
  font-size: 0.7rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.8);
  background: rgba(15, 23, 42, 0.9);
}

/* FAQ */

.faq-grid {
  display: grid;
  gap: 0.7rem;
}

.faq-item {
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.9);
  padding: 0.9rem 1rem;
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 0.7rem;
  row-gap: 0.4rem;
  align-items: center;
  text-align: left;
  cursor: pointer;
  color: inherit;
}

.faq-item .faq-question {
  font-size: 0.9rem;
}

.faq-item .faq-icon {
  font-size: 1rem;
  color: var(--text-softer);
}

.faq-answer {
  grid-column: 1 / -1;
  font-size: 0.82rem;
  color: var(--text-soft);
  max-height: 0;
  opacity: 0;
  transform-origin: top;
  transform: scaleY(0.96);
  transition: max-height 160ms ease-out, opacity 160ms ease-out,
    transform 160ms ease-out;
}

.faq-item.is-open .faq-answer {
  max-height: 200px;
  opacity: 1;
  transform: scaleY(1);
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

.contact-thanks {
  grid-column: 1 / -1;
  padding: 1.5rem 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  text-align: center;
}

.contact-thanks-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.35);
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.contact-thanks-title {
  margin: 0 0 0.4rem;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.15rem;
  color: var(--text);
}

.contact-thanks p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.contact-dberr-note {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted, #64748b);
}

.contact-copy h2 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  margin: 0 0 0.7rem;
  font-size: 1.6rem;
}

.contact-copy p {
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.contact-form {
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: radial-gradient(circle at 0 0,
      rgba(56, 189, 248, 0.24),
      transparent 55%),
    rgba(15, 23, 42, 0.98);
  padding: 1.4rem 1.3rem 1.4rem;
  box-shadow: var(--shadow-soft);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.9rem;
}

.form-row label {
  font-size: 0.8rem;
  color: var(--text-soft);
}

.form-row input,
.form-row textarea,
.form-row select {
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.9);
  padding: 0.55rem 0.7rem;
  font-size: 0.86rem;
  color: var(--text);
  outline: none;
  font-family: inherit;
}

.form-row select {
  cursor: pointer;
  appearance: auto;
}

.form-row textarea {
  resize: vertical;
  min-height: 90px;
}

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

.form-footnote {
  margin-top: 0.8rem;
  font-size: 0.75rem;
  color: var(--text-softer);
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  padding: 1.5rem 0 1.3rem;
  background: radial-gradient(circle at 50% 0,
      rgba(15, 23, 42, 0.7),
      transparent 55%),
    #020617;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  font-size: 0.78rem;
  color: var(--text-softer);
}

.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
}

.footer-brand {
  font-weight: 500;
}

.footer-venture {
  font-size: 0.75rem;
  color: var(--text-softer);
}

.footer-venture-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-venture-link:hover {
  color: var(--text-soft);
  border-bottom-color: rgba(148, 163, 184, 0.4);
}

/* Corporate credibility (below hero) */
.section-credibility {
  padding-top: 0.5rem;
  padding-bottom: 2rem;
}

.credibility-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.credibility-grid .video-shell {
  justify-self: center;
  /* Centered looks better if equal columns, or end if distinct */
}

/* previous rule for reference: .credibility-grid .credibility-video-wrap { justify-self: end; } */

.credibility-copy {
  min-width: 0;
}

.credibility-heading {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: var(--text);
  margin: 0 0 1rem;
  line-height: 1.35;
}

.credibility-body {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.65;
  max-width: 52rem;
}

.section-credibility .footer-venture-link {
  color: var(--text-soft);
}

.section-credibility .footer-venture-link:hover {
  color: var(--accent);
}

/* Credibility video: MUST stay small - ID + !important so nothing overrides */
#credibility-video-wrap,
.credibility-video-wrap {
  /* removed fixed width constraints */
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.9);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.5);
  box-sizing: border-box;
}

/* 
  Removed restrictive video styles for credibility section 
  as we now use the standard .video-shell structure.
*/

@media (max-width: 640px) {
  .credibility-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .credibility-video-wrap {
    width: 200px;
    max-width: 200px;
    justify-self: start;
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

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

.footer-fine {
  margin: 0;
  font-size: 0.75rem;
  color: var(--text-softer);
  max-width: 52rem;
}

/* Videos & GIFs media grid */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.media-item {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--surface-alt);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}

.media-item .media-video,
.media-item .media-gif {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.media-item .media-video {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.media-item .media-gif {
  max-height: 220px;
  object-fit: cover;
}

.media-caption {
  margin: 0;
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  color: var(--text-soft);
}

/* Responsive */

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    order: -1;
  }

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

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

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

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

  .contact-copy {
    order: -1;
  }
}

@media (max-width: 768px) {
  .header-inner {
    align-items: center;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 1.4rem;
    margin-top: 0.4rem;
    padding: 0.7rem 0.9rem;
    background: rgba(15, 23, 42, 0.98);
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    flex-direction: column;
    gap: 0.4rem;
    box-shadow: var(--shadow-subtle);
    transform-origin: top right;
    transform: scale(0.94);
    opacity: 0;
    pointer-events: none;
    transition: opacity 140ms ease-out, transform 140ms ease-out;
  }

  .nav-toggle {
    display: inline-flex;
  }

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

  .header-cta {
    display: none;
  }

  .hero {
    padding-top: 3.1rem;
  }

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

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

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

/* ===== Investors & Partners page ===== */
.hero-investors {
  padding: 5rem 0 4.5rem;
  text-align: center;
}

.hero-investors-inner {
  max-width: 42rem;
  margin: 0 auto;
}

.hero-investors .eyebrow {
  justify-content: center;
}

.hero-investors .hero-subtitle {
  max-width: none;
}

.hero-investors-sub {
  font-size: 1rem;
  line-height: 1.65;
}

.hero-investors-tagline {
  margin: 0 0 1.5rem;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.hero-investors .hero-actions {
  justify-content: center;
}

.section-header-center {
  text-align: center;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.section-header-center .section-header p {
  margin: 0;
}

.paths-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
  margin-top: 2rem;
}

.path-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: linear-gradient(145deg,
      rgba(148, 163, 184, 0.06),
      transparent 50%),
    var(--surface);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  box-shadow: var(--shadow-subtle);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.path-card:hover {
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.9);
}

.path-card-invest {
  border-left: 3px solid var(--accent);
}

.path-card-sponsor {
  border-left: 3px solid var(--accent-strong);
}

.path-card-customer {
  border-left: 3px solid #a855f7;
}

.path-icon {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-softer);
  margin-bottom: 0.25rem;
}

.path-card h3 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--text);
}

.path-lead {
  margin: 0 !important;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
}

.path-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.55;
}

.path-list {
  list-style: none;
  margin: 0.75rem 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--text-soft);
}

.path-list li::before {
  content: "◎";
  color: var(--accent);
  margin-right: 0.45rem;
  font-size: 0.65rem;
}

.path-card .btn {
  margin-top: auto;
}

.investors-quote {
  margin: 0;
  padding: 2.5rem 2rem;
  text-align: center;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg,
      rgba(56, 189, 248, 0.1),
      transparent 60%),
    var(--surface-alt);
  border: 1px solid var(--border-subtle);
}

.investors-quote p {
  margin: 0 0 0.75rem;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
}

.investors-quote footer {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

@media (max-width: 960px) {
  .paths-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}