:root {
  --brand: #7c3aed;
  --brand-strong: #6d28d9;
  --brand-soft: #f5f3ff;
  --ink: #18181b;
  --muted: rgba(0, 0, 0, 0.55);
  --muted-2: rgba(0, 0, 0, 0.45);
  --line: rgba(0, 0, 0, 0.05);
  --surface: #fafafa;
  --white: #ffffff;
  --dark: #0a0a0a;
  --header: #0a0a0a;
  --radius: 1rem;
  --radius-sm: 0.75rem;
  --shell: 72rem;
  --star-grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath fill='%23ffffff' fill-opacity='0.1' d='M16 10.4 16.72 14.85 21.2 15.6 16.72 16.35 16 20.8 15.28 16.35 10.8 15.6 15.28 14.85Z'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #070709;
  font-family: "NanumSquareNeoVar", "NanumSquareNeo", "Apple SD Gothic Neo", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
img, video { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h2 { font-size: clamp(1.5rem, 2.4vw, 1.875rem); font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: 1.05rem; font-weight: 600; }

.page { min-height: 100vh; display: flex; flex-direction: column; background: #070709; }
.page-stitch { color: #f3f4f6; }
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding-inline: 1rem; }
.main-pad { padding-block: 1.5rem 0; }
.main-pad-bottom { padding-bottom: 1.5rem; }
@media (min-width: 640px) {
  .main-pad { padding-block: 2.5rem 0; }
  .main-pad-bottom { padding-bottom: 2.5rem; }
}
@media (min-width: 1024px) {
  .main-pad { padding-block: 3.5rem 0; }
}

.logo { width: auto; object-fit: contain; }
.logo-sm { height: 1.35rem; }
.logo-md { height: 2rem; }
.logo-invert { filter: brightness(0) invert(1); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 7, 9, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
}
.site-header-glass { background: rgba(7, 7, 9, 0.45); }
.header-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 0.85rem;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
@media (min-width: 640px) {
  .nav-actions { gap: 0.75rem; }
}

.btn-try {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.55rem 1.05rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #111;
  background: #fff;
}
.btn-try:hover { background: #f3f4f6; }

/* —— Stitch-like hero —— */
.stitch-hero {
  position: relative;
  min-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  overflow-x: clip;
  overflow-y: visible;
  isolation: isolate;
  padding: 4rem 0 5rem;
  background-color: #070709;
  background-image: var(--star-grid);
  background-size: 32px 32px;
}
.aurora-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.aurora-canvas {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.95;
}
.aurora-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 45% at 50% 72%, rgba(124, 58, 237, 0.22), transparent 70%),
    linear-gradient(to bottom, rgba(7, 7, 9, 0.15), rgba(7, 7, 9, 0.55) 78%, #070709);
}
.stitch-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1040px, calc(100% - 2rem));
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 1rem;
  animation: fade-in 0.55s ease-out;
}
.stitch-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.45);
}
.stitch-title {
  font-size: clamp(1.4rem, 3.8vw, 2.95rem);
  font-weight: 760;
  letter-spacing: -0.04em;
  line-height: 1.28;
  color: #fff;
  display: grid;
  justify-items: center;
  gap: 0.02em;
}
.stitch-title-line {
  display: block;
  opacity: 0;
  transform: translateY(0.75em);
  filter: blur(5px);
  animation: stitch-title-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.stitch-title-line:nth-child(1) {
  animation-delay: 0.12s;
}
.stitch-title-line:nth-child(2) {
  animation-delay: 0.38s;
}
.stitch-title-accent {
  background: linear-gradient(105deg, #8b5cf6 0%, #7c3aed 42%, #a78bfa 72%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.title-accent {
  background: linear-gradient(105deg, #f4f4f5 0%, #a1a1aa 42%, #d4d4d8 72%, #fafafa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
@keyframes stitch-title-rise {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}
.stitch-sub {
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.65;
}
.stitch-sub-ko {
  color: #fff;
}

@property --prompt-border-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.prompt-shell {
  --prompt-border-angle: 0deg;
  width: min(720px, 100%);
  margin-top: 1.25rem;
  border-radius: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(20, 20, 24, 0.92);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
  padding: 1rem 1rem 0.85rem;
  text-align: left;
  overflow: visible;
  position: relative;
  z-index: 3;
  isolation: isolate;
}
.prompt-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  box-sizing: border-box;
  pointer-events: none;
  z-index: 1;
  background: conic-gradient(
    from var(--prompt-border-angle),
    transparent 0deg,
    transparent 300deg,
    rgba(255, 255, 255, 0.15) 318deg,
    rgba(255, 255, 255, 0.9) 328deg,
    rgba(196, 181, 253, 0.95) 336deg,
    rgba(124, 58, 237, 0.95) 344deg,
    rgba(59, 91, 219, 0.95) 352deg,
    rgba(30, 64, 175, 0.55) 357deg,
    transparent 360deg
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: prompt-border-spin 8.5s linear infinite;
}
.prompt-shell > * {
  position: relative;
  z-index: 2;
}
@keyframes prompt-border-spin {
  to { --prompt-border-angle: 360deg; }
}
.prompt-shell textarea {
  width: 100%;
  border: 0;
  outline: none;
  resize: none;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 1rem;
  line-height: 1.55;
  min-height: 84px;
}
.prompt-shell textarea::placeholder { color: rgba(255, 255, 255, 0.38); }
.prompt-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.35rem;
}
.prompt-tools-left { display: flex; gap: 0.35rem; flex-wrap: wrap; align-items: center; }
.tool-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.72);
  padding: 0.28rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1;
  height: 1.85rem;
  box-sizing: border-box;
  cursor: default;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.tool-pill svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}
button.tool-pill {
  cursor: pointer;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1;
}
.avatar-toggle.is-on,
.avatar-toggle[aria-pressed="true"] {
  border-color: rgba(167, 139, 250, 0.55);
  background: rgba(124, 58, 237, 0.28);
  color: #fff;
}
.avatar-toggle:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.avatar-toggle.is-on:hover,
.avatar-toggle[aria-pressed="true"]:hover {
  background: rgba(124, 58, 237, 0.38);
  border-color: rgba(196, 181, 253, 0.65);
}

.format-picker {
  position: relative;
  z-index: 4;
}
.format-trigger {
  min-width: 0;
  padding-right: 0.45rem;
}
.format-trigger .format-chevron {
  width: 9px;
  height: 9px;
  opacity: 0.7;
  transition: transform 0.18s ease;
}
.format-picker.is-open .format-trigger {
  border-color: rgba(167, 139, 250, 0.7);
  background: rgba(124, 58, 237, 0.28);
  color: #fff;
}
.format-picker.is-open .format-chevron {
  transform: rotate(180deg);
}
.format-trigger .format-icon-16x9[hidden],
.format-trigger .format-icon-reels[hidden] {
  display: none;
}
.format-menu {
  position: absolute;
  left: 0;
  bottom: calc(100% + 0.35rem);
  display: grid;
  gap: 0.22rem;
  min-width: 8.5rem;
  padding: 0.3rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(18, 18, 22, 0.96);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  transform-origin: bottom left;
  animation: format-pop 0.16s ease-out;
}
.format-menu[hidden] { display: none; }
.format-option {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  width: 100%;
  min-height: 1.85rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  padding: 0.28rem 0.55rem;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1;
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
}
.format-option svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}
.format-option:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.format-option.is-active {
  background: rgba(124, 58, 237, 0.28);
  color: #fff;
}
@keyframes format-pop {
  from { opacity: 0; transform: translateY(6px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.prompt-send {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: #7c3aed;
  transition: transform 0.15s, background 0.15s;
}
.prompt-send:hover {
  background: #6d28d9;
  transform: translateY(-1px);
}

.prompt-chips {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}
.prompt-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.82);
  padding: 0.55rem 0.9rem;
  font-size: 0.8rem;
  transition: background 0.15s, border-color 0.15s;
}
.prompt-chip:hover {
  background: rgba(167, 139, 250, 0.14);
  border-color: rgba(167, 139, 250, 0.4);
}
.prompt-chip span { color: #c4b5fd; }

.inspire-block {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--shell);
  margin-top: 0;
  text-align: left;
  box-sizing: border-box;
}
.inspire-label {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.inspire-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.65rem;
  width: 100%;
}
.inspire-card {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border: 0;
  padding: 0;
  border-radius: 1.15rem;
  overflow: hidden;
  cursor: pointer;
  background: #141416;
  box-shadow: none;
  outline: none;
  transition: none;
}
.inspire-card:hover {
  transform: none;
  outline: none;
}
.inspire-card img,
.inspire-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.inspire-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.28) 38%, transparent 62%);
  pointer-events: none;
}
.inspire-card span {
  position: absolute;
  left: 0.75rem;
  right: 0.55rem;
  bottom: 0.75rem;
  z-index: 1;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
}
@media (max-width: 860px) {
  .inspire-row {
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .inspire-row::-webkit-scrollbar { display: none; }
  .inspire-card {
    flex: 0 0 auto;
    width: 140px;
  }
}

.hero-thumbs {
  margin-top: 1.75rem;
  display: flex;
  gap: 0.65rem;
}
.hero-thumbs img {
  width: 56px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  opacity: 0.88;
}
@media (min-width: 640px) {
  .hero-thumbs img { width: 68px; height: 88px; }
}

/* hero-only; lower content uses light reference volume */

.btn-primary,
.btn-secondary,
.btn-on-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s, transform 0.1s;
}
.btn-primary {
  color: #fafafa;
  background: var(--brand);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.08);
}
.btn-primary:hover { background: var(--brand-strong); }
.btn-primary:active { transform: translateY(1px); }
.btn-secondary {
  color: #3f3f46;
  background: #fff;
  border: 1px solid #e4e4e7;
  font-weight: 500;
}
.btn-secondary:hover {
  color: #18181b;
  background: #f4f4f5;
  border-color: #d4d4d8;
}
.btn-on-dark {
  padding: 0.5rem 0.875rem;
  font-weight: 500;
}
.btn-on-dark-ghost {
  color: #d4d4d8;
  border: 1px solid transparent;
}
.btn-on-dark-ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.btn-on-dark-brand {
  color: #fff;
  background: var(--brand);
  border: 1px solid transparent;
  font-weight: 600;
}
.btn-on-dark-brand:hover {
  background: var(--brand-strong);
}
.btn-on-dark-solid {
  color: #18181b;
  background: #fff;
  font-weight: 600;
}
.btn-on-dark-solid:hover { background: #f4f4f5; }

.panel {
  border-radius: var(--radius);
  padding: 1.25rem;
}
@media (min-width: 640px) {
  .panel { padding: 2rem; }
}
@media (min-width: 1024px) {
  .panel { padding: 2.5rem; }
}
.panel + .panel,
.panel + .reels-band,
.reels-band + .shell .panel,
.shell .panel { margin-top: 0; }
.main-pad > .panel + .panel,
.main-pad-bottom > .panel + .panel {
  margin-top: 1.5rem;
}
@media (min-width: 640px) {
  .main-pad > .panel + .panel,
  .main-pad-bottom > .panel + .panel {
    margin-top: 2rem;
  }
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--muted-2);
}
.eyebrow.light { color: rgba(250, 250, 250, 0.75); }
.eyebrow-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(0, 0, 0, 0.7);
}
.eyebrow-row .eyebrow { color: inherit; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}
.section-head h2,
.panel h2 { margin-top: 0.5rem; }
.hide-sm { display: none; }
@media (min-width: 640px) { .hide-sm { display: inline-flex; } }

.hero {
  background: #f7f7f7;
  color: #000;
  min-height: auto;
}
@media (min-width: 1024px) {
  .hero { min-height: 620px; padding: 3.5rem; }
}
.hero-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
  }
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 560px;
}
.hero-copy .logo { margin-bottom: 1rem; }
.hero-copy .eyebrow { margin-bottom: 1rem; }
.hero-title {
  font-size: clamp(1.85rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #18181b 0%, #4c1d95 55%, #7c3aed 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  color: rgba(0, 0, 0, 0.65);
  font-size: 0.875rem;
  line-height: 1.7;
}
@media (min-width: 640px) {
  .hero-sub { font-size: 1rem; }
}
.hero-desc {
  margin-top: 0.75rem;
  color: rgba(0, 0, 0, 0.6);
  font-size: 0.875rem;
}
@media (min-width: 640px) {
  .hero-desc { font-size: 1rem; }
}
.hero-cta {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}
.hero-cta > * { width: 100%; }
@media (min-width: 640px) {
  .hero-cta {
    margin-top: 2.5rem;
    flex-direction: row;
    width: auto;
  }
  .hero-cta > * { width: auto; }
}
.hero-note {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: rgba(0, 0, 0, 0.45);
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-stage {
  position: relative;
  width: 250px;
  height: 330px;
}
@media (min-width: 640px) {
  .hero-stage { width: 320px; height: 410px; }
}
@media (min-width: 1024px) {
  .hero-stage { width: 350px; height: 450px; }
}
.hero-card {
  position: absolute;
  left: 50%;
  top: 0;
  width: 210px;
  height: 300px;
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  transition: transform 0.7s ease, opacity 0.7s ease, z-index 0s;
  outline: none;
}
@media (min-width: 640px) {
  .hero-card { width: 280px; height: 380px; }
}
@media (min-width: 1024px) {
  .hero-card { width: 310px; height: 420px; }
}
.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-card:focus-visible {
  box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.45), 0 18px 40px rgba(0, 0, 0, 0.12);
}
.hero-dots {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.hero-dot {
  height: 0.375rem;
  width: 0.375rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
  transition: width 0.3s, background 0.3s;
}
.hero-dot.is-active {
  width: 1.25rem;
  background: rgba(0, 0, 0, 0.8);
}

.panel-features { background: #f6f6f6; }
.panel-workflow { background: #f3f5f7; }
.panel-positioning { background: #eef2f8; }
.panel-usecases { background: #f8f6f3; }
.panel-partners {
  background: #fff;
  border: 1px solid var(--line);
}
.panel-cta {
  background: #0a0a0a !important;
  color: #fafafa !important;
}

/* Landing body defaults to dark bento; light overrides only if needed later */
.landing-body {
  background: #050507;
  color: #f3f4f6;
  padding-top: 0;
}
.landing-body .reels-band {
  margin-top: 1.5rem;
}
@media (min-width: 640px) {
  .landing-body .reels-band { margin-top: 2rem; }
}
.landing-body .reels-band .eyebrow.light,
.landing-body .reels-desc,
.landing-body .sample-badge {
  color: rgba(250, 250, 250, 0.75);
}
.landing-body .reels-band .eyebrow.light {
  color: #a78bfa;
}
.landing-body .reels-band h2 { color: #fff; }
.landing-body .cta-desc {
  color: rgba(250, 250, 250, 0.75);
}

.feature-grid,
.position-grid {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
}
@media (min-width: 768px) {
  .position-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
}
.workflow-grid {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .workflow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .workflow-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
}
.card h3 { margin-top: 0.75rem; }
.card p {
  margin-top: 0.5rem;
  color: rgba(0, 0, 0, 0.65);
  font-size: 0.875rem;
  line-height: 1.65;
}
.workflow-grid .card p {
  margin-top: 0.25rem;
  color: rgba(0, 0, 0, 0.6);
}
.icon-box {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: rgba(124, 58, 237, 0.08);
  color: rgba(76, 29, 149, 0.85);
}
.step {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.4);
}
.lead {
  margin-top: 0.75rem;
  max-width: 56rem;
  color: rgba(0, 0, 0, 0.65);
  font-size: 0.875rem;
  line-height: 1.7;
}
@media (min-width: 640px) {
  .lead { font-size: 1rem; }
}

.reels-band {
  width: 100%;
  margin-top: 1.5rem;
  background: #0f0f10;
  color: #fff;
}
@media (min-width: 640px) {
  .reels-band { margin-top: 2rem; }
}
.reels-head {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.75rem;
  padding-bottom: 1rem;
}
@media (min-width: 640px) {
  .reels-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    padding-top: 2rem;
  }
}
.reels-desc {
  margin-top: 0.5rem;
  max-width: 36rem;
  font-size: 0.875rem;
  color: rgba(250, 250, 250, 0.75);
}
.sample-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.25rem 0.75rem;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(250, 250, 250, 0.75);
  flex-shrink: 0;
}
.reels-grid {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.375rem;
  padding: 0 0.25rem 1.75rem;
}
@media (min-width: 640px) {
  .reels-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
    padding-bottom: 2.25rem;
  }
}
.reel-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 0.5rem;
  background: #18181b;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
  outline: 1px solid rgba(255, 255, 255, 0.1);
}
@media (min-width: 640px) {
  .reel-frame { border-radius: 0.75rem; }
}
@media (min-width: 1024px) {
  .reel-frame { border-radius: 1rem; }
}
.reel-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.reel-shade {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1), transparent);
}
.reel-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.65rem 0.75rem;
}
@media (min-width: 640px) {
  .reel-meta { padding: 0.9rem 1rem; }
}
.reel-kicker {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
}
.reel-title {
  margin-top: 0.15rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
}
@media (min-width: 640px) {
  .reel-title { font-size: 1rem; }
}
.reel-sub {
  margin-top: 0.15rem;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 640px) {
  .reel-sub { font-size: 0.875rem; }
}
.reel-toggle {
  position: absolute;
  right: 0.4rem;
  bottom: 0.4rem;
  z-index: 2;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
}
.reel-toggle::before {
  content: "";
  display: block;
  width: 0.55rem;
  height: 0.7rem;
  margin: 0 auto;
  background:
    linear-gradient(#fff, #fff) left / 0.18rem 100% no-repeat,
    linear-gradient(#fff, #fff) right / 0.18rem 100% no-repeat;
}
.reel-card.is-paused .reel-toggle::before {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.35rem 0 0.35rem 0.55rem;
  border-color: transparent transparent transparent #fff;
  background: none;
  margin-left: 0.15rem;
}

.cta-row {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
@media (min-width: 1024px) {
  .cta-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.panel-cta h2 { color: #fafafa; }
.cta-desc {
  margin-top: 0.75rem;
  color: rgba(250, 250, 250, 0.75);
  font-size: 0.875rem;
}
@media (min-width: 640px) {
  .cta-desc { font-size: 1rem; }
}
.cta-btn { width: 100%; flex-shrink: 0; }
@media (min-width: 640px) {
  .cta-btn { width: auto; }
}

.partners-intro {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2rem;
}
.partners-intro p:last-child {
  margin-top: 0.5rem;
  color: rgba(0, 0, 0, 0.55);
  font-size: 0.875rem;
}
.partner-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8% 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8% 92%, transparent);
}
.partner-marquee-track {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  width: max-content;
  animation: partner-marquee-ltr 24s linear infinite;
}
.partner-marquee-item {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: 0.25rem;
}
@media (min-width: 640px) {
  .partner-marquee-item { padding-inline: 0.5rem; }
}
.partner-offset { transform: translateY(-0.5rem); }
.partner-logo { width: auto; object-fit: contain; }
.partner-logo.h-5 { height: 1.1rem; }
.partner-logo.h-6 { height: 1.25rem; }
.partner-logo.h-7 { height: 1.5rem; }
.partner-logo.h-8 { height: 1.75rem; }
.partner-logo.h-10 { height: 2.25rem; }
.partner-logo.h-11 { height: 2.5rem; }
@media (min-width: 640px) {
  .partner-logo.h-5 { height: 1.25rem; }
  .partner-logo.h-6 { height: 1.5rem; }
  .partner-logo.h-7 { height: 1.75rem; }
  .partner-logo.h-8 { height: 2rem; }
  .partner-logo.h-10 { height: 2.5rem; }
  .partner-logo.h-11 { height: 2.75rem; }
}

.site-footer {
  margin-top: auto;
  background: #000;
  color: #d4d4d8;
  border-top: 1px solid #262626;
  padding-block: 1.5rem;
}
.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-end;
  justify-content: space-between;
}
@media (min-width: 640px) {
  .footer-grid { flex-direction: row; }
}
.footer-info {
  width: 100%;
  font-size: 0.875rem;
  display: grid;
  gap: 0.25rem;
}
.footer-info .label {
  font-weight: 600;
  color: #e5e5e5;
}
.footer-info .sep {
  padding-inline: 0.5rem;
  color: #737373;
}
.footer-links {
  padding-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  font-size: 0.75rem;
  color: #a3a3a3;
}
.footer-links a:hover { color: #e5e5e5; }
.footer-actions {
  padding-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.copyright {
  padding-top: 0.5rem;
  color: #737373;
}
.footer-brand {
  flex-shrink: 0;
  text-align: right;
  margin-left: auto;
  display: grid;
  justify-items: end;
  gap: 0.35rem;
}
.footer-brand .logo {
  height: 1.75rem;
  filter: none;
}
.footer-brand p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.4;
  color: #a3a3a3;
  font-weight: 500;
}

.animate-fade-in { animation: fade-in 0.4s ease-out; }

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes partner-marquee-ltr {
  from { transform: translateX(-33.333%); }
  to { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .partner-marquee-track,
  .animate-fade-in,
  .hero-card,
  .hero-dot,
  .stitch-title-line {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .prompt-shell {
    background: rgba(20, 20, 24, 0.92);
  }
  .prompt-shell::before {
    animation: none !important;
    opacity: 0;
  }
}

/* —— Dark bento card landing body —— */
.landing-bento {
  background-color: #050507;
  background-image: var(--star-grid);
  background-size: 32px 32px;
  color: #f3f4f6;
  padding: 0 0 3rem;
}
.landing-bento .eyebrow {
  color: #a78bfa;
  font-weight: 800;
}
.landing-bento .eyebrow.light {
  color: #a78bfa;
  font-weight: 800;
}
.landing-bento h2 {
  color: #fff;
  letter-spacing: -0.03em;
}
.landing-bento .lead {
  color: rgba(255, 255, 255, 0.62);
  max-width: 48rem;
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  line-height: 1.7;
}
.landing-bento .lead b { color: #fff; }

.bento-shell {
  padding-top: 3.5rem;
  display: grid;
  gap: 7.5rem;
}
.bento-shell-bottom {
  padding-top: 4.5rem;
  padding-bottom: 1.5rem;
  gap: 5rem;
}
.positioning-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  margin: 2rem 0 0;
  padding: 5.5rem 0 5.5rem;
}
.positioning-aurora-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.positioning-aurora-stage .aurora-canvas {
  opacity: 0.42;
  transform: translateY(18%);
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    #000 14%,
    #000 86%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    #000 14%,
    #000 86%,
    transparent 100%
  );
}
.positioning-aurora-veil {
  background:
    linear-gradient(
      to bottom,
      #050507 0%,
      rgba(5, 5, 7, 0.78) 14%,
      rgba(5, 5, 7, 0.42) 36%,
      rgba(5, 5, 7, 0.42) 64%,
      rgba(5, 5, 7, 0.78) 86%,
      #050507 100%
    ),
    radial-gradient(ellipse 80% 55% at 50% 62%, rgba(124, 58, 237, 0.12), rgba(59, 130, 246, 0.04) 42%, transparent 72%);
}
.positioning-aurora-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.25rem;
}
.bento-block {
  display: grid;
  gap: 2rem;
}
.bento-heading { text-align: left; }
.bento-heading.row-between {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}
.bento-heading .eyebrow {
  margin-bottom: 0;
}
.bento-heading h2 {
  margin-top: 0.95rem;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}
.positioning-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.28em 0.35em;
  line-height: 1.15;
}
.positioning-brand-logo {
  height: 0.82em;
  width: auto;
  display: inline-block;
  filter: brightness(0) saturate(100%) invert(42%) sepia(86%) saturate(2476%) hue-rotate(239deg) brightness(98%) contrast(96%);
  transform: translateY(0.02em);
}
.bento-heading .lead {
  margin-top: 1rem;
}

.btn-ghost-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
}
.btn-ghost-line:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: transparent;
}

.template-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}
.template-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #111114;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  min-height: 0;
  box-sizing: border-box;
  opacity: 0.9;
  transition: opacity 0.25s, border-color 0.25s;
}
.template-card.is-focus {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: none;
  transform: none;
}
.template-card > img,
.template-card > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center center;
  min-height: 0;
  display: block;
  background: #111114;
  border: 0;
}
.template-card.is-campaign > video {
  transform: scale(1.28);
  transform-origin: 42% 38%;
}
.template-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1rem 1.1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), transparent);
  display: grid;
  gap: 0.2rem;
}
.template-meta span {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.template-meta strong { color: #fff; font-size: 1rem; }

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}
.bento-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.bento-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    #0d0d10;
  padding: 1.35rem 1.4rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: grid;
  gap: 0.65rem;
  align-content: start;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.bento-card-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}
.bento-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
}
.span-8.bento-card,
.span-4.bento-card {
  min-height: 220px;
}
.bento-card h3 {
  margin: 0;
  color: #fff;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.bento-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  line-height: 1.65;
}
.span-8 { grid-column: span 8; }
.span-4 { grid-column: span 4; }

.bento-kicker {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.25rem 0.65rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.glow-purple::before,
.glow-cyan::before,
.glow-lime::before,
.glow-blue::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
.glow-purple::before { background: #7c3aed; right: -40px; top: -50px; }
.glow-cyan::before { background: #22d3ee; right: -30px; bottom: -60px; }
.glow-lime::before { background: #a3e635; left: -40px; bottom: -50px; }
.glow-blue::before {
  background: #3b5b8a;
  left: -50px;
  top: 20%;
  opacity: 0.18;
  filter: blur(64px);
}
.bento-card > * { position: relative; z-index: 1; }

.bento-tag-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.bento-card.is-soon .soon-badge {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.22rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.72);
}

.bento-visual.mosaic {
  margin-top: 0.35rem;
  margin-left: auto;
  width: min(100%, 320px);
  height: 150px;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.4rem;
}
.bento-visual.mosaic img:first-child {
  grid-row: span 2;
}
.bento-visual.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 0;
  background: #16161a;
}

.avatar-profiles {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.7rem;
  align-items: start;
}
.avatar-profile {
  margin: 0;
  width: 100%;
  display: grid;
  gap: 0.4rem;
  justify-items: center;
  border-radius: 0;
  overflow: visible;
  border: 0;
  box-shadow: none;
  background: transparent;
  position: relative;
  transition: transform 0.18s ease;
}
.avatar-profile:hover {
  transform: translateY(-3px);
  z-index: auto;
}
.avatar-profile img {
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #1a1a1e;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}
.avatar-profile figcaption {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.62);
  text-align: center;
  line-height: 1.2;
}
@media (max-width: 900px) {
  .avatar-profiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .avatar-profiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
  }
  .avatar-profile figcaption {
    font-size: 0.62rem;
  }
}

.format-pills,
.copy-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.35rem;
}
.format-pills span,
.copy-preview span {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.35rem 0.7rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.78);
}

.format-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.55rem;
}
.format-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.4rem 0.75rem 0.4rem 0.45rem;
}
.format-logo svg {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
  flex-shrink: 0;
}
.format-logo em {
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: -0.01em;
}

.workflow-bento {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
}
.landing-bento .icon-box {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: rgba(124, 58, 237, 0.16);
  color: #c4b5fd;
  border: 1px solid rgba(167, 139, 250, 0.22);
}
.landing-bento .icon-box svg {
  stroke-linecap: round;
  stroke-linejoin: round;
}
.step-card span {
  color: rgba(167, 139, 250, 0.9);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.step-card h3 {
  margin-top: 0.1rem;
}

.reels-bento {
  margin-top: 5.5rem;
  background: transparent;
  border: 0;
  padding-block: 1rem 1.75rem;
}
.reels-bento .reels-grid {
  max-width: var(--shell);
  padding-inline: 1rem;
}
.reels-bento .reel-frame {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.reels-bento .reels-head {
  margin-bottom: 1.25rem;
}

.bento-cta {
  text-align: center;
  border-radius: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem 1.5rem;
  background:
    radial-gradient(ellipse 60% 80% at 50% 100%, rgba(124, 58, 237, 0.28), transparent 65%),
    #0b0b0e;
}
.bento-cta h2 {
  margin: 0.55rem auto 0;
  max-width: none;
  white-space: nowrap;
}
.bento-cta .cta-desc {
  margin: 0.85rem auto 0;
  max-width: none;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.62);
}
.bento-cta .cta-btn {
  margin-top: 1.35rem;
  display: inline-flex;
}
@media (max-width: 720px) {
  .bento-cta {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .bento-cta h2,
  .bento-cta .cta-desc {
    white-space: nowrap;
    width: max-content;
    margin-left: auto;
    margin-right: auto;
  }
}

.partners-card {
  padding: 1.75rem 1.4rem 1.4rem;
}
.landing-bento .partners-intro {
  text-align: center;
  margin: 0 auto 1.5rem;
}
.landing-bento .partners-intro h2 { color: #fff; }
.landing-bento .partners-intro p:last-child {
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.45rem;
}
.landing-bento .partner-logo {
  filter: none;
  opacity: 1;
}
.landing-bento .partner-logo.is-mono {
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

@media (max-width: 980px) {
  .template-row { grid-template-columns: 1fr; }
  .template-card,
  .template-card.is-focus {
    opacity: 1;
    aspect-ratio: 3 / 4;
    height: auto;
    max-width: 320px;
    margin-inline: auto;
    transform: none;
  }
  .template-card > img,
  .template-card > video { min-height: 0; }
  .bento-grid { grid-template-columns: 1fr; }
  .span-8, .span-4 { grid-column: auto; }
  .bento-grid.three { grid-template-columns: 1fr; }
  .workflow-bento { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .workflow-bento { grid-template-columns: 1fr; }
  .bento-shell { gap: 5.5rem; padding-top: 2.5rem; }
  .bento-shell-bottom { gap: 4rem; padding-top: 3rem; }
  .bento-block { gap: 1.5rem; }
  .bento-heading h2 { margin-top: 0.8rem; }
  .reels-bento { margin-top: 4rem; }
}

.avora-toast-host {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  z-index: 120;
  transform: translateX(-50%);
  display: grid;
  gap: 0.55rem;
  width: min(420px, calc(100vw - 1.5rem));
  pointer-events: none;
}
.avora-toast {
  pointer-events: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(167, 139, 250, 0.35);
  background:
    linear-gradient(180deg, rgba(48, 36, 78, 0.96), rgba(24, 20, 36, 0.98));
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  color: #fff;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition: opacity 0.22s ease, transform 0.22s ease;
  backdrop-filter: blur(14px);
}
.avora-toast.is-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.avora-toast.is-out {
  opacity: 0;
  transform: translateY(8px) scale(0.98);
}
.avora-toast-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.28);
  color: #ddd6fe;
  flex-shrink: 0;
}
.avora-toast.is-warn .avora-toast-icon {
  background: rgba(251, 191, 36, 0.16);
  color: #fde68a;
  border: 1px solid rgba(251, 191, 36, 0.28);
}
.avora-toast-msg {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.94);
}
.avora-toast-close {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.15rem;
  line-height: 1;
}
.avora-toast-close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.prompt-shell.is-invalid {
  animation: prompt-shake 0.45s ease;
}
@keyframes prompt-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-4px); }
  40% { transform: translateX(4px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(2px); }
}

