:root {
  --bg: #050505;
  --bg-soft: #0c0c0d;
  --surface: rgba(14, 14, 15, 0.88);
  --surface-strong: rgba(20, 20, 21, 0.95);
  --line: rgba(244, 244, 245, 0.14);
  --line-strong: rgba(244, 244, 245, 0.26);
  --text: #f3f3f4;
  --muted: #a0a0a4;
  --quiet: #6d6d72;
  --accent: #f3f3f4;
  --accent-ink: #0b0b0c;
  --success: #9ae4ab;
  --error: #ff9898;
  --busy: #a5c7ff;
}

:root[data-theme="synthwave-light"] {
  color-scheme: light;
  --bg: #fff5ff;
  --bg-soft: #edf5ff;
  --surface: rgba(255, 248, 255, 0.84);
  --surface-strong: rgba(255, 252, 255, 0.94);
  --line: rgba(90, 41, 148, 0.2);
  --line-strong: rgba(255, 62, 168, 0.45);
  --text: #1c0f3a;
  --muted: #5f4a87;
  --quiet: #756298;
  --accent: #ff3ea8;
  --accent-ink: #fffaff;
  --success: #068d5e;
  --error: #b00048;
  --busy: #2a66ff;
}

body.synthwave-light {
  color-scheme: light;
  --bg: #fff5ff;
  --bg-soft: #edf5ff;
  --surface: rgba(255, 248, 255, 0.84);
  --surface-strong: rgba(255, 252, 255, 0.94);
  --line: rgba(90, 41, 148, 0.2);
  --line-strong: rgba(255, 62, 168, 0.45);
  --text: #1c0f3a;
  --muted: #5f4a87;
  --quiet: #756298;
  --accent: #ff3ea8;
  --accent-ink: #fffaff;
  --success: #068d5e;
  --error: #b00048;
  --busy: #2a66ff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  color: var(--text);
  background: radial-gradient(circle at 15% -5%, rgba(255, 255, 255, 0.08), transparent 33%),
    radial-gradient(circle at 95% 0%, rgba(255, 255, 255, 0.05), transparent 26%),
    linear-gradient(180deg, #060606 0%, #040404 100%);
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  line-height: 1.45;
  overflow-x: hidden;
}

:root[data-theme="synthwave-light"] body {
  background: radial-gradient(circle at 10% 0%, rgba(46, 224, 255, 0.28), transparent 32%),
    radial-gradient(circle at 90% 8%, rgba(255, 58, 187, 0.24), transparent 28%),
    linear-gradient(180deg, #fff5ff 0%, #e9f4ff 100%);
}

body.synthwave-light {
  background: radial-gradient(circle at 10% 0%, rgba(46, 224, 255, 0.28), transparent 32%),
    radial-gradient(circle at 90% 8%, rgba(255, 58, 187, 0.24), transparent 28%),
    linear-gradient(180deg, #fff5ff 0%, #e9f4ff 100%);
}

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.014) 0,
    rgba(255, 255, 255, 0.014) 1px,
    transparent 1px,
    transparent 3px
  );
  opacity: 0.5;
  z-index: 0;
}

:root[data-theme="synthwave-light"] .ambient {
  background-image: repeating-linear-gradient(
    0deg,
    rgba(255, 62, 168, 0.04) 0,
    rgba(255, 62, 168, 0.04) 1px,
    transparent 1px,
    transparent 3px
  );
  opacity: 0.34;
}

body.synthwave-light .ambient {
  background-image: repeating-linear-gradient(
    0deg,
    rgba(255, 62, 168, 0.04) 0,
    rgba(255, 62, 168, 0.04) 1px,
    transparent 1px,
    transparent 3px
  );
  opacity: 0.34;
}

.topbar {
  width: min(1140px, 92vw);
  margin: 16px auto 0;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(6, 6, 7, 0.82);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 10px;
  z-index: 2;
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .topbar {
    background: rgba(10, 10, 11, 0.96);
  }

  :root[data-theme="synthwave-light"] .topbar,
  body.synthwave-light .topbar {
    background: rgba(255, 250, 255, 0.95);
  }
}

:root[data-theme="synthwave-light"] .topbar {
  background: rgba(255, 250, 255, 0.88);
}

body.synthwave-light .topbar {
  background: rgba(255, 250, 255, 0.88);
}

.brand {
  text-decoration: none;
  color: var(--text);
  font-family: "Antonio", sans-serif;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-size: 1.05rem;
}

.topbar nav {
  display: flex;
  gap: 16px;
  align-items: center;
}

.topbar nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

.topbar nav a.nav-active {
  color: #c27bff;
  text-shadow: 0 0 14px rgba(194, 123, 255, 0.45);
}

:root[data-theme="synthwave-light"] .topbar nav a.nav-active,
body.synthwave-light .topbar nav a.nav-active {
  color: #ff3ea8;
  text-shadow: 0 0 12px rgba(255, 62, 168, 0.36);
}

.theme-toggle {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 7px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #1a1a1b;
  color: var(--text);
  cursor: pointer;
  transition: transform 0.16s ease, filter 0.16s ease, border-color 0.16s ease;
}

.theme-toggle[hidden] {
  display: none !important;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

:root[data-theme="synthwave-light"] .theme-toggle {
  background: linear-gradient(120deg, #ff4cae, #7c61ff);
  color: #fffaff;
}

body.synthwave-light .theme-toggle {
  background: linear-gradient(120deg, #ff4cae, #7c61ff);
  color: #fffaff;
}

.shell {
  width: min(1140px, 92vw);
  margin: 28px auto 56px;
  display: grid;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.hero {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(26px, 4.2vw, 52px);
  background: linear-gradient(130deg, rgba(19, 19, 20, 0.96), rgba(9, 9, 10, 0.96));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

:root[data-theme="synthwave-light"] .hero {
  background: linear-gradient(130deg, rgba(255, 239, 255, 0.98), rgba(234, 247, 255, 0.98));
  box-shadow: 0 22px 44px rgba(130, 63, 190, 0.14);
}

body.synthwave-light .hero {
  background: linear-gradient(130deg, rgba(255, 239, 255, 0.98), rgba(234, 247, 255, 0.98));
  box-shadow: 0 22px 44px rgba(130, 63, 190, 0.14);
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.eyebrow a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.eyebrow a:hover {
  border-bottom-color: var(--line-strong);
}

.hero h1 {
  margin: 10px 0 14px;
  font-family: "Antonio", sans-serif;
  font-size: clamp(2.4rem, 7.8vw, 5rem);
  line-height: 0.96;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  max-width: 14ch;
}

.hero-copy {
  margin: 0;
  color: var(--muted);
  max-width: 70ch;
}

.hero-actions {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

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

.hero-metrics article {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.01);
}

:root[data-theme="synthwave-light"] .hero-metrics article {
  background: rgba(255, 255, 255, 0.58);
}

body.synthwave-light .hero-metrics article {
  background: rgba(255, 255, 255, 0.58);
}

.hero-metrics p {
  margin: 0;
  color: var(--quiet);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-metrics strong {
  margin-top: 6px;
  display: block;
  font-size: 0.96rem;
  color: var(--text);
}

.proof-strip {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  background: var(--surface);
}

.proof-strip span {
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px;
}

.section-anchor {
  position: relative;
  top: -84px;
  height: 0;
  pointer-events: none;
}

.marketing-section,
.studio,
.closing {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  padding: clamp(18px, 2.9vw, 28px);
}

.section-head h2 {
  margin: 8px 0 0;
  font-family: "Antonio", sans-serif;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1;
  font-size: clamp(1.6rem, 4.2vw, 3rem);
}

.step-grid {
  margin-top: 16px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.01);
}

:root[data-theme="synthwave-light"] .step-card {
  background: rgba(255, 255, 255, 0.54);
}

body.synthwave-light .step-card {
  background: rgba(255, 255, 255, 0.54);
}

.step-card p {
  margin: 0;
  color: var(--quiet);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
}

.step-card h3 {
  margin: 8px 0;
  font-size: 1rem;
}

.step-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.studio-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 14px;
  align-items: start;
}

.studio-main {
  display: grid;
  gap: 14px;
}

.studio-grid.control-plane-layout {
  grid-template-columns: minmax(0, 1fr);
}

.panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-strong);
  padding: 16px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.012);
}

:root[data-theme="synthwave-light"] .panel {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}

body.synthwave-light .panel {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}

.panel-head h3 {
  margin: 0;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.panel-head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.input-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 12px;
}

.field {
  display: grid;
  gap: 8px;
}

.field > span {
  color: var(--muted);
  font-size: 0.77rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: "IBM Plex Mono", monospace;
}

textarea,
input[type="file"],
input[type="email"],
input[type="text"],
input[type="password"],
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #0b0b0c;
  color: var(--text);
  font: inherit;
}

:root[data-theme="synthwave-light"] textarea,
:root[data-theme="synthwave-light"] input[type="file"],
:root[data-theme="synthwave-light"] input[type="email"],
:root[data-theme="synthwave-light"] input[type="text"],
:root[data-theme="synthwave-light"] input[type="password"],
:root[data-theme="synthwave-light"] select {
  background: #fffbff;
}

body.synthwave-light textarea,
body.synthwave-light input[type="file"],
body.synthwave-light input[type="email"],
body.synthwave-light input[type="text"],
body.synthwave-light input[type="password"],
body.synthwave-light select {
  background: #fffbff;
}

textarea {
  min-height: 190px;
  padding: 12px;
  resize: vertical;
}

textarea:focus,
input[type="file"]:focus,
input[type="email"]:focus,
input[type="text"]:focus,
input[type="password"]:focus,
select:focus,
button:focus,
.ghost-link:focus {
  outline: 2px solid rgba(243, 243, 244, 0.72);
  outline-offset: 2px;
}

.upload-field {
  align-content: start;
}

input[type="file"] {
  padding: 10px;
}

input[type="email"] {
  padding: 10px 12px;
  min-height: 42px;
}

input[type="text"] {
  padding: 10px 12px;
  min-height: 42px;
}

input[type="password"] {
  padding: 10px 12px;
  min-height: 42px;
}

select {
  padding: 10px 12px;
  min-height: 42px;
}

.action-panel {
  display: grid;
  gap: 8px;
}

.studio-instructions-list {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
  display: grid;
  gap: 7px;
}

.action-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.action-panel > .action-row {
  display: none !important;
}

.studio-entry-hero h1 {
  max-width: 12ch;
}

.flow-preferences {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
}

.onramp-action-panel {
  display: grid;
  gap: 10px;
}

.synthia-controls-hidden {
  display: none !important;
}

button,
.primary-btn,
.ghost-link {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 16px;
  background: #171718;
  color: var(--text);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}

:root[data-theme="synthwave-light"] button,
:root[data-theme="synthwave-light"] .primary-btn,
:root[data-theme="synthwave-light"] .ghost-link {
  background: #f7ebff;
  color: #311c59;
}

body.synthwave-light button,
body.synthwave-light .primary-btn,
body.synthwave-light .ghost-link {
  background: #f7ebff;
  color: #311c59;
}

button:hover,
.primary-btn:hover,
.ghost-link:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
}

.primary-btn {
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
}

:root[data-theme="synthwave-light"] .primary-btn {
  background: linear-gradient(120deg, #ff3ea8, #7a5cff);
}

body.synthwave-light .primary-btn {
  background: linear-gradient(120deg, #ff3ea8, #7a5cff);
}

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

.status-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.status-pill.quiet {
  color: var(--quiet);
}

.status-pill.busy {
  color: var(--busy);
  border-color: rgba(165, 199, 255, 0.45);
}

.status-pill.error {
  color: var(--error);
  border-color: rgba(255, 152, 152, 0.45);
}

.status-pill.success {
  color: var(--success);
  border-color: rgba(154, 228, 171, 0.45);
}

.status-copy {
  margin: 0;
  color: var(--muted);
}

.studio-aside h3 {
  margin: 10px 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1rem;
}

.studio-aside ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 7px;
  color: var(--muted);
}

.aside-note {
  margin: 12px 0 0;
  color: var(--quiet);
  font-size: 0.86rem;
}

.review-panel .editor {
  min-height: 470px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.93rem;
}

.view-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.view-btn {
  min-width: 124px;
}

.view-btn.is-active {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--line-strong);
}

:root[data-theme="synthwave-light"] .view-btn.is-active {
  background: linear-gradient(120deg, #ff3ea8, #7a5cff);
  color: #fffaff;
}

body.synthwave-light .view-btn.is-active {
  background: linear-gradient(120deg, #ff3ea8, #7a5cff);
  color: #fffaff;
}

.review-view {
  display: grid;
  gap: 10px;
}

.review-view[hidden] {
  display: none !important;
}

.mode-field {
  width: min(320px, 100%);
}

.target-goal-field {
  width: min(680px, 100%);
}

.synthia-command-panel {
  display: grid;
  gap: 12px;
}

.synthia-inline-panel {
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.015);
}

:root[data-theme="synthwave-light"] .synthia-inline-panel {
  background: rgba(255, 255, 255, 0.62);
}

body.synthwave-light .synthia-inline-panel {
  background: rgba(255, 255, 255, 0.62);
}

.synthia-command-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.synthia-panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.01);
  padding: 10px;
  display: grid;
  gap: 8px;
}

:root[data-theme="synthwave-light"] .synthia-panel {
  background: rgba(255, 255, 255, 0.58);
}

body.synthwave-light .synthia-panel {
  background: rgba(255, 255, 255, 0.58);
}

.synthia-thread {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(8, 8, 9, 0.66);
  padding: 8px;
  display: grid;
  gap: 7px;
  min-height: 238px;
  max-height: 338px;
  overflow-y: auto;
  font-family: "IBM Plex Mono", monospace;
}

:root[data-theme="synthwave-light"] .synthia-thread {
  background: rgba(255, 255, 255, 0.7);
}

body.synthwave-light .synthia-thread {
  background: rgba(255, 255, 255, 0.7);
}

.synthia-empty {
  margin: 0;
  color: var(--quiet);
  font-size: 0.84rem;
  line-height: 1.55;
}

.synthia-bubble {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 0.84rem;
  line-height: 1.45;
}

.synthia-bubble.assistant {
  background: rgba(144, 196, 255, 0.16);
  border-color: rgba(144, 196, 255, 0.4);
}

.synthia-bubble.user {
  background: rgba(255, 148, 204, 0.14);
  border-color: rgba(255, 148, 204, 0.38);
}

.synthia-feed-line {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 10px;
  align-items: start;
  font-size: 0.8rem;
  line-height: 1.5;
  animation: synthia-feed-enter 220ms ease;
}

.synthia-feed-prefix {
  color: var(--quiet);
}

.synthia-feed-agent {
  color: var(--text);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.synthia-feed-text {
  color: var(--muted);
}

.synthia-feed-status {
  min-width: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  color: var(--quiet);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.synthia-feed-dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.3;
  animation: synthia-feed-dot-pulse 1s ease-in-out infinite;
}

.synthia-feed-dot:nth-child(2) {
  animation-delay: 0.16s;
}

.synthia-feed-dot:nth-child(3) {
  animation-delay: 0.32s;
}

.synthia-feed-line.running .synthia-feed-prefix,
.synthia-feed-line.running .synthia-feed-agent,
.synthia-feed-line.running .synthia-feed-status,
.synthia-feed-line.running .synthia-feed-text {
  color: #cfe4ff;
}

.synthia-feed-line.success .synthia-feed-prefix,
.synthia-feed-line.success .synthia-feed-agent,
.synthia-feed-line.success .synthia-feed-status,
.synthia-feed-line.success .synthia-feed-text {
  color: #caf2df;
}

.synthia-feed-line.warn .synthia-feed-prefix,
.synthia-feed-line.warn .synthia-feed-agent,
.synthia-feed-line.warn .synthia-feed-status,
.synthia-feed-line.warn .synthia-feed-text {
  color: #ffdca3;
}

.synthia-feed-line.error .synthia-feed-prefix,
.synthia-feed-line.error .synthia-feed-agent,
.synthia-feed-line.error .synthia-feed-status,
.synthia-feed-line.error .synthia-feed-text {
  color: #ffb7d6;
}

@keyframes synthia-feed-enter {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes synthia-feed-dot-pulse {
  0%,
  80%,
  100% {
    opacity: 0.22;
    transform: translateY(0);
  }

  40% {
    opacity: 1;
    transform: translateY(-1px);
  }
}

.synthia-controls {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
}

.synthia-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.synthia-quick-replies[hidden] {
  display: none !important;
}

.synthia-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  padding: 7px 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
}

.synthia-chip:hover {
  border-color: var(--line-strong);
  color: var(--text);
}

.synthia-chip:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.synthia-controls input[type="text"] {
  min-height: 40px;
}

.synthia-activity-panel {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.01);
  padding: 8px 10px;
  display: grid;
  gap: 8px;
}

:root[data-theme="synthwave-light"] .synthia-activity-panel {
  background: rgba(255, 255, 255, 0.46);
}

body.synthwave-light .synthia-activity-panel {
  background: rgba(255, 255, 255, 0.46);
}

.synthia-activity-feed {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  min-height: 240px;
  max-height: 240px;
  overflow-y: auto;
}

.synthia-activity-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 8px;
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 8px;
  align-items: start;
  font-size: 0.78rem;
}

.synthia-activity-time {
  color: var(--quiet);
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.04em;
}

.synthia-activity-text {
  color: var(--muted);
}

.synthia-activity-item.running {
  border-color: rgba(144, 196, 255, 0.42);
}

.synthia-activity-item.running .synthia-activity-text {
  color: #cfe4ff;
}

.synthia-activity-item.success {
  border-color: rgba(113, 216, 167, 0.45);
}

.synthia-activity-item.success .synthia-activity-text {
  color: #caf2df;
}

.synthia-activity-item.warn {
  border-color: rgba(255, 214, 130, 0.5);
}

.synthia-activity-item.warn .synthia-activity-text {
  color: #ffdca3;
}

.synthia-activity-item.error {
  border-color: rgba(255, 148, 204, 0.55);
}

.synthia-activity-item.error .synthia-activity-text {
  color: #ffd2ea;
}

.synthia-briefing-panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.01);
  padding: 10px;
  display: grid;
  gap: 10px;
}

:root[data-theme="synthwave-light"] .synthia-briefing-panel {
  background: rgba(255, 255, 255, 0.58);
}

body.synthwave-light .synthia-briefing-panel {
  background: rgba(255, 255, 255, 0.58);
}

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

.synthia-brief-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 9px;
  background: rgba(255, 255, 255, 0.01);
}

:root[data-theme="synthwave-light"] .synthia-brief-card {
  background: rgba(255, 255, 255, 0.48);
}

body.synthwave-light .synthia-brief-card {
  background: rgba(255, 255, 255, 0.48);
}

.synthia-brief-card p {
  margin: 0;
  color: var(--quiet);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.synthia-brief-card strong {
  margin-top: 7px;
  display: block;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.35;
}

.synthia-strategic-notes {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.01);
  padding: 8px 10px;
}

:root[data-theme="synthwave-light"] .synthia-strategic-notes {
  background: rgba(255, 255, 255, 0.44);
}

body.synthwave-light .synthia-strategic-notes {
  background: rgba(255, 255, 255, 0.44);
}

.synthia-strategic-notes summary {
  cursor: pointer;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.synthia-strategic-notes ul {
  margin: 8px 0 0;
}

.agent-stage-panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.01);
  padding: 10px;
  display: grid;
  gap: 8px;
}

:root[data-theme="synthwave-light"] .agent-stage-panel {
  background: rgba(255, 255, 255, 0.58);
}

body.synthwave-light .agent-stage-panel {
  background: rgba(255, 255, 255, 0.58);
}

.agent-stage-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.agent-stage {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 9px;
  align-items: start;
  color: var(--muted);
}

.agent-dot {
  margin-top: 5px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--quiet);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.04);
}

.agent-stage strong {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.agent-stage small {
  display: block;
  margin-top: 4px;
  color: var(--quiet);
  font-size: 0.8rem;
}

.agent-stage.running {
  border-color: rgba(144, 196, 255, 0.46);
}

.agent-stage.running .agent-dot {
  background: #90c4ff;
}

.agent-stage.running strong {
  color: #d7e7ff;
}

.agent-stage.completed {
  border-color: rgba(113, 216, 167, 0.5);
}

.agent-stage.completed .agent-dot {
  background: #71d8a7;
}

.agent-stage.completed strong {
  color: #cbf2df;
}

.agent-stage.failed {
  border-color: rgba(255, 148, 204, 0.55);
}

.agent-stage.failed .agent-dot {
  background: #ff94cc;
}

.agent-stage.failed strong {
  color: #ffd2ea;
}

.agent-stage.idle {
  opacity: 0.94;
}

.insights-panel {
  display: grid;
  gap: 12px;
}

.insights-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.insight-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.01);
}

:root[data-theme="synthwave-light"] .insight-card {
  background: rgba(255, 255, 255, 0.5);
}

body.synthwave-light .insight-card {
  background: rgba(255, 255, 255, 0.5);
}

.insight-card p {
  margin: 0;
  color: var(--quiet);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.insight-card strong {
  margin-top: 7px;
  display: block;
  font-family: "Antonio", sans-serif;
  font-size: clamp(1.2rem, 2.7vw, 1.7rem);
  line-height: 1;
}

.insights-lists {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.insight-list-card {
  display: grid;
  gap: 8px;
}

.insight-list-card h4 {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.data-list-tight {
  margin: 0;
  font-size: 0.82rem;
}

.diagnostic-panel {
  display: grid;
  gap: 12px;
}

.preview-results-panel {
  display: grid;
  gap: 12px;
}

.preview-teaser-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  display: grid;
  gap: 6px;
  background: rgba(255, 255, 255, 0.01);
}

:root[data-theme="synthwave-light"] .preview-teaser-card {
  background: rgba(255, 255, 255, 0.5);
}

body.synthwave-light .preview-teaser-card {
  background: rgba(255, 255, 255, 0.5);
}

.preview-teaser-card p,
.preview-teaser-card span {
  margin: 0;
}

.preview-teaser-card p {
  color: var(--quiet);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.preview-teaser-card strong {
  font-family: "Antonio", sans-serif;
  font-size: clamp(1.25rem, 2.8vw, 1.8rem);
  line-height: 1;
}

.preview-teaser-card span {
  color: var(--muted);
  font-size: 0.88rem;
}

.diagnostic-positioning-summary {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.preview-output-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1.05fr 1.2fr;
}

.preview-summary-card,
.preview-bullets-card {
  display: grid;
  gap: 10px;
}

.preview-target-role {
  margin: 0;
  color: var(--quiet);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.preview-summary-copy,
.preview-scan-note {
  margin: 0;
  color: var(--muted);
}

.preview-summary-copy {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.55;
}

.preview-scan-note {
  border-top: 1px solid var(--line);
  padding-top: 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.preview-bullet-pairs {
  display: grid;
  gap: 10px;
}

.preview-cutoff {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.01);
}

:root[data-theme="synthwave-light"] .preview-cutoff {
  background: rgba(255, 255, 255, 0.54);
}

body.synthwave-light .preview-cutoff {
  background: rgba(255, 255, 255, 0.54);
}

.preview-cutoff::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 12, 0.08), rgba(10, 10, 12, 0.82));
  pointer-events: none;
}

:root[data-theme="synthwave-light"] .preview-cutoff::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.84));
}

body.synthwave-light .preview-cutoff::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.84));
}

.preview-cutoff-ghost {
  display: grid;
  gap: 8px;
  filter: blur(3px);
  opacity: 0.6;
}

.preview-cutoff-ghost span {
  display: block;
  height: 14px;
  border-radius: 999px;
  background: rgba(144, 196, 255, 0.22);
}

.preview-cutoff-ghost span:nth-child(1) {
  width: 94%;
}

.preview-cutoff-ghost span:nth-child(2) {
  width: 81%;
}

.preview-cutoff-ghost span:nth-child(3) {
  width: 67%;
}

.preview-hidden-count {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  margin: 0;
  z-index: 1;
  color: var(--text);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preview-conversion-line {
  margin: 0;
  color: var(--text);
  text-align: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preview-bullet-pair {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  display: grid;
  gap: 10px;
  background: rgba(255, 255, 255, 0.01);
}

:root[data-theme="synthwave-light"] .preview-bullet-pair {
  background: rgba(255, 255, 255, 0.54);
}

body.synthwave-light .preview-bullet-pair {
  background: rgba(255, 255, 255, 0.54);
}

.preview-bullet-pair.is-empty {
  color: var(--muted);
}

.preview-bullet-source {
  margin: 0;
  color: var(--quiet);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

.preview-bullet-block {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  display: grid;
  gap: 6px;
}

.preview-bullet-block.before {
  background: rgba(255, 148, 204, 0.1);
}

.preview-bullet-block.after {
  background: rgba(144, 196, 255, 0.12);
}

.preview-bullet-label {
  margin: 0;
  color: var(--quiet);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.preview-bullet-text {
  margin: 0;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.5;
}

.execution-lock-panel {
  display: grid;
  gap: 12px;
}

.execution-lock-preview {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  min-height: 128px;
  overflow: hidden;
  background: rgba(8, 8, 9, 0.88);
}

:root[data-theme="synthwave-light"] .execution-lock-preview {
  background: rgba(255, 255, 255, 0.74);
}

body.synthwave-light .execution-lock-preview {
  background: rgba(255, 255, 255, 0.74);
}

.execution-lock-preview__content {
  padding: 12px;
  filter: blur(5px);
  opacity: 0.65;
  user-select: none;
}

.execution-lock-line {
  margin: 0 0 8px;
  color: var(--text);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
}

.execution-lock-line:last-child {
  margin-bottom: 0;
}

.execution-lock-preview__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(180deg, rgba(5, 5, 6, 0.34), rgba(5, 5, 6, 0.58));
}

:root[data-theme="synthwave-light"] .execution-lock-preview__overlay {
  background: linear-gradient(180deg, rgba(255, 250, 255, 0.35), rgba(255, 250, 255, 0.56));
}

body.synthwave-light .execution-lock-preview__overlay {
  background: linear-gradient(180deg, rgba(255, 250, 255, 0.35), rgba(255, 250, 255, 0.56));
}

.execution-lock-copy {
  margin: 0;
  color: var(--muted);
}

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

.conversion-branch-card {
  display: grid;
  gap: 10px;
}

.conversion-branch-card h4 {
  margin: 0;
  font-family: "Antonio", sans-serif;
  font-size: clamp(1.25rem, 2.8vw, 1.8rem);
  line-height: 1;
  text-transform: uppercase;
}

.missing-asset-list {
  display: grid;
  gap: 6px;
}

body.modal-open {
  overflow: hidden;
}

.checkout-modal-shell[hidden] {
  display: none !important;
}

.checkout-modal-shell {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 22px;
}

.checkout-modal-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(4, 4, 6, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.checkout-modal-card {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(12, 12, 14, 0.96);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
  padding: 18px;
  display: grid;
  gap: 14px;
}

:root[data-theme="synthwave-light"] .checkout-modal-card {
  background: rgba(255, 255, 255, 0.96);
}

body.synthwave-light .checkout-modal-card {
  background: rgba(255, 255, 255, 0.96);
}

.checkout-modal-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.checkout-modal-head h3 {
  margin: 4px 0 0;
  font-family: "Antonio", sans-serif;
  font-size: clamp(1.55rem, 4vw, 2.2rem);
  line-height: 1;
  text-transform: uppercase;
}

.checkout-modal-copy {
  margin: 8px 0 0;
  color: var(--muted);
  max-width: 54ch;
}

.checkout-modal-close {
  flex-shrink: 0;
}

.checkout-modal-email-row {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
  display: grid;
  gap: 4px;
}

:root[data-theme="synthwave-light"] .checkout-modal-email-row {
  background: rgba(17, 17, 24, 0.04);
}

body.synthwave-light .checkout-modal-email-row {
  background: rgba(17, 17, 24, 0.04);
}

.checkout-modal-email-row span {
  margin: 0;
  color: var(--quiet);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.checkout-modal-email-row input {
  width: 100%;
}

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

.checkout-plan-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.02);
  display: grid;
  gap: 10px;
}

:root[data-theme="synthwave-light"] .checkout-plan-card {
  background: rgba(17, 17, 24, 0.04);
}

body.synthwave-light .checkout-plan-card {
  background: rgba(17, 17, 24, 0.04);
}

.checkout-plan-card h4 {
  margin: 0;
  font-family: "Antonio", sans-serif;
  font-size: clamp(1.55rem, 4vw, 2.2rem);
  line-height: 1;
}

.checkout-plan-card p {
  margin: 0;
}

.checkout-plan-btn {
  width: 100%;
  justify-content: center;
}

.checkout-success-shell {
  display: grid;
  gap: 18px;
}

.checkout-success-hero {
  display: grid;
  gap: 14px;
}

.checkout-success-copy {
  max-width: 720px;
}

.checkout-success-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.messaging-panel {
  margin-top: 8px;
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

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

.editor-compact {
  min-height: 190px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.86rem;
}

.review-panel .editor.editor-compact {
  min-height: 190px;
}

.diff-legend {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.diff-unified,
.diff-split {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(8, 8, 9, 0.88);
}

:root[data-theme="synthwave-light"] .diff-unified,
:root[data-theme="synthwave-light"] .diff-split {
  background: rgba(255, 255, 255, 0.76);
}

body.synthwave-light .diff-unified,
body.synthwave-light .diff-split {
  background: rgba(255, 255, 255, 0.76);
}

.diff-line {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 8px;
  padding: 7px 10px;
  border-top: 1px solid var(--line);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  line-height: 1.35;
}

.diff-line:first-child {
  border-top: 0;
}

.diff-marker {
  color: var(--quiet);
  text-align: center;
}

.diff-content {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.diff-line.added {
  background: rgba(144, 196, 255, 0.2);
}

.diff-line.removed {
  background: rgba(255, 148, 204, 0.2);
}

.diff-split-head,
.diff-split-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.diff-split-head {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.diff-split-head span {
  padding: 8px 10px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-left: 1px solid var(--line);
}

.diff-split-head span:first-child {
  border-left: 0;
}

.diff-split-row {
  border-top: 1px solid var(--line);
}

.diff-split-row:first-child {
  border-top: 0;
}

.diff-cell {
  padding: 8px 10px;
  border-left: 1px solid var(--line);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  line-height: 1.35;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.diff-cell:first-child {
  border-left: 0;
}

.diff-cell.added {
  background: rgba(144, 196, 255, 0.2);
}

.diff-cell.removed {
  background: rgba(255, 148, 204, 0.2);
}

.diff-cell.empty {
  color: var(--quiet);
  background: rgba(255, 255, 255, 0.02);
}

.closing h2 {
  margin: 8px 0;
  font-family: "Antonio", sans-serif;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 3.4vw, 2.8rem);
  line-height: 1;
}

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

.pricing-hero h1 {
  max-width: 12ch;
}

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

.pricing-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  padding: clamp(18px, 2.9vw, 28px);
  display: grid;
  gap: 10px;
}

.pricing-card.featured {
  border-color: var(--line-strong);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.plan-price {
  margin: 0;
  font-family: "Antonio", sans-serif;
  font-size: clamp(2rem, 5.2vw, 3.2rem);
  line-height: 1;
  letter-spacing: 0.03em;
}

.plan-copy {
  margin: 0;
  color: var(--muted);
}

.pricing-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 7px;
}

.buy-plan-btn {
  margin-top: 8px;
  width: fit-content;
}

.pricing-status-panel {
  display: grid;
  gap: 10px;
}

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

.auth-card {
  display: grid;
  gap: 10px;
}

.landing-hero h1 {
  max-width: 16ch;
}

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

.audience-card {
  display: grid;
  gap: 10px;
}

.audience-card h3 {
  margin: 0;
  font-family: "Antonio", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.audience-copy {
  margin: 0;
  color: var(--muted);
}

.featured-audience {
  border-color: var(--line-strong);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.pill-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 7px;
}

.cta-row {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.demo-grid {
  display: grid;
  gap: 14px;
  align-items: start;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
}

.demo-wrap {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(8, 8, 9, 0.9);
  padding: 12px;
}

.demo-video {
  width: 100%;
  max-height: 520px;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #070707;
}

.demo-note h3 {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.demo-note p {
  margin: 0;
  color: var(--muted);
}

.cta-band {
  display: grid;
  gap: 10px;
}

.cta-band h2 {
  margin: 0;
  font-family: "Antonio", sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  line-height: 1;
  text-transform: uppercase;
}

.blog-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.blog-category-grid {
  margin: 12px 0 14px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.blog-category-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.01);
  padding: 10px 11px;
  text-decoration: none;
  display: grid;
  gap: 6px;
  transition: border-color 0.16s ease, transform 0.16s ease;
}

:root[data-theme="synthwave-light"] .blog-category-card {
  background: rgba(255, 255, 255, 0.52);
}

body.synthwave-light .blog-category-card {
  background: rgba(255, 255, 255, 0.52);
}

.blog-category-card p {
  margin: 0;
  color: var(--text);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-category-card span {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

.blog-category-card strong {
  color: var(--quiet);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.blog-category-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.blog-category-card.is-active {
  border-color: var(--line-strong);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.blog-card {
  display: grid;
  gap: 10px;
}

.blog-card-media {
  display: block;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  aspect-ratio: 16 / 9;
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.blog-card h3 {
  margin: 0;
  font-family: "Antonio", sans-serif;
  font-size: clamp(1.4rem, 2.7vw, 2rem);
  line-height: 1;
  text-transform: uppercase;
}

.blog-card h3 a {
  color: var(--text);
  text-decoration: none;
}

.blog-card h3 a:hover {
  color: var(--accent);
}

.blog-excerpt {
  margin: 0;
  color: var(--muted);
}

.blog-meta {
  margin: 0;
  color: var(--quiet);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-post-title {
  margin: 8px 0 10px;
  font-family: "Antonio", sans-serif;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 0.95;
  text-transform: uppercase;
  max-width: 18ch;
}

.blog-post-hero {
  margin: 8px 0 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.blog-post-hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.blog-article {
  margin-top: 8px;
  color: var(--muted);
  display: grid;
  gap: 10px;
}

.blog-article h2 {
  margin: 14px 0 2px;
  color: var(--text);
  font-family: "Antonio", sans-serif;
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  line-height: 1;
  text-transform: uppercase;
}

.blog-article p {
  margin: 0;
}

.blog-article ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 6px;
}

.blog-article a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
}

.blog-article a:hover {
  border-bottom-color: var(--text);
}

.blog-faq-list {
  display: grid;
  gap: 10px;
}

.blog-faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.01);
  padding: 10px 12px;
}

:root[data-theme="synthwave-light"] .blog-faq-item {
  background: rgba(255, 255, 255, 0.5);
}

body.synthwave-light .blog-faq-item {
  background: rgba(255, 255, 255, 0.5);
}

.blog-faq-item summary {
  cursor: pointer;
  color: var(--text);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-faq-item p {
  margin: 10px 0 0;
  color: var(--muted);
}

.admin-auth-panel {
  display: grid;
  gap: 12px;
}

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

.admin-action-row {
  justify-content: flex-start;
}

.admin-filter-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.compact-field {
  width: min(220px, 100%);
}

.compact-field select,
.compact-field input[type="number"] {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(8, 8, 9, 0.9);
  color: var(--text);
  padding: 10px 12px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
}

:root[data-theme="synthwave-light"] .compact-field select,
:root[data-theme="synthwave-light"] .compact-field input[type="number"] {
  background: rgba(255, 255, 255, 0.92);
}

body.synthwave-light .compact-field select,
body.synthwave-light .compact-field input[type="number"] {
  background: rgba(255, 255, 255, 0.92);
}

.admin-metrics {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric-card {
  display: grid;
  gap: 6px;
  align-content: start;
}

.metric-card p {
  margin: 0;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.metric-card strong {
  font-family: "Antonio", sans-serif;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1;
  letter-spacing: 0.02em;
}

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

.admin-grid-wide {
  grid-template-columns: 1.2fr 1fr;
}

.admin-subhead {
  margin: 6px 0 0;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.data-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.9rem;
}

.data-list-empty {
  color: var(--quiet);
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 540px;
}

.admin-table th,
.admin-table td {
  border-top: 1px solid var(--line);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
}

.admin-table th {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.admin-table tbody tr:first-child td {
  border-top: 1px solid var(--line);
}

.site-footer {
  width: min(1140px, 92vw);
  margin: 0 auto 30px;
  padding: 12px 0 6px;
  color: var(--quiet);
  text-align: center;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 1px;
}

.site-footer a:hover {
  border-bottom-color: var(--text);
}

.motion-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 680ms ease, transform 680ms ease;
}

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

@media (max-width: 1060px) {
  .step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .synthia-command-grid {
    grid-template-columns: 1fr;
  }

  .studio-aside {
    order: -1;
  }

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

  .admin-grid,
  .admin-grid-wide {
    grid-template-columns: 1fr;
  }

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

  .insights-lists {
    grid-template-columns: 1fr;
  }

  .preview-output-grid,
  .conversion-branch-grid,
  .flow-preferences {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 760px) {
  .topbar {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .topbar nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  .hero-metrics,
  .proof-strip,
  .step-grid,
  .pricing-grid,
  .audience-grid,
  .auth-grid,
  .admin-auth-grid,
  .admin-metrics {
    grid-template-columns: 1fr;
  }

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

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

  .preview-bullet-grid {
    grid-template-columns: 1fr;
  }

  .checkout-plan-grid {
    grid-template-columns: 1fr;
  }

  .checkout-modal-shell {
    padding: 14px;
  }

  .checkout-modal-head {
    flex-direction: column;
  }

  .synthia-controls {
    grid-template-columns: 1fr;
  }

  .synthia-briefing-grid {
    grid-template-columns: 1fr;
  }

  .admin-filter-row {
    flex-direction: column;
  }

  .panel,
  .marketing-section,
  .studio,
  .closing {
    padding: 14px;
  }

  .diff-split-head,
  .diff-split-row {
    grid-template-columns: 1fr;
  }

  .diff-split-head span,
  .diff-cell {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .diff-split-head span:first-child,
  .diff-cell:first-child {
    border-top: 0;
  }

  .review-panel .editor {
    min-height: 340px;
  }
}
