:root {
  --bg: #0b0d12;
  --bg-elev: #11141b;
  --bg-elev-2: #151821;
  --surface: rgba(255, 255, 255, 0.025);
  --surface-strong: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #e7e9ee;
  --text-muted: #a3a8b4;
  --text-dim: #7d828f;
  --accent: #7c5cff;
  --accent-hover: #6b4af0;
  --accent-soft: rgba(124, 92, 255, 0.12);
  --accent-border: rgba(124, 92, 255, 0.4);
  --container: 1140px;
  --header-h: 68px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1em;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 12px;
  background: var(--accent);
  color: #fff;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  z-index: 100;
}

.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ----------------------------- Header ----------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(11, 13, 18, 0.55);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(11, 13, 18, 0.85);
  border-bottom-color: var(--border);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-container {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand-by {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 38px;
  color: var(--text-dim);
  transition: color 0.15s var(--ease), opacity 0.15s var(--ease);
}

.brand-by:hover {
  color: var(--text-muted);
}

.brand-by-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

.brand-by-logo {
  height: 14px;
  width: auto;
  display: block;
  opacity: 0.85;
  transition: opacity 0.15s var(--ease);
}

.brand-by:hover .brand-by-logo {
  opacity: 1;
}

.brand-by-footer {
  margin-left: 4px;
}

.brand-by-footer .brand-by-logo {
  height: 13px;
}

.brand-mark {
  flex-shrink: 0;
}

.brand-text {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  letter-spacing: -0.01em;
}

.brand-name {
  font-size: 1.05rem;
}

.brand-suffix {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: #c8bcff;
  border: 1px solid var(--accent-border);
  text-transform: uppercase;
}

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

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 0.92rem;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: color 0.15s var(--ease), background 0.15s var(--ease);
}

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

.nav-list a.is-active {
  color: var(--text);
}

.nav-list a.is-active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.nav-divider {
  width: 1px;
  height: 18px;
  background: var(--border-strong);
  margin: 0 6px;
}

.nav-external svg {
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.15s var(--ease), transform 0.15s var(--ease);
}

.nav-external:hover svg {
  opacity: 1;
}

.nav-github {
  gap: 8px;
}

.nav-github svg {
  opacity: 0.85;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  cursor: pointer;
  position: relative;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease),
    top 0.2s var(--ease);
  transform: translate(-50%, -50%);
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  left: 0;
  transform: none;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ----------------------------- Buttons ----------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.12s var(--ease), border-color 0.12s var(--ease),
    color 0.12s var(--ease);
  white-space: nowrap;
}

.btn-sm {
  padding: 7px 12px;
  font-size: 0.88rem;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn-secondary {
  background: var(--surface-strong);
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

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

.btn-ghost:hover {
  background: var(--surface);
  border-color: rgba(255, 255, 255, 0.22);
}

/* ----------------------------- Hero ----------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 88px;
  border-bottom: 1px solid var(--border);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: -1px -1px;
  opacity: 0.5;
  mask-image: linear-gradient(180deg, black 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, black 0%, transparent 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 880px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  background: var(--surface-strong);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  margin-bottom: 28px;
}

.badge svg {
  color: var(--accent);
}

.grad-text {
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 32px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 28px;
}

.hero-tag {
  font-size: 0.88rem;
  color: var(--text-dim);
  margin: 0;
}

/* ----------------------------- Sections ----------------------------- */

section {
  padding: 80px 0;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin: 0 0 12px;
}

.eyebrow::before {
  content: "// ";
  color: var(--text-dim);
}

.section-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ----------------------------- Audiences ----------------------------- */

.audiences {
  border-top: 1px solid var(--border);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-items: stretch;
}

.audience-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  transition: border-color 0.12s var(--ease), background 0.12s var(--ease);
}

.audience-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--accent);
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
}

.audience-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-elev-2);
}

.audience-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: #c8bcff;
  margin-bottom: 18px;
}

.audience-card h3 {
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.audience-lead {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 18px;
}

.audience-points {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 18px;
}

.audience-points li {
  position: relative;
  padding: 10px 0 10px 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
}

.audience-points li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.audience-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;
  width: 12px;
  height: 1px;
  background: var(--accent);
}

.audience-points strong {
  color: var(--text);
  font-weight: 600;
}

/* ----------------------------- Capabilities ----------------------------- */

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cap-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color 0.12s var(--ease), background 0.12s var(--ease);
}

.cap-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-elev-2);
}

.cap-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: #c8bcff;
  margin-bottom: 16px;
  border: 1px solid var(--accent-border);
}

.cap-icon svg {
  width: 22px;
  height: 22px;
}

.cap-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

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

/* ----------------------------- Architecture ----------------------------- */

.architecture {
  border-top: 1px solid var(--border);
}

.arch-stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  max-width: 920px;
  margin: 0 auto;
}

.arch-layer {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
}

.arch-core {
  background: linear-gradient(
    180deg,
    rgba(124, 92, 255, 0.12),
    rgba(124, 92, 255, 0.04)
  );
  border-color: var(--accent-border);
  box-shadow: 0 0 0 1px rgba(124, 92, 255, 0.18),
    0 18px 50px rgba(124, 92, 255, 0.14);
}

.arch-owner {
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text-dim);
}

.arch-owner-core {
  background: var(--accent-soft);
  border-color: var(--accent-border);
  color: #c8bcff;
}

.arch-layer-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  padding-right: 96px;
}

.arch-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-dim);
}

.arch-tag-core {
  color: var(--accent);
}

.arch-layer h3 {
  margin: 0;
  font-size: 1.1rem;
}

.arch-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 14px;
}

.arch-pills li {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 4px 10px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  background: var(--surface);
}

.arch-pills li.default {
  color: var(--text);
  border-color: var(--accent);
  background: var(--accent-soft);
}

.arch-pills-core li {
  border-color: var(--accent-border);
  background: var(--accent-soft);
  color: var(--text);
}

.arch-note {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.arch-note strong {
  color: var(--text);
  font-weight: 600;
}

.arch-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 28px;
}

.arch-connector span {
  width: 1px;
  flex: 1;
  background: var(--border-strong);
}

/* ----------------------------- Platform ----------------------------- */

.platform {
  border-top: 1px solid var(--border);
}

.platform-diagram {
  margin: 0 auto 56px;
  max-width: 920px;
  padding: 28px 28px 20px;
  background: linear-gradient(
    180deg,
    rgba(124, 92, 255, 0.06),
    rgba(0, 212, 184, 0.03)
  ),
  var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 24px 60px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(124, 92, 255, 0.1),
    0 0 60px rgba(124, 92, 255, 0.08);
  text-align: center;
}

.platform-diagram img {
  display: block;
  width: 100%;
  max-width: 760px;
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius-md);
}

.platform-diagram-caption {
  margin: 18px auto 0;
  max-width: 620px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.platform-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: border-color 0.12s var(--ease), background 0.12s var(--ease),
    transform 0.12s var(--ease);
}

.platform-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-elev-2);
}

.platform-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: #c8bcff;
  margin-bottom: 14px;
  border: 1px solid var(--accent-border);
}

.platform-icon svg {
  width: 20px;
  height: 20px;
}

.platform-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

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

/* ----------------------------- Studio ----------------------------- */

.studio {
  border-top: 1px solid var(--border);
  background: linear-gradient(
    180deg,
    transparent,
    rgba(124, 92, 255, 0.05),
    transparent
  );
}

.studio-carousel {
  position: relative;
  margin: 0 auto;
  max-width: 1240px;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background:
    linear-gradient(
      180deg,
      rgba(124, 92, 255, 0.08),
      rgba(0, 212, 184, 0.03)
    ),
    var(--bg-elev);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 30px 80px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(124, 92, 255, 0.14),
    0 0 80px rgba(124, 92, 255, 0.1);
}

.studio-carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius-md);
}

.studio-carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.55s var(--ease);
  will-change: transform;
}

.studio-slide {
  flex: 0 0 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 4px;
}

.studio-slide-copy {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 8px;
}

.studio-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: #c8bcff;
  margin-bottom: 14px;
  white-space: nowrap;
}

.studio-slide-copy h3 {
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--text);
}

.studio-slide-copy p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 640px;
}

.studio-slide-shot {
  margin: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-elev-2);
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}

.studio-shot-chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border);
}

.studio-shot-chrome span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
}

.studio-slide-shot-frame {
  aspect-ratio: 2 / 1;
  background: #f5f1ea;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.studio-slide-shot-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.studio-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
}

.studio-nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface-strong);
  border: 1px solid var(--border-strong);
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.12s var(--ease), border-color 0.12s var(--ease),
    color 0.12s var(--ease), transform 0.12s var(--ease);
}

.studio-nav:hover {
  background: var(--accent-soft);
  border-color: var(--accent-border);
  color: #c8bcff;
}

.studio-nav:active {
  transform: scale(0.96);
}

.studio-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  justify-content: center;
}

.studio-dots li {
  display: inline-flex;
}

.studio-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border-strong);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background 0.18s var(--ease), transform 0.18s var(--ease),
    width 0.25s var(--ease);
}

.studio-dots button:hover {
  background: var(--text-muted);
}

.studio-dots button.is-active {
  background: var(--accent);
  width: 24px;
  border-radius: 999px;
}

/* ----------------------------- Why / CTA ----------------------------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

.why {
  border-top: 1px solid var(--border);
}

.why-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color 0.12s var(--ease);
}

.why-card:hover {
  border-color: var(--border-strong);
}

.why-card h3 {
  font-size: 1.05rem;
}

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

.cta-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-elev-2);
  border: 1px solid var(--accent-border);
}

.cta-card h3 {
  margin: 0 0 6px;
  font-size: 1.4rem;
}

.cta-card p {
  margin: 0;
  color: var(--text-muted);
  max-width: 520px;
}

.cta-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ----------------------------- Footer ----------------------------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  background: rgba(0, 0, 0, 0.25);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.footer-license {
  color: var(--text-dim);
  font-weight: 400;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
}

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

.footer-copy {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.88rem;
}

/* ----------------------------- Reveal animation ----------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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

/* ----------------------------- Responsive ----------------------------- */

@media (max-width: 960px) {
  .cap-grid,
  .why-grid,
  .platform-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .audience-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .studio-slide {
    gap: 22px;
  }

  .studio-slide-shot-frame {
    aspect-ratio: 16 / 10;
  }

  .platform-diagram {
    padding: 22px 22px 16px;
  }
}

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-list {
    position: absolute;
    top: calc(var(--header-h) - 1px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 16px 20px;
    background: rgba(11, 13, 18, 0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  }

  .nav-list.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-list a {
    width: 100%;
    padding: 12px 14px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
  }

  .nav-list a.is-active::after {
    left: 14px;
    right: auto;
    width: 3px;
    height: calc(100% - 12px);
    bottom: auto;
    top: 6px;
    border-radius: 3px;
  }

  .nav-divider {
    width: 100%;
    height: 1px;
    margin: 8px 0;
    background: var(--border);
  }

  .nav-github svg {
    width: 18px;
    height: 18px;
  }

  .nav-list .btn {
    width: 100%;
    margin-top: 6px;
  }
}

@media (max-width: 720px) {
  section {
    padding: 64px 0;
  }

  .hero {
    padding: 72px 0 64px;
  }

  .cap-grid,
  .why-grid,
  .platform-grid {
    grid-template-columns: 1fr;
  }

  .platform-diagram {
    padding: 18px 18px 14px;
    margin-bottom: 40px;
  }

  .studio-carousel {
    padding: 18px;
  }

  .studio-slide-copy h3 {
    font-size: 1.25rem;
  }

  .studio-shot-chrome {
    padding: 8px 12px;
  }

  .studio-shot-chrome span {
    width: 8px;
    height: 8px;
  }

  .studio-nav {
    width: 38px;
    height: 38px;
  }

  .studio-dots {
    gap: 8px;
  }

  .audience-card {
    padding: 24px;
  }

  .audience-card h3 {
    font-size: 1.2rem;
  }

  .cta-card {
    padding: 24px;
  }

  .cta-card h3 {
    font-size: 1.2rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .arch-layer {
    padding: 22px;
  }

  .arch-owner {
    top: 14px;
    right: 14px;
    font-size: 0.66rem;
    padding: 2px 7px;
  }

  .arch-layer-head {
    padding-right: 80px;
  }
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
