:root {
  --page: #f2f3ef;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --surface-dark: #0f1721;
  --surface-dark-soft: #17212d;
  --ink: #131821;
  --ink-soft: #435061;
  --muted: #697688;
  --line: rgba(19, 24, 33, 0.10);
  --line-strong: rgba(19, 24, 33, 0.18);
  --accent: #c86e2f;
  --accent-soft: #f2d8c2;
  --sage: #8fa488;
  --shadow: 0 18px 44px rgba(19, 24, 33, 0.10);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(242, 243, 239, 0.92)),
    var(--page);
  color: var(--ink);
  font-family: "Manrope", "Helvetica Neue", sans-serif;
}

button,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.seed-action[aria-busy="true"],
.rotate-btn[aria-busy="true"] {
  opacity: 0.72;
  cursor: default;
}

.seed-action[aria-busy="true"] {
  border-color: rgba(200, 110, 47, 0.52);
  background: linear-gradient(135deg, rgba(242, 216, 194, 0.92), rgba(255, 255, 255, 0.92));
  color: var(--ink);
  box-shadow: 0 10px 22px rgba(200, 110, 47, 0.14);
}

.seed-action[aria-busy="true"]::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 2px solid rgba(19, 24, 33, 0.24);
  border-top-color: rgba(200, 110, 47, 0.92);
  display: inline-block;
  margin-right: 8px;
  animation: spin 0.9s linear infinite;
  vertical-align: -2px;
}

.seed-action:disabled,
.rotate-btn:disabled {
  opacity: 0.58;
  cursor: not-allowed;
  border-color: rgba(19, 24, 33, 0.12);
  background: rgba(255, 255, 255, 0.52);
}

.rotate-btn[aria-busy="true"] {
  border-color: rgba(200, 110, 47, 0.38);
  background: rgba(242, 216, 194, 0.66);
  color: var(--ink);
}

.rotate-btn {
  display: inline-grid;
  place-items: center;
}

.rotate-btn::before {
  content: "↻";
  display: block;
  line-height: 1;
  font-size: 16px;
  color: currentColor;
}

.rotate-btn[aria-busy="true"]::before {
  animation: spin 0.9s linear infinite;
}

.site-shell {
  width: min(1500px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 18px 0 30px;
}

.landing-screen,
.workspace-screen {
  display: block;
}

.site-shell[data-view="landing"] .workspace-screen,
.site-shell[data-view="workspace"] .landing-screen {
  display: none;
}

.site-nav,
.workspace-topbar,
.workspace {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.site-nav,
.workspace-topbar {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 18px;
  border-radius: 22px;
}

.brand,
.nav-actions,
.workspace-actions,
.output-meta,
.prompt-toolbar,
.parameter-grid {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  background: #121722;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 20px;
  font-weight: 800;
}

.brand-copy span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.nav-actions,
.workspace-actions {
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-chip,
.seed-action,
.mode-option,
.feedback,
.platform,
.variant-option,
.prompt-toolbar button,
.component-card button,
.secondary-link {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-soft);
  min-height: 38px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
}

.nav-chip:hover,
.seed-action:hover,
.mode-option:hover,
.feedback:hover,
.platform:hover,
.variant-option:hover,
.component-card button:hover,
.secondary-link:hover {
  border-color: rgba(19, 24, 33, 0.24);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
}

.primary-chip,
.cta-button {
  border: 0;
  background: var(--ink);
  color: #fff;
}

.hero-landing {
  position: relative;
  margin-top: 16px;
  min-height: 640px;
  padding: 42px;
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(8, 13, 19, 0.72), rgba(8, 13, 19, 0.16)),
    url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1800&q=80") center/cover;
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: 28px;
  box-shadow: var(--shadow);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 23, 33, 0.10), rgba(15, 23, 33, 0.38)),
    linear-gradient(90deg, rgba(15, 23, 33, 0.66), rgba(15, 23, 33, 0.18));
}

.hero-content,
.hero-proof {
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(54px, 6vw, 86px);
  line-height: 0.95;
  font-weight: 600;
  letter-spacing: 0;
  max-width: 900px;
}

.hero-subcopy {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.80);
  font-size: 18px;
  line-height: 1.8;
}

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

.cta-button,
.secondary-link {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
}

.cta-button {
  font-size: 14px;
  font-weight: 800;
}

.secondary-link {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}

.hero-proof {
  align-self: end;
  display: grid;
  gap: 12px;
}

.proof-card,
.proof-grid div {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(9, 14, 20, 0.58);
  backdrop-filter: blur(12px);
}

.proof-card {
  padding: 18px;
}

.proof-card span,
.proof-grid span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.proof-card strong,
.proof-grid strong {
  display: block;
  color: rgba(255, 255, 255, 0.94);
  font-size: 18px;
  line-height: 1.5;
}

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

.proof-grid div {
  min-height: 118px;
  padding: 16px;
}

.proof-grid strong {
  font-size: 15px;
}

.value-strip {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.value-strip article {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface-strong);
  padding: 20px;
  box-shadow: var(--shadow);
}

.value-strip span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.value-strip strong {
  display: block;
  font-size: 18px;
  line-height: 1.55;
}

.landing-band {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  padding: 34px;
}

.section-intro {
  max-width: 860px;
  display: grid;
  gap: 14px;
}

.section-kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-intro h2,
.process-step h3 {
  margin: 0;
  letter-spacing: 0;
}

.section-intro h2 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.18;
  font-weight: 800;
}

.section-intro p,
.story-card p,
.usecase-card p,
.process-step p,
.platform-notes p,
.landing-cta-panel strong {
  color: var(--ink-soft);
  line-height: 1.8;
}

.narrative-grid,
.usecase-grid {
  margin-top: 28px;
  display: grid;
  gap: 16px;
}

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

.story-card,
.usecase-card,
.platform-notes article {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  padding: 22px;
}

.story-card span,
.usecase-card span,
.platform-notes span,
.landing-cta-panel span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.story-card strong,
.usecase-card strong,
.landing-cta-panel strong {
  display: block;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.45;
}

.usecase-band {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 246, 241, 0.96));
}

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

.process-band {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(247, 242, 235, 0.92));
}

.process-layout {
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 18px;
  align-items: start;
}

.process-steps,
.platform-notes {
  display: grid;
  gap: 14px;
}

.process-step {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  padding: 20px 22px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
}

.process-step strong {
  width: 56px;
  height: 56px;
  display: inline-grid;
  place-items: center;
  border-radius: 18px;
  background: var(--ink);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.process-step h3 {
  font-size: 22px;
  font-weight: 800;
}

.platform-notes article {
  min-height: 138px;
}

.platform-notes span {
  color: var(--ink);
}

.landing-cta-panel {
  margin-top: 22px;
  border-radius: 24px;
  background: #171d26;
  color: #fff;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.landing-cta-panel span {
  color: rgba(255, 255, 255, 0.56);
}

.landing-cta-panel strong {
  color: #fff;
  max-width: 680px;
}

.landing-screen {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  padding: 18px 0 56px;
  color: #f5f7fb;
  background:
    radial-gradient(circle at 18% 14%, rgba(124, 158, 255, 0.18), transparent 22%),
    radial-gradient(circle at 82% 16%, rgba(52, 94, 255, 0.14), transparent 18%),
    linear-gradient(180deg, rgba(4, 8, 15, 0.90), rgba(4, 8, 15, 0.96)),
    url("https://images.unsplash.com/photo-1519608487953-e999c86e7455?auto=format&fit=crop&w=1800&q=80") center top / cover;
  border-radius: 42px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
  isolation: isolate;
}

.landing-backdrop {
  display: none;
}

.landing-screen > * {
  position: relative;
  z-index: 1;
}

.landing-screen .site-nav {
  position: sticky;
  top: 14px;
  z-index: 5;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(8, 12, 20, 0.66);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}

.landing-screen .brand-copy strong,
.landing-screen .nav-chip.primary-chip {
  color: #fff;
}

.landing-screen .brand-copy span {
  color: rgba(225, 232, 244, 0.62);
}

.landing-screen .nav-chip,
.landing-screen .secondary-link {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(232, 237, 247, 0.82);
}

.landing-screen .nav-chip:hover,
.landing-screen .secondary-link:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
}

.landing-screen .primary-chip,
.landing-screen .cta-button {
  background: linear-gradient(135deg, #f4f7fb, #d8e0ef);
  color: #0f1721;
}

.landing-screen .primary-chip:hover,
.landing-screen .cta-button:hover {
  background: linear-gradient(135deg, #ffffff, #e4eaf5);
}

.landing-section {
  width: min(1320px, calc(100vw - 64px));
  margin: 0 auto;
}

.hero-landing {
  min-height: 640px;
  margin-top: 28px;
  padding: 78px 0 54px;
  grid-template-columns: minmax(0, 860px);
  align-items: center;
  background: none;
  box-shadow: none;
  gap: 0;
}

.hero-overlay {
  display: none;
}

.hero-copy {
  max-width: 760px;
  display: grid;
  gap: 24px;
}

.hero-copy h1 {
  max-width: 920px;
  font-size: clamp(60px, 6.6vw, 98px);
  line-height: 0.94;
  color: #f8fafc;
}

.hero-subcopy {
  max-width: 600px;
  font-size: 17px;
  color: rgba(229, 235, 244, 0.72);
}

.eyebrow {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(243, 247, 253, 0.86);
}

.stage-panel span,
.stage-chip span,
.overview-lines span,
.editorial-step span,
.scene-item span,
.journey-steps span,
.aside-card span {
  display: block;
  margin-bottom: 10px;
  color: rgba(219, 227, 240, 0.48);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 560px;
}

.hero-metrics div {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-metrics span {
  display: block;
  color: rgba(215, 224, 238, 0.54);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hero-metrics strong {
  display: block;
  margin-top: 8px;
  font-size: 20px;
  color: #f8fafc;
}

.landing-overview,
.editorial-section,
.scenes-section,
.journey-section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 80px 0 0;
}

.landing-overview {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: start;
  margin-top: 8px;
  padding: 42px 46px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(245, 247, 251, 0.96), rgba(233, 239, 248, 0.94));
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.18);
}

.overview-intro h2,
.section-intro h2 {
  color: #f8fafc;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.08;
}

.section-kicker {
  color: #aab7cf;
}

.landing-overview .section-kicker {
  color: #6a7b92;
}

.landing-overview .overview-intro h2 {
  color: #101923;
}

.overview-lines {
  display: grid;
  gap: 10px;
}

.overview-lines article {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.overview-lines article:last-child {
  border-bottom: 0;
}

.overview-lines strong {
  display: block;
  font-size: 22px;
  line-height: 1.5;
  color: #1d2733;
}

.landing-overview .overview-lines span {
  color: rgba(74, 89, 110, 0.56);
}

.editorial-section {
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(0, 1.22fr);
  gap: 40px;
  align-items: start;
  margin-top: 22px;
  padding-top: 54px;
}

.editorial-rail {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 16px;
}

.rail-card,
.scene-item,
.aside-card {
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
}

.rail-card {
  padding: 26px;
}

.rail-card-main strong {
  display: block;
  color: #f7f9fc;
  font-size: 28px;
  line-height: 1.24;
}

.rail-card p,
.editorial-step p,
.scene-item p,
.journey-steps p,
.aside-card p,
.overview-intro p,
.section-intro p {
  color: rgba(218, 226, 239, 0.72);
  line-height: 1.8;
}

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

.rail-card-group .rail-card strong {
  color: #f6f8fd;
  font-size: 20px;
  line-height: 1.45;
}

.editorial-copy {
  display: grid;
  gap: 22px;
}

.editorial-steps {
  display: grid;
  gap: 8px;
}

.editorial-step {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.editorial-step strong {
  display: block;
  color: #f7f9fd;
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 8px;
}

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

.scenes-section {
  margin-top: 22px;
  padding: 44px 46px 0;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(20, 30, 48, 0.86), rgba(9, 16, 30, 0.74));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.20);
}

.scenes-section .section-intro {
  max-width: 760px;
}

.scene-item,
.aside-card {
  padding: 24px;
}

.scene-item strong,
.aside-card strong {
  display: block;
  color: #f7f9fc;
  font-size: 22px;
  line-height: 1.35;
  margin-bottom: 8px;
}

.journey-grid {
  display: block;
}

.journey-copy,
.journey-aside,
.journey-steps {
  display: grid;
  gap: 18px;
}

.journey-section {
  margin-top: 22px;
  padding: 44px 46px 0;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(248, 250, 253, 0.98), rgba(233, 239, 247, 0.96));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.14);
  border-top: 0;
}

.journey-section .section-kicker {
  color: #60728b;
}

.journey-section .section-intro h2,
.journey-section .journey-steps article span {
  color: #121a24;
}

.journey-section .section-intro p {
  color: #5a6b81;
}

.journey-steps article {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.journey-section .journey-steps article {
  border-bottom-color: rgba(18, 26, 36, 0.08);
}

.journey-steps article strong {
  width: 72px;
  height: 72px;
  display: inline-grid;
  place-items: center;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  color: #101923;
  font-size: 18px;
  font-weight: 800;
}

.journey-section .journey-steps article strong {
  background: #121a24;
  color: #fff;
}

.journey-steps article span {
  color: #f7f9fc;
  font-size: 22px;
  letter-spacing: 0;
  text-transform: none;
}

.landing-screen .landing-cta-panel {
  margin-top: 28px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: linear-gradient(135deg, rgba(247, 250, 255, 0.94), rgba(215, 225, 242, 0.92));
  color: #101923;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.20);
}

.journey-section .landing-cta-panel {
  margin-top: 24px;
}

.landing-screen .landing-cta-panel span {
  color: rgba(16, 25, 35, 0.52);
}

.landing-screen .landing-cta-panel strong {
  color: #101923;
}

[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  transition: opacity 700ms ease, transform 700ms ease;
  will-change: opacity, transform;
}

[data-reveal="scale"] {
  transform: scale(0.96);
}

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

@keyframes driftGlow {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-12px, -18px, 0) scale(1.06);
  }
}

.workspace-screen {
  margin-top: 16px;
}

.workspace {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr) 440px;
  min-height: 720px;
  overflow: hidden;
  border-radius: 30px;
}

.input-panel,
.control-panel,
.output-panel {
  padding: 24px;
}

.input-panel,
.control-panel {
  border-right: 1px solid var(--line);
}

.input-panel,
.control-panel {
  background: rgba(255, 255, 255, 0.78);
}

.output-panel {
  background:
    radial-gradient(circle at top right, rgba(118, 138, 255, 0.14), transparent 24%),
    radial-gradient(circle at bottom left, rgba(92, 109, 153, 0.14), transparent 26%),
    linear-gradient(180deg, #121925, #18202c 42%, #151c27);
  color: #fff;
}

.panel-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.step {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.output-panel .step {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

h2 {
  font-size: 22px;
  font-weight: 800;
}

label,
.component-card span,
.negative-card span,
.parameter-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.output-panel h2,
.output-section-heading span,
.risk-heading span {
  color: #fff;
}

.input-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

textarea {
  width: 100%;
  min-height: 240px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--ink);
  padding: 18px;
  margin-top: 10px;
  line-height: 1.7;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

textarea:focus,
button:focus-visible,
.component-text:focus {
  outline: 3px solid rgba(200, 110, 47, 0.20);
  outline-offset: 2px;
}

.duration-block,
.mode-block {
  margin: 16px 0;
}

.mini-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}

.mode-switch,
.duration-options {
  display: grid;
  gap: 10px;
}

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

.mode-option,
.duration-option {
  width: 100%;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.mode-option {
  min-height: 46px;
  justify-content: center;
}

.duration-option {
  min-height: 66px;
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 10px;
  text-align: left;
  padding: 10px 12px;
}

.duration-option strong {
  color: var(--ink);
  font-size: 16px;
}

.duration-option span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.duration-option.active,
.mode-option.active,
.feedback.active {
  border-color: rgba(200, 110, 47, 0.24);
  background: linear-gradient(135deg, rgba(242, 216, 194, 0.78), rgba(255, 255, 255, 0.94));
  color: var(--ink);
}

.primary-action {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 18px;
  background: #171d26;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
}

.primary-action:hover {
  background: #0f141c;
}

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

.component-card {
  min-height: 152px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr 38px;
  grid-template-rows: auto 1fr;
  gap: 10px;
}

.component-text {
  grid-column: 1 / 2;
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  min-height: 72px;
  max-height: 120px;
  overflow: auto;
  scrollbar-gutter: stable;
  color: var(--ink);
  border-radius: 12px;
  padding: 4px 6px;
  outline: none;
  white-space: pre-wrap;
  word-break: break-word;
}

.component-text:hover {
  background: rgba(242, 216, 194, 0.42);
}

.component-card button {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 10px;
  justify-self: end;
  align-self: start;
}

.refine-panel {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.refine-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.refine-heading span {
  font-size: 15px;
  font-weight: 800;
}

.refine-heading strong {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.refine-group {
  display: grid;
  grid-template-columns: 92px repeat(3, minmax(0, auto));
  align-items: center;
  gap: 8px;
  margin-top: 9px;
}

.refine-group > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.output-section {
  margin-bottom: 16px;
  padding: 0 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
}

.output-section-heading {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.output-section-heading strong {
  max-width: 320px;
  color: rgba(222, 230, 242, 0.62);
  font-size: 12px;
  line-height: 1.6;
}

.platform-switch {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.output-panel .platform {
  min-height: 46px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(236, 241, 249, 0.74);
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.output-panel .platform.active {
  background: #f4f7fc;
  border-color: #f4f7fc;
  color: #111925;
  box-shadow: 0 10px 22px rgba(7, 11, 18, 0.18);
}

.output-meta {
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 800;
  flex-wrap: wrap;
}

.output-meta span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  padding: 0 12px;
  color: rgba(233, 238, 246, 0.74);
}

.prompt-card,
.negative-card,
.risk-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(10, 15, 23, 0.26);
  backdrop-filter: blur(12px);
}

.prompt-toolbar {
  justify-content: space-between;
  padding: 16px 16px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 800;
  color: rgba(247, 250, 255, 0.96);
}

.prompt-toolbar button {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #f4f7fc;
  color: #111925;
}

.variant-switch {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0 16px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.variant-option {
  min-height: 64px;
  display: grid;
  gap: 4px;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(240, 244, 250, 0.84);
}

.variant-option strong,
.variant-option span {
  display: block;
}

.variant-option strong {
  font-size: 13px;
}

.variant-option span {
  color: rgba(222, 230, 242, 0.50);
  font-size: 11px;
  font-weight: 700;
}

.variant-option.active {
  background: linear-gradient(180deg, #f4f7fc, #e8eef8);
  border-color: #eef3fb;
  color: #101925;
  box-shadow: 0 10px 24px rgba(8, 13, 20, 0.16);
}

.variant-option.active span {
  color: #536173;
}

#promptOutput {
  display: block;
  width: 100%;
  min-height: 330px;
  margin: 0;
  padding: 18px 16px 20px;
  border: 0;
  border-radius: 0 0 20px 20px;
  resize: vertical;
  background: transparent;
  color: rgba(244, 247, 252, 0.94);
  font-size: 14px;
  line-height: 1.9;
  box-shadow: none;
}

.negative-card,
.risk-card {
  margin-top: 12px;
  padding: 16px;
}

.negative-card p {
  margin-top: 8px;
  color: rgba(226, 233, 244, 0.68);
  line-height: 1.72;
}

.parameter-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.parameter-grid div {
  min-height: 84px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.parameter-grid strong {
  display: block;
  margin-top: 10px;
  color: #f7f9fd;
  font-size: 15px;
  line-height: 1.45;
}

.risk-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.risk-heading strong {
  min-width: 64px;
  border-radius: 999px;
  padding: 6px 10px;
  background: #f4f7fc;
  color: #111925;
  text-align: center;
  font-size: 12px;
}

#riskList {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 10px 0 0;
  list-style: none;
}

#riskList li {
  color: rgba(225, 232, 243, 0.70);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
}

#toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 18px);
  opacity: 0;
  pointer-events: none;
  border: 1px solid rgba(19, 24, 33, 0.10);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  padding: 10px 14px;
  color: var(--ink);
  font-weight: 800;
  box-shadow: var(--shadow);
  transition: 180ms ease;
}

#toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

@media (max-width: 1240px) {
  .hero-landing,
  .workspace {
    grid-template-columns: 1fr;
  }

  .landing-overview,
  .editorial-section,
  .scene-list {
    grid-template-columns: 1fr;
  }

  .editorial-rail {
    position: static;
  }

  .hero-proof {
    align-self: stretch;
  }

  .input-panel,
  .control-panel {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 860px) {
  .site-shell {
    width: min(100vw - 18px, 860px);
    padding-top: 10px;
  }

  .site-nav,
  .workspace-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .landing-section {
    width: min(100vw - 24px, 1320px);
  }

  .hero-landing {
    min-height: auto;
    padding: 32px 0 18px;
  }

  .hero-copy h1 {
    font-size: clamp(48px, 14vw, 72px);
  }

  .hero-metrics,
  .rail-card-group,
  .scene-list {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(38px, 12vw, 58px);
  }

  .hero-subcopy {
    font-size: 16px;
  }

  .proof-grid,
  .value-strip,
  .component-grid,
  .parameter-grid,
  .platform-switch,
  .mode-switch {
    grid-template-columns: 1fr;
  }

  .refine-group {
    grid-template-columns: 1fr;
  }

  .landing-cta-panel,
  .journey-steps article {
    flex-direction: column;
    align-items: flex-start;
  }

  .journey-steps article {
    grid-template-columns: 1fr;
  }

  .variant-switch {
    grid-template-columns: 1fr;
  }
}

/* Landing v2 */
.landing-screen {
  position: relative;
  overflow: hidden;
  padding: 18px 0 72px;
  color: #f3f7ff;
  background:
    radial-gradient(circle at 12% 10%, rgba(81, 131, 255, 0.20), transparent 22%),
    radial-gradient(circle at 86% 18%, rgba(0, 221, 255, 0.12), transparent 16%),
    linear-gradient(180deg, rgba(6, 10, 19, 0.96), rgba(6, 10, 19, 0.98)),
    url("https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1800&q=80") center top / cover;
  border-radius: 40px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.30);
}

.landing-screen .site-nav {
  position: sticky;
  top: 14px;
  z-index: 6;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(7, 10, 18, 0.72);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.landing-screen .brand-copy strong,
.landing-screen .nav-chip.primary-chip {
  color: #fff;
}

.landing-screen .brand-copy span {
  color: rgba(217, 226, 241, 0.58);
}

.landing-screen .nav-chip,
.landing-screen .secondary-link {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(230, 237, 247, 0.82);
}

.landing-screen .nav-chip:hover,
.landing-screen .secondary-link:hover {
  border-color: rgba(255, 255, 255, 0.20);
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
}

.landing-screen .primary-chip,
.landing-screen .cta-button {
  background: linear-gradient(135deg, #eef3ff, #dce7ff);
  color: #111927;
}

.landing-screen .primary-chip:hover,
.landing-screen .cta-button:hover {
  background: linear-gradient(135deg, #ffffff, #e9f0ff);
}

.landing-section {
  width: min(1380px, calc(100vw - 72px));
  margin: 0 auto;
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.98fr);
  gap: 34px;
  min-height: 760px;
  align-items: center;
  padding: 64px 0 32px;
}

.landing-hero-copy {
  display: grid;
  gap: 24px;
  max-width: 720px;
}

.landing-label {
  width: fit-content;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(220, 230, 244, 0.72);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.landing-hero-copy h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(76px, 8vw, 122px);
  line-height: 0.9;
  letter-spacing: 0;
  color: #f8fbff;
}

.landing-lead {
  max-width: 620px;
  color: rgba(218, 226, 241, 0.74);
  font-size: 18px;
  line-height: 1.8;
}

.landing-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.landing-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 560px;
  margin-top: 10px;
}

.landing-hero-stats article {
  padding: 16px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.landing-hero-stats span,
.band-kicker,
.dark-card span,
.dark-list span,
.scenario-card span,
.flow-header .section-kicker,
.flow-line span,
.landing-cta-panel span {
  display: block;
  color: rgba(210, 220, 236, 0.56);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.landing-hero-stats strong {
  display: block;
  margin-top: 10px;
  font-size: 28px;
  color: #fff;
}

.landing-hero-visual {
  position: relative;
  min-height: 620px;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.26);
}

.landing-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.04) brightness(0.76);
}

.landing-visual-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 72%, rgba(80, 118, 255, 0.42), transparent 22%),
    linear-gradient(180deg, rgba(7, 11, 19, 0.28), rgba(7, 11, 19, 0.74));
  backdrop-filter: blur(3px);
}

.landing-visual-panel,
.landing-mini-panel,
.dark-card,
.scenario-card,
.flow-line article {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(12, 18, 29, 0.62);
  backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.landing-visual-panel {
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  border-radius: 28px;
  padding: 22px 24px;
}

.landing-visual-panel strong {
  display: block;
  margin-top: 12px;
  font-size: 30px;
  line-height: 1.35;
  color: #f5f8fd;
}

.landing-visual-grid {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.landing-mini-panel {
  min-height: 132px;
  border-radius: 22px;
  padding: 18px;
}

.landing-mini-panel strong {
  display: block;
  margin-top: 12px;
  font-size: 24px;
  line-height: 1.35;
  color: #f8fbff;
}

.landing-band-light,
.landing-band-dark,
.landing-band-grid,
.landing-band-flow {
  margin-top: 28px;
}

.landing-band-light {
  padding: 42px 46px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(246, 249, 255, 0.98), rgba(228, 236, 248, 0.94));
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.16);
}

.band-intro {
  display: grid;
  gap: 12px;
  max-width: 760px;
}

.band-intro h2,
.section-intro h2,
.flow-header h2 {
  margin: 0;
  letter-spacing: 0;
}

.band-intro h2 {
  font-size: clamp(44px, 4vw, 66px);
  line-height: 1.06;
  color: #0f1721;
}

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

.band-grid article {
  padding-top: 16px;
  border-top: 1px solid rgba(17, 25, 39, 0.12);
}

.band-grid span {
  color: rgba(79, 92, 112, 0.58);
}

.band-grid strong {
  display: block;
  margin-top: 10px;
  color: #172130;
  font-size: 24px;
  line-height: 1.48;
}

.landing-band-dark {
  display: grid;
  grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1.18fr);
  gap: 36px;
  padding: 48px 0 0;
}

.band-dark-side,
.band-dark-copy,
.dark-card-pair,
.dark-list {
  display: grid;
  gap: 16px;
}

.dark-card {
  border-radius: 28px;
  padding: 24px;
}

.dark-card-main strong,
.dark-list strong,
.scenario-card strong {
  display: block;
  margin-top: 12px;
  color: #f7f9fd;
}

.dark-card-main strong {
  font-size: 38px;
  line-height: 1.16;
}

.dark-card-main p,
.section-intro p {
  color: rgba(219, 227, 239, 0.72);
  line-height: 1.8;
}

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

.dark-card-pair .dark-card strong {
  font-size: 22px;
  line-height: 1.35;
}

.section-intro {
  display: grid;
  gap: 12px;
  max-width: 760px;
}

.section-intro .section-kicker {
  color: #93a5c0;
}

.section-intro h2 {
  font-size: clamp(48px, 4.3vw, 72px);
  line-height: 1.04;
  color: #f7f9fd;
}

.dark-list article {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dark-list strong {
  font-size: 24px;
  line-height: 1.32;
}

.landing-band-grid {
  padding: 42px 46px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(11, 17, 30, 0.94), rgba(10, 16, 28, 0.84));
  box-shadow: 0 22px 62px rgba(0, 0, 0, 0.18);
}

.scenario-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.scenario-card {
  min-height: 220px;
  border-radius: 28px;
  padding: 24px;
}

.scenario-card strong {
  font-size: 28px;
  line-height: 1.25;
}

.scenario-card-light {
  background: linear-gradient(180deg, rgba(245, 248, 255, 0.98), rgba(227, 235, 248, 0.96));
  border-color: rgba(255, 255, 255, 0.28);
}

.scenario-card-light span {
  color: rgba(79, 92, 112, 0.62);
}

.scenario-card-light strong {
  color: #16202d;
}

.landing-band-flow {
  padding: 42px 46px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(247, 250, 255, 0.98), rgba(233, 239, 248, 0.96));
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.14);
}

.flow-header {
  display: grid;
  gap: 12px;
  max-width: 760px;
}

.flow-header .section-kicker {
  color: #5d718b;
}

.flow-header h2 {
  font-size: clamp(44px, 4vw, 66px);
  line-height: 1.06;
  color: #111a26;
}

.flow-line {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.flow-line article {
  min-height: 190px;
  border-radius: 26px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(12, 18, 29, 0.96), rgba(20, 28, 44, 0.92));
}

.flow-line article strong {
  width: 64px;
  height: 64px;
  display: inline-grid;
  place-items: center;
  border-radius: 20px;
  background: rgba(245, 249, 255, 0.94);
  color: #101923;
  font-size: 18px;
  font-weight: 800;
}

.flow-line span {
  display: block;
  margin-top: 24px;
  color: #f5f8fd;
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
}

.landing-screen .landing-cta-panel {
  margin-top: 22px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(13, 19, 31, 0.98), rgba(27, 38, 58, 0.94));
  color: #fff;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.18);
}

.landing-screen .landing-cta-panel span {
  color: rgba(226, 234, 246, 0.50);
}

.landing-screen .landing-cta-panel strong {
  color: #fff;
  max-width: 700px;
}

@media (max-width: 1240px) {
  .landing-hero,
  .landing-band-dark,
  .workspace {
    grid-template-columns: 1fr;
  }

  .band-grid,
  .scenario-grid,
  .flow-line {
    grid-template-columns: 1fr;
  }

  .landing-hero-visual {
    min-height: 520px;
  }

  .landing-hero-stats,
  .dark-card-pair {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .landing-section {
    width: min(100vw - 24px, 1380px);
  }

  .landing-hero {
    min-height: auto;
    padding: 36px 0 18px;
  }

  .landing-hero-copy h1 {
    font-size: clamp(48px, 14vw, 76px);
  }

  .landing-lead {
    font-size: 16px;
  }

  .landing-band-light,
  .landing-band-grid,
  .landing-band-flow {
    padding: 28px;
  }

  .landing-hero-stats,
  .landing-visual-grid,
  .dark-card-pair,
  .scenario-grid,
  .flow-line {
    grid-template-columns: 1fr;
  }
}

/* Landing remake */
.landing-screen {
  background:
    radial-gradient(circle at 14% 10%, rgba(111, 130, 255, 0.22), transparent 18%),
    radial-gradient(circle at 85% 24%, rgba(0, 187, 255, 0.14), transparent 16%),
    linear-gradient(180deg, #060d18 0%, #081120 26%, #0b1424 52%, #f3f6fb 52.1%, #eef3f9 74%, #0a1220 74.1%, #09111d 100%);
}

.landing-screen .site-nav {
  position: sticky;
  top: 18px;
  z-index: 20;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(6, 11, 20, 0.72);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.landing-screen .brand-copy strong,
.landing-screen .nav-chip.primary-chip {
  color: #f8fbff;
}

.landing-screen .brand-copy span {
  color: rgba(216, 224, 237, 0.62);
}

.landing-screen .nav-chip,
.landing-screen .secondary-link {
  border-color: rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(230, 236, 246, 0.78);
}

.landing-screen .nav-chip:hover,
.landing-screen .secondary-link:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.landing-screen .primary-chip,
.landing-screen .cta-button {
  background: #f6f8fc;
  color: #0e1725;
}

.landing-screen .primary-chip:hover,
.landing-screen .cta-button:hover {
  background: #fff;
}

.harness-hero,
.capability-section,
.product-section,
.workflow-section,
.cta-section {
  margin-top: 28px;
}

.harness-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 0.92fr);
  gap: 40px;
  min-height: 780px;
  align-items: center;
  padding: 58px 0 24px;
}

.harness-hero-copy {
  display: grid;
  gap: 24px;
  max-width: 720px;
}

.hero-kicker,
.section-kicker,
.orbit-card span,
.capability-card span,
.capability-highlight span,
.product-panel span,
.workflow-step span,
.cta-shell span {
  display: block;
  width: fit-content;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-kicker {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(216, 227, 244, 0.72);
}

.harness-hero-copy h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(78px, 8vw, 132px);
  line-height: 0.88;
  color: #f8fbff;
}

.hero-summary {
  max-width: 640px;
  color: rgba(219, 228, 242, 0.76);
  font-size: 18px;
  line-height: 1.85;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-trust {
  display: grid;
  gap: 14px;
  padding-top: 10px;
}

.hero-trust > span {
  color: rgba(215, 223, 236, 0.62);
  font-size: 13px;
  font-weight: 700;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row i {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(236, 240, 247, 0.82);
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
}

.hero-orbit {
  position: relative;
  min-height: 660px;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(8, 13, 22, 0.94), rgba(9, 15, 25, 0.84)),
    radial-gradient(circle at 70% 24%, rgba(111, 129, 255, 0.16), transparent 24%);
  overflow: hidden;
  box-shadow: 0 28px 88px rgba(0, 0, 0, 0.32);
}

.orbit-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.34));
}

.orbit-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(32px);
}

.orbit-glow-a {
  top: 70px;
  right: 80px;
  width: 240px;
  height: 240px;
  background: rgba(87, 113, 255, 0.20);
  animation: orbitFloat 8s ease-in-out infinite;
}

.orbit-glow-b {
  bottom: 80px;
  left: 40px;
  width: 220px;
  height: 220px;
  background: rgba(0, 212, 255, 0.10);
  animation: orbitFloat 10s ease-in-out infinite reverse;
}

.orbit-card {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(15, 22, 35, 0.74);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.orbit-card span,
.cta-shell span {
  color: rgba(215, 225, 240, 0.56);
}

.orbit-card strong,
.capability-card strong,
.capability-highlight strong,
.product-panel strong,
.workflow-step strong {
  display: block;
  margin-top: 12px;
}

.orbit-card p,
.capability-card p,
.capability-highlight p,
.product-panel p,
.workflow-step p {
  margin: 12px 0 0;
  line-height: 1.75;
}

.orbit-card-main {
  top: 26px;
  left: 26px;
  right: 26px;
  padding: 26px;
  border-radius: 28px;
}

.orbit-card-main strong {
  color: #fbfdff;
  font-size: 42px;
  line-height: 1.16;
}

.orbit-card-main p,
.orbit-card-top p,
.orbit-card-left p,
.orbit-card-right p {
  color: rgba(221, 229, 242, 0.68);
}

.orbit-card-top,
.orbit-card-left,
.orbit-card-right {
  width: 240px;
  padding: 20px;
  border-radius: 24px;
}

.orbit-card-top {
  top: 220px;
  right: 26px;
}

.orbit-card-left {
  left: 26px;
  bottom: 110px;
}

.orbit-card-right {
  right: 26px;
  bottom: 110px;
}

.orbit-card-top strong,
.orbit-card-left strong,
.orbit-card-right strong {
  color: #fbfdff;
  font-size: 24px;
  line-height: 1.22;
}

.orbit-ticker {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: flex;
  gap: 10px;
  overflow: hidden;
}

.orbit-ticker span {
  min-height: 38px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(235, 240, 248, 0.82);
  white-space: nowrap;
  animation: chipSlide 18s linear infinite;
}

.logo-marquee {
  padding: 18px 0 6px;
  overflow: hidden;
}

.logo-heading {
  margin-bottom: 16px;
}

.logo-heading span {
  color: rgba(214, 223, 237, 0.58);
  font-size: 13px;
  font-weight: 700;
}

.logo-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marqueeSlide 24s linear infinite;
}

.logo-track span {
  min-height: 42px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(235, 240, 248, 0.84);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.capability-section {
  padding: 48px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(250, 252, 255, 0.98), rgba(234, 240, 248, 0.94));
  box-shadow: 0 22px 66px rgba(8, 18, 33, 0.12);
}

.capability-heading {
  display: grid;
  gap: 12px;
  max-width: 780px;
}

.capability-heading .section-kicker {
  color: #71849c;
}

.capability-heading h2,
.product-copy h2,
.workflow-copy h2 {
  margin: 0;
  letter-spacing: 0;
}

.capability-heading h2 {
  color: #101926;
  font-size: clamp(40px, 4vw, 64px);
  line-height: 1.06;
}

.capability-heading p {
  margin: 0;
  color: #5b6b81;
  font-size: 18px;
  line-height: 1.78;
}

.capability-layout {
  margin-top: 30px;
  display: grid;
  grid-template-columns: minmax(300px, 0.84fr) minmax(0, 1.16fr);
  gap: 18px;
}

.capability-highlight {
  min-height: 100%;
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, #101a2c, #162238);
  box-shadow: 0 24px 64px rgba(16, 26, 44, 0.22);
}

.capability-highlight span {
  color: rgba(184, 199, 221, 0.56);
}

.capability-highlight strong {
  color: #fbfdff;
  font-size: 34px;
  line-height: 1.16;
}

.capability-highlight p {
  color: rgba(223, 230, 241, 0.72);
}

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

.capability-card {
  min-height: 252px;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(16, 25, 38, 0.08);
  background: rgba(255, 255, 255, 0.78);
}

.capability-card span {
  color: rgba(82, 95, 117, 0.56);
}

.capability-card strong {
  color: #101926;
  font-size: 28px;
  line-height: 1.22;
}

.capability-card p {
  color: #5c6c82;
}

.product-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 28px;
  align-items: start;
}

.product-copy {
  display: grid;
  gap: 12px;
  padding-top: 20px;
}

.product-copy .section-kicker,
.workflow-copy .section-kicker {
  color: #95a8c2;
}

.product-copy h2,
.workflow-copy h2 {
  color: #f8fbff;
  font-size: clamp(42px, 4vw, 68px);
  line-height: 1.05;
}

.product-copy p,
.workflow-copy p {
  margin: 0;
  color: rgba(219, 227, 241, 0.72);
  font-size: 18px;
  line-height: 1.8;
}

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

.product-panel {
  min-height: 230px;
  padding: 24px;
  border-radius: 30px;
}

.product-panel strong {
  font-size: 30px;
  line-height: 1.2;
}

.panel-dark {
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(15, 22, 35, 0.78);
}

.panel-dark span {
  color: rgba(212, 223, 240, 0.56);
}

.panel-dark strong {
  color: #f8fbff;
}

.panel-dark p {
  color: rgba(220, 229, 243, 0.70);
}

.panel-light {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, rgba(246, 249, 253, 0.98), rgba(228, 235, 245, 0.96));
}

.panel-light span {
  color: rgba(78, 91, 111, 0.56);
}

.panel-light strong {
  color: #101a26;
}

.panel-light p {
  color: #596980;
}

.workflow-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 20px;
  padding: 42px 0 12px;
}

.workflow-copy {
  display: grid;
  gap: 12px;
}

.workflow-rail {
  display: grid;
  gap: 14px;
}

.workflow-step {
  padding: 26px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(15, 22, 35, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.workflow-step span {
  color: rgba(183, 198, 220, 0.52);
}

.workflow-step strong {
  color: #f8fbff;
  font-size: 26px;
  line-height: 1.18;
}

.workflow-step p {
  color: rgba(220, 229, 243, 0.70);
}

.cta-section {
  padding-bottom: 24px;
}

.cta-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 32px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: linear-gradient(135deg, rgba(17, 26, 40, 0.94), rgba(31, 46, 74, 0.92));
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.24);
}

.cta-shell strong {
  display: block;
  margin-top: 10px;
  max-width: 760px;
  color: #fff;
  font-size: 28px;
  line-height: 1.32;
}

@keyframes marqueeSlide {
  from { transform: translateX(0); }
  to { transform: translateX(-28%); }
}

@keyframes chipSlide {
  from { transform: translateX(0); }
  to { transform: translateX(-120%); }
}

@keyframes orbitFloat {
  0%,
  100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -16px, 0); }
}

@media (max-width: 1240px) {
  .harness-hero,
  .product-section,
  .workflow-section,
  .workspace,
  .capability-layout {
    grid-template-columns: 1fr;
  }

  .capability-grid,
  .product-panels {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .landing-section {
    width: min(100vw - 24px, 1380px);
  }

  .harness-hero {
    min-height: auto;
    padding: 36px 0 10px;
  }

  .harness-hero-copy h1 {
    font-size: clamp(52px, 15vw, 80px);
  }

  .hero-summary,
  .product-copy p,
  .workflow-copy p,
  .capability-heading p {
    font-size: 16px;
  }

  .hero-orbit {
    min-height: 620px;
  }

  .orbit-card-main strong {
    font-size: 32px;
  }

  .orbit-card-top,
  .orbit-card-left,
  .orbit-card-right {
    width: auto;
    left: 24px;
    right: 24px;
  }

  .orbit-card-top {
    top: 240px;
  }

  .orbit-card-left {
    bottom: 150px;
  }

  .orbit-card-right {
    bottom: 58px;
  }

  .capability-section {
    padding: 28px;
  }

  .cta-shell {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Raycast-inspired landing */
.site-shell[data-view="landing"] {
  width: 100%;
  max-width: none;
  padding: 0;
}

.landing-screen {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 16px 0 72px;
  color: #fff;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 73, 73, 0.28), transparent 28%),
    radial-gradient(circle at 18% 18%, rgba(255, 83, 83, 0.16), transparent 20%),
    radial-gradient(circle at 82% 30%, rgba(255, 178, 104, 0.10), transparent 18%),
    linear-gradient(180deg, #08090d 0%, #0d0d12 42%, #111116 68%, #09090d 100%);
}

.landing-screen .ray-nav,
.landing-screen .landing-section {
  width: min(1180px, calc(100vw - 32px));
  margin-left: auto;
  margin-right: auto;
}

.landing-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 68%);
}

.landing-screen > * {
  position: relative;
  z-index: 1;
}

.landing-screen .ray-nav {
  position: sticky;
  top: 16px;
  z-index: 30;
  min-height: 62px;
  border-color: rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  background: rgba(14, 14, 19, 0.76);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(22px);
}

.landing-screen .brand-mark {
  border-radius: 11px;
  background: linear-gradient(135deg, #ff5a4f, #c92533);
  box-shadow: 0 10px 28px rgba(255, 68, 68, 0.28);
}

.landing-screen .brand-copy strong {
  color: #fff;
  font-size: 17px;
}

.landing-screen .brand-copy span {
  color: rgba(255, 255, 255, 0.52);
}

.landing-screen .nav-chip {
  min-height: 36px;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.70);
}

.landing-screen .nav-chip:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.landing-screen .primary-chip,
.landing-screen .cta-button {
  border: 0;
  background: linear-gradient(180deg, #ff6b5f, #e32f3f);
  color: #fff;
  box-shadow: 0 14px 36px rgba(227, 47, 63, 0.34);
}

.landing-screen .primary-chip:hover,
.landing-screen .cta-button:hover {
  background: linear-gradient(180deg, #ff7c72, #ee3d4d);
  transform: translateY(-1px);
}

.ray-hero {
  display: grid;
  place-items: center;
  min-height: 790px;
  padding: 76px 0 34px;
  text-align: center;
}

.ray-pill {
  margin: 0 0 22px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 214, 214, 0.82);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.ray-hero h1 {
  max-width: 980px;
  margin: 0;
  font-family: "Manrope", "Helvetica Neue", sans-serif;
  font-size: clamp(64px, 8vw, 124px);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: 0;
  color: #fff;
  text-wrap: balance;
}

.ray-hero-copy {
  max-width: 720px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 19px;
  line-height: 1.82;
}

.ray-actions {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.landing-screen .secondary-link {
  min-height: 48px;
  border-color: rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.86);
}

.ray-command {
  position: relative;
  width: min(900px, 92vw);
  margin-top: 62px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(33, 33, 42, 0.96), rgba(17, 17, 23, 0.96)),
    radial-gradient(circle at top, rgba(255, 76, 76, 0.30), transparent 40%);
  box-shadow:
    0 46px 120px rgba(0, 0, 0, 0.54),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  overflow: hidden;
  transform: perspective(1100px) rotateX(5deg);
}

.ray-command::before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.16) 38%, transparent 62%);
  opacity: 0.36;
  transform: translateX(-70%);
  animation: raySweep 7s ease-in-out infinite;
}

.ray-command-top {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.48);
}

.ray-command-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.ray-command-top strong {
  margin-left: 8px;
  font-size: 12px;
  letter-spacing: 0;
}

.ray-search-row {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  text-align: left;
}

.ray-search-row b {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(180deg, #ff5a50, #dd293a);
  color: #fff;
}

.ray-search-row span {
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  font-weight: 700;
}

.ray-result-stack {
  padding: 14px;
  display: grid;
  gap: 8px;
}

.ray-result {
  min-height: 82px;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid transparent;
  border-radius: 18px;
  text-align: left;
}

.ray-result.active {
  border-color: rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.045));
}

.ray-result i {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}

.ray-result strong {
  color: #fff;
  font-size: 16px;
}

.ray-result p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
  line-height: 1.5;
}

.ray-result em {
  min-width: 48px;
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.66);
  text-align: center;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}

.ray-keyboard {
  display: grid;
  grid-template-columns: 1.3fr repeat(5, 1fr);
  gap: 10px;
  margin-top: 8px;
}

.ray-key {
  min-height: 108px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.ray-key span {
  color: rgba(255, 255, 255, 0.38);
  font-size: 12px;
  font-weight: 800;
}

.ray-key strong {
  display: block;
  margin-top: 20px;
  color: #fff;
  font-size: 17px;
  line-height: 1.35;
}

.ray-key.key-red {
  background: linear-gradient(180deg, rgba(255, 86, 76, 0.28), rgba(173, 28, 47, 0.16));
}

.ray-section,
.ray-ai,
.ray-automation,
.ray-final {
  margin-top: 120px;
}

.ray-section-copy {
  max-width: 760px;
}

.ray-section-copy .section-kicker {
  color: #ff7168;
}

.ray-section-copy h2,
.ray-final h2 {
  margin: 0;
  color: #fff;
  font-family: "Manrope", "Helvetica Neue", sans-serif;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: 0;
  text-wrap: balance;
}

.ray-section-copy h2 .nowrap {
  white-space: nowrap;
}

.ray-section-copy p,
.ray-final p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 18px;
  line-height: 1.8;
}

.ray-extension-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ray-extension-grid article,
.ray-flow article,
.ray-ai-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.25);
}

.ray-extension-grid article {
  min-height: 210px;
  padding: 22px;
}

.ray-extension-grid b {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 90, 80, 0.24), rgba(255, 255, 255, 0.06));
  color: rgba(255, 232, 232, 0.92);
  font-size: 13px;
}

.ray-extension-grid strong,
.ray-flow strong {
  display: block;
  margin-top: 18px;
  color: #fff;
  font-size: 22px;
  line-height: 1.25;
}

.ray-extension-grid p,
.ray-flow p,
.ray-ai-card p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.56);
  line-height: 1.7;
}

.ray-ai {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 42px;
  align-items: center;
}

.ray-ai-visual {
  min-height: 480px;
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 26px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 24% 20%, rgba(255, 75, 75, 0.24), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
}

.ray-ai-card {
  padding: 26px;
}

.ray-ai-card span {
  color: #ff7168;
  font-size: 12px;
  font-weight: 800;
}

.ray-ai-card strong {
  display: block;
  margin-top: 14px;
  color: #fff;
  font-size: 32px;
  line-height: 1.18;
}

.ray-ai-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.ray-ai-row span {
  min-height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 800;
}

.ray-automation {
  display: grid;
  grid-template-columns: minmax(340px, 0.95fr) minmax(0, 1.05fr);
  gap: 36px;
  align-items: start;
}

.ray-flow {
  display: grid;
  gap: 14px;
  width: 100%;
  max-width: 560px;
  justify-self: end;
}

.ray-flow article {
  min-height: 150px;
  padding: 22px;
}

.ray-flow span {
  color: #ff7168;
  font-size: 12px;
  font-weight: 800;
}

.ray-final {
  display: grid;
  place-items: center;
  padding: 110px 24px 70px;
  text-align: center;
}

.ray-final p {
  max-width: 620px;
}

.ray-final .cta-button {
  margin-top: 30px;
}

@keyframes raySweep {
  0%,
  46% { transform: translateX(-82%); }
  72% { transform: translateX(82%); }
  100% { transform: translateX(82%); }
}

@media (max-width: 1240px) {
  .ray-keyboard,
  .ray-extension-grid,
  .ray-ai,
  .ray-automation {
    grid-template-columns: 1fr;
  }

  .ray-hero {
    min-height: auto;
  }
}

@media (max-width: 860px) {
  .ray-hero {
    padding-top: 48px;
  }

  .ray-hero h1 {
    font-size: clamp(46px, 14vw, 72px);
  }

  .ray-hero-copy,
  .ray-section-copy p,
  .ray-final p {
    font-size: 16px;
  }

  .ray-command {
    transform: none;
    border-radius: 22px;
  }

  .ray-search-row span {
    font-size: 15px;
  }

  .ray-result {
    grid-template-columns: 38px 1fr;
  }

  .ray-result em {
    display: none;
  }

  .ray-section,
  .ray-ai,
  .ray-automation,
  .ray-final {
    margin-top: 72px;
  }

  .ray-ai-row {
    grid-template-columns: 1fr 1fr;
  }

  .ray-final h2 {
    font-size: clamp(34px, 10vw, 54px);
    text-wrap: pretty;
  }

  .ray-final-heading .ray-final-title-gap {
    display: none;
  }

  .ray-final-heading .ray-final-title-l2 {
    display: block;
  }
}
