:root {
  --studio-bg: #17171c;
  --studio-bg-deep: #121217;
  --studio-surface: #1e1e25;
  --studio-surface-raised: #24242c;
  --studio-surface-soft: #202027;
  --studio-line: #34343e;
  --studio-line-soft: rgba(255, 255, 255, 0.075);
  --studio-text: #f6f5f9;
  --studio-text-soft: #c6c4cd;
  --studio-muted: #8c8995;
  --studio-purple: #9365ff;
  --studio-purple-bright: #a98aff;
  --studio-purple-soft: rgba(147, 101, 255, 0.14);
  --studio-green: #72d89b;
  --studio-frame: 1360px;
  --studio-gutter: clamp(20px, 4vw, 64px);
  --studio-radius-sm: 10px;
  --studio-radius-md: 16px;
  --studio-radius-lg: 24px;
  --studio-radius-xl: 30px;
  --studio-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

html {
  scroll-behavior: smooth;
  background: var(--studio-bg);
}

body {
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(22, 22, 28, 0) 0, rgba(13, 13, 18, 0.5) 100%),
    var(--studio-bg);
  color: var(--studio-text);
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: 10000;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.025);
  pointer-events: none;
  content: "";
}

::selection {
  background: rgba(147, 101, 255, 0.38);
  color: #fff;
}

button,
textarea,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--studio-purple-bright);
  outline-offset: 3px;
}

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

.studio-frame {
  position: relative;
  z-index: 1;
  width: min(calc(100% - (var(--studio-gutter) * 2)), var(--studio-frame));
  margin: 0 auto;
}

.studio-ambient {
  position: fixed;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.studio-backdrop-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000 0, rgba(0, 0, 0, 0.55) 50%, transparent 100%);
}

.studio-backdrop-glow {
  position: absolute;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: rgba(118, 79, 214, 0.07);
  filter: blur(120px);
}

.studio-backdrop-glow--top {
  top: -360px;
  left: 50%;
  transform: translateX(-50%);
}

.studio-backdrop-glow--middle {
  top: 48%;
  right: -420px;
  background: rgba(126, 84, 238, 0.04);
}

.studio-pointer-glow {
  position: fixed;
  width: 460px;
  height: 460px;
  margin: -230px 0 0 -230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(145, 98, 255, 0.075), transparent 68%);
  opacity: 0;
  transition: opacity 300ms ease;
}

.studio-masthead {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  height: 68px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  background: rgba(23, 23, 28, 0.79);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
}

.studio-masthead__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 100%;
  gap: 32px;
}

.studio-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  color: #fff;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.studio-brand-link__glyph {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.studio-primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3vw, 42px);
}

.studio-primary-nav a,
.studio-sign-in {
  position: relative;
  color: var(--studio-text-soft);
  font-size: 14px;
  transition: color 180ms ease;
}

.studio-primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 1px;
  background: var(--studio-purple-bright);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.studio-primary-nav a:hover,
.studio-sign-in:hover {
  color: #fff;
}

.studio-primary-nav a:hover::after {
  transform: scaleX(1);
}

.studio-masthead__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.studio-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--studio-line);
  border-radius: 10px;
}

.studio-menu-toggle svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.studio-command {
  --studio-pointer-x: 50%;
  --studio-pointer-y: 50%;
  position: relative;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid var(--studio-line);
  border-radius: 10px;
  background: var(--studio-surface);
  color: #fff;
  font-size: 14px;
  font-weight: 550;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 100ms ease;
}

.studio-command svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.studio-command--primary {
  border-color: rgba(173, 139, 255, 0.5);
  background:
    radial-gradient(circle at var(--studio-pointer-x) var(--studio-pointer-y), rgba(255, 255, 255, 0.18), transparent 46%),
    linear-gradient(135deg, #7950ee, #9b6cff);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.18), 0 8px 28px rgba(118, 76, 235, 0.18);
}

.studio-command--primary:hover {
  border-color: rgba(197, 174, 255, 0.78);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.22), 0 10px 34px rgba(118, 76, 235, 0.28);
}

.studio-command--large {
  min-height: 50px;
  padding: 0 24px;
  border-radius: 12px;
  font-size: 15px;
}

.studio-hero-access {
  margin-top: 25px;
}

.studio-section-command {
  margin-top: 28px;
}

.studio-center-action {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.studio-hero-stage {
  position: relative;
  padding: 116px 0 104px;
  border-bottom: 1px solid var(--studio-line-soft);
}

.studio-hero-stage__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.studio-hero-copy {
  max-width: 900px;
  text-align: center;
}

.studio-hero-mark {
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  filter: drop-shadow(0 12px 30px rgba(147, 101, 255, 0.18));
}

.studio-hero-copy h1 {
  max-width: 1180px;
  color: var(--studio-text);
  font-size: clamp(46px, 4.15vw, 64px);
  font-weight: 610;
  letter-spacing: -0.064em;
  line-height: 0.98;
}

.studio-hero-copy h1 span,
.studio-section-intro h2 span {
  background: linear-gradient(135deg, #8e5df8 0%, #b49aff 92%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.studio-hero-copy p {
  margin-top: 15px;
  color: var(--studio-muted);
  font-size: clamp(17px, 2vw, 21px);
  letter-spacing: -0.025em;
}

.studio-prompt-suggestions {
  display: flex;
  max-width: 1000px;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-top: 25px;
}

.studio-prompt-suggestions button {
  min-height: 38px;
  padding: 0 17px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  background: rgba(31, 31, 38, 0.62);
  color: #9d9aa6;
  font-size: 13px;
  letter-spacing: -0.01em;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease, transform 180ms ease;
}

.studio-prompt-suggestions button:hover {
  border-color: rgba(169, 138, 255, 0.46);
  background: rgba(38, 35, 48, 0.9);
  color: #e9e6ef;
  transform: translateY(-1px);
}

.studio-prompt-composer {
  position: relative;
  width: min(860px, 100%);
  margin-top: 27px;
  padding: 22px 22px 17px;
  border: 1px solid rgba(147, 101, 255, 0.72);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(35, 35, 42, 0.98), rgba(30, 30, 37, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(175, 142, 255, 0.1),
    0 0 0 3px rgba(135, 89, 244, 0.07),
    0 22px 70px rgba(0, 0, 0, 0.34),
    0 0 48px rgba(122, 75, 236, 0.09);
}

.studio-prompt-composer:focus-within {
  border-color: var(--studio-purple-bright);
  box-shadow:
    inset 0 0 0 1px rgba(184, 153, 255, 0.16),
    0 0 0 3px rgba(135, 89, 244, 0.1),
    0 24px 80px rgba(0, 0, 0, 0.38),
    0 0 56px rgba(122, 75, 236, 0.13);
}

.studio-prompt-composer.state-error {
  border-color: #ef7d98;
  animation: studio-composer-shake 260ms ease;
}

.studio-prompt-composer.state-submitting {
  border-color: var(--studio-green);
  pointer-events: none;
}

.studio-prompt-composer textarea {
  display: block;
  width: 100%;
  min-height: 72px;
  resize: none;
  border: 0;
  outline: 0;
  background: transparent;
  color: #f4f3f7;
  font-size: 17px;
  line-height: 1.5;
}

.studio-prompt-composer textarea::placeholder {
  color: #aaa7b1;
}

.studio-prompt-composer__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 1px 13px;
  color: #8f8c97;
  font-size: 12px;
}

.studio-prompt-composer__tools {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
}

.studio-prompt-composer__attachments {
  display: flex;
  align-items: center;
  gap: 1px;
  margin-right: 2px;
}

.studio-prompt-composer__attachments button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 9px;
  color: #85828e;
  transition: color 160ms ease, background 160ms ease;
}

.studio-prompt-composer__attachments button:hover {
  background: rgba(255, 255, 255, 0.055);
  color: #d6d3dc;
}

.studio-prompt-composer__attachments svg,
.studio-tool-select svg,
.studio-prompt-submit svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.studio-router-control {
  position: relative;
}

.studio-tool-select {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.018);
  color: #b5b2bc;
  font-size: 13px;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.studio-tool-select:hover,
.studio-tool-select[aria-expanded="true"] {
  border-color: rgba(169, 138, 255, 0.36);
  background: rgba(147, 101, 255, 0.07);
  color: #f3f1f7;
}

.studio-tool-select__chevron {
  width: 15px !important;
  margin-left: 1px;
}

.studio-tool-select--compact {
  padding-left: 14px;
}

.studio-router-menu {
  position: absolute;
  z-index: 8;
  bottom: calc(100% + 10px);
  left: 0;
  width: 274px;
  padding: 7px;
  border: 1px solid var(--studio-line);
  border-radius: 13px;
  background: rgba(30, 30, 37, 0.98);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(20px);
}

.studio-router-menu[hidden] {
  display: none;
}

.studio-router-menu button {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  padding: 10px;
  border-radius: 9px;
  text-align: left;
}

.studio-router-menu button:hover {
  background: rgba(147, 101, 255, 0.1);
}

.studio-router-menu strong {
  color: #f3f1f7;
  font-size: 13px;
  font-weight: 550;
}

.studio-router-menu span {
  color: var(--studio-muted);
  font-size: 11px;
}

.studio-prompt-submit {
  display: grid;
  width: 43px;
  height: 43px;
  margin-left: auto;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #8150ef, #a36eff);
  color: #fff;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.22), 0 7px 22px rgba(125, 77, 240, 0.28);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.studio-prompt-submit:hover {
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.26), 0 9px 28px rgba(125, 77, 240, 0.38);
  transform: translateY(-1px);
}

.studio-hero-proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  margin-top: 16px;
  color: #83808b;
  font-size: 12px;
}

.studio-hero-proof strong {
  color: #bbb8c2;
  font-weight: 520;
}

.studio-hero-proof span {
  position: relative;
}

.studio-hero-proof span::before {
  position: absolute;
  top: 50%;
  left: -13px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #5b5863;
  content: "";
}

.studio-hero-video {
  position: relative;
  width: 100%;
  margin-top: 42px;
  overflow: hidden;
  border: 1px solid #41414d;
  border-radius: 22px;
  background: #101015;
  box-shadow: var(--studio-shadow), 0 0 0 6px rgba(255, 255, 255, 0.015);
  isolation: isolate;
}

.studio-hero-video__media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #101015;
}

.studio-hero-video__toggle {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(18, 18, 24, 0.82);
  color: #f0edf6;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.34);
  font-size: 12px;
  font-weight: 560;
  letter-spacing: -0.01em;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.studio-hero-video__toggle:hover {
  border-color: rgba(169, 138, 255, 0.58);
  background: rgba(29, 26, 39, 0.92);
  transform: translateY(-1px);
}

.studio-hero-video__toggle:focus-visible {
  outline: 2px solid var(--studio-accent-soft);
  outline-offset: 3px;
}

.studio-hero-video__icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.studio-hero-video__icon--play {
  display: none;
}

.studio-hero-video__toggle.state-paused .studio-hero-video__icon--pause {
  display: none;
}

.studio-hero-video__toggle.state-paused .studio-hero-video__icon--play {
  display: block;
}

.studio-ide-window {
  width: 100%;
  margin-top: 42px;
  overflow: hidden;
  border: 1px solid #41414d;
  border-radius: 22px;
  background: #18181e;
  box-shadow: var(--studio-shadow), 0 0 0 6px rgba(255, 255, 255, 0.015);
}

.studio-ide-window__bar {
  display: grid;
  min-height: 54px;
  grid-template-columns: 245px 1fr auto;
  align-items: center;
  border-bottom: 1px solid var(--studio-line);
  background: linear-gradient(180deg, #202027, #1b1b21);
}

.studio-ide-window__brand,
.studio-ide-window__project,
.studio-ide-window__view-switch {
  display: flex;
  align-items: center;
}

.studio-ide-window__brand {
  gap: 9px;
  height: 100%;
  padding: 0 18px;
  border-right: 1px solid var(--studio-line);
  font-size: 13px;
}

.studio-ide-window__project {
  gap: 7px;
  padding: 0 17px;
  color: var(--studio-muted);
  font-size: 12px;
}

.studio-ide-window__project strong {
  color: #d7d4dd;
  font-weight: 500;
}

.studio-ide-window__view-switch {
  gap: 3px;
  padding-right: 10px;
}

.studio-ide-window__view-switch button {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  color: #777480;
  font-size: 11px;
}

.studio-ide-window__view-switch button.state-active {
  background: #2a2932;
  color: #e7e4ed;
}

.studio-ide-window__body {
  display: grid;
  min-height: 485px;
  grid-template-columns: 50px 195px minmax(0, 1fr) 280px;
}

.studio-ide-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding-top: 12px;
  border-right: 1px solid var(--studio-line);
  background: #1a1a20;
}

.studio-ide-rail button {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  color: #777480;
}

.studio-ide-rail button:hover,
.studio-ide-rail button.state-active {
  background: #25252d;
  color: #d9d6df;
}

.studio-ide-rail button.state-active::before {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: -6px;
  width: 2px;
  background: var(--studio-purple);
  content: "";
}

.studio-ide-rail svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.studio-file-tree {
  padding: 16px 12px;
  border-right: 1px solid var(--studio-line);
  color: #aca9b3;
  font-size: 11px;
}

.studio-file-tree__label {
  display: block;
  margin-bottom: 14px;
  color: #74717b;
  font-size: 9px;
  letter-spacing: 0.1em;
}

.studio-file-tree__project {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #dbd8e0;
}

.studio-file-tree__project svg {
  width: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.studio-file-tree ul {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  list-style: none;
}

.studio-file-tree li {
  position: relative;
  padding-left: 19px;
}

.studio-file-tree li::before {
  position: absolute;
  top: 5px;
  left: 3px;
  width: 9px;
  height: 7px;
  border: 1px solid #77737f;
  border-radius: 1px;
  content: "";
}

.studio-file-tree__nested {
  margin-left: 12px;
}

.studio-file-tree__file {
  margin-left: 22px;
}

.studio-file-tree__file::before {
  width: 7px !important;
  height: 9px !important;
  border-color: #6b6690 !important;
}

.studio-file-tree__file.state-active {
  padding-top: 2px;
  padding-bottom: 2px;
  border-radius: 4px;
  background: rgba(147, 101, 255, 0.11);
  color: #c6b8f5;
}

.studio-ide-canvas {
  position: relative;
  min-width: 0;
  padding: 14px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    #18181e;
  background-size: 42px 42px;
}

.studio-ide-panel {
  display: none;
  width: 100%;
  height: 100%;
}

.studio-ide-panel.state-active {
  display: block;
  animation: studio-panel-in 220ms ease both;
}

.studio-app-shell {
  display: grid;
  height: 100%;
  min-height: 410px;
  grid-template-columns: 140px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #34343f;
  border-radius: 14px;
  background: #1c1c22;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
}

.studio-app-sidebar {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 11px;
  border-right: 1px solid #34343f;
  background: #19191f;
}

.studio-app-sidebar strong {
  margin: 0 7px 17px;
  font-size: 14px;
}

.studio-app-sidebar span {
  padding: 7px 9px;
  border-radius: 6px;
  color: #8a8792;
  font-size: 10px;
}

.studio-app-sidebar span.state-active {
  background: linear-gradient(90deg, rgba(145, 98, 255, 0.18), rgba(145, 98, 255, 0.04));
  color: #d8d1ee;
}

.studio-app-content {
  min-width: 0;
  padding: 20px;
}

.studio-app-content__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.studio-app-content__head span {
  color: #777480;
  font-size: 9px;
}

.studio-app-content__head h3 {
  margin-top: 3px;
  font-size: 17px;
  font-weight: 560;
  letter-spacing: -0.03em;
}

.studio-app-content__head button {
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid #393844;
  border-radius: 7px;
  color: #918e99;
  font-size: 9px;
}

.studio-app-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.studio-app-metrics article {
  position: relative;
  min-height: 100px;
  padding: 13px;
  overflow: hidden;
  border: 1px solid #34343f;
  border-radius: 10px;
  background: #202026;
}

.studio-app-metrics span {
  display: block;
  color: #827f8a;
  font-size: 9px;
}

.studio-app-metrics strong {
  display: block;
  margin-top: 8px;
  font-size: 22px;
  font-weight: 570;
}

.studio-app-metrics i {
  position: absolute;
  right: 12px;
  bottom: 14px;
  left: 12px;
  height: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 26'%3E%3Cpath d='M1 23 17 17l14 3 18-14 16 8L79 5l18 9 22-11' fill='none' stroke='%239365ff' stroke-width='2'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.studio-app-table {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid #34343f;
  border-radius: 10px;
  background: #1f1f25;
}

.studio-app-table > strong {
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 520;
}

.studio-app-table div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-top: 1px solid #303039;
  color: #b7b4bd;
  font-size: 9px;
}

.studio-app-table small {
  color: #6e6b76;
}

.studio-code-view {
  overflow: hidden;
  border: 1px solid #34343f;
  border-radius: 12px;
  background: #18181e;
}

.studio-code-view.state-active {
  display: flex;
  flex-direction: column;
}

.studio-code-view__tabs {
  display: flex;
  gap: 3px;
  padding: 8px;
  border-bottom: 1px solid #34343f;
}

.studio-code-view__tabs span {
  padding: 7px 12px;
  border-radius: 6px;
  color: #777480;
  font-size: 10px;
}

.studio-code-view__tabs span.state-active {
  background: #27272f;
  color: #d5d2da;
}

.studio-code-view pre {
  flex: 1;
  padding: 30px;
  overflow: auto;
  color: #bdb7ca;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  line-height: 2;
}

.studio-code-view code span,
.studio-export-code code span {
  color: #bd91ff;
}

.studio-data-view.state-active {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 14px;
}

.studio-data-table {
  overflow: hidden;
  border: 1px solid #34343f;
  border-radius: 12px;
  background: #1d1d23;
}

.studio-data-table header,
.studio-data-table div {
  display: grid;
  grid-template-columns: 1fr 0.8fr 0.8fr;
  align-items: center;
  gap: 9px;
  padding: 12px;
  border-bottom: 1px solid #303039;
}

.studio-data-table header {
  display: flex;
  justify-content: space-between;
  background: #23232a;
}

.studio-data-table header strong {
  font-size: 12px;
}

.studio-data-table header span,
.studio-data-table span,
.studio-data-table small {
  color: #7c7984;
  font-size: 9px;
}

.studio-data-table b {
  font-size: 10px;
  font-weight: 500;
}

.studio-ai-panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 12px;
  padding: 17px;
  border-left: 1px solid var(--studio-line);
  background: #1a1a20;
}

.studio-ai-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}

.studio-ai-panel header span {
  padding: 3px 6px;
  border-radius: 4px;
  background: rgba(147, 101, 255, 0.12);
  color: #bfa8f7;
  font-size: 7px;
  letter-spacing: 0.07em;
}

.studio-ai-message {
  align-self: flex-end;
  max-width: 88%;
  padding: 10px 11px;
  border-radius: 10px 10px 3px 10px;
  background: linear-gradient(135deg, #7143d7, #895ae9);
  color: #fff;
  font-size: 10px;
  line-height: 1.45;
}

.studio-ai-response {
  color: #aaa7b1;
  font-size: 10px;
}

.studio-ai-panel ul {
  display: grid;
  gap: 7px;
  padding: 11px;
  border: 1px solid #34343f;
  border-radius: 9px;
  background: #212127;
  list-style: none;
}

.studio-ai-panel li {
  position: relative;
  padding-left: 18px;
  color: #777480;
  font-size: 9px;
}

.studio-ai-panel li::before {
  position: absolute;
  top: 2px;
  left: 0;
  color: #625e69;
  content: "○";
}

.studio-ai-panel li.state-complete {
  color: #aba8b2;
}

.studio-ai-panel li.state-complete::before {
  color: var(--studio-green);
  content: "✓";
}

.studio-ai-panel li.state-active {
  color: #d8d4df;
}

.studio-ai-panel li.state-active::before {
  color: var(--studio-purple-bright);
  content: "●";
  animation: studio-pulse 1.4s ease infinite;
}

.studio-ai-panel > button {
  display: flex;
  width: 100%;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding: 0 10px;
  border: 1px solid #34343f;
  border-radius: 8px;
  color: #777480;
  font-size: 10px;
}

.studio-ai-panel > button svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.studio-ide-window__terminal {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 22px;
  padding: 0 16px 0 64px;
  border-top: 1px solid var(--studio-line);
  background: #19191f;
  color: #777480;
  font-size: 9px;
}

.studio-ide-window__terminal span {
  color: #aaa7b1;
  font-weight: 550;
}

.studio-ide-window__terminal code {
  color: #8f8c97;
  font-family: "SFMono-Regular", Consolas, monospace;
}

.studio-ide-window__terminal b {
  color: var(--studio-green);
}

.studio-proof-rail {
  border-bottom: 1px solid var(--studio-line-soft);
  background: rgba(13, 13, 18, 0.3);
}

.studio-proof-rail__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-right: 1px solid var(--studio-line-soft);
  border-left: 1px solid var(--studio-line-soft);
}

.studio-proof-rail article {
  display: flex;
  min-height: 132px;
  flex-direction: column;
  justify-content: center;
  padding: 24px clamp(22px, 3vw, 42px);
  border-right: 1px solid var(--studio-line-soft);
}

.studio-proof-rail article:last-child {
  border-right: 0;
}

.studio-proof-rail strong {
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 560;
  letter-spacing: -0.045em;
}

.studio-proof-rail article > span {
  margin-top: 5px;
  color: var(--studio-muted);
  font-size: 12px;
}

.studio-numbered-section,
.studio-editor-section,
.studio-usecase-section,
.studio-model-section,
.studio-export-section,
.studio-audience-section,
.studio-comparison-section,
.studio-workspace-section,
.studio-faq-section,
.studio-closing-section {
  position: relative;
  padding: clamp(96px, 10vw, 150px) 0;
  border-bottom: 1px solid var(--studio-line-soft);
}

.studio-numbered-section--surface,
.studio-model-section,
.studio-audience-section,
.studio-workspace-section {
  background: rgba(12, 12, 17, 0.23);
}

.studio-section-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.8fr);
  gap: clamp(64px, 9vw, 145px);
  align-items: start;
}

.studio-section-intro {
  position: sticky;
  top: 118px;
}

.studio-section-index {
  display: inline-flex;
  min-width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  border: 1px solid rgba(155, 108, 255, 0.54);
  border-radius: 8px;
  color: #a887fb;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.studio-section-intro h2,
.studio-wide-heading h2,
.studio-editor-copy h2,
.studio-comparison-copy h2 {
  color: var(--studio-text);
  font-size: clamp(38px, 4.3vw, 62px);
  font-weight: 590;
  letter-spacing: -0.057em;
  line-height: 1.03;
}

.studio-section-intro > p,
.studio-editor-copy > p,
.studio-wide-heading > p,
.studio-comparison-copy > p {
  max-width: 500px;
  margin-top: 24px;
  color: var(--studio-muted);
  font-size: 16px;
  line-height: 1.7;
}

.studio-build-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr) 44px minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--studio-line);
  border-radius: var(--studio-radius-lg);
  background: linear-gradient(145deg, rgba(35, 35, 43, 0.78), rgba(27, 27, 33, 0.85));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.21);
}

.studio-build-flow article {
  min-height: 340px;
  padding: 42px 30px;
}

.studio-build-flow__number {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(147, 101, 255, 0.48);
  border-radius: 50%;
  background: var(--studio-purple-soft);
  color: #c9b8f7;
  font-size: 12px;
}

.studio-build-flow h3 {
  margin-top: 72px;
  font-size: 20px;
  font-weight: 560;
  letter-spacing: -0.035em;
}

.studio-build-flow p {
  margin-top: 12px;
  color: var(--studio-muted);
  font-size: 13px;
  line-height: 1.65;
}

.studio-build-flow__arrow {
  width: 34px;
  fill: none;
  stroke: #8b60ef;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.studio-capability-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--studio-line);
  border-radius: var(--studio-radius-lg);
  background: rgba(28, 28, 34, 0.76);
}

.studio-capability-matrix article {
  display: flex;
  min-height: 150px;
  align-items: flex-start;
  gap: 20px;
  padding: 28px;
  border-right: 1px solid var(--studio-line);
  border-bottom: 1px solid var(--studio-line);
  transition: background 180ms ease;
}

.studio-capability-matrix article:nth-child(2n) {
  border-right: 0;
}

.studio-capability-matrix article:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.studio-capability-matrix article:hover {
  background: rgba(147, 101, 255, 0.045);
}

.studio-capability-matrix svg {
  width: 34px;
  flex: 0 0 34px;
  fill: none;
  stroke: #b69af4;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.studio-capability-matrix h3 {
  font-size: 15px;
  font-weight: 560;
  letter-spacing: -0.02em;
}

.studio-capability-matrix p {
  margin-top: 7px;
  color: var(--studio-muted);
  font-size: 12px;
  line-height: 1.55;
}

.studio-editor-section__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.45fr);
  gap: clamp(56px, 8vw, 120px);
  align-items: center;
}

.studio-editor-copy ul {
  display: grid;
  margin: 34px 0;
  border-top: 1px solid var(--studio-line-soft);
  list-style: none;
}

.studio-editor-copy li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--studio-line-soft);
  color: #c4c1ca;
  font-size: 13px;
}

.studio-editor-copy li span {
  color: #7d5dca;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
}

.studio-code-workspace {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  border: 1px solid #42414e;
  border-radius: 22px;
  background: #18181e;
  box-shadow: var(--studio-shadow);
}

.studio-code-workspace > header {
  display: flex;
  min-height: 45px;
  align-items: stretch;
  gap: 1px;
  border-bottom: 1px solid var(--studio-line);
  background: #1d1d23;
}

.studio-code-workspace > header span {
  display: flex;
  align-items: center;
  padding: 0 16px;
  border-right: 1px solid var(--studio-line);
  color: #716e79;
  font-size: 10px;
}

.studio-code-workspace > header span:first-child {
  background: #23232a;
  color: #cac7cf;
}

.studio-code-workspace__body {
  display: grid;
  min-height: 380px;
  grid-template-columns: 48px minmax(0, 1fr);
  border-bottom: 1px solid var(--studio-line);
}

.studio-code-workspace__body ol {
  padding: 26px 12px;
  border-right: 1px solid #2f2f38;
  color: #4f4c58;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  line-height: 2.15;
  list-style: none;
  text-align: right;
}

.studio-code-workspace__body pre {
  padding: 26px;
  overflow: auto;
  color: #b7b0c2;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  line-height: 2.15;
}

.token-purple { color: #c297ff; }
.token-blue { color: #77bfff; }
.token-green { color: #7edfa5; }

.studio-code-workspace > footer {
  display: flex;
  min-height: 35px;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  padding: 0 13px;
  color: #777480;
  font-size: 9px;
}

.studio-code-workspace > footer span:first-child {
  margin-right: auto;
  color: #96939e;
}

.studio-code-workspace > footer i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--studio-green);
}

.studio-code-workspace > aside {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: min(360px, calc(100% - 48px));
  padding: 18px;
  border: 1px solid #464452;
  border-radius: 15px;
  background: rgba(35, 35, 43, 0.96);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.36);
}

.studio-code-workspace > aside > span {
  color: #ae8ef7;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.studio-code-workspace > aside p {
  margin-top: 10px;
  color: #d3d0d8;
  font-size: 12px;
  line-height: 1.55;
}

.studio-code-workspace > aside div {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  color: #aaa7b1;
  font-size: 10px;
}

.studio-code-workspace > aside div i {
  position: relative;
  flex: 1;
  height: 4px;
  overflow: hidden;
  border-radius: 99px;
  background: #3a3943;
}

.studio-code-workspace > aside div em {
  position: absolute;
  inset: 0 22% 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #7650df, #a477ff);
  animation: studio-progress 2.8s ease-in-out infinite alternate;
}

.studio-wide-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: clamp(48px, 10vw, 160px);
  align-items: end;
  margin-bottom: 62px;
}

.studio-wide-heading .studio-section-index {
  margin-bottom: 22px;
}

.studio-wide-heading > p {
  margin-top: 0;
  padding-bottom: 6px;
}

.studio-usecase-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--studio-line);
  border-radius: var(--studio-radius-lg);
}

.studio-usecase-tile {
  --studio-pointer-x: 50%;
  --studio-pointer-y: 50%;
  position: relative;
  min-height: 260px;
  padding: 31px;
  border-right: 1px solid var(--studio-line);
  border-bottom: 1px solid var(--studio-line);
  background:
    radial-gradient(circle at var(--studio-pointer-x) var(--studio-pointer-y), rgba(147, 101, 255, 0.09), transparent 48%),
    rgba(29, 29, 35, 0.68);
  transform-style: preserve-3d;
  transition: background 180ms ease, border-color 180ms ease, transform 120ms ease;
}

.studio-usecase-tile:nth-child(3n) {
  border-right: 0;
}

.studio-usecase-tile:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.studio-usecase-tile > span {
  display: block;
  color: #7454bd;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
}

.studio-usecase-tile h3 {
  margin-top: 78px;
  font-size: 20px;
  font-weight: 560;
  letter-spacing: -0.035em;
}

.studio-usecase-tile p {
  margin-top: 10px;
  color: var(--studio-muted);
  font-size: 13px;
  line-height: 1.58;
}

.studio-model-router {
  overflow: hidden;
  border: 1px solid #464451;
  border-radius: 22px;
  background: linear-gradient(155deg, rgba(34, 34, 42, 0.92), rgba(25, 25, 31, 0.96));
  box-shadow: var(--studio-shadow);
}

.studio-model-router > header {
  display: flex;
  min-height: 65px;
  align-items: center;
  gap: 13px;
  padding: 0 18px;
  border-bottom: 1px solid var(--studio-line);
}

.studio-model-router > header button:first-child {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #e4e1e9;
  font-size: 13px;
}

.studio-router-symbol {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 8px;
  background: rgba(147, 101, 255, 0.12);
  color: #b495fb;
}

.studio-router-symbol svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.studio-model-router > header button:first-child > i {
  width: 7px;
  height: 7px;
  margin-left: 2px;
  border-right: 1px solid #8c8995;
  border-bottom: 1px solid #8c8995;
  transform: rotate(45deg) translateY(-3px);
}

.studio-model-router > header > span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #777480;
  font-size: 10px;
}

.studio-model-router > header > span i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--studio-green);
}

.studio-model-router > header > button:last-child {
  min-height: 33px;
  margin-left: auto;
  padding: 0 12px;
  border: 1px solid #45434f;
  border-radius: 8px;
  color: #aaa7b1;
  font-size: 10px;
}

.studio-model-router__line {
  position: relative;
  display: flex;
  height: 45px;
  align-items: flex-end;
  justify-content: space-around;
  margin: 0 6.7%;
  border-top: 1px solid transparent;
}

.studio-model-router__line span {
  position: absolute;
  top: 20px;
  right: 4%;
  left: 4%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #6548a4 10%, #6548a4 90%, transparent);
}

.studio-model-router__line i {
  position: relative;
  z-index: 1;
  width: 5px;
  height: 5px;
  margin-bottom: 21px;
  border-radius: 50%;
  background: #9a6cf2;
  box-shadow: 0 0 10px rgba(154, 108, 242, 0.6);
}

.studio-model-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  padding: 0 18px 22px;
}

.studio-model-grid article {
  display: flex;
  min-width: 0;
  min-height: 98px;
  align-items: flex-start;
  gap: 9px;
  padding: 15px 12px;
  border: 1px solid #41404b;
  border-radius: 11px;
  background: #202027;
}

.studio-model-grid article.state-active {
  border-color: rgba(157, 112, 255, 0.76);
  background: linear-gradient(150deg, rgba(147, 101, 255, 0.13), #202027 65%);
}

.studio-model-grid article > span {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border: 1px solid rgba(164, 126, 247, 0.34);
  border-radius: 8px;
  color: #c4aafa;
  font-size: 9px;
  font-weight: 600;
}

.studio-model-grid strong,
.studio-model-grid small {
  display: block;
}

.studio-model-grid strong {
  overflow: hidden;
  color: #e9e6ed;
  font-size: 11px;
  font-weight: 530;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-model-grid small {
  margin-top: 4px;
  color: #6f6c77;
  font-size: 8px;
}

.studio-agent-workflow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 18px 18px;
  padding: 13px 15px;
  border: 1px solid #3d3c47;
  border-radius: 11px;
  background: rgba(20, 20, 25, 0.45);
}

.studio-agent-workflow > span {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 8px;
  min-width: 0;
}

.studio-agent-workflow i {
  display: grid;
  width: 21px;
  height: 21px;
  grid-row: 1 / span 2;
  place-items: center;
  border-radius: 6px;
  background: rgba(147, 101, 255, 0.18);
  color: #c8b3f6;
  font-size: 9px;
  font-style: normal;
}

.studio-agent-workflow b {
  color: #bdbac3;
  font-size: 9px;
  font-weight: 520;
}

.studio-agent-workflow small {
  color: #64616c;
  font-size: 7px;
}

.studio-agent-workflow > svg {
  width: 17px;
  flex: 0 0 17px;
  fill: none;
  stroke: #57545f;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.studio-agent-features {
  display: grid;
  gap: 14px;
  margin-top: 35px;
}

.studio-agent-features div {
  padding: 15px 0 15px 17px;
  border-left: 1px solid #6d4bb8;
}

.studio-agent-features strong,
.studio-agent-features span {
  display: block;
}

.studio-agent-features strong {
  font-size: 13px;
  font-weight: 560;
}

.studio-agent-features span {
  margin-top: 4px;
  color: var(--studio-muted);
  font-size: 11px;
  line-height: 1.5;
}

.studio-export-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.55fr) minmax(0, 1.7fr);
  gap: clamp(58px, 8vw, 120px);
  align-items: start;
}

.studio-export-workspace {
  display: grid;
  min-height: 410px;
  grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.75fr);
  overflow: hidden;
  border: 1px solid #41404b;
  border-radius: 22px;
  background: #1a1a20;
  box-shadow: var(--studio-shadow);
}

.studio-export-code {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  border-right: 1px solid var(--studio-line);
}

.studio-export-code aside {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 19px 14px;
  border-right: 1px solid var(--studio-line);
  color: #898690;
  font-size: 10px;
}

.studio-export-code aside strong {
  margin-bottom: 5px;
  color: #5e5b66;
  font-size: 8px;
  letter-spacing: 0.08em;
}

.studio-export-code aside small {
  padding-left: 12px;
  color: #777480;
  font-size: 9px;
}

.studio-export-code pre {
  padding: 35px 24px;
  overflow: auto;
  color: #ada6b9;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  line-height: 2.1;
}

.studio-export-actions {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 16px;
}

.studio-export-actions article {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid #3c3b46;
  border-radius: 10px;
  background: #202027;
}

.studio-export-actions article > svg {
  width: 29px;
  fill: none;
  stroke: #b69af4;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.studio-export-actions h3 {
  font-size: 11px;
  font-weight: 540;
}

.studio-export-actions p {
  margin-top: 3px;
  color: #777480;
  font-size: 8px;
  line-height: 1.45;
}

.studio-export-actions a {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #7650df, #9766fb);
  color: #fff;
}

.studio-export-actions a svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.studio-audience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--studio-line);
  border-bottom: 1px solid var(--studio-line);
}

.studio-audience-grid article {
  min-height: 270px;
  padding: 31px;
  border-right: 1px solid var(--studio-line);
}

.studio-audience-grid article:last-child {
  border-right: 0;
}

.studio-audience-grid article > span {
  display: block;
  color: #a784f2;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
}

.studio-audience-grid h3 {
  margin-top: 74px;
  font-size: 20px;
  font-weight: 560;
  letter-spacing: -0.03em;
}

.studio-audience-grid p {
  margin-top: 10px;
  color: var(--studio-muted);
  font-size: 12px;
  line-height: 1.6;
}

.studio-comparison-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.4fr);
  gap: clamp(58px, 9vw, 138px);
  align-items: center;
}

.studio-competitor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}

.studio-competitor-list span {
  padding: 8px 11px;
  border: 1px solid var(--studio-line);
  border-radius: 8px;
  color: #8f8c97;
  font-size: 11px;
}

.studio-comparison-table {
  overflow: hidden;
  border: 1px solid var(--studio-line);
  border-radius: 18px;
  background: rgba(29, 29, 35, 0.74);
}

.studio-comparison-table > div {
  display: grid;
  min-height: 62px;
  grid-template-columns: 1.1fr 1fr 1fr;
  align-items: center;
  border-bottom: 1px solid var(--studio-line);
}

.studio-comparison-table > div:last-child {
  border-bottom: 0;
}

.studio-comparison-table span,
.studio-comparison-table strong {
  display: flex;
  height: 100%;
  align-items: center;
  padding: 13px 19px;
  border-right: 1px solid var(--studio-line);
  font-size: 11px;
}

.studio-comparison-table span:last-child {
  border-right: 0;
  background: rgba(147, 101, 255, 0.045);
  color: #c2aaf6;
}

.studio-comparison-table strong {
  color: #cbc8d0;
  font-weight: 500;
}

.studio-comparison-table span {
  color: #777480;
}

.studio-comparison-table__head {
  background: #222229;
}

.studio-comparison-table__head span {
  color: #a7a4ae !important;
  font-size: 9px !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

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

.studio-workspace-card {
  position: relative;
  display: flex;
  min-height: 500px;
  flex-direction: column;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--studio-line);
  border-radius: 20px;
  background: linear-gradient(155deg, rgba(35, 35, 42, 0.9), rgba(27, 27, 33, 0.95));
}

.studio-workspace-card--featured {
  border-color: rgba(158, 112, 255, 0.55);
  box-shadow: 0 20px 60px rgba(97, 59, 183, 0.12);
}

.studio-workspace-card header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.studio-workspace-card header svg {
  width: 25px;
  fill: none;
  stroke: #b89cf5;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.studio-workspace-card h3 {
  font-size: 20px;
  font-weight: 560;
  letter-spacing: -0.03em;
}

.studio-workspace-card > p {
  max-width: 320px;
  margin-top: 14px;
  color: var(--studio-muted);
  font-size: 13px;
  line-height: 1.6;
}

.studio-workspace-card > a {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding: 0 14px;
  border: 1px solid #45434f;
  border-radius: 9px;
  color: #cac7d0;
  font-size: 12px;
  transition: border-color 180ms ease, background 180ms ease;
}

.studio-workspace-card > a:hover {
  border-color: rgba(158, 112, 255, 0.55);
  background: rgba(147, 101, 255, 0.07);
}

.studio-workspace-card > a svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.studio-workspace-card__visual {
  position: relative;
  height: 220px;
  margin: 36px -4px 30px;
  overflow: hidden;
  border: 1px solid #3d3c47;
  border-radius: 13px;
  background: #19191f;
}

.studio-workspace-card__visual--cloud {
  display: grid;
  grid-template-columns: 82px 1fr;
  grid-template-rows: 36px 1fr;
  gap: 8px;
  padding: 9px;
}

.studio-workspace-card__visual--cloud::before {
  grid-column: 1 / -1;
  border-radius: 7px;
  background: #24242b;
  content: "";
}

.studio-workspace-card__visual--cloud span {
  grid-column: 1;
  border-radius: 6px;
  background: #25252c;
}

.studio-workspace-card__visual--cloud i {
  grid-column: 2;
  grid-row: 2 / span 3;
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(147, 101, 255, 0.18), transparent 36%),
    linear-gradient(90deg, transparent 48%, rgba(255, 255, 255, 0.04) 49%, rgba(255, 255, 255, 0.04) 51%, transparent 52%),
    #24242b;
}

.studio-workspace-card__visual--desktop {
  display: grid;
  grid-template-columns: 86px 1fr;
  grid-template-rows: 35px 1fr;
}

.studio-workspace-card__visual--desktop::before {
  grid-column: 1 / -1;
  border-bottom: 1px solid #3d3c47;
  background: #222229;
  content: "";
}

.studio-workspace-card__visual--desktop > span {
  grid-row: 2;
  border-right: 1px solid #3d3c47;
  background: repeating-linear-gradient(to bottom, #25252c 0 17px, transparent 17px 29px);
}

.studio-workspace-card__visual--desktop pre {
  grid-row: 2;
  padding: 24px;
  color: #a98af1;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
}

.studio-workspace-card__visual--desktop i {
  position: absolute;
  right: 15px;
  bottom: 14px;
  width: 80px;
  height: 44px;
  border: 1px solid #464451;
  border-radius: 7px;
  background: #292831;
}

.studio-workspace-card__visual--ios {
  display: grid;
  place-items: end center;
  background:
    radial-gradient(circle at 50% 70%, rgba(147, 101, 255, 0.14), transparent 46%),
    #19191f;
}

.studio-workspace-card__visual--ios > i {
  display: flex;
  width: 118px;
  height: 202px;
  flex-direction: column;
  gap: 10px;
  padding: 19px 10px 10px;
  border: 2px solid #45434f;
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
  background: #202027;
}

.studio-workspace-card__visual--ios span {
  width: 36px;
  height: 6px;
  align-self: center;
  border-radius: 99px;
  background: #131318;
}

.studio-workspace-card__visual--ios strong {
  margin-top: 4px;
  font-size: 9px;
  font-style: normal;
  font-weight: 540;
}

.studio-workspace-card__visual--ios b {
  display: block;
  height: 50px;
  border: 1px solid #393843;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(147, 101, 255, 0.12), #24242b);
}

.studio-faq-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(60px, 10vw, 160px);
  align-items: start;
}

.studio-faq-layout .studio-section-intro > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 27px;
  color: #b79cf0;
  font-size: 13px;
}

.studio-faq-layout .studio-section-intro > a svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.studio-faq-list {
  border-top: 1px solid var(--studio-line);
}

.studio-faq-row {
  border-bottom: 1px solid var(--studio-line);
}

.studio-faq-row__question {
  display: flex;
  width: 100%;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: #ddd9e2;
  font-size: 16px;
  text-align: left;
}

.studio-faq-row__question svg {
  width: 19px;
  flex: 0 0 19px;
  fill: none;
  stroke: #797681;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 220ms ease, stroke 220ms ease;
}

.studio-faq-row.state-open .studio-faq-row__question svg {
  stroke: #b494fa;
  transform: rotate(180deg);
}

.studio-faq-row__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease;
}

.studio-faq-row__answer p {
  max-width: 700px;
  padding: 0 60px 27px 0;
  color: var(--studio-muted);
  font-size: 14px;
  line-height: 1.75;
}

.studio-closing-section {
  padding-top: clamp(82px, 9vw, 128px);
  padding-bottom: clamp(82px, 9vw, 128px);
}

.studio-closing-panel {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 24px;
  overflow: hidden;
  border: 1px solid rgba(166, 128, 247, 0.48);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 100%, rgba(147, 101, 255, 0.13), transparent 44%),
    linear-gradient(145deg, #202027, #19191f);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.26);
  text-align: center;
}

.studio-closing-panel > img {
  width: 46px;
  height: 46px;
  margin-bottom: 27px;
}

.studio-closing-panel h2 {
  max-width: 850px;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 590;
  letter-spacing: -0.058em;
  line-height: 1.03;
}

.studio-closing-panel p {
  margin: 18px 0 28px;
  color: var(--studio-muted);
  font-size: 15px;
}

.studio-site-footer {
  padding: 72px 0 26px;
  background: #111116;
}

.studio-site-footer__top {
  display: grid;
  grid-template-columns: 1fr 180px 180px;
  gap: 70px;
  padding-bottom: 58px;
}

.studio-site-footer__top > div > p {
  max-width: 370px;
  margin-top: 20px;
  color: #777480;
  font-size: 13px;
  line-height: 1.65;
}

.studio-site-footer nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.studio-site-footer nav strong {
  margin-bottom: 5px;
  color: #aaa7b1;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.studio-site-footer nav a {
  color: #777480;
  font-size: 12px;
  transition: color 160ms ease;
}

.studio-site-footer nav a:hover {
  color: #d8d4de;
}

.studio-site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--studio-line-soft);
  color: #5f5c66;
  font-size: 10px;
}

.studio-site-footer__bottom div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.studio-sticky-offer {
  position: fixed;
  z-index: 90;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: flex;
  max-width: 780px;
  min-height: 70px;
  align-items: center;
  gap: 18px;
  margin: auto;
  padding: 10px 48px 10px 14px;
  border: 1px solid rgba(160, 119, 250, 0.5);
  border-radius: 16px;
  background: rgba(28, 28, 35, 0.92);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 220ms ease, transform 220ms ease;
  backdrop-filter: blur(20px);
}

.studio-sticky-offer.state-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.studio-sticky-offer > div {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.studio-sticky-offer > div > img {
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
}

.studio-sticky-offer > div span,
.studio-sticky-offer > div strong,
.studio-sticky-offer > div small {
  display: block;
}

.studio-sticky-offer > div strong {
  font-size: 12px;
  font-weight: 550;
}

.studio-sticky-offer > div small {
  margin-top: 2px;
  color: #777480;
  font-size: 10px;
}

.studio-sticky-offer > .studio-command {
  flex: 0 0 auto;
  margin-left: auto;
}

.studio-sticky-offer__close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  color: #706d77;
}

.studio-sticky-offer__close:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #d8d4de;
}

.studio-sticky-offer__close svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
}

.studio-reveal {
  opacity: 1;
  transform: none;
}

.studio-motion-ready .studio-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 650ms cubic-bezier(0.22, 1, 0.36, 1), transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.studio-motion-ready .studio-reveal.state-visible {
  opacity: 1;
  transform: translateY(0);
}

.studio-reveal--delay-1 { transition-delay: 70ms !important; }
.studio-reveal--delay-2 { transition-delay: 140ms !important; }
.studio-reveal--delay-3 { transition-delay: 210ms !important; }
.studio-reveal--delay-4 { transition-delay: 280ms !important; }

@keyframes studio-panel-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes studio-composer-shake {
  0%, 100% { transform: translateX(0); }
  35% { transform: translateX(-5px); }
  70% { transform: translateX(5px); }
}

@keyframes studio-pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

@keyframes studio-progress {
  from { right: 55%; }
  to { right: 8%; }
}

@media (max-width: 1180px) {
  :root {
    --studio-gutter: clamp(20px, 3.5vw, 44px);
  }

  .studio-primary-nav {
    gap: 22px;
  }

  .studio-ide-window__body {
    grid-template-columns: 46px 160px minmax(0, 1fr) 240px;
  }

  .studio-app-shell {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .studio-app-content {
    padding: 15px;
  }

  .studio-section-layout {
    grid-template-columns: minmax(220px, 0.62fr) minmax(0, 1.55fr);
    gap: 60px;
  }

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

  .studio-model-router__line {
    display: none;
  }

  .studio-model-grid {
    padding-top: 18px;
  }

  .studio-agent-workflow {
    overflow-x: auto;
    gap: 15px;
  }

  .studio-export-workspace {
    grid-template-columns: 1fr;
  }

  .studio-export-code {
    min-height: 300px;
    border-right: 0;
    border-bottom: 1px solid var(--studio-line);
  }

  .studio-export-actions {
    grid-template-columns: repeat(3, 1fr);
  }

  .studio-export-actions article {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .studio-export-actions article > a {
    display: none;
  }
}

@media (max-width: 960px) {
  .studio-masthead__row {
    grid-template-columns: auto 1fr auto;
  }

  .studio-menu-toggle {
    display: flex;
    justify-self: end;
    grid-column: 2;
  }

  .studio-primary-nav {
    position: absolute;
    top: 60px;
    right: 0;
    display: none;
    width: min(330px, calc(100vw - 40px));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 9px;
    border: 1px solid var(--studio-line);
    border-radius: 14px;
    background: rgba(29, 29, 36, 0.98);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
  }

  .studio-primary-nav.state-open {
    display: flex;
  }

  .studio-primary-nav a {
    padding: 11px;
    border-radius: 8px;
  }

  .studio-primary-nav a:hover {
    background: rgba(147, 101, 255, 0.08);
  }

  .studio-primary-nav a::after {
    display: none;
  }

  .studio-masthead__actions .studio-sign-in {
    display: none;
  }

  .studio-ide-window__body {
    grid-template-columns: 46px 150px minmax(0, 1fr);
  }

  .studio-ai-panel {
    display: none;
  }

  .studio-ide-window__bar {
    grid-template-columns: 196px 1fr auto;
  }

  .studio-section-layout,
  .studio-editor-section__grid,
  .studio-export-layout,
  .studio-comparison-grid,
  .studio-faq-layout {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .studio-section-intro {
    position: static;
    max-width: 650px;
  }

  .studio-build-flow article {
    min-height: 300px;
  }

  .studio-wide-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .studio-wide-heading > p {
    max-width: 650px;
  }

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

  .studio-usecase-tile:nth-child(3n) {
    border-right: 1px solid var(--studio-line);
  }

  .studio-usecase-tile:nth-child(2n) {
    border-right: 0;
  }

  .studio-usecase-tile:nth-last-child(-n + 3) {
    border-bottom: 1px solid var(--studio-line);
  }

  .studio-usecase-tile:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

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

  .studio-audience-grid article:nth-child(2) {
    border-right: 0;
  }

  .studio-audience-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--studio-line);
  }

  .studio-workspace-grid {
    grid-template-columns: 1fr;
  }

  .studio-workspace-card {
    min-height: 460px;
  }

  .studio-site-footer__top {
    grid-template-columns: 1fr 140px 140px;
    gap: 42px;
  }
}

@media (max-width: 720px) {
  :root {
    --studio-gutter: 18px;
  }

  .studio-masthead {
    height: 62px;
  }

  .studio-masthead__row {
    gap: 10px;
  }

  .studio-brand-link {
    font-size: 14px;
  }

  .studio-brand-link__glyph {
    width: 22px;
    height: 22px;
  }

  .studio-masthead__actions .studio-command {
    min-height: 38px;
    padding: 0 12px;
    font-size: 12px;
  }

  .studio-menu-toggle {
    width: 38px;
    height: 38px;
  }

  .studio-hero-stage {
    padding: 112px 0 76px;
  }

  .studio-hero-mark {
    width: 38px;
    height: 38px;
    margin-bottom: 23px;
  }

  .studio-hero-copy h1 {
    font-size: clamp(40px, 13vw, 58px);
    line-height: 0.98;
  }

  .studio-hero-copy p {
    margin-top: 18px;
    font-size: 16px;
  }

  .studio-prompt-suggestions {
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: calc(100% + (var(--studio-gutter) * 2));
    margin-top: 28px;
    margin-right: calc(var(--studio-gutter) * -1);
    margin-left: calc(var(--studio-gutter) * -1);
    padding: 0 var(--studio-gutter) 6px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .studio-prompt-suggestions::-webkit-scrollbar {
    display: none;
  }

  .studio-prompt-suggestions button {
    flex: 0 0 auto;
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .studio-prompt-composer {
    margin-top: 27px;
    padding: 17px 15px 13px;
    border-radius: 17px;
  }

  .studio-prompt-composer textarea {
    min-height: 84px;
    font-size: 15px;
  }

  .studio-prompt-composer__meta {
    font-size: 10px;
  }

  .studio-prompt-composer__meta span:first-child {
    max-width: 220px;
  }

  .studio-prompt-composer__attachments button:nth-child(2) {
    display: none;
  }

  .studio-tool-select {
    max-width: 175px;
    overflow: hidden;
    padding: 0 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .studio-tool-select--compact {
    display: none;
  }

  .studio-router-menu {
    width: min(274px, calc(100vw - 68px));
  }

  .studio-hero-proof {
    max-width: 320px;
  }

  .studio-hero-proof span:last-child {
    display: none;
  }

  .studio-hero-video {
    width: calc(100% + 4px);
    margin-top: 42px;
    border-radius: 16px;
  }

  .studio-hero-video__toggle {
    right: 12px;
    bottom: 12px;
    min-height: 36px;
  }

  .studio-ide-window {
    width: calc(100% + 4px);
    margin-top: 42px;
    border-radius: 16px;
  }

  .studio-ide-window__bar {
    min-height: 48px;
    grid-template-columns: 1fr auto;
  }

  .studio-ide-window__brand {
    border-right: 0;
  }

  .studio-ide-window__project {
    display: none;
  }

  .studio-ide-window__view-switch button {
    padding: 0 8px;
    font-size: 9px;
  }

  .studio-ide-window__body {
    min-height: 410px;
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .studio-file-tree {
    display: none;
  }

  .studio-ide-rail {
    padding-top: 8px;
  }

  .studio-ide-rail button {
    width: 31px;
    height: 34px;
  }

  .studio-ide-rail svg {
    width: 15px;
  }

  .studio-ide-canvas {
    padding: 9px;
  }

  .studio-app-shell {
    min-height: 390px;
    grid-template-columns: 1fr;
  }

  .studio-app-sidebar {
    display: none;
  }

  .studio-app-content {
    padding: 13px;
  }

  .studio-app-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .studio-app-metrics article:last-child {
    display: none;
  }

  .studio-app-table div {
    font-size: 8px;
  }

  .studio-code-view pre {
    padding: 22px 16px;
    font-size: 10px;
  }

  .studio-data-view.state-active {
    grid-template-columns: 1fr;
  }

  .studio-data-table:last-child {
    display: none;
  }

  .studio-ide-window__terminal {
    min-height: 42px;
    padding: 0 12px;
  }

  .studio-ide-window__terminal span {
    display: none;
  }

  .studio-ide-window__terminal code {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .studio-proof-rail__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .studio-proof-rail article {
    min-height: 108px;
    padding: 19px;
    border-bottom: 1px solid var(--studio-line-soft);
  }

  .studio-proof-rail article:nth-child(2) {
    border-right: 0;
  }

  .studio-proof-rail article:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .studio-proof-rail strong {
    font-size: 27px;
  }

  .studio-numbered-section,
  .studio-editor-section,
  .studio-usecase-section,
  .studio-model-section,
  .studio-export-section,
  .studio-audience-section,
  .studio-comparison-section,
  .studio-workspace-section,
  .studio-faq-section,
  .studio-closing-section {
    padding: 84px 0;
  }

  .studio-section-layout,
  .studio-editor-section__grid,
  .studio-export-layout,
  .studio-comparison-grid,
  .studio-faq-layout {
    gap: 42px;
  }

  .studio-section-index {
    min-width: 31px;
    height: 31px;
    margin-bottom: 20px;
  }

  .studio-section-intro h2,
  .studio-wide-heading h2,
  .studio-editor-copy h2,
  .studio-comparison-copy h2 {
    font-size: clamp(36px, 10.5vw, 48px);
  }

  .studio-build-flow {
    grid-template-columns: 1fr;
  }

  .studio-build-flow article {
    min-height: 0;
    padding: 27px;
    border-bottom: 1px solid var(--studio-line);
  }

  .studio-build-flow article:last-child {
    border-bottom: 0;
  }

  .studio-build-flow h3 {
    margin-top: 38px;
  }

  .studio-build-flow__arrow {
    display: none;
  }

  .studio-capability-matrix {
    grid-template-columns: 1fr;
  }

  .studio-capability-matrix article,
  .studio-capability-matrix article:nth-child(2n),
  .studio-capability-matrix article:nth-last-child(-n + 2) {
    min-height: 134px;
    padding: 23px;
    border-right: 0;
    border-bottom: 1px solid var(--studio-line);
  }

  .studio-capability-matrix article:last-child {
    border-bottom: 0;
  }

  .studio-code-workspace {
    min-height: 510px;
  }

  .studio-code-workspace__body pre {
    padding: 22px 16px;
    font-size: 9px;
  }

  .studio-code-workspace > header span {
    padding: 0 11px;
    font-size: 8px;
  }

  .studio-code-workspace > aside {
    right: 14px;
    bottom: 14px;
    width: calc(100% - 28px);
  }

  .studio-wide-heading {
    margin-bottom: 40px;
  }

  .studio-usecase-board {
    grid-template-columns: 1fr;
  }

  .studio-usecase-tile,
  .studio-usecase-tile:nth-child(2n),
  .studio-usecase-tile:nth-child(3n),
  .studio-usecase-tile:nth-last-child(-n + 2),
  .studio-usecase-tile:nth-last-child(-n + 3) {
    min-height: 220px;
    border-right: 0;
    border-bottom: 1px solid var(--studio-line);
  }

  .studio-usecase-tile:last-child {
    border-bottom: 0;
  }

  .studio-usecase-tile h3 {
    margin-top: 54px;
  }

  .studio-model-router > header {
    flex-wrap: wrap;
    padding: 13px;
  }

  .studio-model-router > header > span {
    order: 3;
    width: 100%;
  }

  .studio-model-router > header > button:last-child {
    margin-left: auto;
  }

  .studio-model-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 13px;
  }

  .studio-agent-workflow {
    margin: 0 13px 13px;
  }

  .studio-agent-workflow > svg,
  .studio-agent-workflow span:nth-of-type(n + 4) {
    display: none;
  }

  .studio-export-workspace {
    min-height: auto;
  }

  .studio-export-code {
    min-height: 270px;
    grid-template-columns: 90px 1fr;
  }

  .studio-export-code pre {
    padding: 24px 15px;
    font-size: 8px;
  }

  .studio-export-actions {
    grid-template-columns: 1fr;
  }

  .studio-export-actions article {
    grid-template-columns: 32px minmax(0, 1fr) 32px;
  }

  .studio-export-actions article > a {
    display: grid;
  }

  .studio-audience-grid {
    grid-template-columns: 1fr;
  }

  .studio-audience-grid article,
  .studio-audience-grid article:nth-child(2) {
    min-height: 220px;
    border-right: 0;
    border-bottom: 1px solid var(--studio-line);
  }

  .studio-audience-grid article:last-child {
    border-bottom: 0;
  }

  .studio-audience-grid h3 {
    margin-top: 50px;
  }

  .studio-comparison-table {
    overflow-x: auto;
  }

  .studio-comparison-table > div {
    min-width: 620px;
  }

  .studio-workspace-card {
    min-height: 460px;
    padding: 23px;
  }

  .studio-faq-row__question {
    min-height: 72px;
    font-size: 14px;
  }

  .studio-faq-row__answer p {
    padding-right: 16px;
  }

  .studio-closing-panel {
    min-height: 360px;
    border-radius: 19px;
  }

  .studio-site-footer__top {
    grid-template-columns: repeat(2, 1fr);
    gap: 42px 25px;
  }

  .studio-site-footer__top > div {
    grid-column: 1 / -1;
  }

  .studio-site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .studio-sticky-offer {
    right: 12px;
    bottom: 12px;
    left: 12px;
    min-height: 64px;
    padding: 9px 42px 9px 11px;
  }

  .studio-sticky-offer > div small,
  .studio-sticky-offer > div > img {
    display: none;
  }

  .studio-sticky-offer > .studio-command {
    min-height: 38px;
    padding: 0 12px;
    font-size: 11px;
  }
}

@media (max-width: 430px) {
  .studio-hero-video__toggle {
    width: 36px;
    justify-content: center;
    padding: 0;
  }

  .studio-hero-video__toggle span {
    display: none;
  }

  .studio-masthead__actions .studio-command {
    display: none;
  }

  .studio-masthead__row {
    grid-template-columns: 1fr auto;
  }

  .studio-menu-toggle {
    grid-column: auto;
  }

  .studio-prompt-composer__meta span:first-child {
    max-width: 190px;
  }

  .studio-prompt-composer__attachments {
    display: none;
  }

  .studio-tool-select {
    max-width: 185px;
  }

  .studio-prompt-submit {
    width: 40px;
    height: 40px;
  }

  .studio-ide-window__view-switch button {
    padding: 0 6px;
  }

  .studio-proof-rail article > span {
    font-size: 10px;
  }

  .studio-model-grid {
    grid-template-columns: 1fr;
  }

  .studio-agent-workflow span:nth-of-type(n + 3) {
    display: none;
  }

  .studio-export-code {
    grid-template-columns: 1fr;
  }

  .studio-export-code aside {
    display: none;
  }

  .studio-site-footer__top {
    grid-template-columns: 1fr;
  }

  .studio-site-footer__top > div {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .studio-motion-ready .studio-reveal {
    opacity: 1;
    transform: none;
  }
}
