:root {
  --bg: #030303;
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.4);
  --muted-strong: rgba(255, 255, 255, 0.6);
  --line: rgba(255, 255, 255, 0.08);
  --panel: rgba(255, 255, 255, 0.03);
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --indigo: rgba(99, 102, 241, 0.15);
  --rose: rgba(244, 63, 94, 0.15);
  --violet: rgba(139, 92, 246, 0.15);
  --amber: rgba(245, 158, 11, 0.15);
  --cyan: rgba(6, 182, 212, 0.15);
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

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

/* Nav */
.studio-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 2rem);
  background: linear-gradient(to bottom, rgba(3, 3, 3, 0.9), transparent);
}

.studio-nav-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  margin-right: auto;
}

.studio-nav-parent {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-strong);
}

.studio-nav-product {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.studio-nav-links {
  display: none;
  gap: 1.5rem;
  font-size: 0.875rem;
}

.studio-nav-links a {
  color: var(--muted-strong);
  transition: color 0.2s ease;
}

.studio-nav-links a:hover {
  color: var(--ink);
}

.studio-nav-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.studio-status {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(251, 113, 133, 0.9);
  border: 1px solid rgba(244, 63, 94, 0.35);
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: rgba(244, 63, 94, 0.08);
}

.studio-nav-ghost {
  font-size: 0.82rem;
  color: var(--muted-strong);
}

.studio-nav-ghost:hover {
  color: var(--ink);
}

.studio-nav-cta {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: #030303;
}

.studio-nav-cta:hover {
  filter: brightness(1.05);
}

.studio-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--panel);
  cursor: pointer;
}

.studio-menu-toggle span {
  display: block;
  height: 2px;
  margin: 0 6px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.studio-menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.studio-menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.studio-mobile-menu {
  position: absolute;
  top: 100%;
  left: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: rgba(3, 3, 3, 0.96);
  backdrop-filter: blur(12px);
}

.studio-mobile-menu a {
  font-size: 0.95rem;
  color: var(--muted-strong);
}

@media (min-width: 900px) {
  .studio-nav-links,
  .studio-nav-actions {
    display: flex;
  }

  .studio-menu-toggle,
  .studio-mobile-menu {
    display: none !important;
  }
}

/* Hero geometric */
.hero-geometric {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
  padding: 6rem 1rem 4rem;
}

.hero-bg-wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), transparent 50%, rgba(244, 63, 94, 0.05));
  filter: blur(48px);
  pointer-events: none;
}

.hero-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.elegant-shape {
  position: absolute;
  width: var(--w);
  height: var(--h);
  opacity: 0;
  transform: translateY(-150px) rotate(calc(var(--rot) - 15deg));
  animation:
    shape-enter 2.4s cubic-bezier(0.23, 0.86, 0.39, 0.96) var(--delay) forwards,
    shape-float 12s ease-in-out calc(var(--delay) + 2.4s) infinite;
}

.elegant-shape::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(2px);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1);
  background: linear-gradient(to right, var(--shape-gradient), transparent);
}

.elegant-shape::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.2), transparent 70%);
}

.shape-indigo {
  --shape-gradient: var(--indigo);
  left: -10%;
  top: 15%;
  transform-origin: center;
}

.shape-rose {
  --shape-gradient: var(--rose);
  right: -5%;
  top: 70%;
}

.shape-violet {
  --shape-gradient: var(--violet);
  left: 5%;
  bottom: 5%;
}

.shape-amber {
  --shape-gradient: var(--amber);
  right: 15%;
  top: 10%;
}

.shape-cyan {
  --shape-gradient: var(--cyan);
  left: 20%;
  top: 5%;
}

@media (min-width: 768px) {
  .shape-indigo {
    left: -5%;
    top: 20%;
  }

  .shape-rose {
    right: 0;
    top: 75%;
  }

  .shape-violet {
    left: 10%;
    bottom: 10%;
  }

  .shape-amber {
    right: 20%;
    top: 15%;
  }

  .shape-cyan {
    left: 25%;
    top: 10%;
  }
}

@keyframes shape-enter {
  to {
    opacity: 1;
    transform: translateY(0) rotate(var(--rot));
  }
}

@keyframes shape-float {
  0%,
  100% {
    margin-top: 0;
  }

  50% {
    margin-top: 15px;
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 48rem;
  margin-inline: auto;
  text-align: center;
  padding-inline: 1rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  margin-bottom: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.875rem;
  color: var(--muted-strong);
  letter-spacing: 0.04em;
}

.hero-badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: rgba(244, 63, 94, 0.8);
  box-shadow: 0 0 12px rgba(244, 63, 94, 0.5);
}

.hero-title {
  margin: 0;
  font-size: clamp(2.25rem, 8vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-title-line {
  display: block;
  background: linear-gradient(to bottom, #fff, rgba(255, 255, 255, 0.8));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-title-gradient {
  display: block;
  margin-top: 0.15em;
  background: linear-gradient(to right, #a5b4fc, rgba(255, 255, 255, 0.9), #fda4af);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lede {
  margin: 2rem auto 0;
  max-width: 36rem;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 300;
  line-height: 1.65;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg), transparent 40%, rgba(3, 3, 3, 0.8));
  pointer-events: none;
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fade-up 1s cubic-bezier(0.25, 0.4, 0.25, 1) forwards;
  animation-delay: calc(0.5s + var(--i) * 0.2s);
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: filter 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: #fff;
  color: #030303;
}

.btn-primary:hover {
  filter: brightness(1.06);
}

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

.btn-ghost:hover {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Sections */
.section {
  padding: 5rem 0;
  border-top: 1px solid var(--line);
}

.section-inner {
  max-width: 64rem;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 1.5rem);
}

.section-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(165, 180, 252, 0.9);
}

.section-title {
  margin: 0.75rem 0 0;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.section-lede {
  margin: 1rem 0 0;
  max-width: 40rem;
  color: var(--muted-strong);
  line-height: 1.65;
}

.mandate-points {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.mandate-points li {
  padding-left: 1.25rem;
  position: relative;
  color: var(--muted-strong);
  font-size: 0.95rem;
}

.mandate-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #818cf8, #fb7185);
}

.systems-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

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

.systems-grid article {
  padding: 1.35rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: var(--panel);
}

.feature-index {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.systems-grid h3 {
  margin: 0.65rem 0 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.systems-grid p {
  margin: 0.55rem 0 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted-strong);
}

.crossover-layout {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .crossover-layout {
    grid-template-columns: 1fr 1fr;
  }
}

.text-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #a5b4fc;
}

.text-link:hover {
  color: #fda4af;
}

.crossover-console {
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.crossover-console-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--muted);
}

.crossover-console-header strong {
  color: #6ee7b7;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.68rem;
}

.crossover-console-body {
  padding: 1rem;
  font-size: 0.88rem;
  line-height: 1.55;
}

.crossover-console-body p {
  margin: 0 0 0.5rem;
}

.crossover-meta {
  color: var(--muted);
  font-size: 0.8rem;
}

.pipeline-steps {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pipeline-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: var(--panel);
}

.pipeline-steps li span {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(244, 63, 94, 0.2));
  border: 1px solid var(--line);
}

.pipeline-steps h3 {
  margin: 0;
  font-size: 1rem;
}

.pipeline-steps p {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: var(--muted-strong);
}

.access-panel {
  max-width: 40rem;
  padding: 2rem;
  border-radius: 1.25rem;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(99, 102, 241, 0.06), rgba(244, 63, 94, 0.04));
  text-align: center;
}

.access-panel .section-lede {
  margin-inline: auto;
}

.access-form {
  margin-top: 1.5rem;
  text-align: left;
}

.access-form label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted-strong);
  margin-bottom: 0.4rem;
}

.input-row {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

@media (min-width: 640px) {
  .input-row {
    flex-direction: row;
  }

  .input-row input {
    flex: 1;
  }
}

.access-form input,
.access-form select {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border-radius: 0.65rem;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  color: var(--ink);
  font: inherit;
}

.field-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

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

.form-message {
  margin: 0.75rem 0 0;
  color: #fb7185;
  font-size: 0.88rem;
  min-height: 1.2rem;
}

.success-state {
  display: none;
  margin-top: 1.25rem;
  padding: 1rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(110, 231, 183, 0.35);
  background: rgba(16, 185, 129, 0.08);
  text-align: center;
}

.success-state.is-visible {
  display: block;
}

.access-form.is-hidden {
  display: none;
}

.success-state p {
  margin: 0.35rem 0 0;
  color: var(--muted-strong);
}

.studio-footer {
  padding: 2.5rem clamp(1rem, 4vw, 1.5rem) 3rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
}

@media (min-width: 640px) {
  .studio-footer {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.studio-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.studio-footer-links a:hover {
  color: var(--ink);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (prefers-reduced-motion: reduce) {

  .elegant-shape,
  .fade-up {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
