/* Zugit marketing — Swan-inspired dark GTM aesthetic */

:root {
  --bg: #07060c;
  --bg-elevated: #0e0c14;
  --bg-card: #12101a;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f2ff;
  --muted: #9b94b8;
  --muted2: #6f6888;
  --accent: #a78bfa;
  --accent2: #6366f1;
  --accent-glow: rgba(139, 92, 246, 0.45);
  --green: #34d399;
  --amber: #fbbf24;
  --rose: #fb7185;
  --radius: 16px;
  --radius-sm: 10px;
  --font: "Instrument Sans", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .marquee-track,
  .stream-cursor,
  .orb,
  .animate-in,
  .animate-in-delay {
    animation: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.04;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  max-width: calc(var(--max) + 3rem);
  margin: 0 auto;
  background: rgba(7, 6, 12, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #fff 0%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav {
  display: none;
  gap: 0.85rem;
  font-size: 0.78rem;
  color: var(--muted);
}

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

@media (min-width: 880px) {
  .nav {
    display: flex;
  }
}

@media (min-width: 1100px) {
  .nav {
    gap: 1.1rem;
    font-size: 0.85rem;
  }
}

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

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-lg {
  padding: 0.85rem 1.35rem;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 50%, #6366f1 100%);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 12px 40px -12px var(--accent-glow);
}

.btn-primary:hover {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18) inset, 0 16px 48px -8px var(--accent-glow);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-outline:hover {
  border-color: rgba(167, 139, 250, 0.5);
  background: rgba(139, 92, 246, 0.12);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: none;
}

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

.hero-ghost {
  border: 1px solid var(--border-strong);
  color: var(--muted);
}

.hero-ghost:hover {
  border-color: rgba(167, 139, 250, 0.45);
  color: var(--text);
}

@media (max-width: 720px) {
  .site-header .header-cta .btn-outline {
    display: none;
  }
}

/* Platform — app chrome & surfaces */

.section-platform {
  padding-top: 3rem;
}

.app-chrome {
  max-width: var(--max);
  margin: 0 auto 2rem;
  padding: 0 1.5rem;
}

.app-chrome-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  box-shadow: 0 20px 60px -40px rgba(0, 0, 0, 0.9);
}

.app-logo-chip {
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.35), rgba(99, 102, 241, 0.2));
  border: 1px solid rgba(167, 139, 250, 0.35);
}

.app-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  flex: 1;
  min-width: 0;
  justify-content: flex-end;
}

.app-tab {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  color: var(--muted2);
  border: 1px solid transparent;
  white-space: nowrap;
}

.app-tab-active {
  color: var(--text);
  background: rgba(139, 92, 246, 0.22);
  border-color: rgba(167, 139, 250, 0.35);
}

.platform-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 3rem;
}

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

.surface-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 0.2s, box-shadow 0.25s var(--ease);
}

.surface-card:hover {
  border-color: rgba(129, 140, 248, 0.35);
  box-shadow: 0 20px 50px -35px var(--accent-glow);
}

.surface-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #a78bfa;
  margin-bottom: 0.5rem;
}

.surface-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.surface-card p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.surface-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted2);
  font-size: 0.88rem;
  line-height: 1.5;
}

.surface-list li {
  margin-bottom: 0.35rem;
}

.section-subhead {
  margin-bottom: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.section-subhead h3 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.section-subhead p {
  margin: 0;
  color: var(--muted);
  max-width: 75ch;
  font-size: 0.98rem;
  line-height: 1.55;
}

.accent-inline {
  color: #c4b5fd;
}

.accent-green {
  color: #6ee7b7;
}

.accent-neutral {
  color: #a1a1aa;
}

.scorecard-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.scorecard-group {
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
}

.group-title {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.group-title span {
  padding-bottom: 0.35rem;
  border-bottom: 3px solid;
}

.group-strategic span {
  border-color: #8b5cf6;
}

.group-operational span {
  border-color: #34d399;
}

.group-data span {
  border-color: #71717a;
}

.tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-pill {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: #e4e4f0;
}

.tag-pill:hover {
  border-color: rgba(167, 139, 250, 0.4);
}

.pillars-tight {
  margin-top: 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.cta-outline {
  border-color: rgba(255, 255, 255, 0.35) !important;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

.cta-outline:hover {
  border-color: rgba(255, 255, 255, 0.55) !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

/* Hero */

.hero {
  position: relative;
  padding: 3rem 1.5rem 4rem;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: 1fr 380px;
    align-items: start;
    padding-top: 4rem;
    padding-bottom: 5rem;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: 0 0 32px 32px;
  max-width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  width: min(1400px, 100vw);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: float 18s ease-in-out infinite;
}

.orb-a {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, #7c3aed 0%, transparent 70%);
  top: -120px;
  right: -80px;
}

.orb-b {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, #2563eb 0%, transparent 70%);
  bottom: -100px;
  left: -60px;
  animation-delay: -6s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(20px, -16px) scale(1.05);
  }
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 20%, transparent 75%);
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin: 0 0 1rem;
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.35rem);
  line-height: 1.08;
  font-weight: 650;
  letter-spacing: -0.035em;
  margin: 0 0 1.25rem;
  max-width: 22ch;
}

@media (min-width: 960px) {
  .hero-title {
    max-width: min(100%, 28ch);
  }
}

.gradient-text {
  display: inline;
  background: linear-gradient(135deg, #e9d5ff 0%, #a78bfa 35%, #818cf8 70%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 52ch;
  margin: 0 0 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.25rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.metric-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}

.metric-label {
  font-size: 0.8rem;
  color: var(--muted2);
  line-height: 1.35;
}

.hero-metrics .metric-wide {
  grid-column: 1 / -1;
}

.hero-metrics .metric-wide .metric-label {
  font-size: 0.88rem;
  line-height: 1.45;
  max-width: 52rem;
}

.about-mission {
  max-width: 62ch;
}

.about-mission p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.about-mission ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.55;
}

.about-mission li {
  margin-bottom: 0.35rem;
}

.team-heading {
  margin: 2.5rem auto 1rem;
  padding: 0 1.5rem;
  max-width: var(--max);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted2);
}

.footer-social-row {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  flex-basis: 100%;
  margin-top: 0.35rem;
}

@media (min-width: 900px) {
  .footer-social-row {
    flex-basis: auto;
    margin-top: 0;
    margin-left: 0.25rem;
  }
}

/* Hero panel */

.hero-panel {
  position: relative;
  z-index: 1;
  background: linear-gradient(160deg, rgba(30, 27, 46, 0.95) 0%, rgba(14, 12, 20, 0.98) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: 0 24px 80px -32px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(139, 92, 246, 0.12);
  overflow: hidden;
}

.panel-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

.panel-title {
  flex: 1;
  font-weight: 600;
  color: var(--text);
}

.panel-pill {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  background: rgba(139, 92, 246, 0.2);
  color: #ddd6fe;
}

.panel-body {
  padding: 1rem;
  font-size: 0.78rem;
  min-height: 180px;
  position: relative;
}

.stream-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  animation: fadeRow 0.6s var(--ease) backwards;
}

.stream-row:nth-child(1) {
  animation-delay: 0.1s;
}
.stream-row:nth-child(2) {
  animation-delay: 0.35s;
}
.stream-row:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes fadeRow {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.tag {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 500;
  padding: 0.25rem 0.45rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tag-amber {
  background: rgba(251, 191, 36, 0.15);
  color: #fcd34d;
}
.tag-rose {
  background: rgba(251, 113, 133, 0.15);
  color: #fda4af;
}
.tag-emerald {
  background: rgba(52, 211, 153, 0.15);
  color: #6ee7b7;
}

.mono {
  font-family: var(--mono);
  color: var(--muted);
  font-size: 0.72rem;
}

.stream-cursor {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  width: 10px;
  height: 18px;
  background: var(--accent);
  border-radius: 2px;
  animation: blink 1.1s step-end infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* Entrance */

.animate-in {
  animation: rise 0.8s var(--ease) backwards;
}

.animate-in-delay {
  animation: rise 0.9s var(--ease) 0.15s backwards;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.eyebrow.animate-in {
  animation-delay: 0.05s;
}
.hero-title.animate-in {
  animation-delay: 0.1s;
}
.hero-lead.animate-in {
  animation-delay: 0.18s;
}
.hero-actions.animate-in {
  animation-delay: 0.26s;
}
.hero-metrics.animate-in {
  animation-delay: 0.34s;
}

/* Marquee */

.marquee-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.marquee {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 0;
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}

.marquee-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: marquee 32s linear infinite;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.marquee-track span:nth-child(odd) {
  color: var(--text);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* Sections */

.section {
  padding: 4.5rem 1.5rem;
  max-width: var(--max);
  margin: 0 auto;
}

.section-tight {
  padding-top: 2rem;
}

.section-head {
  margin-bottom: 2.5rem;
}

.section-head h1,
.section-head h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  max-width: min(100%, 42rem);
  line-height: 1.15;
}

.blog-page > .section-head {
  padding: 2rem 1.5rem 0;
  max-width: var(--max);
  margin: 0 auto;
}

.section-head p {
  color: var(--muted);
  margin: 0;
  max-width: 60ch;
  font-size: 1.05rem;
}

/* Pillars */

.pillars {
  display: grid;
  gap: 1rem;
}

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

.pillar {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 0.2s, transform 0.2s var(--ease);
}

.pillar:hover {
  border-color: rgba(167, 139, 250, 0.35);
  transform: translateY(-2px);
}

.pillar-icon {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.pillar h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.pillar p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Module scroller */

.module-scroller {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}

.module-scroller:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 8px;
}

.module-card {
  flex: 0 0 min(320px, 85vw);
  scroll-snap-align: start;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(30, 27, 46, 0.6) 0%, var(--bg-card) 100%);
  border: 1px solid var(--border);
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

.module-emoji {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.module-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.module-card > p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 1rem;
}

.steps {
  margin: auto 0 0;
  padding-left: 1.1rem;
  color: var(--muted2);
  font-size: 0.85rem;
  line-height: 1.55;
}

.steps li {
  margin-bottom: 0.35rem;
}

/* Split */

.split-grid {
  display: grid;
  gap: 1rem;
}

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

.split-card {
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.split-before {
  background: rgba(255, 255, 255, 0.02);
}

.split-after {
  background: linear-gradient(145deg, rgba(124, 58, 237, 0.15) 0%, rgba(30, 27, 46, 0.5) 100%);
  border-color: rgba(167, 139, 250, 0.25);
}

.split-card h3 {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted2);
}

.split-card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.split-card li {
  margin-bottom: 0.6rem;
}

.split-after ul {
  color: #e7e2ff;
}

/* Proof grid */

.proof-grid {
  display: grid;
  gap: 1rem;
}

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

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

.proof-card {
  padding: 1.35rem;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}

.proof-card:hover {
  border-color: rgba(129, 140, 248, 0.35);
}

.proof-card h4 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.proof-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

/* FAQ */

.faq-list {
  max-width: 720px;
}

.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  margin-bottom: 0.65rem;
  background: rgba(255, 255, 255, 0.02);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

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

.faq details[open] summary {
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.faq details p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* CTA band */

.cta-band {
  margin: 2rem 1.5rem 4rem;
  border-radius: 24px;
  background: linear-gradient(135deg, #4c1d95 0%, #312e81 50%, #1e1b4b 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  position: relative;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 20% 20%, rgba(167, 139, 250, 0.35), transparent 50%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  padding: 3rem 1.5rem;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-inner h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.03em;
}

.cta-inner p {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.75);
}

/* Footer */

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--muted2);
  border-top: 1px solid var(--border);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  justify-content: flex-end;
  max-width: 100%;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
}

.footer-social:hover {
  color: var(--accent);
}

.footer-social svg {
  width: 1rem;
  height: 1rem;
  opacity: 0.85;
}

/* About */

.section-about .team-grid {
  display: grid;
  gap: 1.25rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.team-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.team-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.team-card .role {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.team-card .bio {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.team-card .team-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
}

.team-card .team-link:hover {
  color: var(--text);
}

/* Blog */

.blog-page {
  padding-bottom: 4rem;
}

.blog-back {
  display: inline-block;
  margin: 0 1.5rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

.blog-back:hover {
  color: var(--accent);
}

.blog-list {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.blog-card {
  display: block;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 0.2s, box-shadow 0.25s var(--ease);
}

.blog-card:hover {
  border-color: rgba(129, 140, 248, 0.35);
  box-shadow: 0 16px 40px -28px var(--accent-glow);
}

.blog-card .meta {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted2);
  margin-bottom: 0.35rem;
}

.blog-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.blog-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.blog-article-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.blog-article-wrap .meta {
  font-size: 0.85rem;
  color: var(--muted2);
  margin-bottom: 0.5rem;
}

.blog-article-wrap h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.65rem, 4vw, 2.15rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.blog-prose {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.blog-prose p {
  margin: 0 0 1.1rem;
}

.blog-prose h2 {
  margin: 2rem 0 0.65rem;
  font-size: 1.2rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.blog-prose ul {
  margin: 0 0 1.1rem;
  padding-left: 1.25rem;
}

.blog-prose li {
  margin-bottom: 0.4rem;
}

.blog-prose strong {
  color: var(--text);
  font-weight: 600;
}

.cta-row.cta-row-split {
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.hero-actions.hero-actions-wrap {
  flex-wrap: wrap;
}

.hero-email-link {
  display: inline-flex;
  align-items: center;
  width: 100%;
  justify-content: center;
  margin-top: 0.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted2);
}

.hero-email-link:hover {
  color: var(--accent);
}

.hero-email-note {
  margin: 0.75rem 0 0;
  text-align: center;
}

@media (min-width: 640px) {
  .hero-email-link {
    width: auto;
    margin-top: 0;
    margin-left: 0.5rem;
  }
}

/* Launch app modal */

.zugit-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(4, 3, 8, 0.78);
  backdrop-filter: blur(8px);
}

.zugit-modal-overlay[hidden] {
  display: none !important;
}

.zugit-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 400px;
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  box-shadow: 0 32px 80px -24px rgba(0, 0, 0, 0.85);
  text-align: center;
}

.zugit-modal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zugit-modal-close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.zugit-modal-body {
  margin: 0 0 1.25rem;
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.02em;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}

.zugit-modal-dismiss {
  min-width: 7rem;
}

/* Audit subpage */

.audit-page {
  padding: 0 0 4rem;
  max-width: 800px;
  margin: 0 auto;
}

.audit-article {
  padding: 0 1.5rem;
}

.audit-header {
  padding-top: 0.5rem;
  margin-bottom: 1.75rem;
}

.audit-header .eyebrow {
  margin-bottom: 0.75rem;
}

.audit-header h1 {
  margin: 0;
  font-size: clamp(1.85rem, 4.5vw, 2.5rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.12;
  background: linear-gradient(135deg, #fff 0%, #e9d5ff 45%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.audit-prose {
  margin-bottom: 2.5rem;
}

.audit-lead {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.audit-prose p:not(.audit-lead) {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--muted);
}

.audit-embed-section {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
}

.audit-embed-title {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.audit-embed-note {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  color: var(--muted2);
  line-height: 1.45;
}

.audit-iframe-wrap {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  min-height: 620px;
}

.audit-iframe-wrap iframe {
  display: block;
  width: 100%;
  min-height: 620px;
  height: 720px;
  border: 0;
}

@media (max-width: 640px) {
  .audit-iframe-wrap iframe {
    height: 680px;
    min-height: 680px;
  }
}
