:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bg: #050507;
  --surface: rgba(16, 17, 22, 0.78);
  --surface-strong: rgba(10, 11, 15, 0.9);
  --surface-elevated: rgba(21, 22, 29, 0.84);
  --surface-soft: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f5f7fa;
  --muted: #71717a;
  --soft: #a1a1aa;
  --accent: #a78bfa;
  --accent-2: #38bdf8;
  --accent-3: #d946ef;
  --accent-soft: rgba(167, 139, 250, 0.12);
  --danger: #fb7185;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
  --shadow-soft: 0 14px 34px rgba(0, 0, 0, 0.22);
}

/* Premium floating navigation */
.topbar {
  position: sticky;
  top: 12px;
  z-index: 120;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) auto;
  align-items: center;
  width: min(1400px, calc(100vw - 24px));
  min-height: 74px;
  margin: 12px 0 0 50%;
  padding: 0 14px 0 16px;
  border: 1px solid rgba(135, 174, 255, 0.16);
  border-radius: 22px;
  background: rgba(6, 9, 18, 0.76);
  box-shadow: 0 14px 40px rgba(3, 12, 31, 0.34), 0 8px 24px rgba(64, 128, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px) saturate(135%);
  -webkit-backdrop-filter: blur(20px) saturate(135%);
  transform: translateX(-50%);
  transition: min-height 260ms ease, top 260ms ease, background 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.topbar.is-scrolled {
  top: 8px;
  min-height: 62px;
  background: rgba(5, 8, 16, 0.92);
  border-color: rgba(135, 174, 255, 0.22);
  box-shadow: 0 16px 46px rgba(1, 5, 16, 0.52), 0 9px 28px rgba(68, 128, 255, 0.13);
}

.topbar .brand,
.mobile-nav-drawer .brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 11px;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
}

.topbar .brand-mark,
.mobile-nav-drawer .brand-mark {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 13px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  background: linear-gradient(145deg, #7c81ff 0%, #4f8ef5 48%, #40bee9 100%);
  box-shadow: 0 7px 18px rgba(78, 124, 244, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.32);
  transition: box-shadow 240ms ease, transform 240ms ease;
}

.topbar .brand-mark i,
.mobile-nav-drawer .brand-mark i {
  position: absolute;
  top: -35%;
  bottom: -35%;
  left: -85%;
  width: 45%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.52), transparent);
  transform: rotate(18deg);
  animation: navbar-logo-shine 6.5s ease-in-out infinite;
}

.topbar .brand:hover .brand-mark {
  box-shadow: 0 8px 24px rgba(78, 147, 255, 0.38), 0 0 22px rgba(91, 104, 255, 0.16);
  transform: translateY(-1px);
}

.topbar .brand-copy,
.mobile-nav-drawer .brand-copy {
  display: grid;
  gap: 2px;
}

.topbar .brand-copy strong,
.mobile-nav-drawer .brand-copy strong {
  font-size: 15px;
  font-weight: 750;
  line-height: 1;
  letter-spacing: 0;
}

.topbar .brand-copy small,
.mobile-nav-drawer .brand-copy small {
  color: #9ba7bd;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
}

@keyframes navbar-logo-shine {
  0%, 58% { left: -85%; opacity: 0; }
  66% { opacity: 0.8; }
  82%, 100% { left: 145%; opacity: 0; }
}

.topbar .main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.topbar .main-nav a {
  position: relative;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 0;
  border-radius: 9px;
  color: #8f99ad;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  background: transparent;
  box-shadow: none;
  transition: color 220ms ease, background 220ms ease, transform 220ms ease, text-shadow 220ms ease;
}

.topbar .main-nav a::after {
  position: absolute;
  right: 10px;
  bottom: 3px;
  left: 10px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #6c7cff, #54c7ff);
  content: '';
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 220ms ease, transform 220ms ease;
}

.topbar .main-nav a:hover {
  color: #f5f8ff;
  background: rgba(91, 139, 255, 0.07);
  text-shadow: 0 0 16px rgba(104, 153, 255, 0.32);
  transform: translateY(-2px);
}

.topbar .main-nav a.active {
  color: #fff;
  background: rgba(85, 136, 255, 0.1);
}

.topbar .main-nav a.active::after {
  opacity: 0.9;
  transform: scaleX(1);
}

.topbar .main-nav .tryon-nav-link small,
.mobile-nav-links small {
  padding: 3px 5px;
  border: 1px solid rgba(166, 137, 255, 0.3);
  border-radius: 6px;
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  background: linear-gradient(110deg, #4f83ee, #8c5ce6);
  box-shadow: 0 0 12px rgba(114, 94, 235, 0.22);
}

.topbar .top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.navbar-theme-button,
.navbar-menu-button {
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  color: #aeb9cb;
  background: rgba(255, 255, 255, 0.035);
  transition: color 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.navbar-theme-button:hover {
  color: #fff;
  border-color: rgba(105, 164, 255, 0.28);
  background: rgba(95, 143, 255, 0.1);
  box-shadow: 0 0 18px rgba(73, 134, 255, 0.18);
  transform: rotate(10deg);
}

.theme-icon-sun { display: none; }
body[data-theme='clean'] .theme-icon-moon { display: none; }
body[data-theme='clean'] .theme-icon-sun { display: block; }

.navbar-login-button {
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #d7deea;
  font-size: 12px;
  font-weight: 700;
  background: transparent;
  transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}

.navbar-login-button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-1px);
}

.navbar-cta {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 16px;
  border: 1px solid rgba(177, 199, 255, 0.3);
  border-radius: 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 750;
  background: linear-gradient(105deg, #477fdc 0%, #7277ee 46%, #8b55d6 100%);
  background-position: 0 50%;
  background-size: 190% 100%;
  box-shadow: 0 8px 22px rgba(77, 102, 226, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 230ms ease, box-shadow 230ms ease, background-position 500ms ease;
}

.navbar-cta:hover {
  background-position: 100% 50%;
  box-shadow: 0 11px 28px rgba(90, 104, 236, 0.32), 0 0 18px rgba(83, 144, 255, 0.12);
  transform: translateY(-2px);
}

.navbar-cta i {
  font-size: 16px;
  font-style: normal;
  line-height: 1;
  transition: transform 220ms ease;
}

.navbar-cta:hover i { transform: translateX(3px); }
.navbar-menu-button { display: none; }
.topbar .session-chip { min-height: 40px; border-radius: 10px; }
.topbar #logoutButton { min-height: 40px; border-radius: 9px; }

body[data-theme='clean'] .topbar {
  border-color: rgba(57, 98, 166, 0.15);
  background: rgba(249, 252, 255, 0.82);
  box-shadow: 0 16px 42px rgba(35, 64, 110, 0.13), inset 0 1px 0 #fff;
}
body[data-theme='clean'] .topbar.is-scrolled { background: rgba(249, 252, 255, 0.94); }
body[data-theme='clean'] .topbar .main-nav a { color: #67738a; }
body[data-theme='clean'] .topbar .main-nav a:hover,
body[data-theme='clean'] .topbar .main-nav a.active { color: #13213b; }

.mobile-nav-backdrop,
.mobile-nav-drawer { display: none; }

@media (max-width: 1120px) {
  .topbar { grid-template-columns: 190px minmax(0, 1fr) auto; }
  .topbar .main-nav { gap: 2px; }
  .topbar .main-nav a { padding-inline: 7px; font-size: 12px; }
  .topbar .main-nav .tryon-nav-link small { display: none; }
}

@media (max-width: 900px) {
  body.mobile-nav-open { overflow: hidden; }

  .topbar,
  .topbar.is-scrolled {
    top: 10px;
    grid-template-columns: auto 1fr;
    width: calc(100vw - 20px);
    min-height: 66px;
    margin-top: 10px;
    padding: 0 10px 0 12px;
    border-radius: 19px;
  }

  .topbar .main-nav,
  .topbar .navbar-theme-button,
  .topbar .navbar-login-button,
  .topbar .session-chip,
  .topbar #logoutButton { display: none !important; }

  .topbar .top-actions { gap: 8px; }
  .navbar-menu-button { display: grid; }
  .navbar-menu-button span {
    display: block;
    width: 17px;
    height: 1.5px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 220ms ease;
  }
  .navbar-menu-button span + span { margin-top: -10px; }
  body.mobile-nav-open .navbar-menu-button span:first-child { transform: translateY(5px) rotate(45deg); }
  body.mobile-nav-open .navbar-menu-button span:last-child { transform: translateY(-5px) rotate(-45deg); }

  .mobile-nav-backdrop {
    position: fixed;
    z-index: 180;
    display: block;
    inset: 0;
    background: rgba(1, 4, 12, 0.58);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
  }

  .mobile-nav-drawer {
    position: fixed;
    z-index: 190;
    top: 10px;
    right: 10px;
    bottom: 10px;
    display: flex;
    width: min(390px, calc(100vw - 20px));
    overflow-y: auto;
    flex-direction: column;
    padding: 18px;
    border: 1px solid rgba(143, 176, 255, 0.18);
    border-radius: 22px;
    background: rgba(7, 10, 20, 0.96);
    box-shadow: -24px 0 70px rgba(0, 4, 15, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(24px) saturate(135%);
    -webkit-backdrop-filter: blur(24px) saturate(135%);
    opacity: 0;
    transform: translateX(calc(100% + 20px));
    transition: opacity 280ms ease, transform 320ms cubic-bezier(.22,.8,.2,1);
  }

  body.mobile-nav-open .mobile-nav-drawer { opacity: 1; transform: translateX(0); }
  .mobile-nav-header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 20px; }
  #mobileNavClose {
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
    color: #cbd5e5;
    font-size: 26px;
    line-height: 1;
    background: rgba(255,255,255,.04);
  }

  .mobile-nav-links { display: grid; border-top: 1px solid rgba(255,255,255,.08); }
  .mobile-nav-links a {
    display: flex;
    min-height: 66px;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid rgba(255,255,255,.07);
    color: #a8b2c3;
    font-size: 18px;
    font-weight: 680;
    text-decoration: none;
    transition: color 220ms ease, padding 220ms ease, background 220ms ease;
  }
  .mobile-nav-links a > span { color: #5d6d88; font-size: 10px; font-weight: 800; }
  .mobile-nav-links a.active,
  .mobile-nav-links a:hover { padding-left: 7px; color: #fff; background: linear-gradient(90deg, rgba(77,132,255,.09), transparent); }
  .mobile-nav-links small { margin-left: auto; margin-right: 8px; }

  .mobile-nav-actions { display: grid; gap: 10px; margin-top: auto; padding-top: 24px; }
  .mobile-theme-row {
    display: flex;
    min-height: 56px;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    color: #8e9aae;
    background: rgba(255,255,255,.03);
  }
  .mobile-theme-row strong { color: #e7ebf3; font-size: 12px; }
  .mobile-nav-actions .full { width: 100%; min-height: 50px; }
  .mobile-user-area {
    display: grid;
    grid-template-columns: 38px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 9px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    background: rgba(255,255,255,.04);
  }
  .mobile-user-area[hidden] { display: none; }
  .mobile-user-area > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 10px; color: #fff; background: linear-gradient(135deg,#5c8bea,#805ee1); }
  .mobile-user-area strong { overflow: hidden; color: #edf2fa; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-user-area button { border: 0; color: #9ba8bb; background: transparent; }

  body[data-theme='clean'] .mobile-nav-drawer { border-color: rgba(57,98,166,.15); background: rgba(249,252,255,.97); }
  body[data-theme='clean'] .mobile-nav-links a { border-color: rgba(28,57,103,.1); color: #647188; }
  body[data-theme='clean'] .mobile-nav-links a.active,
  body[data-theme='clean'] .mobile-nav-links a:hover { color: #10213f; }
}

@media (max-width: 520px) {
  .topbar .brand-mark { width: 38px; height: 38px; border-radius: 12px; }
  .topbar .brand-copy strong { font-size: 13px; }
  .topbar .brand-copy small { font-size: 9px; }
  .topbar .navbar-cta { min-height: 40px; padding-inline: 11px; font-size: 11px; }
  .topbar .navbar-cta i { display: none; }
  .navbar-menu-button { width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .topbar *,
  .mobile-nav-drawer,
  .mobile-nav-backdrop { scroll-behavior: auto !important; animation: none !important; transition-duration: 0.01ms !important; }
}

/* Legal, operations and global trust surfaces */
.studio-page-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 24px 12px;
  border-bottom: 1px solid rgba(130, 160, 220, .1);
}

.studio-page-heading span {
  color: #72c8ff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.studio-page-heading h1,
.studio-page-heading h2 {
  margin: 0;
  color: var(--text);
  font-size: 22px;
  line-height: 1.15;
}

.global-footer {
  width: min(1400px, calc(100% - 48px));
  margin: 72px auto 24px;
  padding: 34px 0 0;
  border-top: 1px solid rgba(130, 160, 220, .16);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) repeat(4, minmax(130px, .65fr));
  gap: 40px;
  align-items: start;
}

.footer-about { max-width: 360px; }
.footer-about p { margin: 18px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.footer-brand { display: inline-flex; text-decoration: none; }

.footer-links {
  display: grid;
  gap: 11px;
}

.footer-links strong {
  margin-bottom: 3px;
  color: var(--text);
  font-size: 12px;
}

.footer-links a,
.footer-links button {
  width: fit-content;
  padding: 0;
  border: 0;
  color: #9ba7bd;
  background: transparent;
  font: inherit;
  font-size: 12px;
  line-height: 1.45;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: color .2s ease, transform .2s ease;
}

.footer-links a:hover,
.footer-links button:hover { color: #fff; transform: translateX(2px); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  padding: 18px 0;
  border-top: 1px solid rgba(130, 160, 220, .1);
  color: #788398;
  font-size: 11px;
}

.legal-view,
.operations-view { padding: 104px 24px 30px; }

.legal-shell,
.operations-shell { width: min(1180px, 100%); margin: 0 auto; }

.legal-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .7fr);
  gap: 42px;
  align-items: end;
  padding: 48px;
  overflow: hidden;
  border: 1px solid rgba(120, 160, 225, .2);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(18, 26, 48, .92), rgba(7, 12, 23, .96));
  box-shadow: 0 28px 80px rgba(0, 0, 0, .28);
}

.legal-hero::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(91, 134, 205, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(91, 134, 205, .06) 1px, transparent 1px);
  background-size: 34px 34px;
  content: '';
  pointer-events: none;
}

.legal-hero > * { position: relative; }
.legal-hero h1 { max-width: 720px; margin: 14px 0 18px; font-size: clamp(38px, 6vw, 68px); line-height: 1; }
.legal-hero > div > p { max-width: 720px; margin: 0; color: #aeb8ca; font-size: 15px; line-height: 1.75; }
.legal-hero > div > small { display: block; margin-top: 20px; color: #78859b; font-size: 11px; }

.legal-identity {
  padding: 24px;
  border: 1px solid rgba(127, 154, 214, .2);
  border-radius: 8px;
  background: rgba(5, 9, 18, .72);
  backdrop-filter: blur(18px);
}

.legal-identity > span { color: #67c8ff; font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.legal-identity > strong { display: block; margin: 9px 0 18px; font-size: 20px; }
.legal-identity dl { display: grid; gap: 10px; margin: 0; }
.legal-identity dl div { display: grid; grid-template-columns: 100px 1fr; gap: 12px; }
.legal-identity dt { color: #78859b; font-size: 10px; }
.legal-identity dd { margin: 0; color: #c5ccda; font-size: 11px; overflow-wrap: anywhere; }
.legal-identity a { color: #7bd4ff; }

.legal-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 52px;
  margin-top: 44px;
}

.legal-toc { position: sticky; top: 100px; display: grid; align-self: start; gap: 6px; }
.legal-toc strong { margin-bottom: 10px; color: #fff; font-size: 12px; }
.legal-toc a { padding: 10px 12px; border-left: 2px solid transparent; color: #8f9bb0; font-size: 11px; text-decoration: none; }
.legal-toc a:hover { color: #fff; }
.legal-toc a[aria-current='page'] { border-left-color: #63c7ff; color: #fff; background: rgba(72, 128, 225, .08); }

.legal-content { display: grid; gap: 0; }
.legal-content > section { padding: 0 0 30px; margin-bottom: 30px; border-bottom: 1px solid rgba(130, 160, 220, .12); }
.legal-content h2 { margin: 0 0 12px; color: #f4f7ff; font-size: 21px; }
.legal-content p { margin: 0; color: #aab4c6; font-size: 13px; line-height: 1.85; }
.legal-content p a,
.legal-sources a { color: #6dccff; }
.legal-sources { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.legal-sources h2 { width: 100%; }
.legal-sources a { font-size: 12px; }

.cookie-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: end;
  width: min(680px, calc(100% - 48px));
  padding: 24px;
  border: 1px solid rgba(104, 155, 236, .34);
  border-radius: 8px;
  background: rgba(7, 12, 24, .96);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .58), 0 0 40px rgba(61, 124, 220, .1);
  backdrop-filter: blur(22px);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { margin: 7px 0 8px; font-size: 22px; }
.cookie-banner p { margin: 0 0 10px; color: #aab4c6; font-size: 12px; line-height: 1.55; }
.cookie-banner a { color: #70ceff; font-size: 11px; }
.cookie-actions { display: flex; gap: 9px; }
.cookie-actions button { white-space: nowrap; }

.operations-heading {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 26px;
}
.operations-heading h1 { margin: 10px 0 9px; font-size: clamp(34px, 5vw, 58px); line-height: 1; }
.operations-heading p { margin: 0; color: var(--muted); }
.operations-status { margin-bottom: 18px; padding: 14px 16px; border-left: 3px solid #5bc6ff; color: #b9c5d8; background: rgba(70, 130, 220, .07); font-size: 12px; }
.operations-status.success { border-left-color: #40d8a1; }
.operations-status.warning { border-left-color: #f4c65e; }
.operations-status.error { border-left-color: #fb7185; color: #ffc2cb; }
.operations-status button { margin-left: 8px; border: 0; color: #72d1ff; background: transparent; font-weight: 800; cursor: pointer; }
.operations-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.operations-summary article { padding: 18px; border: 1px solid rgba(130, 160, 220, .15); border-radius: 6px; background: rgba(9, 15, 28, .78); }
.operations-summary span { display: block; color: #8490a5; font-size: 10px; text-transform: uppercase; }
.operations-summary strong { display: block; margin-top: 9px; font-size: 28px; }
.operations-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.operations-panel { min-width: 0; padding: 20px; border: 1px solid rgba(130, 160, 220, .15); border-radius: 6px; background: rgba(7, 12, 23, .84); }
.operations-panel.wide { grid-column: 1 / -1; }
.operations-panel-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.operations-panel-heading h2 { margin: 0; font-size: 16px; }
.operations-panel-heading span { display: grid; min-width: 26px; height: 26px; place-items: center; color: #79d2ff; background: rgba(83, 150, 235, .12); font-size: 10px; }
.operations-table-wrap { overflow-x: auto; }
.operations-table-wrap table { width: 100%; border-collapse: collapse; font-size: 10px; }
.operations-table-wrap th { padding: 9px; border-bottom: 1px solid rgba(130, 160, 220, .16); color: #77849a; text-align: left; white-space: nowrap; }
.operations-table-wrap td { max-width: 260px; padding: 10px 9px; border-bottom: 1px solid rgba(130, 160, 220, .08); color: #b8c1d1; overflow-wrap: anywhere; vertical-align: top; }
.operations-table-wrap code { font-size: 9px; }
.operations-table-wrap .positive { color: #47dda8; }
.operations-table-wrap .negative { color: #ff8294; }
.operation-badge { display: inline-block; padding: 5px 7px; border: 1px solid rgba(112, 198, 255, .22); color: #7dd4ff; background: rgba(70, 135, 225, .08); white-space: nowrap; }
.operation-badge.failed { border-color: rgba(251, 113, 133, .28); color: #ff9aaa; }
.operation-badge.completed { border-color: rgba(64, 216, 161, .25); color: #63e2b4; }
.operation-badge.unmatched { border-color: rgba(246, 196, 83, .3); color: #f6d780; }
.operations-empty { padding: 30px 15px; color: #7f8ca1; text-align: center; font-size: 11px; }
.operations-credit-form { display: grid; grid-template-columns: 1fr 140px; gap: 12px; }
.operations-credit-form label { display: grid; gap: 7px; }
.operations-credit-form label.wide { grid-column: 1 / -1; }
.operations-credit-form label span { color: #8d99ad; font-size: 10px; }
.operations-credit-form input,
.operations-credit-form select { width: 100%; min-height: 42px; padding: 0 12px; border: 1px solid rgba(130, 160, 220, .18); border-radius: 5px; color: #fff; background: #0a101d; font: inherit; font-size: 11px; }
.operations-credit-form button { grid-column: 1 / -1; }

@media (max-width: 900px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .legal-hero { grid-template-columns: 1fr; padding: 34px; }
  .legal-layout { grid-template-columns: 1fr; gap: 28px; }
  .legal-toc { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal-toc strong { grid-column: 1 / -1; }
  .operations-summary { grid-template-columns: repeat(2, 1fr); }
  .operations-grid { grid-template-columns: 1fr; }
  .operations-panel.wide { grid-column: auto; }
}

@media (max-width: 620px) {
  .studio-page-heading { align-items: flex-start; flex-direction: column; gap: 6px; padding: 14px 16px 10px; }
  .studio-page-heading h1,
  .studio-page-heading h2 { font-size: 18px; }
  .global-footer { width: calc(100% - 32px); margin-top: 48px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 30px 18px; }
  .footer-about { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .legal-view,
  .operations-view { padding: 84px 16px 20px; }
  .legal-hero { padding: 26px 20px; border-radius: 6px; }
  .legal-hero h1 { font-size: 38px; }
  .legal-toc { grid-template-columns: 1fr; }
  .legal-toc strong { grid-column: auto; }
  .cookie-banner { right: 12px; bottom: 12px; grid-template-columns: 1fr; width: calc(100% - 24px); padding: 20px; }
  .cookie-actions { display: grid; grid-template-columns: 1fr; }
  .cookie-actions button { width: 100%; }
  .operations-heading { align-items: flex-start; flex-direction: column; }
  .operations-summary { grid-template-columns: 1fr 1fr; }
  .operations-credit-form { grid-template-columns: 1fr; }
  .operations-credit-form label.wide,
  .operations-credit-form button { grid-column: auto; }
}

body[data-theme="clean"] {
  color-scheme: light;
  --bg: #f6f8fb;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: #ffffff;
  --surface-soft: rgba(226, 232, 240, 0.64);
  --border: rgba(15, 23, 42, 0.12);
  --text: #0f172a;
  --muted: #64748b;
  --soft: #334155;
  --accent: #2563eb;
  --accent-2: #0891b2;
  --accent-soft: rgba(37, 99, 235, 0.12);
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.13);
}

body[data-theme="commerce"] {
  --bg: #0a0c09;
  --surface: rgba(18, 26, 20, 0.82);
  --surface-strong: rgba(18, 26, 20, 0.96);
  --surface-soft: rgba(45, 58, 48, 0.52);
  --border: rgba(187, 247, 208, 0.18);
  --text: #f7fee7;
  --muted: #a7b7a5;
  --soft: #d9f99d;
  --accent: #84cc16;
  --accent-2: #22c55e;
  --accent-3: #bef264;
  --accent-soft: rgba(132, 204, 22, 0.16);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 0%, rgba(57, 118, 214, 0.09), transparent 38rem),
    radial-gradient(circle at 52% 44%, rgba(255,255,255,0.025), transparent 42rem),
    linear-gradient(180deg, #07080d 0%, #050507 54%, #050507 100%),
    var(--bg);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.024) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 68%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .42;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
}

button,
input,
select {
  font: inherit;
}

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

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid rgba(125, 211, 252, 0.72);
  outline-offset: 3px;
}

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

.app-frame {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  padding: 14px 0 56px;
}

.topbar {
  position: sticky;
  top: 18px;
  z-index: 20;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 50px;
  padding: 7px 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(18, 20, 28, 0.92), rgba(8, 9, 14, 0.88)),
    rgba(8, 9, 13, 0.86);
  backdrop-filter: blur(22px) saturate(125%);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255,255,255,0.04);
}

.brand,
.top-actions,
.main-nav,
.theme-switcher {
  display: flex;
  align-items: center;
}

.brand {
  gap: 11px;
  padding-left: 8px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 30% 22%, rgba(255,255,255,.72), transparent 17%),
    linear-gradient(135deg, #8b7cf6, #54b9ee);
  color: white;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.28);
  transition: box-shadow .18s ease, transform .18s ease;
}

.brand:hover .brand-mark {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(91, 214, 255, 0.17), inset 0 1px 0 rgba(255,255,255,0.34);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand strong {
  font-size: 13px;
  letter-spacing: -0.01em;
}

.brand small {
  color: var(--muted);
  font-size: 10px;
}

.main-nav {
  justify-content: center;
  gap: 3px;
  width: fit-content;
  justify-self: center;
  padding: 4px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 999px;
  background: rgba(255,255,255,0.028);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.main-nav a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 13px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  transition: color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--text);
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.055));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.top-actions {
  gap: 8px;
}

.session-chip {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 11px 4px 5px;
  background:
    linear-gradient(135deg, rgba(167,139,250,0.12), rgba(56,189,248,0.06)),
    rgba(255,255,255,0.035);
  color: var(--text);
  max-width: 190px;
}

.session-chip span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  font-size: 12px;
  font-weight: 850;
}

.session-chip strong {
  overflow: hidden;
  font-size: 13px;
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.theme-switcher {
  gap: 4px;
  margin-right: 2px;
  padding: 4px;
  border: 1px solid rgba(255,255,255,0.065);
  border-radius: 999px;
  background: rgba(255,255,255,0.025);
  opacity: .72;
  transition: opacity .18s ease, border-color .18s ease, background .18s ease;
}

.theme-switcher:hover {
  opacity: .9;
  border-color: rgba(255,255,255,0.11);
  background: rgba(255,255,255,0.04);
}

.theme-dot {
  width: 10px;
  height: 10px;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
}

.theme-dot[data-theme-choice="midnight"] {
  background: linear-gradient(135deg, #020617, #14b8a6);
}

.theme-dot[data-theme-choice="clean"] {
  background: linear-gradient(135deg, #ffffff, #2563eb);
}

.theme-dot[data-theme-choice="commerce"] {
  background: linear-gradient(135deg, #18230f, #84cc16);
}

.theme-dot.active {
  border-color: var(--text);
}

.ghost-button,
.solid-button {
  min-height: 34px;
  border-radius: 999px;
  padding: 0 15px;
  border: 1px solid var(--border);
  cursor: pointer;
  font-size: 12px;
  font-weight: 720;
  transition: transform .18s cubic-bezier(.2,.8,.2,1), border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.ghost-button {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.035);
}

.ghost-button:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.solid-button {
  border-color: transparent;
  color: white;
  background: linear-gradient(135deg, #7c8cff 0%, #5bd6ff 100%);
  box-shadow: 0 14px 34px rgba(91, 214, 255, 0.18), inset 0 1px 0 rgba(255,255,255,0.24);
}

.solid-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 44px rgba(91, 214, 255, 0.26), inset 0 1px 0 rgba(255,255,255,0.3);
}

.solid-button:disabled {
  cursor: not-allowed;
  color: var(--muted);
  background: var(--surface-soft);
  box-shadow: none;
  transform: translateX(8px);
}

.turnstile-slot {
  min-height: 65px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.not-found-page {
  min-height: 100vh;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 56px;
  padding: 32px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 30%, rgba(57, 118, 214, 0.18), transparent 36%),
    #050507;
}

.not-found-page > section {
  display: grid;
  justify-items: center;
  gap: 20px;
  max-width: 680px;
}

.not-found-page h1 {
  max-width: 650px;
}

.not-found-page p {
  max-width: 540px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
}

.not-found-page .solid-button {
  text-decoration: none;
}

.large {
  min-height: 42px;
  padding: 0 22px;
  font-size: 12px;
}

.hero-actions .large {
  min-width: 136px;
}

.full {
  width: 100%;
}

.view {
  display: none;
  padding-top: 26px;
}

.view.active {
  display: block;
}

.view[data-view="home"] > :not(.hero-grid) {
  content-visibility: auto;
  contain-intrinsic-size: auto 700px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(360px, .87fr) minmax(430px, 1fr);
  gap: 14px;
  align-items: stretch;
}

.hero-content,
.hero-preview,
.feature-strip article,
.sidebar,
.panel-area,
.price-card,
.auth-card {
  border: 1px solid var(--border);
  border-radius: 30px;
  background: rgba(10, 11, 16, 0.72);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.30);
  backdrop-filter: blur(18px);
}

.hero-content {
  padding: clamp(34px, 4vw, 48px);
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 20% 15%, rgba(124, 140, 255, 0.12), transparent 34%),
    radial-gradient(circle at 80% 90%, rgba(91, 214, 255, 0.08), transparent 38%),
    linear-gradient(180deg, rgba(18, 20, 28, 0.96), rgba(8, 9, 14, 0.98));
  box-shadow: 0 30px 90px rgba(0,0,0,0.38), inset 0 1px 0 rgba(255,255,255,0.045);
  animation: fadeUp .62s ease both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: rgba(213, 218, 255, 0.74);
  font-size: 9px;
  font-weight: 780;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7c8cff, #5bd6ff);
  box-shadow: 0 0 18px rgba(91, 214, 255, 0.58);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 560px;
  font-size: clamp(40px, 3.75vw, 52px);
  line-height: 0.99;
  letter-spacing: -0.036em;
  font-weight: 850;
}

.gradient-text {
  background: linear-gradient(100deg, #6ea5d7 0%, #3976d6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-content p {
  max-width: 410px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.68;
  letter-spacing: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.cta-microcopy {
  margin-top: 10px !important;
  color: rgba(255,255,255,0.44) !important;
  font-size: 10px !important;
  line-height: 1.4 !important;
}

.trust-note {
  width: fit-content;
  margin-top: 16px !important;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  background: rgba(255,255,255,0.035);
  color: rgba(255,255,255,0.55) !important;
  font-size: 10px !important;
  line-height: 1.35 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.035);
}

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

.metric-row div {
  min-height: 112px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.018)),
    rgba(255, 255, 255, 0.026);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.035);
  transition: transform .18s cubic-bezier(.2,.8,.2,1), border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.metric-row div:hover {
  transform: translateY(-3px);
  border-color: rgba(125,211,252,0.22);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.024)),
    rgba(255,255,255,0.035);
  box-shadow: 0 22px 44px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.05);
}

.metric-row i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-bottom: 10px;
  border: 1px solid rgba(125,211,252,0.16);
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(124,140,255,0.16), rgba(91,214,255,0.10));
  color: #9bd8ff;
  font-style: normal;
  font-size: 9px;
  font-weight: 820;
}

.metric-row strong,
.metric-row span {
  display: block;
}

.metric-row strong {
  font-size: 12.5px;
  font-weight: 780;
  line-height: 1.25;
}

.metric-row span {
  margin-top: 6px;
  color: #858b99;
  font-size: 10px;
  line-height: 1.45;
}

.hero-preview {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 540px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.018)),
    rgba(8,9,13,0.78);
}

/* ── Hero Slideshow ─────────────────────────── */
.hero-slideshow {
  position: relative;
  flex: 1;
  overflow: hidden;
  background: #07080b;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-slide.leaving {
  opacity: 0;
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform-origin: center center;
  will-change: transform;
}

.hero-slide picture,
.comparison-slider picture,
.preset-preview picture,
.work-preview picture {
  display: block;
  width: 100%;
  height: 100%;
}

/* Ken Burns alternating — JS sets animation per slide */
@keyframes kenBurnsIn {
  from { transform: scale(1.0); }
  to   { transform: scale(1.10); }
}

@keyframes kenBurnsOut {
  from { transform: scale(1.10); }
  to   { transform: scale(1.0); }
}

/* Slide overlay UI */
.slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  background: linear-gradient(
    to top,
    rgba(5, 5, 7, 0.64) 0%,
    rgba(5, 5, 7, 0.14) 36%,
    transparent 60%
  );
}

.slide-mode-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(16, 17, 22, 0.64);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
  color: #dbeafe;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.12em;
  width: fit-content;
  margin-bottom: 8px;
  transition: opacity 0.4s ease;
}

#slideBadgeLabel {
  transition: opacity 0.4s ease;
}

.slide-mode-icon {
  font-size: 10px;
  opacity: 0.8;
}

.slide-mode-name {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.02em;
  transition: opacity 0.4s ease;
}

/* Dot indicators */
.slide-dots {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 11;
  display: flex;
  gap: 6px;
  pointer-events: none;
}

.slide-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.26);
  transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.4s ease;
}

.slide-dot.active {
  width: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, #9f8cff, #7dd3fc);
}

/* Glow border frame */
.slide-glow-frame {
  position: absolute;
  inset: 0;
  z-index: 12;
  pointer-events: none;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

/* Preview footer */
.preview-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.018);
}

.preview-toolbar span,
.preview-toolbar strong {
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 9px;
  background: rgba(255,255,255,0.055);
  color: #9aa3b5;
  font-size: 9px;
  font-weight: 700;
}

.preview-footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid var(--border);
}

.preview-footer span {
  color: var(--muted);
}



.social-proof-section,
.capabilities-section,
.workflow-section,
.bottom-cta-section,
.faq-section,
.site-footer {
  margin-top: 24px;
}

.social-proof-section {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
  gap: 18px;
  align-items: stretch;
}

.proof-summary,
.testimonial-card,
.capability-grid article,
.workflow-grid article,
.bottom-cta-section,
.faq-grid article,
.site-footer {
  border: 1px solid var(--border);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,0.046), rgba(255,255,255,0.024));
  box-shadow: var(--shadow-soft);
}

.proof-summary {
  padding: 28px;
}

.stars {
  color: #f6d365;
  letter-spacing: .12em;
  font-size: 18px;
}

.stars.small {
  font-size: 13px;
}

.proof-summary h2 {
  margin-top: 14px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 740;
}

.proof-summary p {
  margin-top: 12px;
  color: var(--soft);
  line-height: 1.65;
}

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

.testimonial-card {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  animation: fadeUp .7s ease both;
}

.testimonial-card:nth-child(2) {
  animation-delay: .08s;
}

.testimonial-card:nth-child(3) {
  animation-delay: .16s;
}

.testimonial-card p {
  color: var(--soft);
  line-height: 1.58;
}

.testimonial-card span {
  color: var(--muted);
  font-size: 13px;
}

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

.section-copy.centered {
  margin: 0 auto 26px;
  text-align: center;
}

.section-copy h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 740;
}

.section-copy p,
.suite-header p {
  margin-top: 10px;
  color: var(--soft);
  line-height: 1.65;
}

.capabilities-section,
.workflow-section,
.faq-section {
  padding-top: 58px;
}

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

.capability-grid article,
.workflow-grid article,
.faq-grid article {
  padding: 22px;
  transition: transform .24s ease, border-color .24s ease, background .24s ease;
}

.capability-grid article:hover,
.workflow-grid article:hover,
.faq-grid article:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  background: linear-gradient(180deg, rgba(255,255,255,0.064), rgba(255,255,255,0.03));
}

.capability-grid span,
.workflow-grid span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(167,139,250,0.12);
  color: #c4b5fd;
  font-size: 12px;
  font-weight: 760;
}

.capability-grid h3,
.workflow-grid h3,
.faq-grid h3 {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 720;
  letter-spacing: -0.015em;
}

.capability-grid p,
.workflow-grid p,
.faq-grid p {
  color: var(--muted);
  line-height: 1.58;
}

.seo-content-section {
  padding-top: 58px;
}

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

.seo-copy-grid article {
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 20px;
  background: rgba(255,255,255,0.03);
  transition: transform .24s ease, border-color .24s ease, background .24s ease;
}

.seo-copy-grid article:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  background: linear-gradient(180deg, rgba(255,255,255,0.064), rgba(255,255,255,0.03));
}

.seo-copy-grid h3 {
  margin-bottom: 8px;
  font-size: 17px;
  font-weight: 720;
}

.seo-copy-grid p {
  color: var(--muted);
  line-height: 1.58;
}

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

.workflow-grid article {
  min-height: 220px;
}

.workflow-grid span {
  border-radius: 999px;
}

.bottom-cta-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 74px;
  padding: 34px;
  background:
    radial-gradient(circle at 18% 20%, rgba(167,139,250,.16), transparent 38%),
    radial-gradient(circle at 92% 12%, rgba(56,189,248,.12), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.028));
}

.bottom-cta-section h2 {
  max-width: 720px;
  font-size: clamp(30px, 4.5vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 740;
}

.bottom-cta-section p {
  max-width: 620px;
  margin-top: 12px;
  color: var(--soft);
  line-height: 1.65;
}

.cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

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

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 22px;
}

.site-footer p {
  max-width: 560px;
  color: var(--muted);
  line-height: 1.55;
}

.footer-brand {
  padding-left: 0;
}

.reveal-block {
  animation: fadeUp .72s ease both;
}

body.reveal-ready .reveal-block {
  opacity: 0;
  transform: translateY(22px);
  animation: none;
  transition:
    opacity .72s cubic-bezier(.2, .7, .2, 1),
    transform .72s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

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

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes softFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes ambientGradient {
  0% {
    background-position: 0% 0%, 0% 50%, center;
  }
  100% {
    background-position: 100% 42%, 72% 100%, center;
  }
}

.media-stack {
  animation: softFloat 7s ease-in-out infinite;
}

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

.suite-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-top: 74px;
  padding: 0 2px;
}

.suite-header h2 {
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 740;
}

.feature-strip article {
  padding: 20px;
}

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

.preset-card {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform .24s ease, border-color .24s ease, background .24s ease;
}

.preset-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.035));
}

.preset-preview {
  position: absolute;
  inset: 14px 14px 126px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.12);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preset-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.preset-cutout .preset-preview {
  background: conic-gradient(#e2e8f0 25%, #ffffff 0 50%, #e2e8f0 0 75%, #ffffff 0);
  background-size: 22px 22px;
}

.preset-cutout .preset-preview img {
  mix-blend-mode: multiply;
}

.preset-white .preset-preview {
  background: #f8fafc;
}

.preset-shadow .preset-preview {
  background: #f8fafc;
}

.preset-campaign .preset-preview {
  background: linear-gradient(135deg, #312e81, #6d28d9 56%, #075985);
}

.feature-icon {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: 0;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(6,9,16,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #eef2f8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
}

.feature-strip h2 {
  margin-bottom: 7px;
  font-size: 18px;
  letter-spacing: -0.015em;
  font-weight: 720;
}

.feature-strip p,
.price-card p,
.pricing-heading p {
  color: var(--muted);
  line-height: 1.55;
}

/* Premium landing middle sections */
.social-proof-section,
.comparison-section,
.capabilities-section,
.seo-content-section,
.workflow-section,
.suite-header,
.preset-gallery,
.bottom-cta-section,
.faq-section {
  margin-top: clamp(64px, 7vw, 104px);
}

.section-copy.centered,
.comparison-header {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-copy h2,
.comparison-header h2,
.suite-header h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.032em;
  font-weight: 730;
}

.section-copy p,
.comparison-header p,
.suite-header p {
  color: #9ca3af;
  font-size: 15px;
  line-height: 1.72;
}

.proof-summary,
.testimonial-card,
.capability-grid article,
.workflow-grid article,
.bottom-cta-section,
.faq-grid article,
.site-footer,
.seo-copy-grid article,
.preset-card {
  border-color: rgba(255,255,255,0.075);
  background: rgba(255,255,255,0.028);
  box-shadow: none;
}

.social-proof-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 34px;
  grid-template-columns: minmax(300px, .9fr) minmax(0, 1.1fr);
  gap: 16px;
}

.social-proof-section::before {
  content: "";
  position: absolute;
  inset: -18px;
  z-index: 0;
  opacity: .34;
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23noise)' opacity='.28'/%3E%3C/svg%3E"),
    radial-gradient(circle at 12% 18%, rgba(125,211,252,0.1), transparent 34%),
    radial-gradient(circle at 92% 76%, rgba(167,139,250,0.09), transparent 38%);
}

.proof-summary,
.testimonial-grid {
  position: relative;
  z-index: 1;
}

.proof-summary {
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(125,211,252,0.07), transparent 44%),
    rgba(255,255,255,0.028);
}

.testimonial-grid {
  gap: 14px;
}

.testimonial-card {
  min-height: 210px;
  padding: 22px;
}

.capabilities-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(34px, 4.5vw, 52px);
  border: 1px solid rgba(125,211,252,0.08);
  border-radius: 34px;
  background:
    radial-gradient(circle at 18% 4%, rgba(125,211,252,0.08), transparent 34%),
    rgba(8,9,13,0.48);
}

.capabilities-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .55;
  background-image:
    linear-gradient(rgba(125,211,252,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167,139,250,0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 35%, #000 0 38%, transparent 78%);
}

.capabilities-section .section-copy,
.capability-grid {
  position: relative;
  z-index: 1;
}

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

.capability-grid article {
  min-height: 190px;
  padding: 24px;
  border-radius: 24px;
}

.capability-grid article:first-child {
  grid-row: auto;
  min-height: 190px;
  background:
    linear-gradient(135deg, rgba(125,211,252,0.09), rgba(167,139,250,0.04)),
    rgba(255,255,255,0.032);
}

.capability-grid article:first-child h3 {
  font-size: 18px;
}

.capability-grid article:hover,
.workflow-grid article:hover,
.faq-grid article:hover,
.seo-copy-grid article:hover,
.preset-card:hover {
  transform: translateY(-3px);
  border-color: rgba(125,211,252,0.18);
  background: rgba(255,255,255,0.045);
  box-shadow: 0 18px 46px rgba(0,0,0,0.18);
}

.testimonial-card,
.capability-grid article,
.workflow-grid article,
.seo-copy-grid article,
.faq-grid article,
.preset-card,
.plus-details-section article {
  position: relative;
  overflow: hidden;
}

.testimonial-card::after,
.capability-grid article::after,
.workflow-grid article::after,
.seo-copy-grid article::after,
.faq-grid article::after,
.preset-card::after,
.plus-details-section article::after {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(135deg, rgba(125,211,252,.58), rgba(167,139,250,.42), rgba(217,70,239,.36));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: opacity .24s ease;
}

.testimonial-card:hover::after,
.capability-grid article:hover::after,
.workflow-grid article:hover::after,
.seo-copy-grid article:hover::after,
.faq-grid article:hover::after,
.preset-card:hover::after,
.plus-details-section article:hover::after {
  opacity: 1;
}

.capability-grid span,
.workflow-grid span {
  border: 1px solid rgba(125,211,252,0.14);
  background: rgba(125,211,252,0.07);
  color: #9bd8ff;
}

.seo-content-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(320px, .9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: center;
  padding: 34px;
  border: 1px solid rgba(255,255,255,0.075);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.045), rgba(255,255,255,0.014)),
    rgba(8,9,13,0.74);
}

.seo-content-section::before {
  content: "";
  position: absolute;
  inset: -42% 34% auto -18%;
  z-index: 0;
  height: 118%;
  transform: rotate(-18deg);
  background:
    linear-gradient(90deg, transparent, rgba(125,211,252,0.18), rgba(167,139,250,0.12), transparent);
  filter: blur(18px);
  opacity: .72;
}

.seo-content-section .section-copy,
.seo-copy-grid {
  position: relative;
  z-index: 1;
}

.seo-content-section .section-copy.centered {
  margin: 0;
  text-align: left;
}

.seo-copy-grid {
  margin-top: 0;
  grid-template-columns: 1fr;
}

.seo-copy-grid article {
  border-radius: 20px;
  padding: 22px;
}

.workflow-section {
  position: relative;
}

.workflow-grid {
  position: relative;
  gap: 16px;
}

.workflow-grid::before {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  top: 42px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(125,211,252,0.28), transparent);
}

.workflow-grid article {
  position: relative;
  min-height: 235px;
  padding: 26px;
  border-radius: 26px;
}

.workflow-grid span {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(125,211,252,0.12), rgba(167,139,250,0.08)),
    rgba(255,255,255,0.035);
}

.suite-header {
  align-items: center;
  padding: 0;
}

.suite-header > div {
  max-width: 720px;
}

.preset-gallery {
  gap: 18px;
}

.preset-card {
  min-height: 380px;
  border-radius: 26px;
  padding: 22px;
}

.preset-preview {
  inset: 14px 14px 138px;
  border-radius: 22px;
}

.preset-card h2 {
  font-size: 19px;
}

.bottom-cta-section {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  padding: clamp(38px, 6vw, 64px);
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 0%, rgba(125,211,252,0.12), transparent 42%),
    linear-gradient(135deg, rgba(167,139,250,0.075), rgba(255,255,255,0.024)),
    rgba(8,9,13,0.86);
  background-size: 160% 160%, 220% 220%, auto;
  animation: ambientGradient 14s ease-in-out infinite alternate;
}

.bottom-cta-section h2 {
  margin-inline: auto;
}

.bottom-cta-section p {
  margin-inline: auto;
}

.bottom-cta-section .cta-actions {
  justify-content: center;
}

.faq-grid article {
  border-radius: 22px;
}

/* ═══════════════════════════════════════════════════════
   STUDIO V2 — Figma/Framer style minimal layout
═══════════════════════════════════════════════════════ */

.studio-v2-shell {
  display: flex;
  height: calc(100vh - 72px);
  overflow: hidden;
  animation: fadeUp .45s ease both;
}

/* ── Icon Rail ─────────────────────────────────────── */
.icon-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 60px;
  flex-shrink: 0;
  padding: 14px 0;
  gap: 6px;
  background: rgba(255,255,255,0.028);
  border-right: 1px solid var(--border);
}

.icon-rail-avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  font-weight: 760;
  font-size: 14px;
  margin-bottom: 4px;
  cursor: default;
}

.icon-rail-divider {
  width: 28px;
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}

.icon-rail-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
  position: relative;
}

.icon-rail-btn:hover {
  background: rgba(167,139,250,0.1);
  color: var(--text);
}

.icon-rail-btn.active {
  background: rgba(167,139,250,0.14);
  color: var(--accent);
}

.icon-rail-btn.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 20px;
  border-radius: 0 3px 3px 0;
  background: var(--accent);
}

.icon-rail-spacer {
  flex: 1;
}

.icon-rail-credit {
  display: grid;
  place-items: center;
  width: 40px;
  min-height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(167,139,250,0.2);
  background: rgba(167,139,250,0.08);
  color: #c4b5fd;
  font-size: 12px;
  font-weight: 760;
  cursor: default;
  line-height: 1.2;
  text-align: center;
  padding: 4px 2px;
}

/* ── Panel area ─────────────────────────────────────── */
.studio-v2-panels {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
}

.studio-v2-panels > .panel {
  display: none;
  height: 100%;
}

.studio-v2-panels > .panel.active {
  display: flex;
  flex-direction: column;
}

/* ── Compact Onboarding bar ─────────────────────────── */
.v2-onboarding {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(167,139,250,0.04);
  flex-shrink: 0;
  flex-wrap: wrap;
}

.v2-onboarding-steps {
  display: flex;
  gap: 8px;
  flex: 1;
  flex-wrap: wrap;
}

.v2-onboarding-steps span {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  transition: border-color .2s, color .2s, background .2s;
}

.v2-onboarding-steps span::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(255,255,255,0.05);
  flex-shrink: 0;
}

.v2-onboarding-steps span.complete {
  color: var(--text);
  border-color: rgba(34,197,94,0.3);
  background: rgba(34,197,94,0.06);
}

.v2-onboarding-steps span.complete::before {
  border-color: rgba(34,197,94,0.8);
  background: #22c55e;
}

.v2-onboarding #storeTypeSelect {
  min-height: 36px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0 10px;
  color: var(--text);
  background: var(--surface-strong);
  font-size: 13px;
  cursor: pointer;
}

/* ── V2 Workspace ───────────────────────────────────── */
.studio-v2-workspace {
  display: flex;
  flex: 1;
  gap: 0;
  overflow: hidden;
  position: relative;
}

/* ── Canvas Area (center) ───────────────────────────── */
.studio-canvas-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 24px;
  overflow-y: auto;
  min-width: 0;
}

.canvas-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  flex-shrink: 0;
}

.canvas-breadcrumb svg {
  opacity: 0.5;
}

/* ── V2 Dropzone ─────────────────────────────────────── */
.v2-dropzone {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  border: 1.5px dashed rgba(167,139,250,0.28);
  border-radius: 20px;
  background: rgba(167,139,250,0.03);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}

.v2-dropzone:hover {
  border-color: rgba(167,139,250,0.55);
  background: rgba(167,139,250,0.07);
}

.v2-dropzone input {
  display: none;
}

.v2-dropzone-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  text-align: center;
}

.v2-upload-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(167,139,250,0.1);
  border: 1px solid rgba(167,139,250,0.2);
  color: var(--accent);
  margin-bottom: 4px;
}

.v2-dropzone-inner strong {
  font-size: 15px;
  font-weight: 650;
  color: var(--text);
}

.v2-dropzone-inner small {
  font-size: 12px;
  color: var(--muted);
}

/* ── V2 Empty State ──────────────────────────────────── */
.v2-empty-state {
  display: flex;
  justify-content: center;
  padding: 8px 0;
}

.v2-empty-steps {
  display: flex;
  align-items: center;
  gap: 12px;
}

.v2-empty-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.v2-empty-step span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  font-weight: 740;
}

.v2-empty-step p {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.v2-empty-step-arrow {
  color: var(--muted);
  opacity: 0.4;
  font-size: 18px;
  line-height: 1;
  margin-bottom: 18px;
}

/* ── Settings Panel (Right Floating) ────────────────── */
.studio-settings-panel {
  width: 280px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 20px 16px;
  border-left: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(167,139,250,0.04), transparent 40%),
    rgba(10, 11, 15, 0.82);
  backdrop-filter: blur(20px);
  overflow-y: auto;
  overflow-x: hidden;
}

.settings-label {
  display: block;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.settings-section {
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.product-type-section {
  position: relative;
  padding: 12px;
  border: 1px solid rgba(96, 165, 250, 0.2);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(96, 165, 250, 0.09), rgba(139, 92, 246, 0.05)),
    rgba(255, 255, 255, 0.018);
}

.product-type-section .settings-label {
  color: #93c5fd;
}

.product-type-select {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 9px;
  padding: 0 34px 0 11px;
  color: var(--text);
  background: color-mix(in srgb, var(--surface-strong) 92%, #10182b);
  font: inherit;
  font-size: 13px;
  font-weight: 680;
  cursor: pointer;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.product-type-select:focus-visible {
  border-color: rgba(96, 165, 250, 0.76);
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.13);
}

.product-type-select.is-selected {
  border-color: rgba(52, 211, 153, 0.38);
  background: rgba(16, 185, 129, 0.055);
}

.product-type-help {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.settings-modes-section {
  flex: 1;
}

/* ── Mode tabs in settings panel ────────────────────── */
.studio-settings-panel .mode-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 8px;
}

.studio-settings-panel .mode-tab-btn {
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  cursor: pointer;
  transition: all .18s ease;
}

.studio-settings-panel .mode-tab-btn.active,
.studio-settings-panel .mode-tab-btn:hover {
  border-color: rgba(167,139,250,0.4);
  background: rgba(167,139,250,0.1);
  color: var(--accent);
}

/* ── Mode list in settings panel ────────────────────── */
.studio-settings-panel .mode-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 240px;
  overflow-y: auto;
}

.studio-settings-panel .mode-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .18s ease;
  background: transparent;
}

.studio-settings-panel .mode-card:hover {
  background: rgba(255,255,255,0.04);
}

.studio-settings-panel .mode-card.selected {
  border-color: rgba(167,139,250,0.35);
  background: rgba(167,139,250,0.1);
}

.studio-settings-panel .mode-card .mode-badge {
  min-width: 28px;
  height: 22px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 760;
}

.studio-settings-panel .mode-card h4 {
  font-size: 13px;
  font-weight: 620;
  margin: 0;
}

.studio-settings-panel .mode-card p {
  display: none;
}

.studio-settings-panel .mode-card .mode-credit {
  margin-left: auto;
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}

/* ── Credit summary ──────────────────────────────────── */
.settings-credit-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  margin: 16px 0 12px;
}

.settings-credit-summary > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.settings-credit-summary span {
  font-size: 10px;
  color: var(--muted);
  font-weight: 600;
}

.settings-credit-summary strong {
  font-size: 16px;
  font-weight: 760;
  color: var(--text);
}

.settings-credit-summary .product-summary-row {
  grid-column: 1 / -1;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.settings-credit-summary .product-summary-row strong {
  overflow: hidden;
  color: #93c5fd;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── Process button ──────────────────────────────────── */
.v2-process-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 6px;
}

.reset-btn-v2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
  transition: all .18s ease;
}

.reset-btn-v2:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: rgba(255,255,255,0.04);
}

/* ── V2 Live Preview ─────────────────────────────────── */
.v2-live-preview {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  margin-bottom: 12px;
}

.v2-live-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.v2-live-preview-header span {
  font-size: 11px;
  color: var(--muted);
}

.v2-live-preview-header strong {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}

.v2-live-preview-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 8px 0;
}

.v2-live-preview-images > div {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
}

.v2-live-preview-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v2-live-preview-images span {
  position: absolute;
  bottom: 5px;
  left: 5px;
  font-size: 9px;
  font-weight: 760;
  letter-spacing: 0.1em;
  color: white;
  background: rgba(0,0,0,0.5);
  padding: 2px 6px;
  border-radius: 999px;
}

/* Custom prompt in settings panel */
.studio-settings-panel .custom-prompt-panel {
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.studio-settings-panel textarea {
  width: 100%;
  min-height: 80px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-size: 12px;
  resize: vertical;
  font-family: inherit;
  margin-top: 6px;
}

/* Size presets in settings panel */
.studio-settings-panel .size-preset-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}

.studio-settings-panel .size-preset-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 7px 4px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  cursor: pointer;
  transition: all .18s ease;
  text-align: center;
}

.studio-settings-panel .size-preset-btn.active,
.studio-settings-panel .size-preset-btn:hover {
  border-color: rgba(167,139,250,0.4);
  background: rgba(167,139,250,0.1);
  color: var(--accent);
}



.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

.section-heading h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 740;
  letter-spacing: -0.03em;
}

.section-heading p {
  max-width: 640px;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.6;
}

.onboarding-card {
  display: grid;
  grid-template-columns: minmax(190px, .9fr) minmax(280px, 1.25fr) minmax(180px, .72fr);
  gap: 14px;
  align-items: center;
  margin: 0 0 14px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(167,139,250,0.08), rgba(56,189,248,0.035)),
    rgba(255,255,255,0.026);
  animation: fadeUp .42s ease both;
}

.onboarding-card.complete {
  border-color: rgba(34,197,94,0.24);
  background:
    linear-gradient(135deg, rgba(34,197,94,0.08), rgba(56,189,248,0.035)),
    rgba(255,255,255,0.026);
}

.onboarding-card h3 {
  margin-top: 4px;
  font-size: 17px;
  letter-spacing: -0.015em;
}

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

.onboarding-steps span {
  position: relative;
  min-height: 42px;
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 8px 10px 8px 30px;
  color: var(--muted);
  background: rgba(0,0,0,0.16);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.onboarding-steps span::before {
  content: "";
  position: absolute;
  left: 10px;
  width: 10px;
  height: 10px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
}

.onboarding-steps span.complete {
  color: var(--text);
  border-color: rgba(34,197,94,0.24);
  background: rgba(34,197,94,0.08);
}

.onboarding-steps span.complete::before {
  border-color: rgba(34,197,94,0.8);
  background: #22c55e;
  box-shadow: 0 0 16px rgba(34,197,94,0.22);
}

#storeTypeSelect {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0 12px;
  color: var(--text);
  background: color-mix(in srgb, var(--surface-strong) 86%, #000);
  cursor: pointer;
}

.studio-workspace {
  display: grid;
  grid-template-columns: minmax(210px, .78fr) minmax(300px, 1.18fr) minmax(210px, .78fr);
  gap: 12px;
  align-items: start;
  min-width: 0;
}

.mode-panel,
.upload-panel,
.preview-panel {
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255,255,255,0.03);
  padding: 15px;
  min-width: 0;
}

.panel-label-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.panel-label-row > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: #c4b5fd;
  font-size: 11px;
  font-weight: 760;
}

.panel-label-row h3 {
  font-size: 15px;
  font-weight: 720;
  letter-spacing: -0.01em;
}

.panel-label-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.panel-label-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.mode-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 9px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 4px;
  background: rgba(0,0,0,0.2);
  scrollbar-width: none;
}

.mode-tabs::-webkit-scrollbar {
  display: none;
}

.mode-tabs button {
  flex: 1 0 max-content;
  min-height: 30px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0 9px;
  background: transparent;
  color: color-mix(in srgb, var(--muted) 88%, transparent);
  cursor: pointer;
  font-size: 11px;
  font-weight: 720;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}

.mode-tabs button:hover {
  background: rgba(255,255,255,0.035);
  color: var(--text);
}

.mode-tabs button.active {
  border-color: rgba(125,211,252,0.28);
  background: linear-gradient(135deg, rgba(167,139,250,0.16), rgba(56,189,248,0.1));
  color: #dbeafe;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04), 0 8px 20px rgba(0,0,0,0.16);
}

.mode-category-note {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.mode-list {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  max-height: 344px;
  overflow-y: auto;
  padding-right: 3px;
  border-radius: 18px;
  mask-image: linear-gradient(to bottom, transparent, #000 10px, #000 calc(100% - 14px), transparent);
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.18) transparent;
  animation: fadeUp .24s ease both;
}

.mode-list::-webkit-scrollbar {
  width: 5px;
}

.mode-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
}

.mode-card {
  position: relative;
  min-height: 78px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  gap: 5px 10px;
  align-items: center;
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.022));
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
  animation: modeCardIn .28s ease both;
}

.mode-card:nth-child(2) {
  animation-delay: 45ms;
}

.mode-card:nth-child(3) {
  animation-delay: 90ms;
}

.mode-card:nth-child(4) {
  animation-delay: 135ms;
}

.mode-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  background: rgba(255,255,255,0.048);
}

.mode-card > span:first-child {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 13px;
  background: rgba(255,255,255,0.045);
  color: #7dd3fc;
  font-size: 12px;
  font-weight: 740;
}

.mode-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.mode-copy strong {
  padding-right: 24px;
  font-size: 13px;
  font-weight: 720;
}

.mode-card small {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.mode-card em {
  justify-self: end;
  grid-column: 3;
  grid-row: 1 / span 2;
  display: inline-flex;
  width: max-content;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 7px;
  background: rgba(0,0,0,0.14);
  color: var(--soft);
  font-size: 10px;
  font-style: normal;
}

.mode-card b {
  position: absolute;
  top: 8px;
  right: 8px;
  display: none;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #a78bfa, #38bdf8);
  color: white;
  font-size: 12px;
  font-weight: 700;
}

.mode-card.active {
  border-color: rgba(125,211,252,0.46);
  background: linear-gradient(135deg, rgba(167,139,250,0.14), rgba(56,189,248,0.08));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04), 0 14px 30px rgba(0,0,0,0.18);
}

.mode-card.active > span:first-child {
  border-color: rgba(125,211,252,0.26);
  background: rgba(56,189,248,0.12);
}

.mode-card.active b {
  display: grid;
}

.custom-prompt-panel {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(167,139,250,0.08), rgba(56,189,248,0.035)),
    rgba(0,0,0,0.2);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.025);
  animation: promptReveal .28s ease both;
}

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

.custom-prompt-panel label {
  color: var(--text);
  font-size: 13px;
  font-weight: 760;
}

.custom-prompt-panel textarea {
  width: 100%;
  min-height: 112px;
  resize: vertical;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  background: rgba(0,0,0,0.18);
  color: var(--text);
  font: inherit;
  line-height: 1.5;
  outline: none;
  transition: border-color .2s ease, background .2s ease;
}

.custom-prompt-panel textarea:focus {
  border-color: rgba(125,211,252,0.5);
  background: rgba(255,255,255,0.052);
}

.custom-prompt-panel.invalid textarea {
  border-color: rgba(248,113,113,0.45);
}

.prompt-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.prompt-meta strong {
  flex-shrink: 0;
  color: var(--soft);
}

.prompt-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.prompt-suggestions button {
  min-height: 30px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0 9px;
  background: rgba(255,255,255,0.032);
  color: var(--soft);
  cursor: pointer;
  font-size: 11px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.prompt-suggestions button:hover {
  transform: translateY(-1px);
  border-color: rgba(167,139,250,0.36);
  background: rgba(167,139,250,0.1);
}

@keyframes modeCardIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

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

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

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

.summary-card {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(0,0,0,0.18);
}

.summary-card div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  min-height: 30px;
  align-items: center;
}

.summary-card span {
  color: var(--muted);
}

.studio-alert {
  margin: 12px 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.035);
  color: var(--soft);
  font-size: 12px;
  line-height: 1.45;
  animation: fadeUp .24s ease both;
}

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

.studio-alert.success {
  border-color: rgba(34,197,94,0.28);
  background: rgba(34,197,94,0.08);
  color: #bbf7d0;
}

.studio-alert.warning {
  border-color: rgba(250,204,21,0.3);
  background: rgba(250,204,21,0.08);
  color: #fef08a;
}

.studio-alert.error {
  border-color: rgba(248,113,113,0.34);
  background: rgba(248,113,113,0.08);
  color: #fecaca;
}

.process-progress {
  display: grid;
  gap: 9px;
  margin: 12px 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 11px;
  background: rgba(0,0,0,0.18);
}

.process-progress[hidden] {
  display: none;
}

.process-progress div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}

.process-progress strong {
  color: var(--text);
}

.process-progress i {
  display: block;
  width: 0;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, #a78bfa, #38bdf8);
  box-shadow: 0 0 20px rgba(56,189,248,0.2);
  transition: width .18s ease;
}

.dropzone {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  min-height: 248px;
  padding: 22px;
  border: 2px dashed color-mix(in srgb, var(--accent-2) 42%, transparent);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 12%, color-mix(in srgb, var(--accent-2) 12%, transparent), transparent 42%),
    rgba(0,0,0,0.18);
  cursor: pointer;
  text-align: center;
  transition: border-color .22s ease, background .22s ease, transform .22s ease;
}

.dropzone:hover {
  transform: translateY(-2px);
  border-color: rgba(56,189,248,0.56);
}

.dropzone.dragging {
  border-color: var(--accent);
  background: rgba(167,139,250,0.1);
}

.dropzone input {
  display: none;
}

.upload-mark {
  display: grid;
  place-items: center;
  width: 74px;
  height: 46px;
  border-radius: 999px;
  background: linear-gradient(135deg, #a78bfa, #38bdf8);
  color: white;
  font-size: 12px;
  font-weight: 740;
  animation: softFloat 4.5s ease-in-out infinite;
}

.dropzone em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.dropzone small,
.empty-state p {
  color: var(--muted);
}

.empty-state {
  margin-top: 14px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255,255,255,0.028);
  text-align: center;
  animation: fadeUp .45s ease both;
}

.empty-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  color: #c4b5fd;
  font-size: 12px;
  font-weight: 760;
}

.empty-state h3 {
  margin-bottom: 8px;
}

.mini-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.mini-steps span {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 8px;
  color: var(--soft);
  font-size: 11px;
}

.empty-state.compact {
  margin-top: 0;
}

.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 14px;
}

.image-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255,255,255,0.032);
  transition: transform .22s ease, border-color .22s ease;
  animation: fadeUp .35s ease both;
}

.image-card.active {
  border-color: rgba(125,211,252,0.48);
  box-shadow: inset 0 0 0 1px rgba(167,139,250,0.18), 0 18px 42px rgba(0,0,0,0.18);
}

.image-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}

.before,
.after {
  position: relative;
  aspect-ratio: 1;
  background: #101827;
}

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

.after {
  background:
    linear-gradient(45deg, rgba(255,255,255,0.08) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,255,255,0.08) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.08) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.08) 75%),
    #0f172a;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0;
  background-size: 20px 20px;
}

.after.white {
  background: #f8fafc;
}

.after.shadow {
  background: radial-gradient(ellipse at center 78%, rgba(15, 23, 42, 0.32), transparent 34%), #f8fafc;
}

.after.campaign {
  background: linear-gradient(135deg, #e0f2fe, #dcfce7 48%, #fef3c7);
}

.before span,
.after span {
  position: absolute;
  left: 8px;
  bottom: 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.68);
  color: #fff;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 720;
}

.card-footer {
  grid-column: span 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
}

.card-footer strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.card-status {
  display: inline-flex;
  margin-top: 5px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 3px 7px;
  background: rgba(255,255,255,0.04);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
}

.image-card.is-processing .card-status {
  border-color: rgba(56,189,248,0.24);
  background: rgba(56,189,248,0.08);
  color: #bae6fd;
}

.image-card.is-queued .card-status {
  border-color: rgba(148,163,184,0.22);
  background: rgba(148,163,184,0.08);
  color: #cbd5e1;
}

.image-card.is-completed .card-status {
  border-color: rgba(34,197,94,0.24);
  background: rgba(34,197,94,0.08);
  color: #bbf7d0;
}

.image-card.is-failed .card-status {
  border-color: rgba(248,113,113,0.28);
  background: rgba(248,113,113,0.1);
  color: #fecaca;
}

.card-actions {
  display: inline-flex;
  gap: 6px;
  flex-shrink: 0;
}

.card-footer button {
  min-height: 34px;
  border: 1px solid color-mix(in srgb, var(--accent) 44%, transparent);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--text);
  cursor: pointer;
  font-weight: 720;
  padding: 0 12px;
}

.card-footer button:disabled,
.live-preview-card button:disabled {
  cursor: not-allowed;
  opacity: .48;
}

.remove-image {
  width: 34px;
  padding: 0 !important;
  border-color: var(--border) !important;
  background: rgba(255,255,255,0.035) !important;
}

.preview-panel {
  position: sticky;
  top: 100px;
}

.preview-empty {
  min-height: 248px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  border: 1px dashed var(--border);
  border-radius: 22px;
  padding: 22px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 18%, rgba(56,189,248,0.1), transparent 42%),
    rgba(0,0,0,0.18);
}

.live-preview-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 12px;
  background: rgba(0,0,0,0.18);
  animation: fadeUp .35s ease both;
}

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

.live-preview-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.live-preview-meta span {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--muted);
  font-size: 11px;
}

.live-preview-meta strong {
  font-size: 13px;
}

.preview-mode-text {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.live-preview-images {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.live-preview-images > div {
  position: relative;
  overflow: hidden;
  min-height: 168px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #101827;
}

.live-preview-images img {
  width: 100%;
  height: 100%;
  min-height: 168px;
  object-fit: contain;
  display: block;
}

.live-preview-images span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(0,0,0,0.62);
  color: white;
  font-size: 11px;
}

.preview-empty span {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 10px;
  color: #c4b5fd;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: .12em;
}

.preview-empty h3 {
  font-size: 18px;
  font-weight: 720;
}

.preview-empty p {
  color: var(--muted);
  line-height: 1.58;
}

.studio-insights {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.studio-insights article {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 13px;
  background: rgba(255,255,255,0.026);
}

.studio-insights strong {
  font-size: 13px;
}

.studio-insights p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.size-preset-panel {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255,255,255,0.026);
}

.panel-label-row.compact {
  margin-bottom: 0;
}

.size-preset-list {
  display: grid;
  gap: 8px;
}

.size-preset-list button {
  display: grid;
  gap: 4px;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 10px 11px;
  color: var(--soft);
  background: rgba(0,0,0,0.16);
  cursor: pointer;
  text-align: left;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}

.size-preset-list button:hover {
  transform: translateY(-1px);
  border-color: rgba(56,189,248,0.3);
  background: rgba(56,189,248,0.065);
  color: var(--text);
}

.size-preset-list button.active {
  border-color: rgba(167,139,250,0.46);
  background:
    linear-gradient(135deg, rgba(167,139,250,0.12), rgba(56,189,248,0.06)),
    rgba(255,255,255,0.03);
  color: var(--text);
}

.size-preset-list strong {
  font-size: 13px;
}

.size-preset-list span,
.size-preset-list small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

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

.work-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255,255,255,0.028);
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
  animation: fadeUp .35s ease both;
}

.work-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  background: rgba(255,255,255,0.04);
}

.work-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 210px;
  background:
    linear-gradient(45deg, rgba(255,255,255,0.055) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,255,255,0.055) 25%, transparent 25%),
    #0b0d12;
  background-size: 18px 18px;
}

.work-preview img,
.work-preview span {
  width: 100%;
  height: 100%;
  min-height: 210px;
  display: grid;
  place-items: center;
  object-fit: contain;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.work-preview img + img,
.work-preview span + img,
.work-preview img + span,
.work-preview span + span {
  border-left: 1px solid var(--border);
}

.work-meta {
  display: grid;
  gap: 5px;
  padding: 13px;
}

.work-meta strong {
  font-size: 14px;
}

.work-meta p {
  margin: 0;
  overflow: hidden;
  color: var(--soft);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.work-meta span {
  color: var(--muted);
  font-size: 11px;
}

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

.history-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255,255,255,0.032);
}

.history-item span {
  color: var(--muted);
  font-size: 13px;
}

.history-loading {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.025);
}

.history-loading p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.history-job {
  display: grid;
  grid-template-columns: minmax(190px, 240px) minmax(0, 1fr);
  min-height: 210px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(9, 13, 24, 0.72);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
}

.history-job--processing,
.history-job--queued {
  border-color: rgba(96, 165, 250, 0.3);
}

.history-job--completed {
  border-color: rgba(52, 211, 153, 0.3);
}

.history-job--failed {
  border-color: rgba(248, 113, 113, 0.24);
}

.history-job-preview {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border-right: 1px solid var(--border);
  background:
    linear-gradient(45deg, rgba(255, 255, 255, 0.045) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.045) 25%, transparent 25%),
    #0a0d15;
  background-size: 18px 18px;
}

.history-job-preview img,
.history-image-empty {
  width: 100%;
  height: 100%;
  min-height: 210px;
  display: grid;
  place-items: center;
  object-fit: contain;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.history-processing-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  padding: 18px;
  text-align: center;
  color: #f7f9ff;
  background: rgba(7, 11, 21, 0.68);
  backdrop-filter: blur(4px);
}

.history-processing-overlay b {
  font-size: 12px;
}

.history-spinner {
  width: 24px;
  height: 24px;
  display: inline-block;
  border: 2px solid rgba(125, 211, 252, 0.2);
  border-top-color: #75c8ff;
  border-right-color: #9278ff;
  border-radius: 50%;
  animation: historySpin 0.85s linear infinite;
}

@keyframes historySpin {
  to { transform: rotate(360deg); }
}

.history-ready-corner,
.history-source-corner {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(6, 10, 19, 0.78);
  color: var(--soft);
  font-size: 10px;
  font-weight: 900;
  backdrop-filter: blur(8px);
}

.history-ready-corner {
  color: #9af0cb;
  border-color: rgba(52, 211, 153, 0.3);
}

.history-job-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
}

.history-job-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.history-job-heading h3 {
  margin: 10px 0 4px;
  font-size: 18px;
}

.history-job-heading p,
.history-job-heading time {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.history-job-heading time {
  flex: 0 0 auto;
}

.history-status {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 9px;
  border: 1px solid rgba(96, 165, 250, 0.25);
  border-radius: 8px;
  color: #91d4ff;
  background: rgba(96, 165, 250, 0.08);
  font-size: 10px;
  font-weight: 900;
}

.history-status--completed {
  color: #9af0cb;
  border-color: rgba(52, 211, 153, 0.28);
  background: rgba(52, 211, 153, 0.08);
}

.history-status--failed {
  color: #fecaca;
  border-color: rgba(248, 113, 113, 0.28);
  background: rgba(248, 113, 113, 0.08);
}

.history-stage-row,
.history-stage-row > div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.history-stage-row {
  justify-content: space-between;
  color: var(--soft);
  font-size: 12px;
}

.history-stage-row > div > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #65c9ff;
  box-shadow: 0 0 12px rgba(101, 201, 255, 0.8);
}

.history-job--completed .history-stage-row > div > span {
  background: #34d399;
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.65);
}

.history-job--failed .history-stage-row > div > span {
  background: #f87171;
  box-shadow: 0 0 12px rgba(248, 113, 113, 0.55);
}

.history-stage-row > b {
  color: var(--muted);
  font-size: 11px;
}

.history-progress {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.history-progress i {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, #5b8cff, #68d4ff, #9477ff);
  box-shadow: 0 0 16px rgba(104, 212, 255, 0.4);
  transition: width 0.5s ease;
}

.history-failure {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(248, 113, 113, 0.18);
  border-radius: 10px;
  color: #f5b8b8;
  background: rgba(248, 113, 113, 0.06);
  font-size: 12px;
  line-height: 1.5;
}

.history-job-actions {
  display: flex;
  gap: 9px;
  margin-top: auto;
}

.history-job-actions:empty {
  display: none;
}

@media (max-width: 700px) {
  .history-job {
    grid-template-columns: 1fr;
  }

  .history-job-preview {
    min-height: 190px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .history-job-preview img,
  .history-image-empty {
    min-height: 190px;
    max-height: 260px;
  }

  .history-job-heading {
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .history-spinner { animation: none; }
  .history-progress i { transition: none; }
}

.pricing-heading {
  align-items: end;
}

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

.price-card {
  padding: 24px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.price-card::before {
  content: "";
  position: absolute;
  inset: 18px 18px auto auto;
  width: 104px;
  height: 104px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 26% 22%, rgba(255,255,255,.7), transparent 20%),
    linear-gradient(135deg, var(--accent), var(--accent-2));
  opacity: .62;
}

.price-card.featured {
  border-color: rgba(167,139,250,0.36);
  background: linear-gradient(135deg, rgba(167,139,250,0.14), rgba(255,255,255,0.035));
}

.price-card span {
  position: relative;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.price-card h3 {
  position: relative;
  margin: 12px 0 8px;
  font-size: 32px;
  font-weight: 740;
}

.price-card strong {
  position: relative;
  display: block;
  margin: 20px 0;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 20px;
}

.auth-modal.open {
  display: grid;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(8px);
}

.auth-card {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  padding: 20px;
  border-radius: 24px;
}

.close-button {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 28px 0 18px;
}

.auth-tabs button {
  min-height: 42px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
}

.auth-tabs button.active {
  color: var(--text);
  background: var(--accent-soft);
}

.auth-message {
  margin-bottom: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.04);
  color: var(--soft);
  font-size: 12px;
  line-height: 1.45;
}

.auth-message[hidden] {
  display: none;
}

.auth-message.error {
  border-color: rgba(248,113,113,0.34);
  background: rgba(248,113,113,0.08);
  color: #fecaca;
}

.auth-message.success {
  border-color: rgba(34,197,94,0.28);
  background: rgba(34,197,94,0.08);
  color: #bbf7d0;
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: grid;
  gap: 14px;
}

.auth-form h2 {
  margin-bottom: 2px;
}

.auth-form label {
  display: grid;
  gap: 7px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 850;
}

.auth-form input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--text);
  padding: 0 12px;
  outline: none;
}

.auth-form input:focus {
  border-color: var(--accent);
}

.purchase-verify-card {
  width: min(500px, 100%);
  padding: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 4%, rgba(105, 117, 255, 0.18), transparent 34%),
    rgba(9, 13, 25, 0.94);
}

.purchase-verify-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, #65c9ff, #8976ff, transparent);
  opacity: 0.8;
}

.purchase-verify-card .eyebrow {
  display: inline-flex;
  margin: 4px 0 14px;
  color: #69cfff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.purchase-verify-card h2 {
  margin: 0;
  font-size: clamp(24px, 4vw, 32px);
}

.purchase-verify-copy {
  margin: 12px 0 20px;
  color: var(--soft);
  line-height: 1.65;
}

.purchase-verify-copy strong,
.purchase-verify-copy b {
  color: var(--text);
}

#purchaseVerifyForm {
  display: grid;
  gap: 14px;
}

#purchaseVerifyForm label {
  display: grid;
  gap: 8px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 850;
}

#purchaseCodeInput {
  width: 100%;
  min-height: 58px;
  border: 1px solid rgba(112, 153, 255, 0.34);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  padding: 0 18px;
  outline: none;
  text-align: center;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.34em;
  font-variant-numeric: tabular-nums;
}

#purchaseCodeInput:focus {
  border-color: #69cfff;
  box-shadow: 0 0 0 4px rgba(105, 207, 255, 0.1);
}

.purchase-resend {
  margin-top: 10px;
}

.purchase-payment-link {
  margin-top: 14px;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.purchase-payment-link[hidden] {
  display: none;
}

.purchase-verify-note {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 560px) {
  .purchase-verify-card {
    padding: 28px 20px 22px;
    border-radius: 20px;
  }
}

@media (max-width: 1060px) {
  .topbar,
  .hero-grid,
  .dashboard-shell,
  .onboarding-card,
  .studio-workspace {
    grid-template-columns: 1fr;
  }

  .topbar {
    border-radius: 24px;
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .main-nav {
    justify-content: flex-start;
    overflow-x: auto;
    justify-self: stretch;
    width: 100%;
  }

  .top-actions {
    justify-content: space-between;
  }

  .hero-grid {
    gap: 14px;
  }

  .hero-content,
  .hero-preview {
    min-height: auto;
  }

  .hero-preview {
    min-height: 480px;
  }

  .sidebar {
    position: static;
  }

  .preview-panel {
    position: static;
  }

  .feature-strip,
  .pricing-grid,
  .comparison-grid,
  .capability-grid,
  .seo-copy-grid,
  .workflow-grid,
  .faq-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .social-proof-section,
  .bottom-cta-section,
  .seo-content-section {
    grid-template-columns: 1fr;
  }

  .seo-content-section .section-copy.centered {
    text-align: center;
    margin-inline: auto;
  }

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

  .capability-grid article:first-child {
    grid-row: auto;
    grid-column: auto;
    min-height: 190px;
  }

  .cta-actions {
    justify-content: flex-start;
  }

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

@media (max-width: 1320px) and (min-width: 1061px) {
  .app-frame {
    width: min(1220px, calc(100% - 32px));
  }

  .dashboard-shell {
    grid-template-columns: 288px minmax(0, 1fr);
  }

  .studio-workspace {
    grid-template-columns: minmax(250px, .78fr) minmax(360px, 1.22fr);
  }

  .preview-panel {
    position: static;
    grid-column: 1 / -1;
  }

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

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

  .onboarding-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .app-frame {
    width: min(100% - 20px, 1240px);
    padding-top: 10px;
  }

  .topbar {
    top: 8px;
    padding: 10px;
    gap: 10px;
  }

  .top-actions {
    flex-wrap: wrap;
  }

  .brand {
    padding-left: 0;
  }

  .hero-content {
    min-height: auto;
    padding: 28px 20px;
  }

  h1 {
    font-size: clamp(32px, 9vw, 40px);
    line-height: 1.04;
    letter-spacing: -0.028em;
  }

  .hero-content p {
    font-size: 13px;
    line-height: 1.58;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .large {
    width: 100%;
    min-width: 0;
  }

  .trust-note {
    width: 100%;
    border-radius: 16px;
  }

  .hero-preview {
    min-height: 360px;
  }

  .media-stack {
    height: 330px;
  }

  .hero-media-card.one {
    inset: 0 48px 80px 0;
  }

  .hero-media-card.two {
    inset: 90px 0 0 112px;
  }

  .hero-media-card.three {
    inset: 205px 150px 0 20px;
  }

  .feature-strip,
  .pricing-grid,
  .comparison-grid,
  .capability-grid,
  .seo-copy-grid,
  .workflow-grid,
  .faq-grid,
  .testimonial-grid,
  .preset-gallery,
  .gallery,
  .metric-row {
    grid-template-columns: 1fr;
  }

  .social-proof-section,
  .comparison-section,
  .capabilities-section,
  .seo-content-section,
  .workflow-section,
  .suite-header,
  .preset-gallery,
  .bottom-cta-section,
  .faq-section {
    margin-top: 48px;
  }

  .seo-content-section,
  .bottom-cta-section {
    padding: 24px;
    border-radius: 24px;
  }

  .workflow-grid::before {
    display: none;
  }

  .metric-row div {
    min-height: auto;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

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

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

  .work-preview,
  .work-preview img,
  .work-preview span {
    min-height: 160px;
  }

  .comparison-section {
    padding: 60px 0 42px;
  }

  .social-proof-section,
  .capabilities-section,
  .workflow-section,
  .bottom-cta-section,
  .faq-section {
    margin-top: 18px;
  }

  .capabilities-section,
  .workflow-section,
  .faq-section {
    padding-top: 42px;
  }

  .proof-summary,
  .bottom-cta-section {
    padding: 22px;
  }

  .testimonial-card {
    min-height: 180px;
  }

  .suite-header {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 54px;
  }

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

  .comparison-slider {
    height: 340px;
  }

  .preset-card {
    min-height: 310px;
  }
}

/* Keep the navigation overrides last so legacy layout rules cannot restack it. */
.app-frame > .topbar {
  top: 12px;
  grid-template-columns: 220px minmax(0, 1fr) auto;
  gap: 0;
  align-items: center;
  width: min(1400px, calc(100vw - 24px));
  min-height: 74px;
  margin: 12px 0 0 50%;
  padding: 0 14px 0 16px;
  border-color: rgba(135, 174, 255, 0.16);
  border-radius: 22px;
  background: rgba(6, 9, 18, 0.76);
  box-shadow: 0 14px 40px rgba(3, 12, 31, 0.34), 0 8px 24px rgba(64, 128, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transform: translateX(-50%);
}
.app-frame > .topbar.is-scrolled { top: 8px; min-height: 62px; background: rgba(5, 8, 16, 0.92); }

@media (max-width: 1060px) {
  .app-frame > .topbar,
  .app-frame > .topbar.is-scrolled {
    left: calc(50% - 50vw);
    top: 10px;
    grid-template-columns: auto 1fr;
    width: calc(100vw - 20px);
    min-height: 66px;
    margin-top: 10px;
    padding: 0 10px 0 12px;
    border-radius: 19px;
  }
  .topbar .main-nav,
  .topbar .navbar-theme-button,
  .topbar .navbar-login-button,
  .topbar .session-chip,
  .topbar #logoutButton { display: none !important; }
  .topbar .navbar-menu-button { display: grid; }
  .topbar .top-actions { justify-content: flex-end; }
  .mobile-nav-backdrop { display: block; }
  .mobile-nav-drawer { display: flex; }
}

/* Authoritative navbar geometry - keep as the final stylesheet rules. */
.app-frame > .topbar,
.app-frame > .topbar.is-scrolled {
  left: auto;
  top: 0;
  display: block;
  width: 100vw;
  min-height: 70px;
  margin: -14px 0 0 calc((100% - 100vw) / 2);
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  background: rgba(8, 11, 18, 0.96);
  box-shadow: none;
  transform: translateX(8px);
}
.app-frame > .topbar.is-scrolled { min-height: 70px; border-bottom-color: rgba(255,255,255,.12); background: rgba(8,11,18,.99); }

@media (min-width: 1025px) and (max-width: 1060px) {
  .topbar .main-nav { display: flex !important; }
  .topbar .navbar-theme-button { display: grid !important; }
  .topbar .navbar-login-button { display: inline-flex !important; }
  .topbar .navbar-menu-button { display: none !important; }
}

@media (max-width: 1024px) {
  body.mobile-nav-open { overflow: hidden; }

  .app-frame > .topbar,
  .app-frame > .topbar.is-scrolled {
    top: 0;
    width: 100vw;
    min-height: 68px;
    margin: -14px 0 0 calc((100% - 100vw) / 2);
    padding: 0;
    border-radius: 0;
    transform: translateX(8px);
  }
  .topbar .main-nav,
  .topbar .navbar-theme-button,
  .topbar .navbar-login-button,
  .topbar .session-chip,
  .topbar #logoutButton { display: none !important; }
  .topbar .navbar-menu-button { display: grid !important; }
}

/* Restrained product navigation */
.app-frame > .topbar,
.app-frame > .topbar.is-scrolled {
  left: auto;
  top: 0;
  display: block;
  width: 100vw;
  min-height: 70px;
  margin: -14px 0 0 calc((100% - 100vw) / 2);
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  background: rgba(8, 11, 18, 0.94);
  box-shadow: none;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transform: translateX(8px);
  transition: background-color 180ms ease-out, border-color 180ms ease-out;
}

.app-frame > .topbar.is-scrolled {
  background: rgba(8, 11, 18, 0.985);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.topbar .topbar-inner {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(320px, 1fr);
  align-items: center;
  width: min(1440px, calc(100% - 48px));
  min-height: 70px;
  margin: 0 auto;
}

.topbar .brand {
  gap: 11px;
  padding: 0;
}

.topbar .brand-mark {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: #3977e8;
  box-shadow: none;
  transition: background-color 180ms ease-out;
}

.topbar .brand-mark i { display: none; animation: none; }
.topbar .brand:hover .brand-mark { background: #4380ec; box-shadow: none; transform: none; }
.topbar .brand-copy { gap: 1px; }
.topbar .brand-copy strong { color: rgba(255, 255, 255, 0.9); font-size: 16px; font-weight: 700; }
.topbar .brand-copy small { color: rgba(255, 255, 255, 0.42); font-size: 9px; font-weight: 500; }

.topbar .main-nav {
  display: flex;
  gap: 3px;
  width: auto;
  overflow: visible;
  justify-self: center;
}

.topbar .main-nav a {
  min-height: 42px;
  padding: 0 12px;
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 14px;
  font-weight: 500;
  text-shadow: none;
  transition: color 180ms ease-out, background-color 180ms ease-out;
}

.topbar .main-nav a:hover {
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.035);
  text-shadow: none;
  transform: none;
}

.topbar .main-nav a.active {
  color: rgba(255, 255, 255, 0.94);
  background: transparent;
}

.topbar .main-nav a::after {
  right: 12px;
  bottom: 1px;
  left: 12px;
  height: 2px;
  background: #3977e8;
}

.topbar .main-nav .tryon-nav-link small,
.mobile-nav-links small {
  padding: 2px 5px;
  border: 0;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 9px;
  font-weight: 600;
  background: #244c91;
  box-shadow: none;
}

.topbar .top-actions { gap: 10px; justify-self: end; }

.navbar-credit {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.025);
}
.navbar-credit[hidden] { display: none; }
.navbar-credit > span {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1px solid rgba(89, 145, 244, 0.48);
  border-radius: 50%;
  color: #79a8f4;
  font-size: 9px;
  font-weight: 650;
}
.navbar-credit strong { font-size: 12px; font-weight: 500; white-space: nowrap; }
.navbar-credit b { color: rgba(255, 255, 255, 0.9); font-weight: 650; }

.topbar .navbar-theme-button {
  width: 38px;
  height: 38px;
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  color: rgba(255, 255, 255, 0.62);
  background: transparent;
  box-shadow: none;
}
.topbar .navbar-theme-button:hover {
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: none;
  transform: none;
}

.topbar .navbar-login-button {
  min-height: 40px;
  padding: 0 8px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  font-weight: 500;
}
.topbar .navbar-login-button:hover { color: rgba(255, 255, 255, 0.92); background: transparent; transform: none; }

.topbar .navbar-cta {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #3977e8;
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  background: #3977e8;
  box-shadow: none;
  transition: background-color 180ms ease-out, border-color 180ms ease-out, transform 100ms ease-out;
}
.topbar .navbar-cta:hover { border-color: #4380ec; background: #4380ec; box-shadow: none; transform: none; }
.topbar .navbar-cta:active { transform: scale(0.98); }
.topbar .navbar-cta i { font-size: 14px; }

.topbar .session-chip { min-height: 38px; padding: 3px 9px 3px 4px; border-radius: 8px; background: transparent; }
.topbar #logoutButton { min-height: 38px; border: 0; border-radius: 8px; background: transparent; }

body[data-theme='clean'] .app-frame > .topbar,
body[data-theme='clean'] .app-frame > .topbar.is-scrolled {
  border-bottom-color: rgba(15, 23, 42, 0.1);
  background: rgba(250, 252, 255, 0.97);
}
body[data-theme='clean'] .topbar .brand-copy strong,
body[data-theme='clean'] .topbar .main-nav a.active { color: rgba(15, 23, 42, 0.92); }
body[data-theme='clean'] .topbar .main-nav a { color: rgba(15, 23, 42, 0.58); }
body[data-theme='clean'] .topbar .main-nav a:hover { color: rgba(15, 23, 42, 0.86); background: rgba(15, 23, 42, 0.035); }
body[data-theme='clean'] .topbar .navbar-theme-button { color: rgba(15, 23, 42, 0.65); border-color: rgba(15, 23, 42, 0.1); }
body[data-theme='clean'] .topbar .navbar-login-button { color: rgba(15, 23, 42, 0.68); }
body[data-theme='clean'] .navbar-credit { color: rgba(15, 23, 42, 0.68); border-color: rgba(15, 23, 42, 0.1); }
body[data-theme='clean'] .navbar-credit b { color: rgba(15, 23, 42, 0.9); }

@media (max-width: 1180px) {
  .topbar .topbar-inner { grid-template-columns: minmax(180px, 1fr) auto minmax(260px, 1fr); width: calc(100% - 32px); }
  .topbar .main-nav a { padding-inline: 9px; font-size: 13px; }
  .topbar .main-nav .tryon-nav-link small { display: none; }
  .topbar .top-actions { gap: 6px; }
}

@media (max-width: 1024px) {
  .app-frame > .topbar,
  .app-frame > .topbar.is-scrolled {
    top: 0;
    width: 100vw;
    min-height: 68px;
    margin: -14px 0 0 calc((100% - 100vw) / 2);
    border-radius: 0;
    transform: translateX(8px);
  }
  .topbar .topbar-inner { grid-template-columns: minmax(0, 1fr) auto; width: calc(100% - 28px); min-height: 68px; }
  .topbar .main-nav,
  .topbar .navbar-theme-button,
  .topbar .navbar-login-button,
  .topbar .session-chip,
  .topbar #logoutButton { display: none !important; }
  .topbar .top-actions { gap: 8px; }
  .topbar .navbar-menu-button { display: grid; width: 40px; height: 40px; border-radius: 9px; }

  .mobile-nav-backdrop {
    position: fixed;
    z-index: 180;
    display: block;
    inset: 0;
  }

  .mobile-nav-backdrop[hidden] {
    display: none !important;
  }

  .mobile-nav-drawer {
    position: fixed;
    z-index: 190;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    width: min(360px, 92vw);
    overflow-y: auto;
    flex-direction: column;
    padding: 20px;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    background: #080b12;
    box-shadow: -16px 0 40px rgba(0, 0, 0, 0.28);
    backdrop-filter: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(100%);
    transition: opacity 240ms ease, visibility 240ms ease, transform 280ms cubic-bezier(.22,.8,.2,1);
  }
  body.mobile-nav-open .mobile-nav-drawer {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
  }
  .mobile-nav-backdrop { background: rgba(0, 0, 0, 0.56); backdrop-filter: blur(2px); }
  .mobile-nav-links a { min-height: 54px; padding-left: 12px; border-color: rgba(255, 255, 255, 0.07); font-size: 16px; font-weight: 500; }
  .mobile-nav-links a.active,
  .mobile-nav-links a:hover { padding-left: 12px; color: #fff; background: transparent; box-shadow: inset 2px 0 #3977e8; }
  .mobile-nav-drawer .brand-mark i { display: none; }
  .mobile-nav-drawer .brand-mark { background: #3977e8; box-shadow: none; }
}

@media (max-width: 540px) {
  .topbar .topbar-inner { width: calc(100% - 20px); }
  .topbar .brand-mark { width: 38px; height: 38px; }
  .topbar .brand-copy small { display: none; }
  .topbar .navbar-cta { min-height: 40px; padding-inline: 12px; font-size: 12px; }
  .topbar .navbar-cta span { font-size: 0; }
  .topbar .navbar-cta span::after { content: 'Başla'; font-size: 12px; }
  .topbar .navbar-cta i { display: none; }
  .navbar-credit { padding-inline: 7px; }
  .navbar-credit strong { font-size: 11px; }
}

@media (max-width: 390px) {
  .navbar-credit { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .app-frame > .topbar *,
  .mobile-nav-drawer { animation: none !important; transition-duration: 0.01ms !important; }
}

html,
body { overflow-x: clip; }

@media (max-width: 390px) {
  .topbar .navbar-credit:not([hidden]) { display: inline-flex; }
  .topbar .navbar-credit { min-height: 36px; padding-inline: 5px; }
  .topbar .navbar-credit > span { display: none; }
  .topbar .top-actions { gap: 5px; }
}

body[data-theme='clean'] .app-frame > .topbar {
  border-color: rgba(57, 98, 166, 0.15);
  background: rgba(249, 252, 255, 0.88);
}

/* Comparison Section Styles */
.comparison-section {
  padding: 82px 0 40px;
}

.comparison-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 42px;
}

.comparison-header h2 {
  font-size: clamp(30px, 4.1vw, 50px);
  line-height: 1.08;
  font-weight: 760;
  letter-spacing: -0.035em;
  margin-bottom: 14px;
}

.comparison-header h2 .highlight {
  background: linear-gradient(135deg, var(--accent-2), var(--accent-3, var(--accent-2)));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.comparison-header p {
  color: var(--muted);
  font-size: 16px;
  font-weight: 450;
}

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

.comparison-card {
  display: flex;
  flex-direction: column;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.022));
  box-shadow: var(--shadow-soft);
  transition: transform .24s ease, border-color .24s ease;
}

.comparison-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}

.category-title {
  display: block;
  text-align: left;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin: 3px 4px 12px;
  text-transform: uppercase;
}

.comparison-slider {
  --position: 50%;
  position: relative;
  width: 100%;
  height: 390px;
  border-radius: 22px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: none;
  background: #08090d;
}

.comparison-slider .image-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  user-select: none;
}

.comparison-slider .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.comparison-slider .after-image {
  clip-path: inset(0 0 0 var(--position));
}

.slider-badge {
  position: absolute;
  bottom: 14px;
  z-index: 5;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
}

.before-badge {
  left: 16px;
  background: rgba(8, 8, 8, 0.72);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.after-badge {
  right: 16px;
  background: linear-gradient(135deg, rgba(167,139,250,.92), rgba(56,189,248,.88));
  color: white;
  box-shadow: 0 10px 24px rgba(56, 189, 248, 0.2);
}

.slider-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--position);
  width: 2px;
  background: rgba(255, 255, 255, 0.82);
  z-index: 10;
  transform: translateX(-50%);
  pointer-events: none;
}

.slider-button {
  position: absolute;
  top: 50%;
  left: var(--position);
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(245,247,250,0.94);
  border: 1px solid rgba(255, 255, 255, 0.46);
  color: #111827;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  z-index: 11;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: transform 0.15s ease;
}

.comparison-slider:hover .slider-button {
  transform: translate(-50%, -50%) scale(1.08);
}

.slider-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 15;
  margin: 0;
  -webkit-appearance: none;
}

.slider-range::-webkit-slider-runnable-track {
  background: transparent;
  border: none;
}

.slider-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 44px;
  height: 44px;
  background: transparent;
}

/* Mode tag color variants for new comparison cards */
.category-title.mode-tag-bg {
  color: #34d399;
}

.category-title.mode-tag-wf {
  color: #93c5fd;
}

.category-title.mode-tag-lx {
  color: #fbbf24;
}

.category-title.mode-tag-ad {
  color: #f472b6;
}

.category-title.mode-tag-sh {
  color: #a78bfa;
}

.category-title.mode-tag-ig {
  color: #38bdf8;
}

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

.trust-band article,
.plus-details-section article,
.seo-benefit-card,
.seo-use-case-grid article,
.seo-related-links {
  border: 1px solid var(--border);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.024)),
    rgba(255,255,255,0.024);
  box-shadow: var(--shadow-soft);
}

.trust-band article {
  min-height: 136px;
  padding: 16px;
}

.trust-band span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--accent-2);
  font-size: 10px;
  font-weight: 820;
  letter-spacing: .14em;
}

.trust-band strong {
  display: block;
  font-size: 14px;
  line-height: 1.3;
}

.trust-band p,
.plus-details-section p,
.seo-benefit-card li,
.seo-use-case-grid p,
.price-features li {
  color: var(--muted);
  line-height: 1.55;
}

.trust-band p {
  margin-top: 8px;
  font-size: 12px;
}

.plus-details-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 48px;
}

.plus-details-section article {
  padding: 24px;
  border-color: rgba(255,255,255,0.12);
  background:
    linear-gradient(140deg, rgba(255,255,255,0.12), rgba(255,255,255,0.035) 48%, rgba(125,211,252,0.06)),
    rgba(255,255,255,0.035);
  backdrop-filter: blur(18px) saturate(130%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 22px 54px rgba(0,0,0,0.2);
}

.plus-details-section article::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,0.16), transparent 34%);
  opacity: .74;
}

.plus-details-section article > * {
  position: relative;
  z-index: 1;
}

.plus-details-section h2 {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.seo-landing-view {
  padding-top: 26px;
}

.seo-landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .62fr);
  gap: 16px;
  align-items: stretch;
}

.seo-landing-hero > div:first-child {
  min-height: 410px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: clamp(30px, 4vw, 48px);
  background:
    radial-gradient(circle at 18% 8%, rgba(124, 140, 255, 0.16), transparent 32rem),
    linear-gradient(180deg, rgba(18, 20, 28, 0.96), rgba(8, 9, 14, 0.98));
  box-shadow: var(--shadow);
}

.seo-landing-hero h1 {
  max-width: 760px;
}

.seo-landing-hero p {
  max-width: 650px;
  margin-top: 16px;
  color: var(--soft);
  line-height: 1.68;
}

.seo-benefit-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px;
}

.seo-benefit-card strong {
  margin-bottom: 16px;
  color: var(--text);
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.seo-benefit-card ul,
.price-features {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.seo-benefit-card li,
.price-features li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
}

.seo-benefit-card li::before,
.price-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.seo-use-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.seo-use-case-grid article {
  padding: 22px;
}

.seo-use-case-grid h2 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.compact-faq {
  margin-top: 34px;
}

.seo-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
  padding: 14px;
}

.seo-related-links span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 740;
}

.seo-related-links a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--soft);
  background: rgba(255,255,255,0.032);
  font-size: 12px;
  font-weight: 720;
}

.seo-related-links a:hover {
  border-color: rgba(125,211,252,0.32);
  color: var(--text);
}

.upload-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: -4px;
}

.upload-meta-bar span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0 10px;
  color: var(--muted);
  background: rgba(255,255,255,0.028);
  font-size: 11px;
  font-weight: 650;
}

.upload-meta-bar strong {
  margin-right: 3px;
  color: var(--text);
}

.price-features {
  position: relative;
  margin-top: 14px;
}

.price-features li {
  font-size: 12px;
}

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

  .seo-landing-hero,
  .plus-details-section {
    grid-template-columns: 1fr;
  }

  .studio-v2-shell {
    height: auto;
    min-height: calc(100vh - 96px);
    flex-direction: column;
    overflow: visible;
  }

  .icon-rail {
    position: sticky;
    top: 74px;
    z-index: 16;
    width: 100%;
    min-height: 58px;
    flex-direction: row;
    border-right: 0;
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
    padding: 8px;
  }

  .icon-rail-divider,
  .icon-rail-spacer {
    display: none;
  }

  .icon-rail-btn.active::before {
    left: 50%;
    top: auto;
    bottom: -8px;
    width: 22px;
    height: 3px;
    transform: translateX(-50%);
    border-radius: 3px 3px 0 0;
  }

  .studio-v2-panels,
  .studio-v2-panels > .panel,
  .studio-v2-workspace {
    height: auto;
    overflow: visible;
  }

  .studio-v2-workspace {
    flex-direction: column;
  }

  .studio-canvas-area {
    width: 100%;
    overflow: visible;
  }

  .studio-settings-panel {
    width: 100%;
    border-left: 0;
    border-top: 1px solid var(--border);
    max-height: none;
    overflow: visible;
  }

  .studio-settings-panel .mode-list,
  .mode-list {
    max-height: none;
    overflow: visible;
    mask-image: none;
  }
}

@media (max-width: 680px) {
  .trust-band,
  .seo-use-case-grid,
  .plus-details-section {
    grid-template-columns: 1fr;
  }

  .trust-band {
    margin-top: 10px;
  }

  .seo-landing-hero > div:first-child,
  .seo-benefit-card {
    border-radius: 24px;
    padding: 24px;
  }

  .v2-onboarding,
  .studio-canvas-area,
  .studio-settings-panel {
    padding-inline: 12px;
  }

  .v2-empty-steps {
    align-items: stretch;
    flex-direction: column;
  }

  .v2-empty-step-arrow {
    display: none;
  }

  .image-card {
    grid-template-columns: 1fr;
  }

  .card-footer {
    grid-column: 1;
    align-items: flex-start;
    flex-direction: column;
  }

  .before,
  .after {
    aspect-ratio: 4 / 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  body.reveal-ready .reveal-block {
    opacity: 1;
    transform: translateX(-10px);
  }
}

/* Credit plans */
.pricing-view {
  max-width: 1100px;
  margin-inline: auto;
  padding-top: 38px;
}

.pricing-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .62fr);
  gap: 22px;
  overflow: hidden;
  padding: clamp(30px, 4.5vw, 54px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 30px;
  background:
    radial-gradient(circle at 8% 0%, rgba(124,140,255,.2), transparent 34%),
    radial-gradient(circle at 94% 80%, rgba(56,189,248,.13), transparent 36%),
    linear-gradient(145deg, rgba(18,20,29,.96), rgba(8,9,14,.96));
  box-shadow: 0 34px 90px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.06);
}

.pricing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .32;
  background-image:
    linear-gradient(rgba(125,211,252,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125,211,252,.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, #000, transparent 70%);
}

.pricing-intro {
  align-self: center;
}

.pricing-intro h1 {
  max-width: 720px;
  margin: 14px 0 16px;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: -.04em;
}

.pricing-intro > p {
  max-width: 670px;
  margin: 0;
  color: var(--soft);
  font-size: 15px;
  line-height: 1.7;
}

.pricing-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.pricing-trust-row span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--soft);
  background: rgba(255,255,255,.04);
  font-size: 11px;
  font-weight: 680;
}

.pricing-trust-row span::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 14px rgba(56,189,248,.58);
}

.credit-wallet {
  position: relative;
  display: flex;
  min-height: 280px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(167,139,250,.3);
  border-radius: 24px;
  background:
    linear-gradient(150deg, rgba(167,139,250,.18), rgba(56,189,248,.06) 58%, rgba(255,255,255,.03)),
    rgba(6,7,11,.68);
  backdrop-filter: blur(18px) saturate(130%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 20px 50px rgba(0,0,0,.22);
}

.wallet-orbit {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 112px;
  height: 112px;
  border: 1px solid rgba(125,211,252,.18);
  border-radius: 50%;
  box-shadow: inset 0 0 44px rgba(167,139,250,.08), 0 0 46px rgba(56,189,248,.08);
}

.wallet-orbit::before,
.wallet-orbit::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(167,139,250,.18);
  border-radius: 50%;
}

.wallet-orbit::before { inset: 17px; }
.wallet-orbit::after { inset: 36px; background: radial-gradient(circle, rgba(125,211,252,.35), rgba(167,139,250,.08) 52%, transparent 70%); }

.wallet-orbit i {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7dd3fc;
  box-shadow: 0 0 16px #7dd3fc;
}

.wallet-orbit i:nth-child(1) { top: 8px; left: 49px; }
.wallet-orbit i:nth-child(2) { right: 9px; bottom: 28px; background: #a78bfa; box-shadow: 0 0 16px #a78bfa; }
.wallet-orbit i:nth-child(3) { left: 17px; bottom: 18px; width: 5px; height: 5px; }

.wallet-label {
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.credit-wallet > strong {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 7px;
  font-size: 18px;
}

.credit-wallet > strong b {
  font-size: 42px;
  line-height: 1;
  letter-spacing: -.04em;
}

.credit-wallet > p {
  margin: 10px 0 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.credit-wallet > p b { color: var(--text); }

.pricing-section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin: 46px 0 18px;
}

.pricing-section-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.pricing-section-heading > p {
  display: flex;
  max-width: 400px;
  gap: 9px;
  align-items: flex-start;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.pricing-section-heading > p > span {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 5px;
  border-radius: 50%;
  background: #fbbf24;
  box-shadow: 0 0 14px rgba(251,191,36,.5);
}

.pricing-view .pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.pricing-view .price-card {
  position: relative;
  display: flex;
  min-height: 520px;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  padding: 26px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(56,189,248,.08), transparent 30%),
    linear-gradient(180deg, rgba(17,18,25,.94), rgba(8,9,13,.96));
  box-shadow: 0 24px 60px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.04);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.pricing-payment-status {
  width: min(100%, 760px);
  margin: 0 0 20px;
  padding: 12px 15px;
  border: 1px solid rgba(96, 165, 250, 0.28);
  border-radius: 8px;
  background: rgba(30, 64, 175, 0.1);
  color: #c7ddff;
  font-size: 13px;
  line-height: 1.5;
}

.pricing-payment-status.success {
  border-color: rgba(52, 211, 153, 0.32);
  background: rgba(16, 185, 129, 0.09);
  color: #b8f5df;
}

.pricing-payment-status.error {
  border-color: rgba(251, 113, 133, 0.36);
  background: rgba(190, 24, 93, 0.1);
  color: #fecdd3;
}

.pricing-payment-status[hidden] { display: none; }

.purchase-legal-consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  max-width: 920px;
  margin: 0 0 22px;
  padding: 14px 16px;
  border-left: 2px solid rgba(96, 196, 255, .55);
  background: rgba(55, 110, 190, .06);
  color: #9da8bb;
  font-size: 11px;
  line-height: 1.65;
}

.purchase-legal-consent input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: #58bfff; }
.purchase-legal-consent a { color: #75ceff; }
.purchase-legal-consent:focus-within { outline: 2px solid rgba(98, 194, 255, .65); outline-offset: 3px; }

.pricing-view .price-card::before {
  display: none;
}

.pricing-view .price-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid transparent;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(167,139,250,.68), rgba(56,189,248,.52), transparent 62%) border-box;
  mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .22s ease;
}

.pricing-view .price-card:hover {
  transform: translateY(-5px);
  border-color: rgba(125,211,252,.22);
  box-shadow: 0 30px 74px rgba(0,0,0,.34), 0 0 34px rgba(91,214,255,.08);
}

.pricing-view .price-card:hover::after { opacity: 1; }

.pricing-view .price-card.featured {
  border-color: rgba(167,139,250,.42);
  background:
    radial-gradient(circle at 90% 0%, rgba(56,189,248,.16), transparent 34%),
    linear-gradient(155deg, rgba(167,139,250,.17), rgba(18,19,28,.96) 45%, rgba(8,9,13,.98));
  box-shadow: 0 30px 80px rgba(0,0,0,.32), 0 0 42px rgba(167,139,250,.09), inset 0 1px 0 rgba(255,255,255,.08);
}

.popular-badge {
  position: absolute !important;
  top: 18px;
  right: 18px;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(125,211,252,.24);
  border-radius: 999px;
  padding: 0 10px;
  color: #dbeafe !important;
  background: linear-gradient(135deg, rgba(124,140,255,.22), rgba(56,189,248,.15));
  font-size: 9px !important;
  font-weight: 780 !important;
  letter-spacing: .04em !important;
  text-transform: none !important;
}

.price-card-topline {
  display: flex;
  min-height: 28px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pricing-view .price-card.featured .price-card-topline { padding-right: 122px; }

.pricing-view .price-card .plan-label,
.pricing-view .price-card .plan-number {
  position: relative;
  color: var(--accent-2);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.pricing-view .price-card .plan-number {
  color: rgba(255,255,255,.25);
  letter-spacing: .05em;
}

.package-credit {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 22px;
}

.pricing-view .package-credit strong {
  display: inline;
  margin: 0;
  font-size: clamp(46px, 5vw, 58px);
  line-height: .95;
  letter-spacing: -.05em;
}

.pricing-view .package-credit span {
  position: static;
  color: var(--soft);
  font-size: 15px;
  font-weight: 680;
  letter-spacing: 0;
  text-transform: lowercase;
}

.package-price {
  display: flex;
  min-height: 28px;
  align-items: baseline;
  gap: 8px;
  margin-top: 10px;
}

.pricing-view .package-price strong {
  display: inline;
  margin: 0;
  color: var(--text);
  font-size: 20px;
  line-height: 1;
  letter-spacing: -.02em;
}

.pricing-view .package-price span {
  position: static;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.internal-profit-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  padding: 9px 11px;
  border: 1px dashed rgba(52,211,153,.3);
  border-radius: 11px;
  background: rgba(52,211,153,.06);
}

.pricing-view .internal-profit-note span {
  position: static;
  color: #6ee7b7;
  font-size: 9px;
  font-weight: 760;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.pricing-view .internal-profit-note strong {
  display: inline;
  margin: 0;
  color: #a7f3d0;
  font-size: 13px;
}

.internal-profit-disclaimer {
  max-width: 880px;
  margin: 8px auto 0;
  color: rgba(110,231,183,.7);
  font-size: 9px;
  line-height: 1.5;
  text-align: center;
}

.pricing-view .package-summary {
  min-height: 66px;
  margin: 16px 0 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.62;
}

.package-yield {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 13px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 13px;
  background: rgba(255,255,255,.035);
}

.pricing-view .package-yield span {
  position: static;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.pricing-view .package-yield strong {
  display: inline;
  margin: 0;
  font-size: 12px;
}

.pricing-view .price-features {
  flex: 1;
  gap: 11px;
  margin-top: 20px;
}

.pricing-view .price-features li {
  color: var(--soft);
  font-size: 12px;
}

.price-card-footer {
  margin-top: 22px;
}

.price-card-footer small {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.price-card-footer .solid-button {
  min-height: 44px;
}

.credit-guide {
  display: grid;
  grid-template-columns: minmax(240px, .75fr) minmax(0, 1.4fr);
  gap: 34px;
  align-items: center;
  margin-top: 18px;
  padding: clamp(26px, 4vw, 38px);
  border: 1px solid var(--border);
  border-radius: 26px;
  background:
    linear-gradient(125deg, rgba(255,255,255,.05), rgba(56,189,248,.025)),
    rgba(9,10,15,.78);
  backdrop-filter: blur(16px);
}

.credit-guide-heading h2 {
  margin: 9px 0 10px;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.1;
  letter-spacing: -.03em;
}

.credit-guide-heading p,
.credit-guide-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.credit-guide-steps {
  display: grid;
  gap: 10px;
}

.credit-guide-steps article {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  background: rgba(255,255,255,.025);
}

.credit-guide-steps article > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(125,211,252,.2);
  border-radius: 11px;
  color: var(--accent-2);
  background: linear-gradient(135deg, rgba(167,139,250,.12), rgba(56,189,248,.08));
  font-size: 11px;
  font-weight: 800;
}

.credit-guide-steps strong {
  display: block;
  margin-bottom: 3px;
  font-size: 13px;
}

.pricing-footnote {
  max-width: 760px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
  text-align: center;
}

@media (max-width: 900px) {
  .pricing-hero,
  .credit-guide {
    grid-template-columns: 1fr;
  }

  .credit-wallet {
    min-height: 250px;
  }

  .pricing-view .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-view .price-card {
    min-height: 0;
  }

  .pricing-view .package-summary {
    min-height: 0;
  }
}

@media (max-width: 680px) {
  .pricing-view {
    padding-top: 20px;
  }

  .pricing-hero {
    gap: 18px;
    padding: 24px;
    border-radius: 24px;
  }

  .pricing-intro h1 {
    font-size: 38px;
  }

  .pricing-trust-row {
    align-items: stretch;
    flex-direction: column;
  }

  .credit-wallet {
    min-height: 240px;
    padding: 20px;
  }

  .pricing-section-heading {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 36px;
  }

  .pricing-view .price-card {
    padding: 22px;
  }

  .pricing-view .price-card.featured .price-card-topline {
    padding-right: 0;
    padding-top: 34px;
  }

  .popular-badge {
    left: 18px;
    right: auto;
  }

  .credit-guide {
    gap: 22px;
    padding: 22px;
    border-radius: 22px;
  }
}

/* Keep the global footer unframed after legacy home footer rules. */
.site-footer.global-footer {
  display: block;
  width: min(1400px, calc(100% - 48px));
  margin: 72px auto 24px;
  padding: 34px 0 0;
  border: 0;
  border-top: 1px solid rgba(130, 160, 220, .16);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

@media (max-width: 900px) {
  .site-footer.global-footer .footer-main { grid-template-columns: 1fr 1fr; }
  .site-footer.global-footer .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .site-footer.global-footer { width: calc(100% - 32px); margin-top: 48px; }
  .site-footer.global-footer .footer-main { grid-template-columns: 1fr 1fr; gap: 30px 18px; }
  .site-footer.global-footer .footer-bottom { align-items: flex-start; flex-direction: column; }
}

/* Result variations, 48-hour media retention and operations health */
.media-retention-notice,
.media-retention-inline {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid rgba(91, 198, 255, .2);
  border-radius: 8px;
  color: #aeb9cb;
  background: rgba(16, 30, 52, .68);
  font-size: 12px;
  line-height: 1.5;
}

.media-retention-notice {
  margin: 14px 0;
  padding: 11px 13px;
}

.media-retention-notice::before,
.media-retention-inline::before {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-top: 5px;
  border-radius: 50%;
  background: #62cfff;
  box-shadow: 0 0 12px rgba(98, 207, 255, .55);
  content: "";
}

.media-retention-notice strong,
.media-retention-inline strong {
  color: #eef6ff;
}

.media-retention-notice.compact {
  margin: 0 0 12px;
  padding: 10px 12px;
}

.media-retention-notice.compact {
  display: grid;
  grid-template-columns: auto 1fr;
}

.media-retention-notice.compact::before {
  grid-row: 1 / span 2;
}

.media-retention-notice.compact strong,
.media-retention-notice.compact span {
  display: block;
}

.media-retention-inline {
  margin: 2px 0 4px;
  padding: 11px 12px;
}

.media-expiry-line {
  display: block;
  margin-top: 8px;
  color: #8391aa;
  font-size: 11px;
}

.work-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.work-card.is-expired {
  border-color: rgba(148, 163, 184, .16);
  opacity: .82;
}

.work-card.is-expired img {
  filter: grayscale(1);
  opacity: .32;
}

.variation-card {
  width: min(560px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
}

.variation-copy {
  margin: 8px 0 20px;
  color: var(--muted);
  line-height: 1.65;
}

.variation-options {
  display: grid;
  gap: 9px;
}

.variation-options > button {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 68px;
  padding: 11px 13px;
  border: 1px solid rgba(132, 154, 205, .18);
  border-radius: 8px;
  color: #aeb8cb;
  text-align: left;
  background: rgba(8, 14, 26, .68);
  cursor: pointer;
  transition: border-color .22s ease, background .22s ease, transform .22s ease;
}

.variation-options > button:hover {
  border-color: rgba(91, 198, 255, .4);
  background: rgba(25, 41, 69, .72);
  transform: translateY(-1px);
}

.variation-options > button.active {
  border-color: rgba(91, 198, 255, .62);
  color: #f4f8ff;
  background: linear-gradient(110deg, rgba(52, 101, 177, .22), rgba(115, 91, 204, .15));
  box-shadow: inset 3px 0 0 #62cfff;
}

.variation-options > button > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(91, 198, 255, .25);
  border-radius: 8px;
  color: #79d5ff;
  background: rgba(91, 198, 255, .08);
  font-family: var(--display-font, inherit);
  font-size: 11px;
  font-weight: 800;
}

.variation-options > button div {
  min-width: 0;
}

.variation-options > button strong,
.variation-options > button small {
  display: block;
}

.variation-options > button strong {
  color: inherit;
  font-size: 13px;
}

.variation-options > button small {
  margin-top: 4px;
  color: #7e899d;
  font-size: 11px;
}

.variation-options > button b {
  color: #a9cfff;
  font-size: 11px;
  white-space: nowrap;
}

.variation-direction {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  color: #aeb8cb;
  font-size: 12px;
  font-weight: 700;
}

.variation-direction textarea {
  width: 100%;
  resize: vertical;
}

.operations-runtime {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid rgba(91, 198, 255, .18);
  border-radius: 8px;
  background: linear-gradient(120deg, rgba(20, 34, 58, .78), rgba(13, 19, 32, .84));
}

.operations-runtime h2 {
  margin: 5px 0 6px;
  font-size: 18px;
}

.operations-runtime p {
  max-width: 700px;
  margin: 0;
  color: #96a4ba;
  font-size: 12px;
  line-height: 1.6;
}

.operations-runtime-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.operations-runtime-actions button {
  min-height: 44px;
}

@media (max-width: 760px) {
  .operations-runtime {
    align-items: stretch;
    flex-direction: column;
  }

  .operations-runtime-actions {
    flex-direction: column;
  }

  .variation-options > button {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .variation-options > button b {
    grid-column: 2;
  }
}

@media (max-width: 680px) {
  [data-view="studio"] button,
  .tryon-view button,
  .pricing-view button,
  .mobile-drawer button,
  .mobile-drawer a,
  .site-footer a,
  .icon-rail button,
  .icon-rail a,
  .navbar-menu-button {
    min-height: 44px;
  }

  .tryon-view input:not([type="checkbox"]):not([type="radio"]),
  .tryon-view select,
  [data-view="studio"] input:not([type="checkbox"]):not([type="radio"]),
  [data-view="studio"] select {
    min-height: 44px;
  }

  .tryon-view input[type="checkbox"],
  .tryon-view input[type="radio"],
  [data-view="studio"] input[type="checkbox"],
  [data-view="studio"] input[type="radio"] {
    width: 22px;
    height: 22px;
  }

  .topbar .brand,
  .navbar-menu-button,
  .icon-rail-btn {
    min-width: 44px;
    min-height: 44px;
  }

  [data-view="studio"] .mode-tab-btn,
  [data-view="studio"] .v2-process-btn,
  [data-view="studio"] #downloadAllButton,
  [data-view="studio"] .reset-btn-v2,
  [data-view="studio"] #storeTypeSelect,
  [data-view="studio"] .product-type-select {
    min-height: 44px;
  }

  .site-footer .footer-links a,
  .site-footer .footer-links button {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-width: 44px;
    min-height: 44px;
    padding-inline: 4px;
  }

  .variation-card {
    width: calc(100% - 20px);
    max-height: calc(100dvh - 20px);
    padding: 22px 16px;
  }

  .variation-options > button {
    min-height: 74px;
  }

  .work-actions > * {
    flex: 1 1 140px;
    justify-content: center;
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .variation-options > button {
    transition: none;
  }
}
