:root {
  --bg: #050816;
  --bg-alt: #0a1020;
  --surface: rgba(13, 19, 38, 0.72);
  --surface-strong: rgba(18, 25, 46, 0.94);
  --surface-soft: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.1);
  --text: #f5f7ff;
  --muted: #a7b0cc;
  --primary: #6e79ff;
  --secondary: #39d9ff;
  --accent: #bc6fff;
  --success: #72f0b2;
  --shadow: 0 25px 70px rgba(4, 8, 20, 0.5);
  --shadow-glow: 0 0 0 1px rgba(112, 123, 255, 0.12), 0 22px 45px rgba(66, 87, 255, 0.22);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1140px;
  --header-height: 84px;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;
  --ease: 220ms ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Outfit", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(57, 217, 255, 0.18), transparent 25%),
    radial-gradient(circle at 85% 10%, rgba(188, 111, 255, 0.18), transparent 24%),
    linear-gradient(180deg, #030611 0%, #060b18 48%, #050816 100%);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 20%, rgba(78, 110, 255, 0.12), transparent 22%),
    radial-gradient(circle at 80% 24%, rgba(59, 220, 255, 0.09), transparent 24%);
  filter: blur(10px);
  z-index: -2;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: clamp(4.5rem, 9vw, 7rem) 0;
}

.narrow {
  max-width: 760px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(4, 8, 20, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header.is-scrolled {
  background: rgba(5, 9, 21, 0.84);
}

.nav-shell {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(110, 121, 255, 0.32), rgba(57, 217, 255, 0.16));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-glow);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  color: var(--muted);
  transition: transform var(--ease), color var(--ease), background-color var(--ease), border-color var(--ease);
  border: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.cart-count {
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: #020612;
  font-size: 0.78rem;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  flex-direction: column;
}

.menu-toggle span {
  width: 1.25rem;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition: transform var(--ease), opacity var(--ease);
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero-section {
  padding-top: clamp(5rem, 12vw, 8rem);
}

.hero-grid,
.split-grid,
.contact-grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.hero-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.9fr);
  align-items: center;
}

.hero-copy h1,
.page-hero h1 {
  margin: 0.75rem 0 1rem;
  font-size: clamp(2.9rem, 7vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero-copy p,
.page-hero p,
.section-heading p,
.content-panel p,
.glass-card p,
.service-card p,
.portfolio-card p,
.product-card p {
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #d8e1ff;
  font-size: 0.95rem;
}

.button-row {
  margin-top: var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.button-row.compact {
  margin-top: 1.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding: 0.9rem 1.35rem;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform var(--ease), box-shadow var(--ease), background-color var(--ease), border-color var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #020612;
  background: linear-gradient(135deg, var(--secondary), var(--primary) 55%, var(--accent));
  box-shadow: 0 18px 40px rgba(65, 124, 255, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 22px 50px rgba(73, 124, 255, 0.36);
}

.btn-primary:disabled {
  opacity: 0.85;
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.12);
}

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

.hero-metrics,
.feature-grid,
.spotlight-grid,
.services-grid,
.portfolio-grid,
.product-grid {
  display: grid;
  gap: 1.25rem;
}

.hero-metrics {
  margin-top: 2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric-card,
.glass-card,
.spotlight-card,
.portfolio-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.metric-card {
  padding: 1.2rem;
}

.metric-card strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.6rem;
}

.hero-visual {
  position: relative;
}

.orbital-panel {
  position: relative;
  min-height: 520px;
  border-radius: 36px;
  overflow: hidden;
  background:
    radial-gradient(circle at 40% 30%, rgba(110, 121, 255, 0.24), transparent 28%),
    radial-gradient(circle at 65% 60%, rgba(57, 217, 255, 0.18), transparent 28%),
    rgba(8, 12, 28, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.glow-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.7;
}

.glow-ring-a {
  inset: 8% 12% auto auto;
  width: 280px;
  height: 280px;
}

.glow-ring-b {
  inset: auto auto 12% 8%;
  width: 180px;
  height: 180px;
}

.floating-card {
  position: absolute;
  background: rgba(8, 13, 28, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-glow);
  backdrop-filter: blur(18px);
}

.floating-card-main {
  inset: 19% 12% auto;
  padding: 1.4rem;
  border-radius: 28px;
}

.floating-card-main h2 {
  margin: 0.55rem 0 0.4rem;
  font-size: clamp(2.4rem, 6vw, 4rem);
}

.progress-bars {
  margin-top: 1.15rem;
  display: grid;
  gap: 0.7rem;
}

.progress-bars span {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(57, 217, 255, 0.92), rgba(188, 111, 255, 0.85));
}

.progress-bars span:nth-child(2) {
  width: 82%;
}

.progress-bars span:nth-child(3) {
  width: 64%;
}

.floating-card-small {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 280px;
  padding: 1rem;
  border-radius: 22px;
}

.floating-card-small i {
  width: 2.8rem;
  height: 2.8rem;
  display: inline-grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
}

.top-card {
  top: 10%;
  left: 7%;
}

.bottom-card {
  right: 6%;
  bottom: 12%;
}

.section-heading {
  margin-bottom: 2rem;
  max-width: 720px;
}

.section-heading h2,
.content-panel h2,
.glass-card h2,
.glass-card h3,
.service-card h3,
.portfolio-card h3,
.product-card h3 {
  margin-top: 0;
  margin-bottom: 0.7rem;
  line-height: 1.12;
}

.section-heading h2,
.content-panel h2,
.glass-card h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.03em;
}

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

.glass-card,
.spotlight-card,
.service-card,
.portfolio-card,
.product-card {
  padding: 1.45rem;
}

.glass-card,
.service-card,
.portfolio-card,
.product-card {
  position: relative;
  overflow: hidden;
}

.glass-card::after,
.product-card::after,
.portfolio-card::after {
  content: "";
  position: absolute;
  inset: auto -30% -55% 20%;
  height: 160px;
  background: radial-gradient(circle, rgba(110, 121, 255, 0.18), transparent 60%);
  pointer-events: none;
}

.glass-card:hover,
.spotlight-card:hover,
.portfolio-card:hover,
.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(122, 149, 255, 0.22);
  box-shadow: 0 28px 60px rgba(9, 14, 30, 0.55);
}

.glass-card,
.spotlight-card,
.portfolio-card,
.product-card,
.service-card,
.metric-card {
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.icon-chip {
  width: 3rem;
  height: 3rem;
  display: inline-grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(57, 217, 255, 0.18), rgba(188, 111, 255, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #dfe6ff;
}

.split-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

.content-panel,
.stack-grid,
.contact-stack {
  display: grid;
  gap: 1.25rem;
}

.accent-card {
  background: linear-gradient(135deg, rgba(110, 121, 255, 0.16), rgba(57, 217, 255, 0.08));
}

.check-list,
.timeline-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.check-list li,
.timeline-list li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}

.check-list i {
  margin-top: 0.2rem;
  color: var(--success);
}

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

.spotlight-card {
  display: block;
}

.spotlight-card i {
  font-size: 1.35rem;
  color: var(--secondary);
}

.page-hero {
  padding-top: clamp(5rem, 10vw, 7rem);
  text-align: center;
}

.page-hero .container {
  display: grid;
  gap: 1rem;
  justify-items: center;
}

.home-chat {
  width: min(100%, 690px);
  margin-top: 0.85rem;
  padding: 0.95rem;
  text-align: left;
  background:
    linear-gradient(180deg, rgba(24, 28, 39, 0.98), rgba(17, 20, 30, 0.98)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.04), transparent 34%);
}

.home-chat__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.home-chat__badge,
.home-chat__model {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #d7deef;
  font-size: 0.79rem;
  font-weight: 600;
}

.home-chat__model {
  color: #9ba8c3;
  font-weight: 500;
}

.home-chat__message {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
}

.home-chat__message + .home-chat__message {
  margin-top: 0.85rem;
}

.home-chat__avatar {
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #eef4ff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.home-chat__avatar--assistant {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22), rgba(46, 204, 113, 0.14));
}

.home-chat__bubble {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.home-chat__bubble--user {
  background: rgba(255, 255, 255, 0.04);
}

.home-chat__assistant {
  display: grid;
  gap: 0.8rem;
}

.home-chat__line {
  margin: 0;
  padding: 0.9rem 1rem 1rem;
  min-height: 8rem;
  color: #eef4ff;
  font-size: clamp(0.88rem, 1.75vw, 0.95rem);
  line-height: 1.65;
}

.home-chat__typed {
  white-space: pre-wrap;
  word-break: break-word;
}

.home-chat__cursor {
  display: inline-block;
  width: 0.65ch;
  height: 1.15em;
  margin-left: 0.08rem;
  vertical-align: text-bottom;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.92);
  animation: blink-cursor 1s steps(1) infinite;
}

.home-chat__status {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  width: fit-content;
  padding: 0.8rem 0.9rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.home-chat__spinner {
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-top-color: #ffffff;
  animation: home-chat-spin 0.85s linear infinite;
}

.home-chat__image-frame {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.home-chat__image-frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.home-chat__image-frame--source {
  max-width: 210px;
  margin: 0.9rem 0 0 1rem;
}

.home-chat__image-frame--output {
  max-width: 250px;
}

.home-chat__image--output {
  object-position: right center;
}

.home-chat__status-copy {
  display: grid;
  gap: 0.16rem;
}

.home-chat__status-copy strong {
  color: #eef4ff;
  font-size: 0.9rem;
}

.home-chat__status-copy span {
  color: #98a6c3;
  font-size: 0.82rem;
}

.home-chat__output {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 280ms ease, transform 280ms ease;
}

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

@keyframes home-chat-spin {
  to {
    transform: rotate(360deg);
  }
}

.home-demo-card {
  width: min(100%, 760px);
  margin-top: 1rem;
  padding: 1rem;
  text-align: left;
  background:
    linear-gradient(180deg, rgba(35, 35, 35, 0.98), rgba(28, 28, 28, 0.98)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.04), transparent 34%);
}

.home-demo-card__top {
  margin-bottom: 0.85rem;
  color: #cfcfcf;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-composer {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.8rem;
  min-height: 20rem;
  padding: 0.78rem 0.86rem;
  border-radius: 1.8rem;
  background: #303030;
  border: 1px solid #3a3a3a;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.home-composer__body {
  min-width: 0;
  display: grid;
  gap: 0.7rem;
}

.home-composer__uploading {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  padding: 0.45rem 0.72rem;
  border-radius: 999px;
  color: #d9d9d9;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
}

.home-composer__uploading[hidden],
.home-demo-flow__status[hidden],
.home-composer__attachment[hidden],
.home-demo-flow__output[hidden] {
  display: none !important;
}

.home-media-label {
  margin-bottom: 0.45rem;
  color: #f2f2f2;
  font-size: 0.9rem;
  font-weight: 700;
}

.home-composer__attachment {
  opacity: 0;
  transform: translateY(10px) scale(0.92);
  transition: opacity 220ms ease, transform 220ms ease;
}

.home-composer__upload {
  position: relative;
  width: 4.35rem;
  height: 5.55rem;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #242424;
}

.home-composer__upload-controls {
  position: absolute;
  top: 0.32rem;
  right: 0.32rem;
  z-index: 1;
  display: inline-flex;
  gap: 0.28rem;
}

.home-composer__upload-chip {
  width: 1.12rem;
  height: 1.12rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(245, 245, 245, 0.96);
  color: #1d1d1d;
  font-size: 0.52rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.home-composer__upload img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.home-composer__attachment.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.home-composer__text {
  height: 15rem;
  display: block;
  overflow: hidden;
  padding-right: 0.15rem;
  color: #efefef;
  font-size: 0.92rem;
  line-height: 1.6;
}

.home-composer__context {
  display: block;
  margin-bottom: 0.55rem;
  text-align: center;
  color: #f3f3f3;
  font-size: 0.88rem;
  font-weight: 700;
}

.home-composer__placeholder {
  display: inline-block;
  color: #b6b6b6;
}

.home-composer__placeholder[hidden] {
  display: none !important;
}

.home-composer__typed {
  display: inline;
  white-space: pre-wrap;
  word-break: break-word;
}

.home-composer__cursor {
  display: inline-block;
  width: 0.58ch;
  height: 1.08em;
  margin-left: 0.08rem;
  border-radius: 2px;
  background: #f3f3f3;
  vertical-align: text-bottom;
  animation: blink-cursor 1s steps(1) infinite;
}

.home-composer__actions {
  display: inline-flex;
  align-items: center;
  align-self: end;
  justify-self: end;
  gap: 0.55rem;
}

.home-composer__icon {
  width: 2.2rem;
  height: 2.2rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  border: 0;
  color: #f2f2f2;
  background: transparent;
  flex-shrink: 0;
}

.home-composer__icon--left {
  align-self: end;
  color: #ebebeb;
}

.home-composer__icon--ghost {
  color: #dbdbdb;
}

.home-composer__icon--send {
  background: #f1f1f1;
  color: #161616;
  box-shadow: 0 0 0 rgba(255, 255, 255, 0);
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.home-composer__icon--send.is-pressed {
  transform: scale(0.88);
  background: #e4e4e4;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.22);
}

.home-composer__pointer {
  position: absolute;
  right: 1.65rem;
  bottom: 1.42rem;
  z-index: 3;
  pointer-events: none;
  color: #ffffff;
  font-size: 1.05rem;
  opacity: 0;
  text-shadow:
    -1px -1px 0 #111111,
    1px -1px 0 #111111,
    -1px 1px 0 #111111,
    1px 1px 0 #111111,
    0 6px 18px rgba(0, 0, 0, 0.35);
  transform: translate(-2.3rem, -0.95rem) scale(1);
  transition: opacity 180ms ease, transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
  line-height: 1;
}

.home-composer__click-ring {
  position: absolute;
  top: 0.1rem;
  left: 0.18rem;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  transform: scale(0.4);
  opacity: 0;
  transition: opacity 180ms ease, transform 280ms ease;
}

.home-composer__pointer.is-active {
  opacity: 1;
  transform: translate(-0.28rem, -0.08rem) scale(1);
}

.home-composer__pointer.is-clicked {
  transform: translate(-0.08rem, 0.08rem) scale(0.95);
}

.home-composer__pointer.is-clicked .home-composer__click-ring {
  transform: scale(1.2);
  opacity: 0.72;
}

.home-composer__pointer.is-hidden {
  opacity: 0;
}

.home-composer__pointer.is-hidden .home-composer__click-ring {
  opacity: 0;
  transform: scale(1.45);
}

.home-demo-flow {
  width: 100%;
  display: grid;
  justify-items: start;
  gap: 0.9rem;
  margin-top: 1rem;
}

.home-demo-flow__status {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 0.95rem;
  border-radius: 1.4rem;
  color: #e8e8e8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.home-demo-flow__spinner {
  width: 0.92rem;
  height: 0.92rem;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: #ffffff;
  animation: home-chat-spin 0.85s linear infinite;
}

.home-demo-flow__output {
  display: grid;
  gap: 0.9rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 260ms ease, transform 260ms ease;
}

.home-demo-flow__output.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.home-demo-flow__image {
  width: min(100%, 280px);
  overflow: hidden;
  border-radius: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #262626;
}

.home-demo-flow__image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.home-demo-flow__result {
  object-position: right center;
}

.home-demo-flow__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  color: #f2f2f2;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color var(--ease), border-color var(--ease);
}

.home-demo-flow__link:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

@keyframes blink-cursor {
  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

.service-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

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

.timeline-list strong {
  min-width: 2.6rem;
  color: #dce4ff;
}

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

.portfolio-art {
  min-height: 220px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  margin-bottom: 1.15rem;
  font-size: 2rem;
  color: #eef2ff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.art-one {
  background: linear-gradient(135deg, rgba(80, 102, 255, 0.45), rgba(57, 217, 255, 0.2));
}

.art-two {
  background: linear-gradient(135deg, rgba(188, 111, 255, 0.38), rgba(110, 121, 255, 0.2));
}

.art-three {
  background: linear-gradient(135deg, rgba(57, 217, 255, 0.3), rgba(82, 255, 194, 0.18));
}

.shop-toolbar {
  margin-bottom: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.pill-row,
.shop-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.pill,
.shop-meta span,
.card-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #dbe3ff;
  font-size: 0.9rem;
}

button.pill {
  color: #dbe3ff;
  cursor: pointer;
}

.pill.active {
  background: rgba(110, 121, 255, 0.16);
  border-color: rgba(122, 149, 255, 0.28);
}

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

.product-grid-featured {
  grid-template-columns: repeat(2, minmax(320px, 420px));
  justify-content: center;
  gap: 2rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  min-height: 100%;
}

.product-card[hidden] {
  display: none;
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.card-body {
  padding-top: 1rem;
}

.product-grid-featured .product-card {
  padding: 1.25rem;
}

.product-grid-featured .product-card img {
  border-radius: 22px;
}

.product-grid-featured .product-card h3 {
  font-size: clamp(2rem, 2.3vw, 2.35rem);
}

.product-grid-featured .product-card p {
  font-size: 1.15rem;
  line-height: 1.7;
}

.product-grid-featured .card-label {
  font-size: 1rem;
  padding: 0.55rem 1rem;
}

.product-grid-featured .product-meta strong {
  font-size: 2.2rem;
}

.product-grid-featured .product-meta span {
  font-size: 1.05rem;
}

.product-grid-featured .button-row.compact {
  gap: 1rem;
}

.product-grid-featured .button-row.compact .btn {
  min-width: 128px;
  justify-content: center;
}

.product-meta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
}

.product-meta strong {
  font-size: 1.55rem;
}

.prompt-library-section {
  padding-top: clamp(5rem, 10vw, 7rem);
}

.prompt-controls {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2rem;
  background:
    radial-gradient(circle at top right, rgba(57, 217, 255, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
}

.prompt-controls__intro {
  display: grid;
  gap: 0.75rem;
}

.prompt-controls__intro h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
}

.prompt-controls__intro p,
.prompt-search span,
.prompt-results,
.prompt-card__summary {
  color: var(--muted);
}

.prompt-search {
  display: grid;
  gap: 0.55rem;
}

.prompt-search span {
  font-size: 0.92rem;
}

.prompt-search input {
  width: 100%;
  min-height: 3.5rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.prompt-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.prompt-results {
  margin: 0;
  font-size: 0.95rem;
}

.prompt-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.prompt-grid-featured {
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  align-items: stretch;
}

.prompt-card {
  --prompt-accent-rgb: 110, 121, 255;
  --prompt-accent-strong: #cfd6ff;
  --prompt-accent-soft: #8ca2ff;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  height: 100%;
  min-height: 0;
  align-self: stretch;
  overflow: hidden;
  isolation: isolate;
}

.prompt-card[hidden] {
  display: none;
}

.prompt-card--featured {
  background:
    radial-gradient(circle at top right, rgba(110, 121, 255, 0.22), transparent 24%),
    radial-gradient(circle at bottom left, rgba(57, 217, 255, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.prompt-card__top {
  display: flex;
  align-items: start;
  justify-content: start;
  gap: 1rem;
}

.prompt-card__top h2 {
  margin: 0.55rem 0 0;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.05;
  color: var(--prompt-accent-strong);
  text-shadow: 0 2px 14px rgba(var(--prompt-accent-rgb), 0.18);
}

#prompt-pixar-better,
#prompt-pixar-environment,
#prompt-pixar-full-environment {
  --prompt-accent-rgb: 121, 201, 255;
  --prompt-accent-strong: #dff4ff;
  --prompt-accent-soft: #82d4ff;
}

#prompt-gta-sa,
#prompt-gta-vi {
  --prompt-accent-rgb: 52, 110, 72;
  --prompt-accent-strong: #f4f6ff;
  --prompt-accent-soft: #6ea37d;
}

#prompt-spongebob {
  --prompt-accent-rgb: 255, 226, 64;
  --prompt-accent-strong: #fff1a4;
  --prompt-accent-soft: #75d5f4;
}

#prompt-toy-story {
  --prompt-accent-rgb: 255, 124, 92;
  --prompt-accent-strong: #ffd9bb;
  --prompt-accent-soft: #ff9a70;
}

#prompt-dreamworks {
  --prompt-accent-rgb: 255, 198, 113;
  --prompt-accent-strong: #ffe7bd;
  --prompt-accent-soft: #ffc977;
}

#prompt-storybook {
  --prompt-accent-rgb: 224, 170, 106;
  --prompt-accent-strong: #ffe5bf;
  --prompt-accent-soft: #e8b97a;
}

#prompt-pixar-better .prompt-card__top h2,
#prompt-pixar-environment .prompt-card__top h2,
#prompt-pixar-full-environment .prompt-card__top h2 {
  font-family: "Peace Sans", "Outfit", sans-serif;
  font-size: clamp(1.45rem, 2.8vw, 2.18rem);
  letter-spacing: 0.01em;
  line-height: 1.04;
}

#prompt-pixar-better .prompt-card__top h2 {
  margin-top: 0.2rem;
  line-height: 1;
}

#prompt-pixar-better .prompt-card__top h2 .prompt-title-art {
  display: block;
  width: min(100%, 40rem);
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(255, 255, 255, 0.08));
}

#prompt-pixar-environment .prompt-card__top h2 {
  margin-top: 0.2rem;
  line-height: 1;
}

#prompt-pixar-environment .prompt-card__top h2 .prompt-title-art {
  display: block;
  width: min(100%, 40rem);
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(255, 255, 255, 0.08));
}

#prompt-pixar-full-environment .prompt-card__top h2 {
  margin-top: 0.2rem;
  line-height: 1;
}

#prompt-pixar-full-environment .prompt-card__top h2 .prompt-title-art {
  display: block;
  width: min(100%, 40rem);
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(255, 255, 255, 0.08));
}

#prompt-storybook .prompt-card__top h2 {
  margin-top: 0.2rem;
  line-height: 1;
}

#prompt-storybook .prompt-card__top h2 .prompt-title-art {
  display: block;
  width: min(100%, 39rem);
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(116, 77, 32, 0.16));
}

#prompt-gta-sa .prompt-card__top h2,
#prompt-gta-vi .prompt-card__top h2 {
  font-family: "Pricedown Bl", "Pricedown", "Outfit", sans-serif;
  font-size: clamp(1.7rem, 3.2vw, 2.55rem);
  letter-spacing: 0.03em;
  line-height: 1;
  text-transform: uppercase;
  color: #f4f6ff;
  text-shadow: 0 2px 14px rgba(52, 110, 72, 0.3);
}

#prompt-gta-sa .prompt-card__top h2 {
  margin-top: 0.2rem;
  line-height: 1;
  text-shadow: none;
}

#prompt-gta-sa .prompt-card__top h2 .prompt-title-art {
  display: block;
  width: min(100%, 40rem);
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.22));
}

#prompt-gta-vi .prompt-card__top h2 {
  margin-top: 0.2rem;
  line-height: 1;
  text-shadow: none;
}

#prompt-gta-vi .prompt-card__top h2 .prompt-title-art {
  display: block;
  width: min(100%, 34rem);
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.22));
}

#prompt-spongebob .prompt-card__top h2 {
  margin-top: 0.2rem;
  line-height: 1;
}

#prompt-spongebob .prompt-card__top h2 .prompt-title-art {
  display: block;
  width: min(100%, 32rem);
  height: auto;
  filter: drop-shadow(0 10px 16px rgba(28, 42, 78, 0.18));
}

#prompt-toy-story .prompt-card__top h2 {
  margin-top: 0.2rem;
  line-height: 1;
}

#prompt-toy-story .prompt-card__top h2 .prompt-title-art {
  display: block;
  width: min(100%, 34rem);
  height: auto;
  filter: drop-shadow(0 10px 16px rgba(112, 54, 28, 0.16));
}

#prompt-dreamworks .prompt-card__top h2 {
  font-family: "Cinzel", "Outfit", sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 2.05rem);
  letter-spacing: 0.01em;
  line-height: 1.12;
}

.prompt-card__summary {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.7;
}

.prompt-preview {
  position: relative;
  min-height: 220px;
  border-radius: 24px;
  border: 1px solid rgba(var(--prompt-accent-rgb), 0.17);
  background:
    radial-gradient(circle at 22% 20%, rgba(var(--prompt-accent-rgb), 0.12), transparent 22%),
    linear-gradient(145deg, rgba(18, 27, 54, 0.92), rgba(11, 17, 35, 0.96)),
    rgba(255, 255, 255, 0.02);
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(var(--prompt-accent-rgb), 0.07);
}

.prompt-preview:has(img) {
  min-height: 220px;
  padding: 0;
  background: rgba(11, 17, 35, 0.96);
}

.prompt-preview::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 20px;
  border: 1px dashed rgba(var(--prompt-accent-rgb), 0.24);
  background:
    radial-gradient(circle at 25% 25%, rgba(var(--prompt-accent-rgb), 0.14), transparent 20%),
    radial-gradient(circle at 78% 30%, rgba(var(--prompt-accent-rgb), 0.1), transparent 24%),
    radial-gradient(circle at 35% 78%, rgba(var(--prompt-accent-rgb), 0.12), transparent 24%);
}

.prompt-preview:has(img)::before {
  display: none;
}

.prompt-preview span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(var(--prompt-accent-rgb), 0.1);
  border: 1px solid rgba(var(--prompt-accent-rgb), 0.18);
  color: var(--prompt-accent-strong);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.prompt-preview:has(img) span {
  display: none;
}

.prompt-preview img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.copy-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 140px;
  height: 52px;
  padding: 0;
  border-radius: 17px;
  border: 1px solid rgba(var(--prompt-accent-rgb), 0.2);
  background: rgba(var(--prompt-accent-rgb), 0.08);
  color: var(--prompt-accent-strong);
  box-shadow: inset 0 0 0 1px rgba(var(--prompt-accent-rgb), 0.06);
  font-size: 0.94rem;
  line-height: 1;
  white-space: nowrap;
  transition: transform var(--ease), background-color var(--ease), border-color var(--ease);
}

.copy-chip:hover {
  transform: translateY(-2px);
  background: rgba(var(--prompt-accent-rgb), 0.14);
  border-color: rgba(var(--prompt-accent-rgb), 0.3);
}

.prompt-code {
  display: block;
  margin: 0;
  height: auto;
  min-height: 0;
  padding: 1.15rem 1.2rem;
  border-radius: 22px;
  background: rgba(6, 10, 23, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e8eeff;
  font-family: "Outfit", sans-serif;
  font-size: 0.98rem;
  line-height: 1.8;
  white-space: pre-wrap;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.prompt-copy-center {
  display: flex;
  justify-content: center;
  margin-top: auto;
  min-height: 52px;
}

.prompt-tips {
  display: grid;
  gap: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.9rem;
}

.prompt-tips summary {
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 0.7rem;
  color: #eef3ff;
  font-weight: 600;
  font-size: 1.01rem;
  letter-spacing: 0.01em;
  list-style: none;
}

.prompt-tips summary::-webkit-details-marker {
  display: none;
}

.prompt-tips summary::marker {
  content: "";
}

.prompt-tips summary::before {
  content: "";
  width: 0.65rem;
  height: 0.65rem;
  border-right: 2px solid rgba(var(--prompt-accent-rgb), 0.88);
  border-bottom: 2px solid rgba(var(--prompt-accent-rgb), 0.88);
  transform: rotate(45deg) translateY(-1px);
  transform-origin: center;
  transition: transform var(--ease), border-color var(--ease);
}

.prompt-tips__list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: tips;
  display: grid;
  gap: 0.7rem;
  width: 100%;
}

.prompt-tips__list li {
  position: relative;
  margin: 0;
  padding: 0.82rem 0.95rem 0.82rem 3rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.035);
  margin: 0;
  color: #d7def2;
  font-size: 0.98rem;
  line-height: 1.7;
  text-wrap: pretty;
}

.prompt-tips__list li::before {
  counter-increment: tips;
  content: counter(tips);
  position: absolute;
  top: 0.8rem;
  left: 0.9rem;
  display: grid;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  background: rgba(var(--prompt-accent-rgb), 0.16);
  border: 1px solid rgba(var(--prompt-accent-rgb), 0.22);
  color: var(--prompt-accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
}

.prompt-tips[open] {
  padding: 1rem 1rem 1rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.prompt-tips[open] summary {
  margin-bottom: 0.05rem;
}

.prompt-tips[open] summary::before {
  transform: rotate(225deg) translateY(-1px);
}

.contact-grid {
  grid-template-columns: 0.85fr 1.15fr;
}

.form-panel h2 {
  margin-top: 0.7rem;
}

.form-note {
  margin-top: 0.6rem;
  margin-bottom: 1.1rem;
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
}

.contact-form span {
  color: #dce4ff;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  color: var(--secondary);
}

.text-link {
  color: #dfe7ff;
}

.site-footer {
  padding: 1.5rem 0 2.4rem;
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-meta {
  display: grid;
  justify-items: end;
  gap: 0.75rem;
}

.footer-meta p,
.site-footer p {
  margin: 0;
  color: var(--muted);
}

.social-row {
  display: flex;
  gap: 0.65rem;
}

.social-row a {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-grid-featured {
    grid-template-columns: repeat(2, minmax(280px, 380px));
  }

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

@media (max-width: 960px) {
  :root {
    --header-height: 76px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 1rem;
    right: 1rem;
    padding: 0.85rem;
    display: grid;
    gap: 0.4rem;
    background: rgba(8, 13, 28, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    box-shadow: var(--shadow);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--ease), transform var(--ease);
  }

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

  .site-nav a {
    justify-content: space-between;
    padding: 0.95rem 1rem;
    border-radius: 16px;
  }

  .hero-grid,
  .split-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .spotlight-grid,
  .services-grid,
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

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

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

  .prompt-card__top {
    flex-direction: column;
    align-items: start;
  }

  .orbital-panel {
    min-height: 460px;
  }
}

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

  .container {
    width: min(var(--container), calc(100% - 1.25rem));
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: clamp(2.5rem, 14vw, 4rem);
  }

  .feature-grid,
  .spotlight-grid,
  .services-grid,
  .portfolio-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-grid-featured {
    grid-template-columns: minmax(0, 1fr);
    max-width: 34rem;
    margin-inline: auto;
  }

  .prompt-controls,
  .prompt-card {
    padding: 1.2rem;
  }

  .home-chat {
    padding: 0.82rem;
  }

  .home-chat__header,
  .home-chat__message {
    grid-template-columns: 1fr;
  }

  .home-chat__header {
    justify-items: start;
  }

  .home-chat__avatar {
    width: 2rem;
    height: 2rem;
  }

  .home-chat__line {
    min-height: 9rem;
    font-size: 0.9rem;
  }

  .home-chat__image-frame--source {
    max-width: 100%;
    margin: 0.85rem 0.85rem 0;
  }

  .home-chat__image-frame--output {
    max-width: 100%;
  }

  .prompt-tips[open] {
    padding: 0.9rem;
  }

  .prompt-tips__list li {
    padding: 0.8rem 0.9rem 0.8rem 2.8rem;
    font-size: 0.95rem;
  }

  .prompt-preview {
    min-height: 200px;
  }

  .shop-toolbar,
  .footer-shell,
  .footer-meta {
    justify-items: start;
    text-align: left;
  }

  .footer-shell,
  .footer-meta {
    display: grid;
  }

  .floating-card-main {
    inset: 18% 7% auto;
  }

  .floating-card-small {
    width: min(250px, calc(100% - 2rem));
  }

  .top-card {
    left: 1rem;
  }

  .bottom-card {
    right: 1rem;
    bottom: 1rem;
  }

  .button-row {
    width: 100%;
  }

  .button-row:not(.compact) .btn,
  .form-panel .btn {
    width: 100%;
  }
}

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

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

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

  .home-chat__cursor {
    animation: none;
    opacity: 1;
  }

  .home-chat__output {
    opacity: 1;
    transform: none;
  }
}
