:root {
  --bg: #020407;
  --bg-2: #071017;
  --panel: rgba(13, 22, 32, 0.72);
  --panel-strong: rgba(18, 31, 44, 0.88);
  --text: #f4f8fb;
  --muted: #a9b8c4;
  --quiet: #748493;
  --cyan: #54e6ff;
  --cyan-strong: #9bf4ff;
  --crimson: #e33762;
  --green: #65efbb;
  --line: rgba(177, 235, 255, 0.16);
  --line-strong: rgba(84, 230, 255, 0.42);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.46);
  --glow: 0 0 44px rgba(84, 230, 255, 0.18);
  --radius: 18px;
  --radius-lg: 28px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 16% 12%, rgba(84, 230, 255, 0.1), transparent 30%),
    radial-gradient(circle at 86% 28%, rgba(227, 55, 98, 0.08), transparent 28%),
    radial-gradient(circle at 50% 72%, rgba(84, 230, 255, 0.05), transparent 36%),
    linear-gradient(180deg, #020407 0%, #050a10 42%, #071017 70%, #020407 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

main,
section {
  background: transparent;
}

body.modal-open {
  overflow: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(100% - 44px, var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background:
    radial-gradient(circle at 18% 0%, rgba(84, 230, 255, 0.1), transparent 38%),
    rgba(2, 4, 7, 0.76);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.navbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(84, 230, 255, 0.18), rgba(227, 55, 98, 0.18)),
    rgba(255, 255, 255, 0.04);
  color: var(--cyan-strong);
  font-size: 0.88rem;
  font-weight: 900;
  box-shadow: var(--glow);
}

.brand-name {
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 900;
}

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

.nav-links a {
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 0.94rem;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  color: var(--text);
  background: rgba(84, 230, 255, 0.1);
  box-shadow: 0 0 24px rgba(84, 230, 255, 0.14);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 99px;
  background: currentColor;
}

.hero-stage {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 68% 42%, rgba(84, 230, 255, 0.18), transparent 30%),
    radial-gradient(circle at 78% 70%, rgba(227, 55, 98, 0.1), transparent 26%),
    linear-gradient(90deg, rgba(2, 4, 7, 0.96), rgba(2, 4, 7, 0.72) 46%, rgba(2, 4, 7, 0.28));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.45fr);
  align-items: center;
  gap: 50px;
  padding: 120px 0 72px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  margin-bottom: 1.5rem;
  color: var(--text);
  line-height: 1.04;
}

p {
  margin-bottom: 1rem;
}

.hero-copy h1 {
  margin-bottom: 18px;
  font-size: 4.55rem;
  max-width: 760px;
}

.hero-subhead {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.22rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 52px rgba(84, 230, 255, 0.24);
  outline: none;
}

.btn-primary {
  color: #020407;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-strong));
  box-shadow: 0 18px 40px rgba(84, 230, 255, 0.22);
}

.btn-secondary {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(8, 16, 24, 0.62);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--cyan);
  background: rgba(84, 230, 255, 0.12);
  box-shadow: 0 22px 52px rgba(84, 230, 255, 0.2);
}

.signal-card,
.choice-card,
.chart-tilt-card,
.punch-card,
.pricing-column,
.contact-panel,
.glass-form,
.legal-layout,
.quote-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(18, 31, 44, 0.78), rgba(8, 14, 22, 0.72)),
    rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.signal-card {
  padding: 28px;
}

.signal-card span,
.choice-card span,
.punch-card span,
.plan-label,
.blog-card span,
.app-slide-copy span,
.ecosystem-grid span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.signal-card strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1.35;
}

.marquee-section {
  position: relative;
  z-index: 3;
  overflow: hidden;
  padding: 28px 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(84, 230, 255, 0.08), transparent 72%),
    transparent;
  box-shadow: none;
}

.marquee-viewport {
  width: 100%;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
  animation: soul-marquee 26s linear infinite;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  padding-right: 38px;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 900;
  white-space: nowrap;
}

.marquee-track span::after {
  content: "//";
  margin-left: 38px;
  color: var(--crimson);
}

@keyframes soul-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.flow-section {
  position: relative;
  padding: 96px 0;
}

.flow-section::before {
  content: "";
  position: absolute;
  inset: -44px 0 auto;
  height: 180px;
  background: radial-gradient(circle at 50% 50%, rgba(84, 230, 255, 0.07), transparent 62%);
  pointer-events: none;
}

.section-heading {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-heading h2 {
  margin-bottom: 1.25rem;
  font-size: 2.45rem;
}

.section-heading p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
}

.choice-grid,
.impact-card-grid,
.stack-grid,
.philosophy-grid,
.punch-grid,
.flip-grid,
.pricing-grid,
.ecosystem-grid,
.contact-grid,
.page-hero-grid,
.about-grid,
.footer-grid {
  display: grid;
  gap: 24px;
}

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

.choice-card {
  min-height: 260px;
  padding: 34px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.choice-card:hover,
.choice-card:focus-visible {
  border-color: var(--line-strong);
  box-shadow: var(--shadow), var(--glow);
  outline: none;
}

.choice-card h3 {
  margin-bottom: 12px;
  font-size: 2rem;
}

.choice-card p {
  color: var(--muted);
  max-width: 430px;
}

.impact-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  perspective: 1000px;
}

.impact-section {
  overflow: hidden;
}

.chart-tilt-card {
  position: relative;
  height: 330px;
  min-height: 330px;
  max-height: 330px;
  padding: 24px;
  overflow: hidden;
  transform-style: preserve-3d;
}

.chart-tilt-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius-lg) - 1px);
  background: radial-gradient(circle at 72% 18%, rgba(84, 230, 255, 0.16), transparent 34%);
  pointer-events: none;
}

.metric-topline {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.metric-topline span {
  color: var(--muted);
  font-weight: 900;
}

.metric-topline strong {
  color: var(--cyan-strong);
  font-size: 2.05rem;
}

.chart-canvas-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 210px;
  max-height: 400px;
  margin-top: 16px;
  overflow: hidden;
}

.chart-tilt-card canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
}

.mini-chart-fallback {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 210px;
  margin-top: 16px;
}

.chart-tilt-card:not(.chart-live) canvas {
  opacity: 0;
}

.mini-chart-fallback {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  width: auto;
  height: 190px;
  border-radius: 18px;
  background:
    linear-gradient(140deg, transparent 18%, rgba(84, 230, 255, 0.28) 18% 20%, transparent 20% 38%, rgba(227, 55, 98, 0.24) 38% 40%, transparent 40% 58%, rgba(84, 230, 255, 0.36) 58% 60%, transparent 60%),
    linear-gradient(rgba(177, 235, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(177, 235, 255, 0.08) 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px, 48px 48px;
}

.chart-tilt-card.chart-live .mini-chart-fallback {
  display: none;
}

.stack-section {
  overflow: hidden;
}

.stack-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: stretch;
}

.stack-chip {
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 78% 18%, rgba(84, 230, 255, 0.13), transparent 38%),
    rgba(13, 22, 32, 0.62);
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.28);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.stack-chip:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow), var(--glow);
}

.stack-chip span {
  color: var(--text);
  font-size: 1.3rem;
  font-weight: 950;
}

.stack-chip p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.philosophy-section {
  overflow: hidden;
}

.philosophy-grid {
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: 52px;
}

.philosophy-headline h2 {
  max-width: 560px;
  font-size: 5.8rem;
  line-height: 0.92;
}

.philosophy-values {
  display: grid;
  gap: 18px;
}

.philosophy-values article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(18, 31, 44, 0.86), rgba(8, 14, 22, 0.68)),
    rgba(255, 255, 255, 0.03);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
}

.philosophy-values span {
  color: var(--crimson);
  font-weight: 950;
}

.philosophy-values h3 {
  margin: 8px 0 6px;
  font-size: 1.8rem;
}

.philosophy-values p {
  margin: 0;
  color: var(--muted);
}

.testimonial-slider {
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  gap: 18px;
  will-change: transform;
}

.quote-card {
  flex: 0 0 min(420px, 86vw);
  padding: 28px;
}

.quote-card p {
  margin-bottom: 18px;
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 850;
  line-height: 1.25;
}

.quote-card span {
  color: var(--muted);
}

.page-hero {
  padding: 148px 0 86px;
}

.page-hero-grid {
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  max-width: 860px;
  text-align: center;
}

.page-hero h1,
.about-copy h1 {
  margin-bottom: 1.5rem;
  font-size: 3.25rem;
}

.page-hero p,
.about-copy p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

.about-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.55fr);
  align-items: center;
}

.about-copy p {
  max-width: 620px;
  margin-bottom: 12px;
}

.founder-photo-frame {
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 34px;
  background-color: #bebebe;
  background:
    radial-gradient(circle at 50% 32%, #d3d3d1, #bebebe 68%, rgba(84, 230, 255, 0.08) 100%),
    #bebebe;
  box-shadow: 0 28px 90px rgba(84, 230, 255, 0.2), 0 34px 120px rgba(0, 0, 0, 0.5);
}

.founder-photo-frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center center;
  border-radius: 24px;
  box-shadow: 0 18px 58px rgba(8, 14, 22, 0.22);
}

.founder-photo-frame figcaption {
  padding: 14px 10px 4px;
  color: #26323a;
  font-size: 0.94rem;
  font-weight: 850;
}

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

.punch-card {
  padding: 30px;
}

.punch-card h2 {
  font-size: 1.65rem;
}

.punch-card p,
.founder-statement p {
  color: var(--muted);
}

.founder-statement {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.founder-statement h2 {
  font-size: 2.55rem;
}

.flip-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-content: center;
  align-items: stretch;
  perspective: 1400px;
}

.flip-card {
  min-height: 310px;
  background: transparent;
  border: 0;
}

.flip-inner {
  position: relative;
  width: 100%;
  min-height: 310px;
  transform-style: preserve-3d;
  transition: transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.flip-card:hover .flip-inner,
.flip-card:focus-within .flip-inner,
.flip-card:focus .flip-inner,
.flip-card.is-flipped .flip-inner {
  transform: rotateY(180deg);
}

.flip-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 80% 0%, rgba(84, 230, 255, 0.16), transparent 40%),
    rgba(13, 22, 32, 0.84);
  box-shadow: var(--shadow);
  backface-visibility: hidden;
}

.flip-back {
  transform: rotateY(180deg);
  background:
    radial-gradient(circle at 20% 0%, rgba(227, 55, 98, 0.16), transparent 40%),
    rgba(13, 22, 32, 0.92);
}

.flip-face span {
  color: var(--cyan);
  font-weight: 900;
  text-transform: uppercase;
}

.flip-face h2 {
  font-size: 2rem;
}

.flip-face p,
.flip-face li {
  color: var(--muted);
}

.flip-face ul {
  margin: 0 0 22px;
  padding-left: 18px;
}

.pricing-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  justify-content: center;
}

.pricing-column {
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.pricing-column.featured {
  border-color: var(--line-strong);
  box-shadow: var(--shadow), var(--glow);
}

.pricing-column h3 {
  min-height: 70px;
  font-size: 1.55rem;
}

.price {
  margin-bottom: 24px;
  color: var(--text);
  font-size: 2.15rem;
  font-weight: 950;
}

.pricing-column dl {
  flex: 1;
  margin: 0 0 26px;
}

.pricing-column dt {
  margin-top: 18px;
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pricing-column dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.pricing-column .btn {
  width: 100%;
  margin-top: auto;
  box-shadow: 0 18px 44px rgba(84, 230, 255, 0.16);
}

.pricing-column .btn:hover,
.pricing-column .btn:focus-visible {
  border-color: var(--line-strong);
  box-shadow: 0 24px 58px rgba(84, 230, 255, 0.28);
}

.app-carousel-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}

.app-carousel-window {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-radius: 34px;
}

.app-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  align-items: end;
  gap: 28px;
  padding: 28px;
  opacity: 0;
  transform: translateX(8%) scale(0.97);
  transition: opacity 480ms ease, transform 480ms ease;
}

.app-slide.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.app-slide img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow:
    inset 0 0 34px rgba(84, 230, 255, 0.12),
    0 0 34px rgba(84, 230, 255, 0.12),
    0 28px 80px rgba(0, 0, 0, 0.45);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.app-slide img.image-failed,
.blog-card img.image-failed,
.modal-article img.image-failed {
  opacity: 0.04;
  color: transparent;
}

.app-slide:has(img.image-failed),
.blog-card:has(img.image-failed),
.modal-article:has(img.image-failed),
.app-slide.image-fallback,
.blog-card.image-fallback,
.modal-article.image-fallback {
  background:
    radial-gradient(circle at 72% 24%, rgba(84, 230, 255, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(84, 230, 255, 0.08), rgba(227, 55, 98, 0.05)),
    rgba(13, 22, 32, 0.72);
}

.app-slide:hover img {
  transform: scale(1.025);
  border-color: var(--line-strong);
  box-shadow:
    inset 0 0 46px rgba(84, 230, 255, 0.2),
    0 0 54px rgba(84, 230, 255, 0.22),
    0 34px 90px rgba(0, 0, 0, 0.5);
  animation: app-image-glow 1.45s ease-in-out infinite alternate;
}

@keyframes app-image-glow {
  from {
    box-shadow:
      inset 0 0 42px rgba(84, 230, 255, 0.18),
      0 0 42px rgba(84, 230, 255, 0.18),
      0 34px 90px rgba(0, 0, 0, 0.5);
  }

  to {
    box-shadow:
      inset 0 0 58px rgba(84, 230, 255, 0.24),
      0 0 70px rgba(84, 230, 255, 0.28),
      0 36px 96px rgba(0, 0, 0, 0.54);
  }
}

.app-slide-copy {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(8, 14, 22, 0.78);
  backdrop-filter: blur(18px);
}

.app-slide-copy h2 {
  font-size: 2.3rem;
}

.app-slide-description {
  color: var(--muted);
}

.app-slide-copy ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.carousel-btn {
  min-width: 78px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-weight: 900;
}

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

.ecosystem-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    radial-gradient(circle at 82% 12%, rgba(84, 230, 255, 0.1), transparent 38%),
    linear-gradient(180deg, rgba(18, 31, 44, 0.54), rgba(8, 14, 22, 0.54));
  box-shadow: 0 0 34px rgba(84, 230, 255, 0.1), 0 24px 70px rgba(0, 0, 0, 0.34);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.ecosystem-grid article:nth-child(2) {
  box-shadow: 0 0 34px rgba(227, 55, 98, 0.11), 0 24px 70px rgba(0, 0, 0, 0.34);
}

.ecosystem-grid article:hover {
  transform: translateY(-6px) scale(1.015);
  border-color: var(--line-strong);
  box-shadow: 0 0 56px rgba(84, 230, 255, 0.2), 0 30px 90px rgba(0, 0, 0, 0.42);
}

.ecosystem-grid article:nth-child(2):hover {
  border-color: rgba(227, 55, 98, 0.45);
  box-shadow: 0 0 58px rgba(227, 55, 98, 0.22), 0 30px 90px rgba(0, 0, 0, 0.42);
}

.ecosystem-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

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

.blog-card {
  width: 100%;
  padding: 0;
  overflow: hidden;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(13, 22, 32, 0.72);
  color: inherit;
  box-shadow: var(--shadow);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.blog-card:hover,
.blog-card:focus-visible {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow), var(--glow);
  outline: none;
}

.blog-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.blog-card span,
.blog-card h2,
.blog-card p {
  margin-left: 22px;
  margin-right: 22px;
}

.blog-card span {
  margin-top: 22px;
}

.blog-card h2 {
  font-size: 1.45rem;
}

.blog-card p {
  margin-bottom: 24px;
  color: var(--muted);
}

.blog-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 24px;
}

.blog-modal.is-open {
  display: grid;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 4, 7, 0.82);
  backdrop-filter: blur(12px);
}

.modal-panel {
  position: relative;
  width: min(940px, 100%);
  max-height: min(780px, calc(100vh - 48px));
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 32px;
  background: rgba(7, 13, 20, 0.96);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.72);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(2, 4, 7, 0.72);
  color: var(--text);
  font-weight: 900;
}

.modal-scroll {
  max-height: min(780px, calc(100vh - 48px));
  overflow-y: auto;
  padding: 34px;
}

.modal-article img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 24px;
  margin-bottom: 26px;
}

.modal-article h1 {
  font-size: 3rem;
}

.modal-article p {
  color: var(--muted);
  font-size: 1.08rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  padding: 24px;
}

.legal-tabs {
  display: grid;
  gap: 10px;
  align-self: start;
}

.legal-tabs button {
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  text-align: left;
  font-weight: 900;
}

.legal-tabs button.is-active {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(84, 230, 255, 0.1);
}

.legal-panel {
  display: none;
  padding: 10px 8px;
}

.legal-panel.is-active {
  display: block;
}

.legal-panel h2 {
  font-size: 2rem;
}

.legal-panel p {
  color: var(--muted);
  max-width: 860px;
}

.map-hero {
  position: relative;
  min-height: 600px;
  overflow: hidden;
}

.leaflet-map {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #05080d;
}

.map-fallback {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 36%, rgba(84, 230, 255, 0.18), transparent 34%),
    #05080d;
}

.leaflet-map.leaflet-ready .map-fallback {
  display: none;
}

.map-fallback::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(177, 235, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(177, 235, 255, 0.055) 1px, transparent 1px);
  background-size: 68px 68px;
}

.map-fallback svg {
  position: absolute;
  right: 3%;
  top: 8%;
  width: min(820px, 70vw);
  height: 84%;
}

.map-fallback path {
  fill: rgba(84, 230, 255, 0.08);
  stroke: rgba(147, 244, 255, 0.3);
  stroke-width: 2;
}

.fallback-marker,
.pulse-marker {
  width: 22px;
  height: 22px;
  border: 2px solid var(--cyan);
  border-radius: 999px;
  background: rgba(84, 230, 255, 0.42);
  box-shadow: 0 0 0 rgba(84, 230, 255, 0.55);
  animation: marker-pulse 2.2s infinite;
}

.fallback-marker {
  position: absolute;
  right: 32%;
  top: 38%;
}

@keyframes marker-pulse {
  0% { box-shadow: 0 0 0 0 rgba(84, 230, 255, 0.55); }
  70% { box-shadow: 0 0 0 24px rgba(84, 230, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(84, 230, 255, 0); }
}

.map-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(2, 4, 7, 0.98), rgba(2, 4, 7, 0.72) 42%, rgba(2, 4, 7, 0.16));
  pointer-events: none;
}

.map-copy {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding: 170px 0 90px;
  text-align: center;
}

.map-copy h1 {
  font-size: 3.7rem;
}

.map-copy p {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
}

.contact-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.72fr);
  align-items: center;
}

.glass-form,
.contact-panel {
  padding: 30px;
}

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

label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--text);
  font-weight: 850;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(2, 4, 7, 0.72);
  color: var(--text);
  padding: 13px 14px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--line-strong);
  box-shadow: 0 0 0 3px rgba(84, 230, 255, 0.12);
}

textarea {
  resize: vertical;
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--cyan) 50%), linear-gradient(135deg, var(--cyan) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.glass-form .btn {
  width: 100%;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--cyan-strong);
}

.contact-panel h2 {
  font-size: 1.35rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.contact-panel p {
  color: var(--muted);
}

.leaflet-control-attribution {
  background: rgba(2, 4, 7, 0.7) !important;
  color: var(--muted) !important;
}

.leaflet-control-attribution a {
  color: var(--cyan) !important;
}

.site-footer {
  position: relative;
  padding: 88px 0 30px;
  background:
    radial-gradient(circle at 18% 0%, rgba(84, 230, 255, 0.08), transparent 30%),
    radial-gradient(circle at 76% 20%, rgba(227, 55, 98, 0.08), transparent 34%),
    transparent;
}

.footer-grid {
  grid-template-columns: minmax(0, 1.15fr) repeat(3, minmax(0, 0.68fr));
}

.footer-grid h2 {
  margin-bottom: 14px;
  font-size: 0.86rem;
  text-transform: uppercase;
}

.footer-grid p,
.footer-grid a:not(.brand),
.footer-grid span {
  color: var(--muted);
}

.footer-grid a:not(.brand),
.footer-grid span {
  display: block;
  margin-bottom: 8px;
}

.footer-grid a:not(.brand):hover,
.footer-grid a:not(.brand):focus-visible {
  color: var(--cyan);
  outline: none;
}

.footer-grid > div:first-child p {
  margin-top: 18px;
  max-width: 300px;
}

.footer-bottom {
  margin-top: 42px;
  color: var(--quiet);
  font-size: 0.9rem;
}

[data-animate],
.fade-in-up:not(.modal-panel) {
  opacity: 0;
  transform: translateY(18px);
}

.modal-panel.fade-in-up {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto;
    animation-duration: 0.001ms;
    animation-iteration-count: 1;
    transition-duration: 0.001ms;
  }

  [data-animate],
  .fade-in-up {
    opacity: 1;
    transform: none;
  }

  .marquee-track,
  .app-slide:hover img {
    animation: none;
  }
}

@media (max-width: 1120px) {
  .nav-links {
    gap: 2px;
  }

  .nav-links a {
    padding: 9px 9px;
  }

  .hero-grid,
  .page-hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .impact-card-grid,
  .stack-grid,
  .punch-grid,
  .blog-grid,
  .ecosystem-grid {
    grid-template-columns: 1fr;
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .philosophy-headline h2 {
    font-size: 4rem;
  }

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

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

  .app-slide {
    grid-template-columns: 1fr;
  }

  .app-carousel-window {
    min-height: 820px;
  }

  .app-slide img {
    height: 500px;
  }
}

@media (max-width: 860px) {
  .navbar {
    min-height: 68px;
  }

  .nav-toggle {
    position: fixed;
    top: 12px;
    right: auto;
    left: min(332px, calc(100vw - 58px));
    z-index: 80;
    display: inline-flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-left: auto;
    border-color: var(--line-strong);
    background: rgba(84, 230, 255, 0.16);
    box-shadow: var(--glow);
  }

  .nav-toggle::before {
    content: "";
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
    box-shadow: 0 -7px 0 var(--text), 0 7px 0 var(--text);
  }

  .nav-toggle span {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 18px;
    right: 18px;
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(5, 10, 16, 0.96);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: grid;
  }

  .choice-grid,
  .field-grid,
  .legal-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: 3rem;
  }

  .page-hero h1,
  .about-copy h1,
  .map-copy h1 {
    font-size: 2.5rem;
  }

  .section-heading h2,
  .founder-statement h2,
  .philosophy-headline h2 {
    font-size: 2rem;
  }

  .app-carousel-shell {
    grid-template-columns: 1fr 1fr;
  }

  .app-carousel-window {
    grid-column: 1 / -1;
    order: -1;
    min-height: 760px;
  }

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

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, var(--max-width));
  }

  .hero-grid {
    padding-top: 104px;
  }

  .hero-copy h1 {
    max-width: 330px;
    font-size: 2.12rem;
  }

  .hero-subhead {
    max-width: 330px;
    font-size: 1.02rem;
  }

  .hero-copy {
    max-width: 330px;
  }

  .signal-card {
    width: 100%;
  }

  .hero-actions,
  .pricing-column .btn {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .flow-section {
    padding: 76px 0;
  }

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

  .chart-tilt-card {
    height: 310px;
    min-height: 310px;
    max-height: 310px;
  }

  .chart-canvas-wrap {
    height: 190px;
  }

  .page-hero {
    padding: 126px 0 50px;
  }

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

  .app-carousel-window {
    min-height: 670px;
  }

  .app-slide {
    padding: 14px;
  }

  .app-slide img {
    height: 390px;
    border-radius: 24px;
  }

  .app-slide-copy {
    padding: 22px;
  }

  .modal-scroll {
    padding: 22px;
  }

  .modal-article img {
    height: 240px;
  }

  .modal-article h1 {
    font-size: 2rem;
  }

  .map-copy {
    padding: 140px 0 70px;
  }
}
