:root {
  --bg: #07080d;
  --bg-elevated: #0d1019;
  --surface: rgba(17, 21, 33, 0.88);
  --surface-solid: #111521;
  --surface-soft: rgba(255, 255, 255, 0.035);
  --surface-hover: rgba(255, 255, 255, 0.065);
  --text: #f5f7fb;
  --text-soft: #d7dce7;
  --muted: #929bab;
  --muted-strong: #adb5c3;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --violet: #8d6bff;
  --blue: #4f8cff;
  --cyan: #51d6cd;
  --green: #68d39b;
  --amber: #f2bd68;
  --red: #e87982;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --shadow-soft: 0 12px 40px rgba(0, 0, 0, 0.2);
  --radius: 8px;
  --max-width: 1440px;
  --header-height: 72px;
  --transition: 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
  font-family: Inter, Geist, Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; color: var(--text); background: var(--bg); line-height: 1.5; }
body::selection { color: #fff; background: rgba(79, 140, 255, 0.45); }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; letter-spacing: 0; }
button, label, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
img, video { max-width: 100%; display: block; }
svg { width: 18px; height: 18px; stroke-width: 1.8; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 12px; z-index: 200; padding: 9px 12px; color: #071015; border-radius: 6px; background: var(--cyan); font-size: 12px; font-weight: 800; transform: translateY(-160%); transition: transform var(--transition); }
.skip-link:focus { transform: translateY(0); }
.eyebrow, .panel-label, .auth-kicker { margin: 0; color: var(--cyan); font-size: 11px; font-weight: 800; letter-spacing: 0; text-transform: uppercase; }

/* Shared actions */
.primary-button, .secondary-button, .danger-button, .text-button, .text-link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 750;
  transition: transform var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition), color var(--transition);
}
.primary-button { padding: 0 20px; border: 1px solid rgba(120, 181, 255, 0.34); color: #fff; background: linear-gradient(110deg, #536fe8, #7663db 55%, #347fbe); box-shadow: 0 12px 32px rgba(58, 92, 190, 0.28); cursor: pointer; }
.primary-button:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(58, 92, 190, 0.36); }
.primary-button:active:not(:disabled), .secondary-button:active:not(:disabled) { transform: translateY(0) scale(0.985); }
.primary-button:disabled, .secondary-button:disabled { cursor: not-allowed; opacity: 0.46; box-shadow: none; }
.secondary-button { padding: 0 18px; border: 1px solid var(--line-strong); color: var(--text-soft); background: rgba(255, 255, 255, 0.035); cursor: pointer; }
.secondary-button:hover:not(:disabled) { border-color: rgba(111, 163, 255, 0.4); color: #fff; background: rgba(79, 140, 255, 0.08); transform: translateY(-1px); }
.danger-button { min-height: 46px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid rgba(232,121,130,.28); border-radius: var(--radius); color: #ffb3b9; background: rgba(232,121,130,.06); font-size: 13px; font-weight: 750; cursor: pointer; }
.danger-button:hover { border-color: rgba(232,121,130,.5); color: #fff; background: rgba(232,121,130,.12); }.danger-button svg { width: 16px; }
.compact-button { min-height: 40px; padding-inline: 15px; }
.hero-button { min-height: 54px; padding-inline: 24px; font-size: 14px; }
.full-button { width: 100%; }
.text-button { min-height: 38px; padding: 0 10px; color: var(--text-soft); }
.text-button:hover, .text-link:hover { color: #fff; }
.text-link { min-height: auto; color: var(--cyan); }
.text-link svg { width: 15px; }
.icon-button { width: 38px; height: 38px; display: inline-grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); color: var(--muted-strong); background: rgba(255, 255, 255, 0.035); cursor: pointer; transition: color var(--transition), border-color var(--transition), background var(--transition); }
.icon-button:hover { color: #fff; border-color: var(--line-strong); background: var(--surface-hover); }

/* App shell */
.app-body { min-height: 100vh; background: linear-gradient(180deg, #080a11 0, var(--bg) 320px); }
.app-body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.28; background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, #000, transparent 70%); }
.app-header { position: sticky; top: 0; z-index: 50; height: var(--header-height); border-bottom: 1px solid var(--line); background: rgba(7, 8, 13, 0.84); backdrop-filter: blur(22px) saturate(150%); }
.operational-banner { min-height: 42px; padding: 9px max(18px, calc((100vw - 1240px) / 2)); display: flex; align-items: center; justify-content: center; gap: 9px; color: #f9dfad; border-bottom: 1px solid rgba(242,189,104,.25); background: #241d12; font-size: 12px; font-weight: 700; text-align: center; }
.operational-banner svg { width: 16px; height: 16px; flex: 0 0 auto; }
.operational-banner-maintenance { color: #dce9ff; border-color: rgba(99,157,255,.28); background: #101b2c; }
.landing-operational-banner { position: fixed; top: 70px; left: 0; right: 0; z-index: 79; }
.nav-shell { width: min(var(--max-width), calc(100% - 48px)); height: 100%; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { min-width: max-content; display: inline-flex; align-items: center; gap: 11px; color: var(--text); }
.brand-mark-shell { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(110, 166, 255, .26); border-radius: var(--radius); background: linear-gradient(145deg, rgba(79, 140, 255, .24), rgba(81, 214, 205, .09)); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 6px 18px rgba(24, 126, 255, .13); }
.brand-mark { width: 100%; height: 100%; display: block; flex: 0 0 auto; object-fit: contain; }
.brand-copy { min-width: 0; display: grid; line-height: 1.1; white-space: nowrap; }
.brand-name { display: inline-flex; align-items: baseline; gap: .23em; color: #f6fbff; font-size: 15px; letter-spacing: .01em; }
.brand-name-ai { color: #2f8cff; background: linear-gradient(135deg, #22e6f3 0%, #2f8cff 48%, #7548ff 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.brand-subtitle { margin-top: 4px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .1em; }
.desktop-nav { height: 42px; padding: 4px; display: flex; align-items: center; gap: 2px; border: 1px solid rgba(255,255,255,.055); border-radius: var(--radius); background: rgba(255,255,255,.025); }
.nav-link { position: relative; height: 32px; padding: 0 15px; display: inline-flex; align-items: center; border-radius: 6px; color: var(--muted-strong); font-size: 12px; font-weight: 700; transition: color var(--transition), background var(--transition); }
.nav-link:hover { color: #fff; }
.nav-link.is-active { color: #fff; background: rgba(255,255,255,.07); }
.nav-actions { position: relative; justify-self: end; display: flex; align-items: center; gap: 9px; }
.balance-chip { min-height: 38px; padding: 0 12px; display: flex; align-items: center; gap: 6px; border: 1px solid rgba(81,214,205,.18); border-radius: var(--radius); color: var(--text-soft); background: rgba(81,214,205,.05); font-size: 11px; }
.balance-chip svg { width: 15px; color: var(--cyan); }
.balance-chip strong { color: #fff; font-size: 13px; }
.profile-button { height: 40px; padding: 3px 8px 3px 3px; display: flex; align-items: center; gap: 5px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.03); cursor: pointer; }
.profile-button > svg { width: 14px; color: var(--muted); }
.avatar { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 6px; color: #fff; background: linear-gradient(145deg, #537ae3, #7658bc); font-size: 12px; font-weight: 800; }
.large-avatar { width: 48px; height: 48px; font-size: 16px; }
.account-menu { position: absolute; top: 49px; right: 0; width: 240px; padding: 7px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: rgba(14, 17, 27, .98); box-shadow: var(--shadow); animation: menu-in 180ms ease both; }
.account-menu-head { padding: 10px 11px 12px; display: grid; border-bottom: 1px solid var(--line); }
.account-menu-head strong { font-size: 12px; }.account-menu-head span { overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; }
.account-menu a, .account-menu button { width: 100%; min-height: 38px; padding: 0 10px; display: flex; align-items: center; gap: 9px; border: 0; border-radius: 6px; color: var(--text-soft); background: transparent; font-size: 11px; cursor: pointer; }
.account-menu a:hover, .account-menu button:hover, .account-menu a:focus-visible, .account-menu button:focus-visible { color: #fff; background: var(--surface-hover); }.account-menu svg { width: 15px; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.app-main { width: min(var(--max-width), calc(100% - 48px)); margin: 0 auto; padding: 42px 0 80px; }
.page-heading { min-height: 94px; margin-bottom: 28px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.page-heading h1 { margin: 8px 0 0; font-size: 32px; line-height: 1.12; letter-spacing: 0; }
.page-description { max-width: 700px; margin: 9px 0 0; color: var(--muted); font-size: 13px; }
.page-content { min-width: 0; }
.mobile-nav { display: none; }

/* Panels and messages */
.surface-panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-soft); }
@supports not (backdrop-filter: blur(1px)) { .surface-panel, .app-header { background: var(--surface-solid); } }
.panel-heading { min-height: 42px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.panel-heading h2 { margin: 4px 0 0; font-size: 16px; line-height: 1.25; }
.panel-heading > span, .panel-heading a { color: var(--muted); font-size: 10px; }
.panel-heading a { display: inline-flex; align-items: center; gap: 5px; }.panel-heading a:hover { color: var(--cyan); }.panel-heading a svg { width: 13px; }
.alert { width: 100%; min-height: 48px; margin-bottom: 16px; padding: 12px 14px; display: flex; align-items: flex-start; gap: 10px; border: 1px solid; border-radius: var(--radius); font-size: 12px; }
.alert svg { flex: 0 0 auto; margin-top: 1px; }.alert strong { display: block; }
.alert-error { color: #ffc3c6; border-color: rgba(232,121,130,.28); background: rgba(232,121,130,.08); }
.alert-warning { color: #f8d9a3; border-color: rgba(242,189,104,.26); background: rgba(242,189,104,.075); }
.alert-success { color: #acf0ca; border-color: rgba(104,211,155,.25); background: rgba(104,211,155,.075); }
.alert-neutral { color: var(--text-soft); border-color: rgba(79,140,255,.22); background: rgba(79,140,255,.07); }
.status-badge { min-height: 23px; padding: 0 7px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid; border-radius: 5px; font-size: 9px; font-weight: 800; white-space: nowrap; }
.status-succeeded { color: #9ce6bd; border-color: rgba(104,211,155,.24); background: rgba(104,211,155,.1); }
.status-running, .status-queued { color: #a9c7ff; border-color: rgba(79,140,255,.28); background: rgba(79,140,255,.11); }
.status-failed { color: #ffb3b9; border-color: rgba(232,121,130,.25); background: rgba(232,121,130,.09); }
.status-pulse { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 0 rgba(79,140,255,.45); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(79,140,255,0); } 100% { box-shadow: 0 0 0 0 rgba(79,140,255,0); } }
.empty-state { display: grid; place-items: center; text-align: center; color: var(--muted); }
.empty-state strong, .empty-state h2 { color: var(--text-soft); }.empty-state p { margin: 0; }
.compact-empty { min-height: 150px; gap: 7px; font-size: 11px; }.compact-empty svg { width: 24px; height: 24px; }.compact-empty a { color: var(--cyan); }

/* Product shell: shared visual language for authenticated workspaces. */
.app-body {
  --header-height: 80px;
  background:
    radial-gradient(900px 560px at 88% -10%, rgba(112, 210, 255, .12), transparent 70%),
    radial-gradient(680px 520px at 8% 24%, rgba(102, 128, 255, .08), transparent 72%),
    linear-gradient(145deg, #08131f 0%, #0b1724 44%, #070a12 100%);
}

.app-body::before {
  opacity: .36;
  background-image:
    linear-gradient(rgba(238, 247, 255, .024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 247, 255, .02) 1px, transparent 1px);
  background-size: 68px 68px;
}

.app-body .app-header {
  height: var(--header-height);
  border-bottom: 0;
  background: rgba(7, 16, 26, .5);
  backdrop-filter: blur(26px) saturate(170%);
}

.app-body .nav-shell {
  width: min(1320px, calc(100% - 48px));
  height: 60px;
  margin: 10px auto;
  padding: 0 10px 0 12px;
  border: 1px solid rgba(238, 247, 255, .12);
  border-radius: 21px;
  background: linear-gradient(135deg, rgba(238, 247, 255, .09), rgba(142, 219, 255, .028));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 18px 54px rgba(0, 0, 0, .18);
  backdrop-filter: blur(22px) saturate(165%);
}

.app-body .brand-mark-shell {
  width: 42px;
  height: 42px;
  flex-basis: 42px;
  border-radius: 15px;
  border-color: rgba(238, 247, 255, .2);
  background: linear-gradient(145deg, rgba(238, 247, 255, .16), rgba(88, 210, 255, .075));
}

.app-body .desktop-nav {
  min-height: 40px;
  padding: 0 7px;
  gap: 4px;
  border-color: rgba(238, 247, 255, .08);
  border-radius: 17px;
  background: rgba(3, 12, 20, .22);
}

.app-body .nav-link {
  min-height: 31px;
  padding-inline: 11px;
  border-radius: 12px;
}

.app-body .nav-link.is-active {
  color: #f8fcff;
  background: linear-gradient(135deg, rgba(238, 247, 255, .14), rgba(142, 219, 255, .08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
}

.app-body .balance-chip,
.app-body .profile-button,
.app-body .notification-button {
  border-color: rgba(238, 247, 255, .13);
  background: rgba(238, 247, 255, .05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.app-body .balance-chip {
  border-color: rgba(142, 219, 255, .21);
  background: linear-gradient(135deg, rgba(142, 219, 255, .11), rgba(238, 247, 255, .045));
}

.app-body .account-menu,
.app-body .notification-popover {
  border-color: rgba(238, 247, 255, .15);
  border-radius: 17px;
  background: rgba(8, 19, 31, .96);
  box-shadow: 0 24px 68px rgba(0, 0, 0, .36), inset 0 1px 0 rgba(255, 255, 255, .11);
  backdrop-filter: blur(24px) saturate(170%);
}

.product-page {
  --product-border: rgba(238, 247, 255, .13);
  --product-fill: rgba(10, 24, 38, .76);
  --product-fill-strong: rgba(13, 30, 47, .92);
  --product-cyan: #9bdeff;
  --product-radius: 22px;
}

.product-page .app-main {
  width: min(1280px, calc(100% - 48px));
  padding-top: 58px;
}

.product-page .page-heading {
  position: relative;
  min-height: 132px;
  margin-bottom: 30px;
  padding: 26px 28px;
  overflow: hidden;
  align-items: flex-end;
  border: 1px solid var(--product-border);
  border-radius: var(--product-radius);
  background:
    radial-gradient(420px 220px at 88% 10%, rgba(142, 219, 255, .12), transparent 72%),
    linear-gradient(135deg, rgba(238, 247, 255, .08), rgba(10, 24, 38, .75) 46%, rgba(12, 21, 39, .94));
  box-shadow: 0 26px 70px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .14);
}

.product-page .page-heading::after {
  content: "";
  position: absolute;
  top: -80px;
  right: 10%;
  width: 240px;
  aspect-ratio: 1;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(106, 202, 255, .16), transparent);
  filter: blur(10px);
}

.product-page .page-heading > * { position: relative; z-index: 1; }
.product-page .page-heading .eyebrow,
.product-page .panel-label,
.product-page .section-intro .eyebrow {
  color: var(--product-cyan);
  font-size: 10px;
  letter-spacing: .08em;
}

.product-page .page-heading h1 {
  margin-top: 10px;
  color: transparent;
  background: linear-gradient(102deg, #ffffff 0%, #f1f8ff 46%, #9bdeff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(31px, 3.2vw, 45px);
  font-weight: 850;
  letter-spacing: 0;
}

.product-page .page-description {
  max-width: 660px;
  color: rgba(255, 255, 255, .68);
  font-size: 14px;
  line-height: 1.58;
}

.product-page .surface-panel {
  border-color: var(--product-border);
  border-radius: var(--product-radius);
  background: linear-gradient(145deg, rgba(238, 247, 255, .065), var(--product-fill) 36%, rgba(7, 17, 29, .88));
  box-shadow: 0 22px 60px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .12);
  backdrop-filter: blur(18px) saturate(135%);
}

.product-page .panel-heading h2 { color: #f5fbff; font-size: 18px; }
.product-page .panel-heading > span,
.product-page .panel-heading a { color: rgba(255, 255, 255, .54); }
.product-page .panel-heading a:hover { color: var(--product-cyan); }

.product-page .primary-button,
.product-page .secondary-button,
.product-page .icon-button {
  border-radius: 15px;
}

.product-page .primary-button {
  border-color: rgba(238, 247, 255, .5);
  color: #06131d;
  background: linear-gradient(135deg, #eef7ff 0%, #8edbff 48%, #42b9ff 100%);
  box-shadow: 0 16px 42px rgba(65, 188, 255, .25), inset 0 1px 0 rgba(255, 255, 255, .82);
}

.product-page .secondary-button,
.product-page .icon-button {
  border-color: rgba(238, 247, 255, .15);
  color: rgba(255, 255, 255, .84);
  background: linear-gradient(135deg, rgba(238, 247, 255, .095), rgba(142, 219, 255, .04));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
}

.product-page .field input:not([type="checkbox"]):not([type="radio"]),
.product-page .field select,
.product-page .field textarea,
.product-page .search-field,
.product-page .promo-entry input {
  border-color: rgba(238, 247, 255, .13);
  border-radius: 14px;
  color: #edf7ff;
  background: rgba(3, 13, 23, .42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045);
}

.product-page .field input:not([type="checkbox"]):not([type="radio"]):focus,
.product-page .field select:focus,
.product-page .field textarea:focus,
.product-page .promo-entry input:focus {
  border-color: rgba(142, 219, 255, .56);
  box-shadow: 0 0 0 3px rgba(142, 219, 255, .1), inset 0 1px 0 rgba(255, 255, 255, .08);
}

.product-page .segmented-control {
  padding: 5px;
  border-color: rgba(238, 247, 255, .12);
  border-radius: 17px;
  background: rgba(3, 13, 23, .42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

.product-page .segmented-control label > span { border-radius: 13px; }
.product-page .segmented-control input:checked + span {
  border-color: rgba(142, 219, 255, .24);
  background: linear-gradient(135deg, rgba(238, 247, 255, .13), rgba(142, 219, 255, .08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 10px 28px rgba(0, 0, 0, .16);
}

@media (hover: hover) and (pointer: fine) {
  .app-body .nav-link:hover { color: #fff; background: rgba(238, 247, 255, .08); transform: translateY(-1px); }
  .product-page .primary-button:hover:not(:disabled) { transform: translateY(-3px); box-shadow: 0 22px 52px rgba(65, 188, 255, .34), inset 0 1px 0 rgba(255, 255, 255, .9); }
  .product-page .secondary-button:hover:not(:disabled),
  .product-page .icon-button:hover { border-color: rgba(142, 219, 255, .32); color: #fff; background: linear-gradient(135deg, rgba(238, 247, 255, .14), rgba(142, 219, 255, .075)); transform: translateY(-2px); }
  .product-page .surface-panel:hover { border-color: rgba(142, 219, 255, .2); }
}

/* Studio keeps its existing workflow and gains the landing showcase treatment. */
.product-studio .studio-layout { gap: 24px; }
.product-studio .creator-panel,
.product-studio .style-panel,
.product-studio .settings-panel,
.product-studio .preview-panel,
.product-studio .launch-panel,
.product-studio .recent-panel { padding: 25px; }
.product-studio .creator-panel { background: linear-gradient(150deg, rgba(20, 42, 62, .92), rgba(10, 25, 39, .84) 54%, rgba(12, 21, 38, .92)); }
.product-studio .preview-panel { position: sticky; top: calc(var(--header-height) + 20px); overflow: hidden; }
.product-studio .studio-preview { border: 1px solid rgba(238, 247, 255, .17); border-radius: 20px; box-shadow: 0 22px 55px rgba(0, 0, 0, .3), 0 0 50px rgba(85, 193, 255, .08); }
.product-studio .story-template,
.product-studio .style-option { border-color: rgba(238, 247, 255, .11); border-radius: 16px; background: rgba(3, 13, 23, .32); }
.product-studio .story-template:hover,
.product-studio .style-option:hover { border-color: rgba(142, 219, 255, .28); background: rgba(142, 219, 255, .055); }
.product-studio .style-option input:checked + .style-swatch,
.product-studio .style-option:has(input:checked) { border-color: rgba(142, 219, 255, .34); background: rgba(142, 219, 255, .07); }
.product-studio .upload-zone { border-color: rgba(142, 219, 255, .28); border-radius: 18px; background: linear-gradient(145deg, rgba(142, 219, 255, .08), rgba(238, 247, 255, .025)); }
.product-studio .launch-panel { background: linear-gradient(145deg, rgba(14, 43, 61, .88), rgba(8, 23, 37, .96)); }
.product-studio .launch-button { min-height: 54px; }

/* Dashboard elevates balance and lists without changing content density. */
.product-dashboard .dashboard-grid { gap: 18px; }
.product-dashboard .feature-panel {
  border: 1px solid rgba(142, 219, 255, .2);
  border-radius: var(--product-radius);
  background:
    radial-gradient(280px 190px at 92% 5%, rgba(142, 219, 255, .19), transparent 70%),
    linear-gradient(145deg, rgba(18, 49, 72, .96), rgba(12, 28, 44, .92) 58%, rgba(13, 23, 43, .95));
  box-shadow: 0 24px 66px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .15);
}
.product-dashboard .dashboard-balance-value strong { color: #f5fbff; font-size: 60px; text-shadow: 0 15px 42px rgba(142, 219, 255, .15); }
.product-dashboard .metric-panel { border-color: var(--product-border); border-radius: 18px; background: linear-gradient(145deg, rgba(238, 247, 255, .07), rgba(9, 24, 38, .76)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); }
.product-dashboard .metric-panel > svg { color: rgba(142, 219, 255, .42); }
.product-dashboard .dashboard-project-row,
.product-dashboard .ledger-entry,
.product-dashboard .session-row { transition: background var(--transition), border-color var(--transition); }
.product-dashboard .dashboard-project-row:hover,
.product-dashboard .ledger-entry:hover,
.product-dashboard .session-row:hover { background: rgba(142, 219, 255, .04); }
.product-dashboard .project-mini-preview,
.product-dashboard .session-icon { border: 1px solid rgba(142, 219, 255, .15); border-radius: 14px; background: rgba(142, 219, 255, .07); }
.product-dashboard .account-security { border-color: rgba(142, 219, 255, .17); border-radius: 16px; background: rgba(142, 219, 255, .05); }

/* Wallet mirrors landing pricing cards while payment controls stay intact. */
.product-wallet .wallet-overview { gap: 18px; }
.product-wallet .balance-hero {
  min-height: 252px;
  border-color: rgba(142, 219, 255, .22);
  border-radius: var(--product-radius);
  background:
    radial-gradient(350px 220px at 84% 18%, rgba(142, 219, 255, .2), transparent 72%),
    linear-gradient(145deg, #0f2941, #0c2237 50%, #101b38);
  box-shadow: 0 28px 72px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .16);
}
.product-wallet .wallet-fact { border-radius: 18px; }
.product-wallet .packages-section { margin-top: 48px; }
.product-wallet .section-intro { padding-bottom: 18px; border-bottom: 1px solid rgba(238, 247, 255, .1); }
.product-wallet .section-intro h2 { color: #f5fbff; font-size: clamp(26px, 2.3vw, 34px); }
.product-wallet .package-card,
.product-wallet .subscription-card {
  border-color: var(--product-border);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(238, 247, 255, .075), rgba(11, 27, 43, .84) 44%, rgba(8, 17, 31, .94));
  box-shadow: 0 22px 58px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .12);
}
.product-wallet .featured-package {
  border-color: rgba(142, 219, 255, .42);
  background: linear-gradient(145deg, rgba(111, 209, 255, .15), rgba(20, 43, 68, .9) 45%, rgba(15, 24, 49, .98));
  box-shadow: 0 26px 68px rgba(54, 175, 239, .15), inset 0 1px 0 rgba(255, 255, 255, .19);
}
.product-wallet .package-label,
.product-wallet .sbp-mark { border-color: rgba(142, 219, 255, .2); border-radius: 999px; color: #c7edff; background: rgba(142, 219, 255, .07); }
.product-wallet .promo-entry { border-radius: 18px; background: linear-gradient(135deg, rgba(238, 247, 255, .075), rgba(142, 219, 255, .04)); }
.product-wallet .subscription-confirm { border-radius: 13px; background: rgba(3, 13, 23, .28); }
.product-wallet .ledger-entry:hover { background: rgba(142, 219, 255, .04); }

/* Credit packages keep payment fields in their original forms, with independent flow zones. */
.product-wallet #packages .section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px;
}
.product-wallet #packages .section-intro > div { min-width: 0; }
.product-wallet #packages .sbp-mark {
  min-height: 38px;
  padding: 0 13px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
}
.product-wallet .promo-entry {
  min-height: 84px;
  margin-top: 22px;
  padding: 16px 18px;
  grid-template-columns: 44px minmax(0, 1fr) minmax(240px, 330px);
  gap: 14px;
  border: 1px solid rgba(142, 219, 255, .16);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .14), inset 0 1px 0 rgba(255, 255, 255, .12);
}
.product-wallet .promo-entry-icon {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(142, 219, 255, .18);
  border-radius: 14px;
  color: #b9eaff;
  background: linear-gradient(145deg, rgba(142, 219, 255, .14), rgba(142, 219, 255, .035));
}
.product-wallet .promo-entry-icon svg { width: 19px; }
.product-wallet .promo-entry label { min-width: 0; gap: 4px; }
.product-wallet .promo-entry strong { color: #f3fbff; font-size: 12px; }
.product-wallet .promo-entry small { color: rgba(235, 246, 255, .58); font-size: 9px; line-height: 1.45; }
.product-wallet .promo-entry input {
  min-width: 0;
  height: 46px;
  padding-inline: 14px;
  border-color: rgba(238, 247, 255, .16);
  border-radius: 13px;
  color: #f5fbff;
  background: rgba(2, 12, 22, .56);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045);
}
.product-wallet .promo-entry input::placeholder { color: rgba(235, 246, 255, .42); }
.product-wallet .promo-entry input:focus-visible {
  border-color: rgba(142, 219, 255, .62);
  outline-color: rgba(142, 219, 255, .28);
  box-shadow: 0 0 0 4px rgba(142, 219, 255, .09), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.product-wallet .package-grid {
  margin-top: 22px;
  align-items: stretch;
  gap: 16px;
}
.product-wallet .package-card {
  min-width: 0;
  min-height: 0;
  padding: 19px;
  gap: 18px;
  overflow: visible;
  border-color: rgba(238, 247, 255, .13);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(238, 247, 255, .075), rgba(11, 27, 43, .84) 44%, rgba(8, 17, 31, .94));
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease, background 240ms ease;
}
.product-wallet .package-card.featured-package {
  border-color: rgba(142, 219, 255, .44);
  background:
    radial-gradient(220px 150px at 100% 0, rgba(142, 219, 255, .16), transparent 72%),
    linear-gradient(145deg, rgba(111, 209, 255, .15), rgba(20, 43, 68, .9) 45%, rgba(15, 24, 49, .98));
  box-shadow: 0 26px 68px rgba(54, 175, 239, .15), inset 0 1px 0 rgba(255, 255, 255, .19);
}
.product-wallet .package-card__main {
  min-width: 0;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 16px;
}
.product-wallet .package-card .package-head {
  min-height: 24px;
  color: rgba(235, 246, 255, .65);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: .02em;
}
.product-wallet .package-card .package-label {
  flex: 0 0 auto;
  padding: 5px 8px;
  color: #d7f4ff;
  font-size: 8px;
  letter-spacing: .035em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
}
.product-wallet .package-card__credits { min-width: 0; }
.product-wallet .package-card__credits > strong {
  display: block;
  color: #f7fcff;
  font-size: clamp(34px, 2.7vw, 43px);
  line-height: 1;
  letter-spacing: -.02em;
}
.product-wallet .package-card__credits > strong small {
  color: rgba(235, 246, 255, .6);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
}
.product-wallet .package-card__credits p {
  min-height: 19px;
  margin: 9px 0 0;
  color: #8ee7dc;
  font-size: 10px;
  font-weight: 720;
  line-height: 1.35;
}
.product-wallet .package-card__divider {
  height: 1px;
  margin-top: 2px;
  background: linear-gradient(90deg, rgba(238, 247, 255, .16), rgba(142, 219, 255, .045));
}
.product-wallet .package-examples {
  min-width: 0;
  padding-top: 0;
  gap: 11px;
  border-top: 0;
  color: rgba(235, 246, 255, .68);
  font-size: 9px;
  line-height: 1.45;
}
.product-wallet .package-examples span {
  min-width: 0;
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
}
.product-wallet .package-examples svg {
  width: 16px;
  height: 16px;
  margin-top: -1px;
  color: #8edbff;
}
.product-wallet .package-results-note {
  display: block;
  margin-top: 9px;
  color: rgba(235, 246, 255, .52);
  font-size: 9px;
  line-height: 1.45;
}
.product-wallet .package-card__legal {
  min-width: 0;
  padding: 13px;
  display: grid;
  gap: 10px;
  border: 1px solid rgba(238, 247, 255, .1);
  border-radius: 15px;
  background: rgba(2, 12, 22, .36);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.product-wallet .package-card__legal .subscription-confirm {
  min-width: 0;
  padding: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  border: 0;
  border-radius: 0;
  color: rgba(235, 246, 255, .67);
  background: transparent;
  font-size: 8px;
  line-height: 1.48;
  cursor: pointer;
}
.product-wallet .package-card__legal .subscription-confirm + .subscription-confirm {
  padding-top: 10px;
  border-top: 1px solid rgba(238, 247, 255, .08);
}
.product-wallet .package-card__legal .subscription-confirm input {
  width: 17px;
  height: 17px;
  margin: 1px 0 0;
  accent-color: #8edbff;
}
.product-wallet .package-card__legal .subscription-confirm span { min-width: 0; }
.product-wallet .package-card__legal .subscription-confirm a {
  color: #b8e9ff;
  text-decoration: underline;
  text-decoration-color: rgba(184, 233, 255, .44);
  text-underline-offset: 2px;
}
.product-wallet .package-card__legal .subscription-confirm a:hover { color: #fff; }
.product-wallet .package-card__legal .subscription-confirm:focus-within {
  outline: 2px solid rgba(142, 219, 255, .56);
  outline-offset: 5px;
}
.product-wallet .package-card__footer {
  min-width: 0;
  display: grid;
  gap: 8px;
}
.product-wallet .package-card .package-card__footer button {
  min-height: 50px;
  margin-top: 0;
  border-radius: 14px;
  font-size: 13px;
}
.product-wallet .package-card__footer .secondary-button {
  border-color: rgba(238, 247, 255, .17);
  color: #eaf7ff;
  background: rgba(238, 247, 255, .06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}
.product-wallet .package-card__footer .secondary-button:hover:not(:disabled) {
  border-color: rgba(142, 219, 255, .38);
  background: rgba(142, 219, 255, .1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .16), inset 0 1px 0 rgba(255, 255, 255, .11);
}
.product-wallet .package-card__footer .primary-button {
  border-color: rgba(198, 242, 255, .36);
  background: linear-gradient(112deg, #387dc2, #4c9cd5 52%, #56b4cf);
  box-shadow: 0 15px 34px rgba(52, 155, 209, .26), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.product-wallet .package-card__footer .primary-button:hover:not(:disabled) { box-shadow: 0 19px 42px rgba(52, 155, 209, .34), inset 0 1px 0 rgba(255, 255, 255, .3); }
.product-wallet .package-card__footer button:disabled { color: rgba(235, 246, 255, .56); background: rgba(238, 247, 255, .06); }
.product-wallet .package-card__footer .payment-unavailable { margin-top: 0; color: rgba(235, 246, 255, .48); font-size: 8px; line-height: 1.4; }

@media (hover: hover) and (pointer: fine) {
  .product-wallet .package-card:hover {
    border-color: rgba(142, 219, 255, .3);
    box-shadow: 0 26px 62px rgba(0, 0, 0, .26), 0 0 34px rgba(92, 194, 242, .08), inset 0 1px 0 rgba(255, 255, 255, .15);
    transform: translateY(-3px);
  }
  .product-wallet .package-card.featured-package:hover { border-color: rgba(142, 219, 255, .58); }
}

@media (max-width: 1024px) {
  .product-wallet #packages .package-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .product-wallet #packages .section-intro { grid-template-columns: 1fr; align-items: start; }
  .product-wallet #packages .sbp-mark { justify-self: start; }
  .product-wallet .promo-entry { grid-template-columns: 44px minmax(0, 1fr); }
  .product-wallet .promo-entry input { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .product-wallet #packages .package-grid { grid-template-columns: minmax(0, 1fr); }
  .product-wallet .package-card { padding: 17px; gap: 16px; }
}

/* Support preserves native details behavior and adds the FAQ visual treatment. */
.product-support .support-layout { gap: 24px; }
.product-support .support-faq { padding: 25px; border: 1px solid var(--product-border); border-radius: var(--product-radius); background: linear-gradient(145deg, rgba(238, 247, 255, .065), rgba(10, 25, 40, .77)); box-shadow: 0 22px 60px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .12); }
.product-support .support-category-nav a { min-height: 38px; border: 1px solid rgba(238, 247, 255, .12); border-radius: 999px; background: rgba(238, 247, 255, .04); }
.product-support .support-category-nav a:hover { border-color: rgba(142, 219, 255, .28); color: #f7fbff; background: rgba(142, 219, 255, .07); }
.product-support .support-faq-section { border-color: rgba(238, 247, 255, .1); }
.product-support .support-faq-section details { margin-top: 10px; border: 1px solid rgba(238, 247, 255, .1); border-radius: 16px; background: rgba(3, 13, 23, .26); transition: border-color var(--transition), background var(--transition), box-shadow var(--transition); }
.product-support .support-faq-section details[open] { border-color: rgba(142, 219, 255, .28); background: rgba(142, 219, 255, .055); box-shadow: 0 14px 32px rgba(0, 0, 0, .14), inset 0 1px 0 rgba(255, 255, 255, .08); }
.product-support .support-faq-section summary { min-height: 58px; padding: 15px 16px; }
.product-support .support-faq-section details p { padding: 0 16px 16px; color: rgba(255, 255, 255, .67); }
.product-support .support-compose { padding: 25px; background: linear-gradient(145deg, rgba(17, 45, 64, .84), rgba(8, 22, 37, .96)); }
.product-support .support-recent { margin-top: 28px; padding: 25px; border: 1px solid var(--product-border); border-radius: var(--product-radius); background: linear-gradient(145deg, rgba(238, 247, 255, .055), rgba(10, 24, 39, .78)); box-shadow: 0 22px 60px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .1); }
.product-support .support-ticket-list > a:hover { background: rgba(142, 219, 255, .04); }

/* Admin stays dense, but adopts the same premium glass hierarchy. */
.product-admin .admin-layout { gap: 24px; }
.product-admin .admin-sidebar { padding: 9px; border-radius: 20px; background: linear-gradient(145deg, rgba(238, 247, 255, .07), rgba(8, 22, 36, .9)); box-shadow: 0 20px 55px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .11); }
.product-admin .admin-sidebar a { min-height: 43px; border-radius: 13px; }
.product-admin .admin-sidebar a.is-active { border: 1px solid rgba(142, 219, 255, .19); background: linear-gradient(135deg, rgba(238, 247, 255, .12), rgba(142, 219, 255, .08)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
.product-admin .admin-sidebar a.is-active svg { color: var(--product-cyan); }
.product-admin .admin-filters,
.product-admin .admin-action-panel,
.product-admin .admin-list-panel { border-radius: 19px; }
.product-admin .admin-table-panel { border-radius: 20px; }
.product-admin .admin-table th { height: 46px; color: #b9d7e7; background: rgba(142, 219, 255, .055); }
.product-admin .admin-table td { border-top-color: rgba(238, 247, 255, .09); }
.product-admin .admin-table tr:hover td { background: rgba(142, 219, 255, .045); }
.product-admin .admin-stat-grid > div { border-color: var(--product-border); border-radius: 17px; background: rgba(238, 247, 255, .045); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.product-admin .admin-pagination a { border: 1px solid rgba(238, 247, 255, .12); border-radius: 12px; color: #dcefff; background: rgba(238, 247, 255, .04); }

@media (max-width: 1024px) {
  .app-body .nav-shell,
  .product-page .app-main { width: min(100% - 32px, 1280px); }
  .product-page .page-heading { min-height: 0; }
  .product-studio .preview-panel { position: static; }
  .product-admin .admin-sidebar { padding: 7px; }
}

@media (max-width: 768px) {
  .app-body { --header-height: 70px; }
  .app-body .app-header { background: rgba(7, 16, 26, .82); }
  .app-body .nav-shell { height: 52px; margin-block: 9px; border-radius: 18px; }
  .product-page .app-main { width: calc(100% - 24px); padding-top: 28px; }
  .product-page .page-heading { margin-bottom: 20px; padding: 20px; border-radius: 19px; align-items: flex-start; }
  .product-page .page-heading h1 { font-size: clamp(27px, 7vw, 34px); }
  .product-page .page-description { font-size: 12px; }
  .product-page .surface-panel,
  .product-support .support-faq,
  .product-support .support-recent { border-radius: 19px; }
  .product-studio .studio-layout,
  .product-support .support-layout { gap: 16px; }
  .product-studio .creator-panel,
  .product-studio .style-panel,
  .product-studio .settings-panel,
  .product-studio .preview-panel,
  .product-studio .launch-panel,
  .product-studio .recent-panel,
  .product-support .support-faq,
  .product-support .support-compose,
  .product-support .support-recent { padding: 18px; }
  .product-dashboard .dashboard-grid,
  .product-wallet .wallet-overview,
  .product-admin .admin-layout { gap: 14px; }
  .product-wallet .packages-section { margin-top: 34px; }
  .product-admin .admin-sidebar { border-radius: 17px; }
}

@media (max-width: 430px) {
  .app-body .nav-shell { width: calc(100% - 20px); padding-inline: 8px; }
  .product-page .app-main { width: calc(100% - 20px); padding-top: 20px; }
  .product-page .page-heading { padding: 17px; }
  .product-page .page-heading h1 { font-size: 27px; }
  .product-page .surface-panel,
  .product-support .support-faq,
  .product-support .support-recent { border-radius: 17px; }
  .product-dashboard .dashboard-balance-value strong { font-size: 52px; }
  .product-wallet .balance-hero { min-height: 228px; padding: 22px; }
  .product-wallet .package-card,
  .product-wallet .subscription-card { border-radius: 18px; }
  .product-support .support-category-nav { gap: 7px; }
  .product-support .support-category-nav a { width: calc(50% - 4px); justify-content: center; }
  .product-admin .admin-sidebar { gap: 4px; }
}

/* Studio */
.active-job-banner { min-height: 48px; margin-bottom: 16px; padding: 0 15px; display: flex; align-items: center; gap: 10px; border: 1px solid rgba(79,140,255,.22); border-radius: var(--radius); color: var(--text-soft); background: rgba(79,140,255,.07); font-size: 11px; }
.active-job-banner > svg { margin-left: auto; }.active-job-banner:hover { border-color: rgba(79,140,255,.4); }
.studio-onboarding { min-height: 96px; margin-bottom: 16px; padding: 15px 17px; display: grid; grid-template-columns: minmax(250px,1.15fr) minmax(300px,.9fr) auto; align-items: center; gap: 22px; border: 1px solid rgba(81,214,205,.21); border-radius: var(--radius); background: linear-gradient(105deg, rgba(24,42,55,.72), rgba(22,28,45,.72) 58%, rgba(34,28,50,.62)); box-shadow: var(--shadow-soft); }
.onboarding-copy { min-width: 0; display: grid; grid-template-columns: 42px minmax(0,1fr); align-items: center; gap: 11px; }.onboarding-icon { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(81,214,205,.2); border-radius: 7px; color: var(--cyan); background: rgba(81,214,205,.07); }.onboarding-copy > span:last-child { min-width: 0; display: grid; gap: 2px; }.onboarding-copy b { color: var(--cyan); font-size: 8px; text-transform: uppercase; }.onboarding-copy strong { font-size: 12px; }.onboarding-copy small { color: var(--muted); font-size: 8px; }
.onboarding-steps { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; list-style: none; }.onboarding-steps li { min-width: 0; display: grid; grid-template-columns: 22px minmax(0,1fr); align-items: center; gap: 6px; color: var(--muted-strong); font-size: 8px; }.onboarding-steps b { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 5px; color: var(--text-soft); background: rgba(255,255,255,.035); font-size: 8px; }.onboarding-actions { display: flex; align-items: center; gap: 7px; }.onboarding-actions .secondary-button { min-height: 38px; padding-inline: 11px; white-space: nowrap; font-size: 9px; }.onboarding-actions .secondary-button svg { width: 14px; }.onboarding-actions .icon-button { width: 38px; height: 38px; flex: 0 0 auto; }
.studio-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(350px, .72fr); align-items: start; gap: 18px; }
.studio-controls { min-width: 0; display: grid; gap: 14px; }.creator-panel, .style-panel, .settings-panel { padding: 22px; }
.mode-segment { margin-top: 14px; }
.segmented-control { padding: 4px; display: grid; gap: 4px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(0,0,0,.2); }
.segmented-control label { position: relative; min-width: 0; cursor: pointer; }.segmented-control input, .style-option input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.segmented-control label > span { min-height: 42px; padding: 0 12px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 6px; color: var(--muted); transition: color var(--transition), background var(--transition), border-color var(--transition), transform var(--transition); }
.segmented-control label:hover > span { color: var(--text-soft); background: rgba(255,255,255,.025); }
.segmented-control input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.segmented-control input:checked + span { color: #fff; border-color: rgba(255,255,255,.09); background: rgba(255,255,255,.075); box-shadow: 0 5px 18px rgba(0,0,0,.16); }
.mode-segment { grid-template-columns: repeat(2, 1fr); }.mode-segment span { min-height: 48px !important; }.mode-segment svg { width: 17px; }
.image-upload { display: none; margin-top: 14px; }.generator-form[data-mode="image"] .image-upload, #generation-form[data-mode="image"] .image-upload { display: block; animation: reveal-up 220ms ease both; }
.upload-input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-zone { position: relative; min-height: 178px; display: grid; place-items: center; overflow: hidden; border: 1px dashed rgba(111,163,255,.32); border-radius: var(--radius); background: linear-gradient(145deg, rgba(79,140,255,.055), rgba(81,214,205,.025)); cursor: pointer; transition: border-color var(--transition), background var(--transition); }
.upload-zone:hover, .upload-zone.is-dragging { border-color: var(--cyan); background: rgba(81,214,205,.055); }
.upload-copy { padding: 24px; display: grid; justify-items: center; gap: 5px; text-align: center; }.upload-copy strong { font-size: 13px; }.upload-copy small { color: var(--muted); font-size: 10px; }.upload-copy b { margin-top: 6px; color: var(--cyan); font-size: 10px; }
.upload-icon { width: 42px; height: 42px; margin-bottom: 5px; display: grid; place-items: center; border: 1px solid rgba(81,214,205,.18); border-radius: var(--radius); color: var(--cyan); background: rgba(81,214,205,.07); }
.upload-preview { position: absolute; inset: 0; display: none; }.upload-preview img { width: 100%; height: 100%; object-fit: contain; background: #080a11; }.image-upload.has-preview .upload-preview { display: block; }.image-upload.has-preview .upload-copy { opacity: 0; }
.upload-file-row { min-height: 48px; margin-top: 8px; padding: 7px; display: grid; grid-template-columns: 34px minmax(0,1fr) 36px; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.025); }
.rights-consent { margin-top: 9px; padding: 10px; display: grid; grid-template-columns: 16px minmax(0,1fr); align-items: start; gap: 9px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text-soft); background: rgba(255,255,255,.018); cursor: pointer; }.rights-consent input { width: 15px; height: 15px; margin-top: 2px; accent-color: var(--cyan); }.rights-consent span { min-width: 0; display: grid; grid-template-columns: 16px minmax(0,1fr); column-gap: 5px; }.rights-consent svg { width: 14px; color: var(--cyan); }.rights-consent b { font-size: 9px; }.rights-consent small { grid-column: 2; margin-top: 2px; color: var(--muted); font-size: 8px; line-height: 1.45; }
.rights-consent a, .auth-consent a { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; }
.auth-consent { padding: 11px; display: grid; grid-template-columns: 16px minmax(0,1fr); align-items: start; gap: 9px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted-strong); background: rgba(255,255,255,.018); font-size: 9px; line-height: 1.55; cursor: pointer; }
.auth-consent input { width: 15px; height: 15px; margin: 1px 0 0; accent-color: var(--cyan); }
.legal-reaccept-banner { margin-bottom: 14px; padding: 15px 17px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid rgba(241,190,87,.25); border-radius: 7px; background: rgba(241,190,87,.045); }
.legal-reaccept-banner > div { display: flex; align-items: flex-start; gap: 10px; }
.legal-reaccept-banner > div > svg { width: 18px; color: #f1be57; }
.legal-reaccept-banner > div span { display: grid; gap: 3px; }
.legal-reaccept-banner strong { font-size: 10px; }
.legal-reaccept-banner small { color: var(--muted-strong); font-size: 8px; line-height: 1.5; }
.legal-reaccept-banner a { color: var(--cyan); }
.legal-reaccept-banner form { display: flex; align-items: center; gap: 10px; }
.legal-reaccept-banner label { display: flex; align-items: center; gap: 6px; color: var(--text-soft); font-size: 8px; white-space: nowrap; }
.legal-reaccept-banner label input { accent-color: var(--cyan); }
.file-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 6px; color: var(--cyan); background: rgba(81,214,205,.07); }.upload-file-copy { min-width: 0; display: grid; }.upload-file-copy strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.upload-file-copy small, .upload-error { color: var(--muted); font-size: 9px; }.upload-error { margin: 7px 0 0; color: #ffb3b9; }
.story-starters { margin-top: 18px; }.story-starters-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }.story-starters-heading > span { display: grid; gap: 2px; }.story-starters-heading b { font-size: 11px; }.story-starters-heading small { color: var(--muted); font-size: 8px; }.story-starters-heading > svg { width: 16px; color: var(--muted); }.story-template-grid { margin-top: 9px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }.story-template { min-width: 0; min-height: 66px; padding: 9px 10px; display: grid; grid-template-columns: 28px minmax(0,1fr); align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 7px; color: var(--text); background: rgba(255,255,255,.018); text-align: left; cursor: pointer; transition: border-color var(--transition), background var(--transition), transform var(--transition); }.story-template:hover { border-color: var(--line-strong); background: rgba(255,255,255,.04); transform: translateY(-1px); }.story-template.is-active { border-color: rgba(81,214,205,.38); background: rgba(81,214,205,.055); }.story-template > svg { width: 17px; color: var(--cyan); }.story-template > span { min-width: 0; display: grid; gap: 2px; }.story-template strong { overflow-wrap: anywhere; font-size: 9px; }.story-template small { color: var(--muted); font-size: 7px; line-height: 1.35; }
.field { display: grid; gap: 7px; color: var(--text-soft); font-size: 11px; font-weight: 700; }.prompt-field { margin-top: 18px; }.field-title { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; }.draft-state { color: var(--green); font-size: 8px; font-weight: 600; text-align: right; }.inline-tool { min-height: 30px; padding: 0 8px; display: inline-flex; align-items: center; gap: 5px; border: 1px solid transparent; border-radius: 5px; color: var(--cyan); background: rgba(81,214,205,.055); font-size: 9px; cursor: pointer; }.inline-tool:hover { border-color: rgba(81,214,205,.15); background: rgba(81,214,205,.1); }.inline-tool svg { width: 13px; }
.prompt-structure { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 4px; }.prompt-structure span { min-width: 0; min-height: 27px; padding: 0 5px; display: flex; align-items: center; justify-content: center; gap: 4px; border: 1px solid rgba(255,255,255,.055); border-radius: 5px; color: var(--muted); background: rgba(255,255,255,.018); font-size: 7px; font-weight: 650; }.prompt-structure svg { width: 11px; flex: 0 0 auto; color: #8eaeef; }
.field textarea, .field input { width: 100%; color: var(--text); border: 1px solid var(--line-strong); border-radius: var(--radius); background: rgba(4,6,11,.54); outline: 0; transition: border-color var(--transition), box-shadow var(--transition), background var(--transition); }
.field textarea { min-height: 178px; padding: 14px; resize: vertical; font-size: 12px; line-height: 1.65; }.field input { height: 48px; padding: 0 13px; font-size: 12px; }.field textarea::placeholder, .field input::placeholder { color: #667080; }
.field textarea:focus, .field input:focus { border-color: rgba(81,214,205,.52); background: rgba(5,8,14,.76); box-shadow: 0 0 0 3px rgba(81,214,205,.07); }.field-footer { min-width: 0; display: flex; justify-content: space-between; gap: 15px; color: var(--muted); font-size: 9px; font-weight: 500; }.field-footer > small:first-child { min-width: 0; }.char-counter { flex: 0 0 auto; white-space: nowrap; }.char-counter b { font-weight: 700; }.char-counter[data-char-state="short"] b { color: var(--amber); }.char-counter[data-char-state="medium"] b { color: #a9c7ff; }.char-counter[data-char-state="ready"] b { color: var(--green); }.char-counter[data-char-state="limit"] b { color: #ffb3b9; }
.prompt-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }.prompt-improve { min-height: 34px; padding-inline: 10px; font-size: 9px; }.prompt-improve svg { width: 14px; }.prompt-improve.is-loading svg { animation: spin 1s linear infinite; }.prompt-clear { width: 32px; height: 32px; margin-left: auto; }.prompt-clear svg { width: 14px; }.prompt-tool-status { min-height: 16px; margin: 0; color: var(--muted); font-size: 8px; font-weight: 550; }.prompt-tool-status[data-state="success"] { color: var(--green); }.prompt-tool-status[data-state="error"] { color: #ffb3b9; }
.prompt-tip { margin-top: 13px; padding: 11px 12px; display: flex; align-items: flex-start; gap: 9px; border-left: 2px solid rgba(81,214,205,.45); color: var(--muted); background: rgba(81,214,205,.035); }.prompt-tip > svg { width: 15px; flex: 0 0 auto; margin-top: 1px; color: var(--cyan); }.prompt-tip p { margin: 0; display: grid; gap: 2px; font-size: 9px; }.prompt-tip strong { color: var(--text-soft); font-size: 10px; }
.selection-value { padding: 4px 7px; border: 1px solid var(--line); border-radius: 5px; background: rgba(255,255,255,.03); }
.style-grid { margin-top: 14px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.style-option { min-width: 0; cursor: pointer; }.style-option > span:not(.style-swatch) { min-width: 0; display: grid; }.style-option { min-height: 116px; padding: 10px; display: grid; grid-template-columns: 40px minmax(0,1fr); align-content: start; gap: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.022); transition: border-color var(--transition), background var(--transition), transform var(--transition); }.style-option:hover { border-color: var(--line-strong); background: rgba(255,255,255,.04); transform: translateY(-2px); }.style-option:has(input:checked) { border-color: rgba(81,214,205,.42); background: linear-gradient(145deg, rgba(81,214,205,.075), rgba(79,140,255,.035)); box-shadow: inset 0 0 0 1px rgba(81,214,205,.07); }
.style-swatch { position: relative; width: 40px; height: 40px; display: grid; place-items: center; overflow: hidden; border-radius: 6px; color: #fff; background: linear-gradient(145deg, #4f73ad, #5d4c8c); }.style-swatch b { position: absolute; right: 3px; bottom: 2px; color: rgba(255,255,255,.5); font-size: 7px; }.style-2 .style-swatch { background: linear-gradient(145deg, #ef8d74, #7055b5); }.style-3 .style-swatch { background: linear-gradient(145deg, #5b9e8e, #d2a75f); }.style-4 .style-swatch { background: linear-gradient(145deg, #b7678e, #555fb1); }.style-5 .style-swatch { background: linear-gradient(145deg, #db785e, #37426b); }.style-6 .style-swatch { background: linear-gradient(145deg, #3d6d9b, #6e528b); }
.style-option strong { font-size: 11px; }.style-option small { margin-top: 3px; color: var(--muted); font-size: 8px; line-height: 1.4; }.check-icon { position: absolute; top: 7px; right: 7px; width: 16px; height: 16px; padding: 3px; border-radius: 50%; color: #07110d; background: var(--cyan); opacity: 0; transform: scale(.6); transition: opacity var(--transition), transform var(--transition); }.style-option:has(input:checked) .check-icon { opacity: 1; transform: scale(1); }
.settings-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }.setting-block + .setting-block { padding-left: 20px; border-left: 1px solid var(--line); }.format-control { margin-top: 12px; grid-template-columns: repeat(3,1fr); }.format-control span { min-height: 64px !important; display: grid !important; align-content: center; justify-items: center; gap: 2px !important; }.format-control small, .duration-control small { color: var(--muted); font-size: 8px; }.format-control svg { width: 16px; }.duration-control { margin-top: 12px; grid-template-columns: repeat(3,1fr); }.duration-control span { min-height: 64px !important; display: grid !important; align-content: center; gap: 3px !important; }
.studio-preview-column { position: sticky; top: calc(var(--header-height) + 18px); display: grid; gap: 14px; }.preview-panel, .launch-panel, .recent-panel { padding: 18px; }.studio-preview-wrap { min-height: 390px; margin-top: 13px; display: grid; place-items: center; overflow: hidden; border-radius: var(--radius); background: #05070c; }.studio-preview { position: relative; width: 218px; max-width: 92%; aspect-ratio: 9/16; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 8px; background: #080b12; box-shadow: 0 20px 60px rgba(0,0,0,.4); transition: width var(--transition), aspect-ratio var(--transition); }.studio-preview::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border: 1px solid rgba(255,255,255,.025); box-shadow: inset 0 -42px 70px rgba(10,17,34,.16); }.studio-preview[data-style-key="anime"]::after { box-shadow: inset 0 -48px 80px rgba(47,34,91,.22); }.studio-preview[data-style-key="storybook_2d"]::after { box-shadow: inset 0 -48px 80px rgba(35,78,69,.2); }.studio-preview[data-style-key="clay"]::after { box-shadow: inset 0 -48px 80px rgba(91,60,44,.18); }.studio-preview[data-style-key="comic"]::after { box-shadow: inset 0 -48px 80px rgba(74,29,45,.2); }.studio-preview[data-style-key="fantasy"]::after { box-shadow: inset 0 -48px 80px rgba(25,61,75,.22); }.studio-preview.ratio-16-9 { width: 92%; aspect-ratio: 16/9; }.studio-preview.ratio-1-1 { width: 74%; aspect-ratio: 1/1; }.studio-preview > video, .preview-source, .preview-source img { width: 100%; height: 100%; object-fit: cover; }.preview-placeholder { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; color: rgba(255,255,255,.72); background: linear-gradient(to top, rgba(5,7,12,.58), rgba(5,7,12,.08)); text-align: center; font-size: 10px; }.preview-placeholder .preview-brand-mark { width: 36px; height: 36px; object-fit: contain; }.preview-source { position: absolute; inset: 0; }.preview-mode-chip, .preview-style-chip { position: absolute; z-index: 3; min-height: 26px; padding: 0 8px; display: flex; align-items: center; gap: 5px; border: 1px solid rgba(255,255,255,.17); border-radius: 6px; background: rgba(6,8,13,.72); backdrop-filter: blur(12px); font-size: 8px; }.preview-mode-chip { top: 9px; left: 9px; }.preview-style-chip { left: 9px; bottom: 9px; }.preview-mode-chip svg, .preview-style-chip svg { width: 12px; color: var(--cyan); }.preview-meta { margin-top: 11px; display: flex; justify-content: center; gap: 12px; color: var(--muted); font-size: 8px; }.preview-meta span { display: flex; align-items: center; gap: 4px; }.preview-meta b { color: var(--muted-strong); font-weight: 700; }.preview-meta svg { width: 12px; }
.balance-line, .cost-line { min-height: 40px; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 10px; }.balance-line { border-bottom: 1px solid var(--line); }.balance-line strong, .cost-line strong { color: var(--text-soft); font-size: 11px; }.cost-line strong { color: #fff; }.refund-note { margin: 9px 0 2px; padding: 10px; display: grid; grid-template-columns: 16px minmax(0,1fr); align-items: start; gap: 8px; border: 1px solid rgba(104,211,155,.14); border-radius: 6px; background: rgba(104,211,155,.035); }.refund-note > svg { width: 15px; color: var(--green); }.refund-note > span { min-width: 0; display: grid; gap: 2px; }.refund-note strong { color: var(--text-soft); font-size: 9px; }.refund-note small { color: var(--muted); font-size: 8px; line-height: 1.45; }.refund-note a { width: fit-content; margin-top: 2px; color: var(--cyan); font-size: 8px; }.launch-button { min-height: 50px; margin-top: 8px; }.launch-note { margin: 10px 0 0; display: flex; align-items: center; justify-content: center; gap: 5px; color: var(--muted); font-size: 8px; }.launch-note svg { width: 12px; }.insufficient-note { margin: 8px 0; padding: 9px; display: flex; gap: 7px; color: #f6cf94; border: 1px solid rgba(242,189,104,.18); border-radius: 6px; background: rgba(242,189,104,.06); font-size: 9px; }.insufficient-note svg { width: 14px; flex: 0 0 auto; }
.recent-list { margin-top: 10px; }.recent-job { min-width: 0; padding: 9px 0; display: grid; grid-template-columns: 34px minmax(0,1fr) auto; align-items: center; gap: 8px; border-top: 1px solid var(--line); }.recent-job:first-child { border-top: 0; }.job-thumb { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 6px; color: #9dbbff; background: rgba(79,140,255,.08); }.job-thumb.is-image { color: #91e8d3; background: rgba(81,214,205,.07); }.job-thumb svg { width: 15px; }.recent-copy { min-width: 0; display: grid; }.recent-copy strong { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }.recent-copy small { color: var(--muted); font-size: 8px; }
.studio-empty { min-height: 166px; align-content: center; }.studio-empty > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 6px; color: var(--cyan); background: rgba(81,214,205,.06); }.studio-empty > span svg { width: 17px; }.studio-empty small { max-width: 210px; font-size: 8px; }.studio-empty .text-link { margin-top: 2px; border: 0; background: transparent; cursor: pointer; font-size: 9px; }

/* Job */
.job-layout { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(330px,.55fr); align-items: start; gap: 18px; }.result-stage { padding: 16px; }.video-frame { position: relative; width: 100%; min-height: 620px; display: grid; place-items: center; overflow: hidden; border-radius: var(--radius); background: #040509; }.video-frame video { width: 100%; max-height: 72vh; object-fit: contain; background: #000; }.video-frame.ratio-9-16 video { width: auto; height: min(72vh, 760px); }.success-toast { position: absolute; top: 14px; left: 50%; min-width: 260px; padding: 10px 13px; display: flex; align-items: center; gap: 9px; border: 1px solid rgba(104,211,155,.24); border-radius: var(--radius); background: rgba(9,18,15,.88); backdrop-filter: blur(14px); box-shadow: var(--shadow-soft); transform: translateX(-50%); animation: reveal-down 420ms ease both; }.success-toast svg { color: var(--green); }.success-toast span { display: grid; color: var(--muted); font-size: 8px; }.success-toast strong { color: #c8f5db; font-size: 10px; }
.rendering-state { width: min(480px, 88%); display: grid; justify-items: center; text-align: center; }.render-visual { position: relative; width: 116px; height: 116px; margin-bottom: 24px; display: grid; place-items: center; }.render-core { width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid rgba(81,214,205,.28); border-radius: 50%; color: #fff; background: linear-gradient(145deg, rgba(79,140,255,.3), rgba(81,214,205,.14)); box-shadow: 0 0 42px rgba(79,140,255,.2); }.render-core .render-brand-mark { width: 32px; height: 32px; object-fit: contain; }.render-orbit { position: absolute; inset: 6px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; animation: orbit 8s linear infinite; }.render-orbit::after { content: ""; position: absolute; top: 8px; left: 17px; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 15px rgba(81,214,205,.7); }.render-scan { position: absolute; width: 86px; height: 1px; background: linear-gradient(90deg, transparent, var(--blue), transparent); animation: scan 2.5s ease-in-out infinite; }.rendering-state .mini-label { display: flex; align-items: center; gap: 8px; color: #a9c7ff; }.rendering-state h2 { margin: 12px 0 7px; font-size: 25px; }.rendering-state > p { margin: 0; color: var(--muted); font-size: 11px; }.render-track { width: 100%; height: 5px; margin: 24px 0 12px; overflow: hidden; border-radius: 3px; background: rgba(255,255,255,.06); }.render-track span { width: 42%; height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--cyan)); animation: indeterminate 2.2s ease-in-out infinite; }.render-steps { width: 100%; display: flex; justify-content: space-between; color: #626b79; font-size: 8px; }.render-steps span.is-active { color: var(--text-soft); }.safe-leave { margin-top: 28px !important; padding: 10px 12px; display: flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 6px; background: rgba(255,255,255,.025); font-size: 9px !important; }.safe-leave svg { width: 14px; color: var(--green); flex: 0 0 auto; }.failed-state .failure-icon { width: 58px; height: 58px; margin-bottom: 16px; display: grid; place-items: center; border-radius: 50%; color: #ffb3b9; background: rgba(232,121,130,.09); }.failed-state .primary-button { margin-top: 20px; }
@keyframes orbit { to { transform: rotate(360deg); } } @keyframes scan { 0%,100% { transform: translateY(-28px); opacity: .2; } 50% { transform: translateY(28px); opacity: 1; } } @keyframes indeterminate { 0% { transform: translateX(-105%); } 70%,100% { transform: translateX(240%); } }
.result-actions { padding-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }.result-actions form { display: flex; }.job-details { padding: 20px; }.detail-header { padding-bottom: 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 9px; }.project-title-block { padding: 18px 0; display: flex; align-items: center; gap: 11px; border-bottom: 1px solid var(--line); }.project-type-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 6px; color: var(--cyan); background: rgba(81,214,205,.07); }.project-title-block div { display: grid; }.project-title-block small { color: var(--muted); font-size: 8px; }.project-title-block strong { font-size: 11px; }.detail-list { margin: 0; padding: 8px 0; }.detail-list > div { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }.detail-list dt { color: var(--muted); font-size: 9px; }.detail-list dd { margin: 0; color: var(--text-soft); font-size: 10px; font-weight: 700; }.idea-block { margin-top: 16px; }.idea-block > div { display: flex; align-items: center; justify-content: space-between; }.idea-block > div > span { color: var(--muted); font-size: 9px; }.idea-block .icon-button { width: 30px; height: 30px; }.idea-block p { max-height: 280px; margin: 8px 0 0; padding: 12px; overflow: auto; border: 1px solid var(--line); border-radius: 6px; color: var(--text-soft); background: rgba(0,0,0,.16); font-size: 10px; line-height: 1.6; white-space: pre-wrap; }.technical-id { margin-top: 14px; padding: 10px; display: grid; grid-template-columns: 16px 1fr; gap: 2px 7px; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; font-size: 8px; }.technical-id svg { width: 14px; grid-row: 1 / span 2; }.technical-id code { overflow: hidden; color: var(--muted-strong); text-overflow: ellipsis; }
.complaint-block { margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--line); }.complaint-block > span { display: grid; grid-template-columns: 18px 1fr; gap: 2px 7px; color: var(--muted); font-size: 8px; }.complaint-block > span svg { width: 15px; grid-row: 1 / span 2; color: var(--green); }.complaint-block > span b { color: var(--text-soft); font-size: 9px; }.complaint-block summary { display: flex; align-items: center; gap: 7px; color: var(--muted-strong); font-size: 9px; font-weight: 700; cursor: pointer; list-style: none; }.complaint-block summary::-webkit-details-marker { display: none; }.complaint-block summary svg { width: 14px; }.complaint-block form { margin-top: 10px; display: grid; gap: 9px; }.complaint-block label { display: grid; gap: 5px; color: var(--muted); font-size: 8px; }.complaint-block select, .complaint-block textarea { width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: 6px; color: var(--text); background: rgba(4,6,11,.54); outline: 0; }.complaint-block textarea { min-height: 78px; resize: vertical; line-height: 1.45; }.complaint-block select:focus, .complaint-block textarea:focus { border-color: rgba(81,214,205,.52); box-shadow: 0 0 0 3px rgba(81,214,205,.07); }.complaint-block button { justify-self: start; }

/* History */
.history-toolbar { margin-bottom: 15px; padding: 10px; display: grid; grid-template-columns: minmax(220px, 1fr) auto auto; align-items: center; gap: 12px; }.search-field { height: 40px; padding: 0 11px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 6px; background: rgba(0,0,0,.18); }.search-field svg { width: 15px; color: var(--muted); }.search-field input { width: 100%; color: var(--text); border: 0; background: transparent; outline: 0; font-size: 11px; }.search-field input::placeholder { color: #68717e; }.filter-control { padding: 3px; display: flex; gap: 2px; border: 1px solid var(--line); border-radius: 6px; background: rgba(0,0,0,.17); }.filter-control button { min-height: 32px; padding: 0 10px; border: 0; border-radius: 4px; color: var(--muted); background: transparent; font-size: 9px; cursor: pointer; }.filter-control button:hover { color: var(--text-soft); }.filter-control button.is-active { color: #fff; background: rgba(255,255,255,.075); }.filter-control span { margin-left: 3px; color: var(--cyan); }.history-count { color: var(--muted); font-size: 9px; white-space: nowrap; }
.project-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }.project-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition); }.project-card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow-soft); }.project-preview { position: relative; width: 100%; aspect-ratio: 4/3; display: grid; place-items: center; overflow: hidden; background: #05070b; }.project-preview video { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }.project-card:hover video { transform: scale(1.025); }.project-preview.ratio-9-16 video { object-position: center 40%; }.preview-play, .project-state-icon { position: absolute; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; color: #fff; background: rgba(5,7,11,.58); backdrop-filter: blur(10px); }.preview-play svg { width: 16px; fill: currentColor; }.project-state-icon { border-radius: 8px; color: var(--blue); }.project-state-icon svg { animation: spin 2s linear infinite; }.status-failed + .project-state-icon svg { animation: none; }.project-preview .status-badge { position: absolute; top: 9px; left: 9px; }.project-duration { position: absolute; right: 9px; bottom: 8px; padding: 3px 6px; border-radius: 4px; color: #fff; background: rgba(5,7,11,.72); font-size: 8px; }.project-copy { padding: 13px; }.project-copy > a { min-height: 42px; display: block; }.project-copy strong { display: -webkit-box; overflow: hidden; font-size: 11px; line-height: 1.45; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }.project-copy > span { margin-top: 5px; display: block; color: var(--muted); font-size: 8px; }.project-card-actions { min-height: 34px; margin-top: 11px; padding-top: 9px; display: flex; align-items: center; gap: 8px; border-top: 1px solid var(--line); }.project-card-actions a { display: inline-flex; align-items: center; gap: 4px; color: var(--text-soft); font-size: 9px; }.project-card-actions a svg { width: 13px; }.project-card-actions a:nth-child(2) { margin-left: auto; }.project-card-actions b { margin-left: auto; color: var(--muted); font-size: 8px; }.project-card-actions a:nth-child(2) + b { margin-left: 0; }.wide-empty { grid-column: 1 / -1; min-height: 380px; gap: 10px; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: rgba(255,255,255,.018); }.empty-visual { width: 60px; height: 60px; display: grid; place-items: center; border-radius: var(--radius); color: var(--cyan); background: rgba(81,214,205,.06); }.empty-visual svg { width: 27px; height: 27px; }.wide-empty h2 { margin: 4px 0 0; font-size: 18px; }.wide-empty p { font-size: 10px; }.wide-empty .primary-button { margin-top: 8px; }
.library-toolbar { position: relative; grid-template-columns: minmax(240px,1fr) 178px 188px 40px; gap: 8px; }.library-search-submit { width: 40px; height: 40px; }.library-select select { width: 100%; height: 40px; padding: 0 30px 0 10px; border: 1px solid var(--line); border-radius: 6px; color: var(--text-soft); background: rgba(0,0,0,.18); outline: 0; font-size: 9px; }.library-select select:focus, .library-filter-grid input:focus, .library-filter-grid select:focus { border-color: rgba(81,214,205,.48); box-shadow: 0 0 0 3px rgba(81,214,205,.06); }.library-filter-drawer { grid-column: 1 / -2; }.library-filter-drawer > summary { width: fit-content; min-height: 30px; display: flex; align-items: center; gap: 6px; color: var(--muted-strong); cursor: pointer; list-style: none; font-size: 9px; font-weight: 750; }.library-filter-drawer > summary::-webkit-details-marker { display: none; }.library-filter-drawer > summary svg { width: 14px; }.filter-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px rgba(81,214,205,.5); }.library-filter-grid { padding-top: 10px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; border-top: 1px solid var(--line); }.library-filter-grid .field { gap: 5px; }.library-filter-grid .field > span { color: var(--muted); font-size: 8px; }.library-filter-grid input, .library-filter-grid select { width: 100%; height: 38px; padding: 0 9px; border: 1px solid var(--line); border-radius: 6px; color: var(--text); background: rgba(4,6,11,.5); outline: 0; font-size: 9px; }.library-filter-actions { padding-top: 10px; display: flex; align-items: center; justify-content: flex-end; gap: 10px; }.library-filter-actions .text-link { margin-right: auto; }.library-toolbar .history-count { align-self: end; justify-self: end; padding-bottom: 8px; }.library-loading { min-height: 48px; margin-bottom: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted-strong); border: 1px solid var(--line); border-radius: var(--radius); background: rgba(79,140,255,.035); font-size: 9px; }.library-loading svg { width: 15px; animation: spin 1s linear infinite; }.library-grid.is-loading { opacity: .42; pointer-events: none; }.library-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }.library-card { position: relative; overflow: visible; }.library-card.is-favorite { border-color: rgba(242,189,104,.2); }.library-card.is-active-job { border-color: rgba(79,140,255,.28); }.project-card-topline { position: absolute; top: 9px; left: 9px; right: 9px; z-index: 5; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }.project-card-topline > * { pointer-events: auto; }.project-card-topline .status-badge { box-shadow: 0 5px 18px rgba(0,0,0,.26); backdrop-filter: blur(12px); }.status-partial { color: #f6d6a3; border-color: rgba(242,189,104,.2); background: rgba(57,39,17,.88); }.favorite-button { color: var(--muted-strong); background: rgba(5,7,11,.68); backdrop-filter: blur(10px); }.favorite-button.is-active { color: #f4c979; border-color: rgba(242,189,104,.32); background: rgba(45,31,13,.78); }.favorite-button.is-active svg { fill: currentColor; }.library-card .project-preview { border-radius: var(--radius) var(--radius) 0 0; }.project-preview img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }.library-card:hover .project-preview img { transform: scale(1.025); }.library-card .project-preview.ratio-9-16 img { object-position: center 32%; }.active-render-icon { color: var(--cyan); box-shadow: 0 0 35px rgba(79,140,255,.15); }.project-active-copy { margin-top: 80px; display: grid; justify-items: center; color: var(--muted); font-size: 8px; }.project-active-copy b { color: var(--text-soft); font-size: 10px; }.failed-preview-icon svg { animation: none; }.project-title-row { min-height: 34px; display: grid; grid-template-columns: minmax(0,1fr) 30px; align-items: start; gap: 5px; }.project-title-row > a { min-width: 0; }.project-title-row strong { min-height: 32px; -webkit-line-clamp: 2; }.project-menu { position: relative; }.project-menu > summary { width: 30px; height: 30px; list-style: none; }.project-menu > summary::-webkit-details-marker { display: none; }.project-menu-popover { position: absolute; top: 34px; right: 0; z-index: 30; width: 270px; padding: 9px; display: grid; gap: 4px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #111620; box-shadow: 0 20px 55px rgba(0,0,0,.48); }.project-rename-form { padding: 4px 4px 9px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 6px; border-bottom: 1px solid var(--line); }.project-rename-form label { display: grid; gap: 4px; color: var(--muted); font-size: 7px; }.project-rename-form input { width: 100%; height: 34px; padding: 0 8px; border: 1px solid var(--line); border-radius: 5px; color: var(--text); background: rgba(0,0,0,.24); outline: 0; font-size: 9px; }.menu-action { width: 100%; min-height: 34px; padding: 0 8px; display: flex; align-items: center; gap: 7px; border: 0; border-radius: 5px; color: var(--text-soft); background: transparent; cursor: pointer; text-align: left; font-size: 9px; }.menu-action:hover { background: rgba(255,255,255,.055); }.menu-action svg { width: 14px; }.danger-menu-action { color: #f1abb1; }.project-meta-line { min-width: 0; display: flex !important; align-items: center; gap: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.project-meta-line svg { width: 12px; flex: 0 0 auto; }.project-prompt-excerpt { min-height: 43px; margin: 9px 0 0; display: -webkit-box; overflow: hidden; color: var(--muted); font-size: 8px; line-height: 1.55; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }.project-failure { min-height: 52px; margin-top: 10px; padding: 8px; display: grid; grid-template-columns: 16px minmax(0,1fr); align-items: start; gap: 7px; border: 1px solid rgba(232,121,130,.15); border-radius: 6px; color: #f0a7ae; background: rgba(232,121,130,.045); }.project-failure svg { width: 14px; }.project-failure span { display: grid; gap: 2px; }.project-failure b { font-size: 8px; }.project-failure small { color: var(--muted); font-size: 7px; line-height: 1.4; }.project-failure.partial-refund { color: #f2bd68; border-color: rgba(242,189,104,.16); background: rgba(242,189,104,.045); }.project-finance { min-height: 46px; margin-top: 10px; padding: 7px 0; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }.project-finance span { padding: 0 7px; display: grid; gap: 1px; border-left: 1px solid var(--line); }.project-finance span:first-child { padding-left: 0; border-left: 0; }.project-finance small { color: var(--muted); font-size: 7px; }.project-finance b { color: var(--text-soft); font-size: 9px; }.project-finance .finance-refund b { color: var(--green); }.project-finance .finance-reserved b { color: #a8c2ff; }.library-card-actions { margin-top: 9px; padding-top: 0; border-top: 0; }.library-card-actions .secondary-button { min-height: 34px; padding: 0 10px; }.library-card-actions > form { display: flex; }.library-card-actions > :nth-child(2) { margin-left: auto; }.library-card-actions .icon-button { width: 34px; height: 34px; }.project-created { margin-top: 7px !important; text-align: right; }.library-pagination { margin-top: 22px; display: flex; align-items: center; justify-content: center; gap: 5px; }.library-pagination .icon-button.is-disabled { opacity: .35; pointer-events: none; }.page-number { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid transparent; border-radius: 6px; color: var(--muted-strong); font-size: 9px; }.page-number:hover { color: #fff; border-color: var(--line); }.page-number.is-current { color: #fff; border-color: rgba(81,214,205,.3); background: rgba(81,214,205,.08); }.library-empty { min-height: 420px; }.library-empty .secondary-button, .library-empty .primary-button { margin-top: 8px; }.job-rename-form { padding: 14px 0 7px; border-bottom: 1px solid var(--line); }.job-rename-form .field { gap: 6px; }.job-rename-form .field > span:first-child { color: var(--muted); font-size: 8px; }.inline-input-action { display: grid; grid-template-columns: minmax(0,1fr) 34px; gap: 6px; }.inline-input-action input { min-width: 0; height: 34px; padding: 0 9px; border: 1px solid var(--line); border-radius: 6px; color: var(--text); background: rgba(0,0,0,.18); outline: 0; font-size: 9px; }.partially-refunded-state .failure-icon { color: #f2bd68; background: rgba(242,189,104,.08); }

/* Wallet */
.wallet-overview { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(220px,.45fr); gap: 12px; }.balance-hero { position: relative; min-height: 230px; padding: 28px; grid-row: span 2; display: flex; align-items: center; overflow: hidden; border: 1px solid rgba(90,140,230,.22); border-radius: var(--radius); background: linear-gradient(125deg, #111a30 0, #15213c 48%, #172d38 100%); box-shadow: var(--shadow); }.balance-hero::before { content: ""; position: absolute; inset: 0; opacity: .24; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 38px 38px; mask-image: linear-gradient(90deg, transparent, #000); }.balance-content { position: relative; z-index: 2; }.balance-content > div { margin-top: 9px; display: flex; align-items: baseline; gap: 8px; }.balance-content strong { font-size: 58px; line-height: 1; }.balance-content small { color: var(--muted-strong); }.balance-content p { margin: 13px 0 20px; color: #aeb9cb; font-size: 10px; }.balance-content a { display: inline-flex; align-items: center; gap: 6px; color: var(--cyan); font-size: 10px; font-weight: 750; }.balance-content a svg { width: 13px; }.balance-visual { position: absolute; right: 8%; width: 180px; height: 180px; }.credit-disc { position: absolute; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; background: linear-gradient(145deg, rgba(79,140,255,.28), rgba(81,214,205,.12)); box-shadow: 0 18px 50px rgba(0,0,0,.26); }.disc-one { inset: 30px; z-index: 3; color: #fff; }.disc-one svg { width: 30px; height: 30px; }.disc-two { width: 70px; height: 70px; top: 0; right: 0; opacity: .65; }.disc-three { width: 52px; height: 52px; left: 0; bottom: 5px; opacity: .48; }.wallet-fact { padding: 17px; display: flex; align-items: center; gap: 12px; }.wallet-fact > svg { width: 22px; height: 22px; color: var(--cyan); }.wallet-fact div { display: grid; }.wallet-fact strong { font-size: 11px; }.wallet-fact span { color: var(--muted); font-size: 8px; }
.packages-section { margin-top: 42px; scroll-margin-top: 90px; }.section-intro h2 { margin: 7px 0 8px; font-size: 30px; line-height: 1.15; }.section-intro > p, .inline-intro p { margin: 0; color: var(--muted); font-size: 11px; }.inline-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }.sbp-mark { min-height: 34px; padding: 0 10px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(81,214,205,.17); border-radius: 6px; color: var(--text-soft); background: rgba(81,214,205,.045); font-size: 9px; }.sbp-mark svg { width: 14px; color: var(--cyan); }
.promo-entry { margin-top: 18px; min-height: 68px; padding: 12px 14px; display: grid; grid-template-columns: 38px minmax(0,1fr) minmax(220px,320px); align-items: center; gap: 12px; }.promo-entry-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 6px; color: var(--cyan); background: rgba(81,214,205,.08); }.promo-entry-icon svg { width: 18px; }.promo-entry label { display: grid; gap: 3px; }.promo-entry strong { font-size: 10px; }.promo-entry small { color: var(--muted); font-size: 8px; }.promo-entry input { width: 100%; height: 40px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 6px; color: var(--text); background: rgba(5,8,14,.7); font: inherit; text-transform: uppercase; }.promo-entry input:focus-visible { border-color: var(--cyan); outline: 2px solid rgba(81,214,205,.22); outline-offset: 2px; }
.package-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 11px; }.package-card { position: relative; min-height: 310px; padding: 20px; display: flex; flex-direction: column; align-items: stretch; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); background: var(--surface); }.package-card.featured-package { border-color: rgba(81,214,205,.4); background: linear-gradient(145deg, rgba(81,214,205,.07), rgba(79,140,255,.035)); box-shadow: 0 20px 60px rgba(20,77,90,.14); }.package-head { min-height: 26px; display: flex; align-items: center; justify-content: space-between; color: var(--muted-strong); font-size: 10px; }.package-label { padding: 3px 6px; border-radius: 4px; color: #bff7ed; background: rgba(81,214,205,.12); font-size: 7px; text-transform: uppercase; }.package-card > strong { margin-top: 14px; font-size: 34px; line-height: 1; }.package-card > strong small { color: var(--muted); font-size: 10px; font-weight: 600; }.package-card > p { min-height: 20px; margin: 9px 0 18px; color: var(--cyan); font-size: 9px; }.package-examples { padding-top: 14px; display: grid; gap: 10px; border-top: 1px solid var(--line); color: var(--muted-strong); font-size: 8px; }.package-examples span { display: flex; align-items: center; gap: 7px; }.package-examples svg { width: 13px; color: var(--muted); }.package-card button { margin-top: auto; }.payment-unavailable { margin-top: 7px; color: var(--muted); text-align: center; font-size: 7px; }.ledger-panel { margin-top: 18px; padding: 20px; }.ledger-list { margin-top: 10px; }.ledger-entry { min-width: 0; min-height: 58px; padding: 8px 0; display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 10px; border-top: 1px solid var(--line); }.ledger-entry:first-child { border-top: 0; }.ledger-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 6px; color: #ffb3b9; background: rgba(232,121,130,.075); }.ledger-icon.positive { color: #a7ebc5; background: rgba(104,211,155,.075); }.ledger-icon svg { width: 15px; }.ledger-entry > span:nth-child(2) { min-width: 0; display: grid; }.ledger-entry strong { overflow: hidden; color: var(--text-soft); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.ledger-entry small { color: var(--muted); font-size: 8px; }.ledger-entry b { font-size: 10px; }.amount-positive { color: var(--green); }
.subscription-current { margin-top: 18px; padding: 20px; display: grid; grid-template-columns: minmax(0,1fr) minmax(240px,340px); align-items: center; gap: 24px; }.subscription-current-main h3 { margin: 6px 0; font-size: 20px; }.subscription-current-main > strong { font-size: 18px; }.subscription-current-main > strong small { color: var(--muted); font-size: 10px; }.subscription-current-main p { margin: 8px 0 0; color: var(--muted); font-size: 9px; line-height: 1.6; }.subscription-action-form, .subscription-plan-form { display: grid; gap: 10px; }.subscription-grid { margin-top: 14px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 11px; }.subscription-card { min-height: 330px; padding: 20px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }.subscription-card.is-current { border-color: rgba(81,214,205,.38); background: linear-gradient(145deg, rgba(81,214,205,.065), rgba(79,140,255,.025)); }.subscription-card > strong { margin-top: 13px; font-size: 30px; }.subscription-card > strong small { color: var(--muted); font-size: 9px; }.subscription-card > p { min-height: 34px; margin: 8px 0 14px; color: var(--muted); font-size: 9px; line-height: 1.5; }.subscription-benefits { margin: 0 0 16px; padding: 14px 0 0; display: grid; gap: 9px; border-top: 1px solid var(--line); list-style: none; color: var(--muted-strong); font-size: 8px; }.subscription-benefits li { display: flex; align-items: center; gap: 7px; }.subscription-benefits svg { width: 13px; color: var(--cyan); }.subscription-plan-form, .subscription-current-label { margin-top: auto; }.subscription-confirm { display: grid; grid-template-columns: 18px minmax(0,1fr); align-items: start; gap: 7px; color: var(--muted); font-size: 8px; line-height: 1.5; }.subscription-confirm input { width: 16px; height: 16px; margin: 1px 0 0; accent-color: var(--cyan); }.subscription-current-label { min-height: 38px; display: grid; place-items: center; color: var(--green); border: 1px solid rgba(104,211,155,.18); border-radius: 6px; background: rgba(104,211,155,.04); font-size: 9px; font-weight: 750; }

/* Dashboard */
.dashboard-grid { display: grid; grid-template-columns: 1.25fr .55fr .55fr; gap: 12px; }.feature-panel { min-height: 210px; padding: 24px; grid-row: span 2; background: linear-gradient(140deg, rgba(22,35,65,.95), rgba(18,28,46,.94) 55%, rgba(16,44,48,.9)); }.dashboard-balance-value { margin-top: 14px; display: flex; align-items: baseline; gap: 8px; }.dashboard-balance-value strong { font-size: 52px; line-height: 1; }.dashboard-balance-value span { color: var(--muted); }.dashboard-balance p { margin: 10px 0 20px; color: var(--muted-strong); font-size: 9px; }.dashboard-balance .secondary-button { width: max-content; min-height: 39px; }.metric-panel { position: relative; min-height: 99px; padding: 17px; display: grid; align-content: center; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }.metric-panel span { color: var(--muted); font-size: 9px; }.metric-panel strong { margin-top: 3px; font-size: 28px; }.metric-panel > svg { position: absolute; right: 16px; width: 27px; height: 27px; color: rgba(111,163,255,.28); }.dashboard-projects { min-width: 0; padding: 20px; grid-column: span 2; }.dashboard-ledger, .account-panel { padding: 20px; }.dashboard-project-list { margin-top: 10px; }.dashboard-project-row { min-width: 0; min-height: 68px; padding: 8px 0; display: grid; grid-template-columns: 50px minmax(0,1fr) auto 16px; align-items: center; gap: 10px; border-top: 1px solid var(--line); }.dashboard-project-row:first-child { border-top: 0; }.project-mini-preview { width: 50px; height: 50px; display: grid; place-items: center; overflow: hidden; border-radius: 6px; color: var(--blue); background: rgba(79,140,255,.07); }.project-mini-preview video { width: 100%; height: 100%; object-fit: cover; }.dashboard-project-row > span:nth-child(2) { min-width: 0; display: grid; }.dashboard-project-row strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.dashboard-project-row small { color: var(--muted); font-size: 8px; }.dashboard-project-row > svg { width: 14px; color: var(--muted); }.account-summary { margin-top: 14px; padding-bottom: 16px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }.account-summary div { min-width: 0; display: grid; }.account-summary strong { font-size: 11px; }.account-summary span { overflow: hidden; color: var(--muted); font-size: 8px; text-overflow: ellipsis; }.account-security { margin-top: 16px; padding: 12px; display: flex; align-items: center; gap: 10px; border: 1px solid rgba(104,211,155,.14); border-radius: 6px; color: var(--green); background: rgba(104,211,155,.04); }.account-security > svg { width: 20px; }.account-security span { display: grid; }.account-security strong { color: var(--text-soft); font-size: 9px; }.account-security small { color: var(--muted); font-size: 7px; }
.account-delete-form { margin-top: 12px; }.account-delete-form .danger-button { width: 100%; min-height: 40px; }

/* Auth */
.auth-body { min-height: 100vh; background: var(--bg); }.auth-layout { min-height: 100vh; display: grid; grid-template-columns: minmax(420px, 43%) minmax(0,1fr); }.auth-form-side { min-height: 100vh; padding: 30px max(32px, 6vw) 24px; display: flex; flex-direction: column; background: linear-gradient(160deg, #0d1019, #080a10); }.auth-form-wrap { width: min(420px,100%); margin: auto; padding: 44px 0; }.auth-title { max-width: 380px; margin: 11px 0 0; font-size: 36px; line-height: 1.1; }.auth-subtitle { margin: 12px 0 26px; color: var(--muted); font-size: 12px; }.auth-form { display: grid; gap: 15px; }.input-wrap { position: relative; display: flex; align-items: center; }.input-wrap > svg { position: absolute; left: 13px; z-index: 1; width: 16px; color: var(--muted); }.input-wrap input { padding-left: 40px; padding-right: 42px; }.input-wrap button { position: absolute; right: 6px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 5px; color: var(--muted); background: transparent; cursor: pointer; }.input-wrap button:hover { color: #fff; background: rgba(255,255,255,.04); }.input-wrap button svg { width: 16px; }.auth-submit { min-height: 50px; margin-top: 4px; }.auth-switch { margin: 20px 0 0; color: var(--muted); text-align: center; font-size: 10px; }.auth-switch a, .auth-legal a, .auth-footer a { color: var(--cyan); }.auth-legal { margin: 14px 0 0; color: var(--muted); text-align: center; font-size: 8px; }.auth-footer { display: flex; gap: 18px; color: var(--muted); font-size: 9px; }.auth-visual { position: relative; min-height: 100vh; overflow: hidden; background: #05070b; }.auth-visual video { width: 100%; height: 100%; object-fit: cover; }.auth-visual-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,7,11,.9), rgba(5,7,11,.06) 62%), linear-gradient(to right, rgba(7,8,13,.5), transparent 45%); }.auth-visual-copy { position: absolute; left: 8%; bottom: 8%; z-index: 2; max-width: 490px; }.mini-label { min-height: 26px; padding: 0 8px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(255,255,255,.16); border-radius: 5px; color: var(--text-soft); background: rgba(7,8,13,.45); font-size: 8px; font-weight: 750; }.mini-label svg { width: 12px; }.auth-visual-copy h2 { margin: 14px 0 9px; font-size: 40px; line-height: 1.08; }.auth-visual-copy p { margin: 0; color: #c2cad7; font-size: 12px; }

/* Landing */
.landing-body { overflow-x: hidden; background: var(--bg); }.landing-header { position: fixed; top: 0; left: 0; right: 0; z-index: 80; height: 70px; border-bottom: 1px solid rgba(255,255,255,.07); background: rgba(7,8,13,.72); backdrop-filter: blur(22px) saturate(150%); }.landing-nav { width: min(1320px, calc(100% - 48px)); height: 100%; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; }.landing-nav > nav { display: flex; gap: 24px; color: var(--muted-strong); font-size: 10px; font-weight: 650; }.landing-nav > nav a:hover { color: #fff; }.landing-actions { justify-self: end; display: flex; align-items: center; gap: 6px; }.landing-container { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }.hero-section { position: relative; min-height: calc(100svh - 42px); padding-top: 70px; display: flex; align-items: center; overflow: hidden; background: #080a10; }.hero-background-video { position: absolute; inset: 70px 0 0; width: 100%; height: calc(100% - 70px); object-fit: cover; object-position: 68% center; filter: saturate(.82) contrast(1.05); }.hero-backdrop { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,8,13,.99) 0%, rgba(7,8,13,.94) 30%, rgba(7,8,13,.44) 63%, rgba(7,8,13,.16) 100%), linear-gradient(to top, rgba(7,8,13,.58), transparent 50%); }.hero-backdrop::after { content: ""; position: absolute; inset: 0; opacity: .2; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(90deg, #000, transparent 68%); }.hero-grid { position: relative; z-index: 2; min-height: calc(100svh - 112px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px,.75fr); align-items: center; gap: 60px; }.hero-copy { max-width: 660px; padding: 54px 0; }.hero-kicker { min-height: 30px; padding: 0 9px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid rgba(81,214,205,.22); border-radius: 5px; color: #c5f3ed; background: rgba(81,214,205,.06); font-size: 9px; font-weight: 750; }.hero-kicker svg { width: 13px; }.hero-copy h1 { margin: 20px 0 0; font-size: 68px; line-height: .98; letter-spacing: 0; }.hero-copy h1 span { color: transparent; background: linear-gradient(90deg, #7fa8ff, #79ddd3 68%, #e2eef5); -webkit-background-clip: text; background-clip: text; }.hero-copy > p { max-width: 600px; margin: 24px 0 0; color: #b7c0cf; font-size: 16px; line-height: 1.65; }.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 9px; }.hero-proof { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: 9px; }.hero-proof span { display: flex; align-items: center; gap: 6px; }.hero-proof svg { width: 13px; color: var(--cyan); }.hero-scene-meta { align-self: end; justify-self: end; margin-bottom: 9%; display: flex; align-items: center; gap: 8px; }.hero-scene-meta > span { min-height: 50px; padding: 0 13px; display: grid; grid-template-columns: 18px auto; align-content: center; column-gap: 8px; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); background: rgba(7,8,13,.58); backdrop-filter: blur(18px); box-shadow: var(--shadow-soft); }.hero-scene-meta > span svg { grid-row: 1 / span 2; color: var(--green); }.hero-scene-meta b { font-size: 10px; }.hero-scene-meta small { color: var(--muted); font-size: 7px; }.hero-scene-meta button { width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); color: #fff; background: rgba(7,8,13,.58); backdrop-filter: blur(18px); cursor: pointer; }.hero-next { position: absolute; left: 50%; bottom: 14px; z-index: 3; width: 34px; height: 34px; display: grid; place-items: center; color: var(--muted); transform: translateX(-50%); animation: nudge 2.4s ease-in-out infinite; }
@keyframes nudge { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,5px); } }
.landing-section { padding: 110px 0; border-top: 1px solid rgba(255,255,255,.055); }.process-section { background: linear-gradient(180deg, #090b12, #07080d); }.section-intro { max-width: 620px; }.section-intro h2 { font-size: 38px; }.section-intro > p { font-size: 13px; line-height: 1.65; }.process-grid { margin-top: 42px; display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }.process-card { position: relative; min-height: 250px; padding: 26px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(20,25,39,.82), rgba(13,16,25,.92)); }.process-card > span { position: absolute; top: 20px; right: 22px; color: rgba(255,255,255,.12); font-size: 30px; font-weight: 800; }.process-card > svg { width: 34px; height: 34px; color: var(--cyan); }.process-card h3 { margin: 65px 0 9px; font-size: 18px; }.process-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }.style-section { background: #090b11; }.inline-intro { max-width: none; }.landing-style-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(4,1fr); gap: 11px; }.landing-style-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }.landing-style-card .style-scene { position: relative; height: 230px; overflow: hidden; background: linear-gradient(145deg, #203956, #171a38 55%, #25213c); }.landing-style-card > span, .landing-style-card > strong { padding-inline: 16px; display: block; }.landing-style-card > span { margin-top: 14px; color: var(--cyan); font-size: 8px; font-weight: 800; text-transform: uppercase; }.landing-style-card > strong { min-height: 54px; margin-top: 4px; font-size: 11px; line-height: 1.45; }.style-moon, .style-sun, .style-figure, .style-clay-one, .style-clay-two, .style-portal, .style-mountain { position: absolute; display: block; }.style-moon { top: 34px; right: 35px; width: 55px; height: 55px; border-radius: 50%; background: #b7d6df; box-shadow: 0 0 45px rgba(183,214,223,.4); }.style-figure { left: 50%; bottom: -20px; width: 72px; height: 150px; border-radius: 38px 38px 12px 12px; background: #d96f68; transform: translateX(-50%); }.style-figure::before { content: ""; position: absolute; top: -44px; left: 10px; width: 52px; height: 52px; border-radius: 50%; background: #efb58b; }.style-visual-anime .style-scene { background: linear-gradient(155deg, #f18b78, #673f8e 65%, #172a54); }.style-sun { inset: 38px auto auto 50%; width: 104px; height: 104px; border-radius: 50%; background: rgba(255,221,157,.82); transform: translateX(-50%); }.style-speed { position: absolute; inset: 0; background: repeating-linear-gradient(160deg, transparent 0 18px, rgba(255,255,255,.14) 19px 20px); transform: skewY(-8deg); }.style-visual-clay .style-scene { background: linear-gradient(145deg, #c48e6c, #736c58); }.style-clay-one, .style-clay-two { bottom: 25px; width: 84px; height: 116px; border-radius: 44px 44px 25px 25px; background: #5c92ac; box-shadow: inset -10px -8px 0 rgba(0,0,0,.08); }.style-clay-one { left: 18%; }.style-clay-two { right: 16%; height: 88px; background: #e4b65e; }.style-visual-fantasy .style-scene { background: linear-gradient(145deg, #132c39, #19394d 45%, #302650); }.style-portal { top: 28px; left: 50%; width: 112px; height: 150px; border: 8px solid #70d8c9; border-radius: 50%; box-shadow: 0 0 40px rgba(81,214,205,.55), inset 0 0 30px rgba(81,214,205,.35); transform: translateX(-50%); }.style-mountain { left: 0; right: 0; bottom: -10px; height: 100px; background: #111b28; clip-path: polygon(0 100%,25% 24%,42% 72%,65% 12%,100% 100%); }.pricing-section { background: linear-gradient(150deg, #091018, #0b0b15 58%, #07080d); }.pricing-layout { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 80px; }.price-facts { margin-top: 25px; display: flex; gap: 10px; }.price-facts span { min-height: 36px; padding: 0 10px; display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 6px; color: var(--text-soft); background: rgba(255,255,255,.025); font-size: 9px; }.price-facts svg { width: 13px; color: var(--cyan); }.landing-package-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 9px; }.landing-package { position: relative; min-height: 118px; padding: 17px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.027); }.landing-package.is-popular { border-color: rgba(81,214,205,.32); background: rgba(81,214,205,.055); }.landing-package > small { color: var(--muted); font-size: 8px; }.landing-package > strong { margin-top: 8px; display: block; font-size: 23px; }.landing-package > strong em { color: var(--muted); font-size: 8px; font-style: normal; }.landing-package p { margin: 5px 0 0; color: var(--text-soft); font-size: 9px; }.landing-package p span { margin-left: 5px; color: var(--green); }.popular-badge { position: absolute; top: 10px; right: 10px; padding: 3px 5px; border-radius: 4px; color: #bff7ed; background: rgba(81,214,205,.12); font-size: 7px; }.landing-package-grid > .full-button { grid-column: 1 / -1; }.faq-section { background: #080a10; }.faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; }.faq-list { border-top: 1px solid var(--line); }.faq-list details { border-bottom: 1px solid var(--line); }.faq-list summary { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--text-soft); font-size: 12px; font-weight: 700; cursor: pointer; list-style: none; }.faq-list summary::-webkit-details-marker { display: none; }.faq-list summary svg { width: 16px; color: var(--muted); transition: transform var(--transition); }.faq-list details[open] summary svg { transform: rotate(45deg); }.faq-list details p { max-width: 680px; margin: -5px 0 22px; color: var(--muted); font-size: 10px; line-height: 1.65; }.landing-cta { padding: 80px 0; border-top: 1px solid var(--line); background: linear-gradient(110deg, #101a30, #17172b 52%, #12323a); }.landing-cta .landing-container { display: flex; align-items: center; justify-content: space-between; gap: 40px; }.landing-cta h2 { margin: 8px 0 5px; font-size: 38px; }.landing-cta p { margin: 0; color: var(--muted-strong); font-size: 11px; }.landing-footer { padding: 36px 0; border-top: 1px solid var(--line); background: #06070b; }.landing-footer .landing-container { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }.landing-footer p { color: var(--muted); font-size: 9px; }.landing-footer nav { justify-self: end; display: flex; gap: 16px; color: var(--muted); font-size: 9px; }.landing-footer a:hover { color: #fff; }

/* Legal */
.legal-page { width: min(820px,100%); margin: 0 auto; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }.auth-form-wrap .legal-page { padding: 0; border: 0; background: transparent; box-shadow: none; }.legal-page h1 { margin: 7px 0 24px; font-size: 28px; }.legal-page h2 { margin: 26px 0 7px; font-size: 15px; }.legal-page p { color: var(--muted-strong); font-size: 11px; line-height: 1.7; }

/* Legal documents */
.legal-body { min-height: 100vh; background: #080a10; color: var(--text); }
.legal-header { position: sticky; top: 0; z-index: 20; min-height: 70px; padding: 0 max(24px, calc((100vw - 1320px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); background: rgba(7,8,13,.94); backdrop-filter: blur(16px); }
.legal-header nav { display: flex; align-items: center; gap: 20px; color: var(--muted-strong); font-size: 10px; }
.legal-header nav a:hover { color: #fff; }
.legal-layout { width: min(1320px, calc(100% - 48px)); margin: 0 auto; padding: 52px 0 90px; display: grid; grid-template-columns: 250px minmax(0, 860px); justify-content: center; gap: 68px; }
.legal-nav { position: sticky; top: 102px; align-self: start; display: grid; gap: 3px; }
.legal-nav > span { margin-bottom: 12px; color: var(--muted); font-size: 8px; font-weight: 800; text-transform: uppercase; }
.legal-nav a { padding: 9px 11px; border-left: 2px solid transparent; color: var(--muted-strong); font-size: 9px; line-height: 1.35; }
.legal-nav a:hover, .legal-nav a.is-active { border-left-color: var(--cyan); color: #fff; background: rgba(81,214,205,.045); }
.legal-layout .legal-page { width: 100%; padding: 0; border: 0; border-radius: 0; background: transparent; }
.legal-draft-notice { width: 100%; margin-bottom: 34px; padding: 18px 20px; display: flex; align-items: flex-start; gap: 14px; border: 1px solid rgba(241,190,87,.28); border-radius: 6px; background: rgba(241,190,87,.055); }
.legal-draft-notice > svg { width: 20px; flex: 0 0 20px; color: #f1be57; }
.legal-draft-notice > div, .legal-index-list article > div { min-width: 0; }
.legal-draft-notice strong { font-size: 11px; }
.legal-draft-notice p { margin: 4px 0 0; color: var(--muted-strong); font-size: 10px; line-height: 1.55; }
.legal-title-block { padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.legal-title-block h1 { max-width: 760px; margin: 9px 0 24px; font-size: 38px; line-height: 1.12; }
.legal-title-block dl { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.legal-title-block dl div, .legal-requisites div { padding: 11px 12px; border: 1px solid var(--line); border-radius: 5px; background: rgba(255,255,255,.02); }
.legal-title-block dt, .legal-requisites dt { color: var(--muted); font-size: 8px; }
.legal-title-block dd, .legal-requisites dd { margin: 4px 0 0; color: var(--text-soft); font-size: 9px; line-height: 1.45; }
.legal-page section { padding: 27px 0; border-bottom: 1px solid rgba(255,255,255,.055); }
.legal-page section h2 { margin: 0 0 11px; font-size: 17px; }
.legal-page section p, .legal-page section li { color: var(--muted-strong); font-size: 11px; line-height: 1.75; }
.legal-page section p { margin: 9px 0 0; }
.legal-page section ul { margin: 8px 0 0; padding-left: 20px; }
.legal-page section a, .legal-version-footer a, .legal-index-list a { color: var(--cyan); }
.legal-page section strong { color: #f0d99f; }
.legal-requisites { margin: 12px 0 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
.legal-version-footer { padding-top: 28px; display: grid; gap: 9px; }
.legal-version-footer > span { color: var(--muted); font-size: 8px; text-transform: uppercase; }
.legal-version-footer code { max-width: 100%; overflow-wrap: anywhere; color: var(--muted-strong); font-size: 8px; }
.legal-version-footer a { width: fit-content; margin-top: 7px; display: inline-flex; align-items: center; gap: 7px; font-size: 9px; font-weight: 750; }
.legal-version-footer svg { width: 13px; }
.legal-index-list { display: grid; border-top: 1px solid var(--line); }
.legal-index-list article { min-height: 128px; padding: 22px 4px; display: flex; justify-content: space-between; gap: 36px; border-bottom: 1px solid var(--line); }
.legal-index-list article span, .legal-index-actions time { color: var(--muted); font-size: 8px; }
.legal-index-list h2 { margin: 7px 0 5px; font-size: 16px; }
.legal-index-list h2, .legal-index-list p { overflow-wrap: anywhere; }
.legal-index-list p { margin: 0; color: var(--muted-strong); font-size: 10px; }
.legal-index-actions { min-width: 120px; display: flex; align-items: flex-end; flex-direction: column; gap: 12px; }
.legal-index-actions a, .legal-index-actions strong { font-size: 9px; }
.cookie-banner { position: fixed; z-index: 60; right: 22px; bottom: 22px; width: min(620px, calc(100% - 44px)); padding: 17px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 7px; background: #121622; box-shadow: 0 18px 55px rgba(0,0,0,.42); }
.cookie-banner strong { font-size: 10px; }
.cookie-banner p { margin: 4px 0 2px; color: var(--muted-strong); font-size: 9px; line-height: 1.45; }
.cookie-banner a { color: var(--cyan); font-size: 8px; }
.cookie-banner form { margin: 0; }

@keyframes reveal-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes reveal-down { from { opacity: 0; transform: translate(-50%,-8px); } to { opacity: 1; transform: translate(-50%,0); } }
@keyframes spin { to { transform: rotate(360deg); } }
.reveal-item { animation: reveal-up 600ms ease both; }.reveal-item:nth-child(2) { animation-delay: 120ms; }

@media (max-width: 1200px) {
  .project-grid { grid-template-columns: repeat(3,1fr); }
  .style-grid { grid-template-columns: repeat(2,1fr); }
  .landing-style-grid { grid-template-columns: repeat(2,1fr); }
  .landing-style-card .style-scene { height: 250px; }
  .hero-copy h1 { font-size: 58px; }
  .pricing-layout { gap: 46px; }
}

@media (max-width: 1024px) {
  :root { --header-height: 66px; }
  .nav-shell, .app-main, .landing-nav, .landing-container { width: min(100% - 32px, var(--max-width)); }
  .desktop-nav { display: none; }.nav-shell { grid-template-columns: 1fr auto; }
  .studio-layout, .job-layout { grid-template-columns: 1fr; }
  .studio-onboarding { grid-template-columns: minmax(0,1fr) auto; }.onboarding-steps { grid-column: 1 / -1; grid-row: 2; }.onboarding-actions { grid-column: 2; grid-row: 1; }
  .studio-preview-column { position: static; grid-template-columns: 1fr 1fr; }.preview-panel { grid-row: span 2; }.studio-preview-wrap { min-height: 430px; }
  .job-details { order: -1; }.video-frame { min-height: 560px; }
  .dashboard-grid { grid-template-columns: 1fr 1fr; }.feature-panel { grid-row: auto; grid-column: 1 / -1; }.dashboard-projects { grid-column: 1 / -1; }.dashboard-ledger, .account-panel { grid-column: span 1; }
  .wallet-overview { grid-template-columns: 1fr 1fr; }.balance-hero { grid-column: 1 / -1; grid-row: auto; }.package-grid { grid-template-columns: repeat(2,1fr); }
  .landing-nav > nav { display: none; }.landing-nav { grid-template-columns: 1fr auto; }
  .hero-grid { grid-template-columns: minmax(0,1fr) 260px; gap: 20px; }.hero-copy h1 { font-size: 52px; }.hero-copy > p { font-size: 14px; }
  .process-grid { gap: 9px; }.process-card { padding: 21px; }
  .pricing-layout, .faq-layout { gap: 40px; }
  .auth-layout { grid-template-columns: minmax(400px,48%) minmax(0,1fr); }.auth-visual-copy h2 { font-size: 32px; }
  .library-toolbar { grid-template-columns: minmax(220px,1fr) 170px 180px 40px; }.library-filter-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.library-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 768px) {
  body.app-body { padding-bottom: 72px; }
  .app-header { position: sticky; }.nav-shell { width: calc(100% - 24px); }.brand-copy small, .balance-chip span, .profile-button > svg { display: none; }.balance-chip { padding: 0 9px; }.account-menu { right: 0; }
  .app-main { width: calc(100% - 24px); padding: 25px 0 34px; }.page-heading { min-height: auto; margin-bottom: 20px; align-items: flex-start; }.page-heading h1 { font-size: 25px; }.page-description { font-size: 11px; }.page-heading > .compact-button { min-width: 40px; padding: 0 11px; }.page-heading > .compact-button:not(:has(span)) { font-size: 0; }.page-heading > .compact-button svg { margin: 0; }
  .mobile-nav { position: fixed; left: 10px; right: 10px; bottom: 9px; z-index: 70; min-height: 58px; padding: 5px; display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line-strong); border-radius: var(--radius); background: rgba(12,15,23,.94); backdrop-filter: blur(20px); box-shadow: 0 12px 40px rgba(0,0,0,.42); transition: transform var(--transition), opacity var(--transition); }.mobile-nav a { display: grid; place-items: center; align-content: center; gap: 2px; border-radius: 6px; color: var(--muted); font-size: 8px; }.mobile-nav a svg { width: 17px; }.mobile-nav a.is-active { color: #fff; background: rgba(79,140,255,.1); }.mobile-nav a.is-active svg { color: var(--cyan); }.app-body.mobile-nav-avoid .mobile-nav { opacity: 0; pointer-events: none; transform: translateY(calc(100% + 18px)); }
  .studio-onboarding { grid-template-columns: 1fr; gap: 14px; }.onboarding-copy, .onboarding-steps, .onboarding-actions { grid-column: 1; grid-row: auto; }.onboarding-actions { display: grid; grid-template-columns: 1fr 1fr 38px; }.onboarding-actions .secondary-button { width: 100%; }
  .creator-panel, .style-panel, .settings-panel { padding: 16px; }.settings-panel { grid-template-columns: 1fr; gap: 18px; }.setting-block + .setting-block { padding: 18px 0 0; border-top: 1px solid var(--line); border-left: 0; }.style-grid { grid-template-columns: 1fr 1fr; }.style-option { min-height: 108px; }.studio-preview-column { display: grid; grid-template-columns: 1fr; }.preview-panel { grid-row: auto; }.studio-preview-wrap { min-height: 420px; }.launch-panel { position: static; background: rgba(14,18,28,.96); }
  .job-layout { gap: 12px; }.job-details { order: 0; }.video-frame { min-height: 500px; }.rendering-state h2 { font-size: 21px; }.result-actions > * { flex: 1 1 180px; }.success-toast { min-width: 0; width: calc(100% - 24px); }
  .history-toolbar { grid-template-columns: 1fr; }.filter-control { overflow-x: auto; }.filter-control button { flex: 1 0 auto; }.history-count { display: none; }.project-grid { grid-template-columns: repeat(2,1fr); }.library-toolbar { grid-template-columns: minmax(0,1fr) 40px; }.library-search { grid-column: 1; }.library-search-submit { grid-column: 2; grid-row: 1; }.library-select { grid-column: 1 / -1; }.library-filter-drawer { grid-column: 1 / -1; }.library-filter-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.library-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .wallet-overview { grid-template-columns: 1fr; }.balance-hero { min-height: 220px; }.wallet-fact { min-height: 72px; }.package-grid { grid-template-columns: 1fr 1fr; }.package-card { min-height: 300px; }.balance-visual { right: 2%; opacity: .7; }
  .dashboard-grid { grid-template-columns: 1fr 1fr; }.dashboard-projects, .dashboard-ledger, .account-panel { grid-column: 1 / -1; }
  .auth-layout { grid-template-columns: 1fr; }.auth-form-side { min-height: 100svh; padding: 24px 24px 18px; }.auth-visual { display: none; }.auth-title { font-size: 32px; }
  .landing-header { height: 64px; }.landing-nav { width: calc(100% - 24px); }.landing-nav .brand-copy small, .landing-actions .text-button { display: none; }.landing-container { width: calc(100% - 28px); }.hero-section { min-height: calc(100svh - 34px); padding-top: 64px; }.hero-background-video { inset: 64px 0 0; height: calc(100% - 64px); object-position: 63% center; }.hero-backdrop { background: linear-gradient(90deg, rgba(7,8,13,.97), rgba(7,8,13,.65) 66%, rgba(7,8,13,.34)), linear-gradient(to top, rgba(7,8,13,.86), transparent 65%); }.hero-grid { min-height: calc(100svh - 98px); grid-template-columns: 1fr; align-content: center; }.hero-copy { max-width: 590px; padding: 48px 0 110px; }.hero-copy h1 { font-size: 48px; }.hero-copy > p { max-width: 520px; }.hero-scene-meta { position: absolute; right: 0; bottom: 54px; margin: 0; }.landing-section { padding: 78px 0; }.section-intro h2 { font-size: 31px; }.process-grid { grid-template-columns: 1fr; }.process-card { min-height: 210px; }.process-card h3 { margin-top: 45px; }.pricing-layout, .faq-layout { grid-template-columns: 1fr; gap: 40px; }.landing-cta .landing-container { align-items: flex-start; flex-direction: column; }.landing-cta h2 { font-size: 31px; }.landing-footer .landing-container { grid-template-columns: minmax(0,1fr); }.landing-footer .landing-container > * { min-width: 0; }.landing-footer nav { justify-self: start; flex-wrap: wrap; }.landing-footer p { margin: 0; }
}

@media (max-width: 430px) {
  .nav-shell { width: calc(100% - 20px); }.brand-mark-shell { width: 38px; height: 38px; flex-basis: 38px; }.balance-chip { min-height: 34px; }.profile-button { height: 36px; }.avatar { width: 28px; height: 28px; }
  .app-main { width: calc(100% - 20px); padding-top: 20px; }.page-heading { gap: 10px; }.page-heading h1 { font-size: 23px; }.page-description { max-width: 280px; }
  .studio-onboarding { padding: 13px; }.onboarding-copy { grid-template-columns: 36px minmax(0,1fr); }.onboarding-icon { width: 36px; height: 36px; }.onboarding-copy strong { font-size: 11px; }.onboarding-copy small { line-height: 1.4; }.onboarding-steps { gap: 4px; }.onboarding-steps li { grid-template-columns: 20px minmax(0,1fr); font-size: 7px; }.onboarding-steps b { width: 20px; height: 20px; }.onboarding-actions { grid-template-columns: 1fr 1fr 34px; gap: 5px; }.onboarding-actions .secondary-button { min-height: 36px; padding-inline: 7px; }.onboarding-actions .secondary-button svg { display: none; }.onboarding-actions .icon-button { width: 34px; height: 36px; }
  .mode-segment label > span { padding-inline: 7px; font-size: 10px; }.story-template-grid { grid-template-columns: 1fr; }.prompt-structure { grid-template-columns: repeat(3,1fr); }.prompt-tools { align-items: stretch; }.prompt-improve { flex: 1 1 100%; }.prompt-tools .inline-tool { flex: 1 1 calc(50% - 4px); justify-content: center; }.prompt-clear { margin-left: 0; }.field-footer { align-items: flex-start; flex-direction: column; gap: 3px; }.char-counter { align-self: flex-end; }.style-grid { grid-template-columns: 1fr; }.style-option { min-height: 82px; grid-template-columns: 38px minmax(0,1fr); }.style-option small { font-size: 8px; }.format-control label > span, .duration-control label > span { padding-inline: 4px; }.studio-preview-wrap { min-height: 390px; }.preview-meta { gap: 7px; }.recent-panel { display: none; }
  .video-frame { min-height: 460px; }.result-stage { padding: 8px; }.rendering-state { width: 92%; }.render-steps { font-size: 7px; }.safe-leave { align-items: flex-start; text-align: left; }
  .project-grid { grid-template-columns: 1fr; }.project-preview { aspect-ratio: 16/10; }.project-card-actions { min-height: 38px; }.library-filter-grid { grid-template-columns: 1fr; }.library-filter-actions { align-items: stretch; flex-direction: column-reverse; }.library-filter-actions > * { width: 100%; justify-content: center; }.library-grid { grid-template-columns: 1fr; }.project-menu-popover { position: fixed; top: auto; right: 10px; bottom: 78px; left: 10px; width: auto; }.library-card .project-preview { aspect-ratio: 16/10; }
  .balance-hero { padding: 22px; }.balance-content strong { font-size: 45px; }.balance-visual { width: 125px; height: 125px; right: -14px; }.disc-one { inset: 24px; }.package-grid { grid-template-columns: 1fr; }.package-card { min-height: 280px; }.inline-intro { align-items: flex-start; flex-direction: column; }.sbp-mark { align-self: stretch; justify-content: center; }
  .promo-entry { grid-template-columns: 38px minmax(0,1fr); }.promo-entry input { grid-column: 1 / -1; }
  .dashboard-grid { grid-template-columns: 1fr 1fr; }.feature-panel { padding: 20px; }.dashboard-project-row { grid-template-columns: 44px minmax(0,1fr) 14px; }.dashboard-project-row .status-badge { display: none; }.project-mini-preview { width: 44px; height: 44px; }
  .auth-form-side { padding-inline: 18px; }.auth-title { font-size: 29px; }.auth-form-wrap { padding-block: 34px; }
  .landing-nav { width: calc(100% - 20px); }.landing-nav .brand { gap: 7px; }.landing-nav .brand-copy { display: grid; }.landing-nav .brand-name { font-size: 13px; }.landing-nav .brand-subtitle { display: none; }.landing-actions .primary-button { min-width: 96px; }.hero-copy { padding-top: 38px; }.hero-copy h1 { font-size: 39px; }.hero-copy > p { font-size: 13px; line-height: 1.55; }.hero-actions { display: grid; }.hero-actions > * { width: 100%; }.hero-proof { gap: 11px; }.hero-scene-meta { bottom: 45px; }.hero-scene-meta > span { min-height: 44px; }.hero-scene-meta button { width: 44px; height: 44px; }.hero-next { display: none; }.section-intro h2 { font-size: 28px; }.landing-style-grid { grid-template-columns: 1fr; }.landing-style-card .style-scene { height: 250px; }.price-facts { align-items: stretch; flex-direction: column; }.landing-package-grid { grid-template-columns: 1fr; }.landing-package-grid > .full-button { grid-column: auto; }.faq-list summary { min-height: 64px; font-size: 11px; }.landing-cta { padding: 60px 0; }.landing-cta .hero-button { width: 100%; }
}

@media (max-width: 360px) {
  .page-heading h1 { font-size: 21px; }.balance-chip span { display: none; }.mode-segment svg { display: none; }.onboarding-actions { grid-template-columns: 1fr 34px; }.onboarding-actions .secondary-button { grid-column: 1; }.onboarding-actions .icon-button { grid-column: 2; grid-row: 1 / span 2; height: 100%; }.creator-panel, .style-panel, .settings-panel, .preview-panel, .launch-panel, .job-details { padding: 13px; }.prompt-tools .inline-tool { flex-basis: 100%; }.format-control small { display: none; }.project-card-actions b { display: none; }.hero-copy h1 { font-size: 35px; }.hero-proof span:last-child { display: none; }
}

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

/* Academy and GPT Studio: product surfaces reuse the private-app tokens. */
.academy-page .page-heading, .gpt-studio-page .page-heading { max-width: 980px; }
.academy-offer { padding: 42px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr); gap: 28px; align-items: stretch; overflow: hidden; }
.academy-offer-copy { position: relative; z-index: 1; max-width: 670px; }
.academy-offer h2, .academy-progress h2, .academy-practice h2 { margin: 16px 0 10px; font-size: clamp(28px, 4vw, 48px); line-height: 1.06; }
.academy-offer p, .academy-progress p, .academy-practice p { margin: 0; color: var(--muted-strong); font-size: 11px; line-height: 1.65; }
.academy-offer-facts { margin-top: 27px; display: flex; flex-wrap: wrap; gap: 8px; }
.academy-offer-facts span { min-height: 34px; padding: 0 11px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid rgba(160,213,255,.22); border-radius: 999px; background: rgba(139,208,255,.06); color: #cceaff; font-size: 8px; }
.academy-offer-facts svg { width: 13px; color: var(--blue); }
.academy-purchase-card { min-height: 250px; padding: 24px; display: grid; align-content: center; gap: 11px; border: 1px solid rgba(177,228,255,.34); border-radius: 12px; background: linear-gradient(145deg, rgba(141,215,255,.17), rgba(77,97,171,.12)); box-shadow: inset 0 1px rgba(255,255,255,.11), 0 20px 44px rgba(0,0,0,.2); }
.academy-purchase-card > span { color: #bcdfff; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.academy-purchase-card > strong { font-size: 38px; line-height: 1; }
.academy-purchase-card > small, .academy-purchase-card > p { margin: 0; color: var(--muted); font-size: 8px; line-height: 1.5; }
.academy-purchase-disabled { opacity: .72; }
.academy-roadmap { margin-top: 14px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.academy-roadmap article { min-height: 128px; padding: 17px; display: grid; align-content: space-between; gap: 16px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.academy-roadmap span { color: var(--blue); font-family: var(--mono); font-size: 9px; }
.academy-roadmap strong { font-size: 11px; line-height: 1.35; }
.academy-progress { padding: 31px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.academy-progress > div { max-width: 670px; }
.academy-curriculum { margin-top: 14px; display: grid; gap: 9px; }
.academy-module { padding: 20px; display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 18px; }
.academy-module-number { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(109,190,255,.35); border-radius: 8px; color: var(--blue); font-family: var(--mono); font-size: 9px; background: rgba(79,140,255,.08); }
.academy-module h2 { margin: 6px 0; font-size: 17px; }
.academy-module p { margin: 0 0 14px; color: var(--muted); font-size: 9px; line-height: 1.55; }
.academy-lesson-link { min-height: 44px; padding: 10px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line); color: inherit; font-size: 9px; }
.academy-lesson-link span { display: inline-flex; gap: 8px; align-items: center; }
.academy-lesson-link svg { width: 15px; color: var(--blue); }
.academy-lesson-link small { color: var(--muted); white-space: nowrap; }
.academy-practice { margin-top: 14px; padding: 25px; }
.academy-practice > div:first-child { max-width: 620px; }
.academy-milestones { margin: 19px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.academy-milestones form { min-height: 42px; padding: 5px 6px 5px 10px; display: flex; align-items: center; justify-content: space-between; gap: 7px; border: 1px solid var(--line); border-radius: 7px; background: rgba(255,255,255,.018); }
.academy-milestones span { min-width: 0; display: flex; gap: 7px; align-items: center; color: var(--muted-strong); font-size: 8px; text-transform: capitalize; }
.academy-milestones span svg { width: 13px; flex: 0 0 auto; color: var(--green); }
.academy-unavailable { padding: 30px; display: flex; gap: 15px; align-items: flex-start; }
.academy-unavailable > svg { width: 26px; color: var(--blue); }
.academy-unavailable strong { display: block; margin-bottom: 6px; font-size: 14px; }
.academy-unavailable p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.6; }
.academy-unavailable .secondary-button { margin-top: 14px; }
.academy-lesson-page .page-heading, .academy-lesson-layout { width: min(920px, 100%); margin-right: auto; margin-left: auto; }
.academy-lesson-page .page-heading { min-height: 0; margin-bottom: 18px; }
.academy-lesson-layout { display: grid; gap: 14px; }
.academy-lesson { max-width: none; padding: 42px 52px; }
.academy-lesson-meta { margin-bottom: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.academy-lesson-meta span { padding: 6px 9px; display: inline-flex; gap: 6px; align-items: center; border: 1px solid var(--line); border-radius: 6px; color: var(--muted-strong); font-size: 8px; }
.academy-lesson-meta svg { width: 13px; }
.academy-lesson-content { max-width: 760px; margin: 0 auto 32px; color: #d8e2ed; font-size: 15px; line-height: 1.78; }
.academy-lesson-content > :first-child { margin-top: 0; }
.academy-lesson-content > :last-child { margin-bottom: 0; }
.academy-lesson-content h2, .academy-lesson-content h3, .academy-lesson-content h4 { color: #f0f8ff; line-height: 1.2; }
.academy-lesson-content h2 { margin: 38px 0 15px; font-size: 26px; }
.academy-lesson-content h3 { margin: 30px 0 12px; font-size: 20px; }
.academy-lesson-content h4 { margin: 24px 0 10px; font-size: 16px; }
.academy-lesson-content p { margin: 0 0 19px; }
.academy-lesson-content ul, .academy-lesson-content ol { margin: 0 0 21px; padding-left: 24px; }
.academy-lesson-content li + li { margin-top: 7px; }
.academy-lesson-content a { color: #a7e9ff; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.academy-lesson-content a:hover { color: #ecfbff; }
.academy-lesson-content blockquote { margin: 24px 0; padding: 5px 0 5px 18px; border-left: 2px solid rgba(126,222,255,.54); color: #bfdae8; }
.academy-lesson-content code { padding: 2px 5px; border-radius: 4px; color: #dcf6ff; background: rgba(126,222,255,.1); font-family: var(--mono); font-size: .88em; }
.academy-lesson-content pre { overflow-x: auto; margin: 22px 0; padding: 16px; border: 1px solid rgba(191,229,255,.14); border-radius: 8px; background: rgba(3,12,22,.72); }
.academy-lesson-content pre code { padding: 0; background: transparent; }
.academy-assets { margin: 0 0 22px; display: grid; gap: 8px; }
.academy-assets span { padding: 10px; display: flex; gap: 8px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted-strong); font-size: 8px; }
.academy-assets svg { width: 13px; }
.gpt-access-gate { max-width: 790px; padding: 34px; display: flex; gap: 21px; align-items: flex-start; }
.gpt-access-gate > svg { width: 31px; color: var(--blue); }
.gpt-access-gate h2 { margin: 7px 0 9px; font-size: 25px; }
.gpt-access-gate p { max-width: 530px; margin: 0 0 18px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.gpt-studio-layout { display: grid; grid-template-columns: minmax(290px, .85fr) minmax(0, 1.15fr); gap: 14px; align-items: start; }
.gpt-composer { padding: 22px; }
.gpt-composer form { display: grid; gap: 10px; }
.gpt-composer label { color: var(--muted-strong); font-size: 8px; }
.gpt-composer select, .gpt-composer textarea { width: 100%; border: 1px solid var(--line-strong); border-radius: 7px; color: var(--text); background: rgba(3,8,16,.46); font: inherit; }
.gpt-composer select { min-height: 42px; padding: 0 11px; font-size: 9px; }
.gpt-composer textarea { min-height: 174px; padding: 11px; resize: vertical; font-size: 10px; line-height: 1.55; }
.gpt-hint { margin: 0; color: var(--muted); font-size: 8px; line-height: 1.55; }
.gpt-project-context { padding: 9px; display: flex; gap: 7px; align-items: center; border: 1px solid rgba(102,180,255,.21); border-radius: 6px; color: #bcdfff; background: rgba(79,140,255,.07); font-size: 8px; }
.gpt-project-context svg { width: 13px; }
.gpt-mode-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.gpt-mode-grid article { min-height: 113px; padding: 15px; display: grid; align-content: space-between; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.gpt-mode-grid svg { width: 18px; color: var(--blue); }
.gpt-mode-grid strong { font-size: 10px; }
.gpt-mode-grid span { color: var(--green); font-size: 8px; }
.gpt-run-history { margin-top: 14px; padding: 22px; }
.gpt-run-row { min-height: 57px; display: flex; justify-content: space-between; align-items: center; gap: 14px; border-top: 1px solid var(--line); }
.gpt-run-row > span { display: grid; gap: 4px; }
.gpt-run-row strong { font-size: 9px; text-transform: capitalize; }
.gpt-run-row small { color: var(--muted); font-size: 7px; }
.academy-package-card { border-color: rgba(135,210,255,.42); background: linear-gradient(145deg, rgba(105,184,255,.12), rgba(138,108,255,.1)); box-shadow: inset 0 1px rgba(255,255,255,.09), 0 16px 42px rgba(31,90,170,.14); }
.academy-package-card .package-label { color: #d7f2ff; border-color: rgba(154,219,255,.38); background: rgba(125,196,255,.12); }
.academy-package-benefits { display: grid; gap: 8px; }
.academy-package-benefits span { display: flex; align-items: center; gap: 7px; color: var(--muted-strong); font-size: 8px; }
.academy-package-benefits svg { width: 14px; color: var(--blue); }
.nav-preview-badge { margin-left: 7px; padding: 2px 5px; border: 1px solid rgba(81,214,205,.36); border-radius: 999px; color: var(--cyan); background: rgba(81,214,205,.09); font-size: 7px; font-weight: 800; line-height: 1; text-transform: uppercase; }
.account-menu .nav-preview-badge { margin-left: auto; }
.academy-page.academy-preview-page:not(.academy-lesson-page) .page-heading { display: none; }
.academy-preview-page .app-main { padding-top: 24px; scroll-padding-top: calc(var(--header-height) + 16px); }
.academy-preview-page .page-content { display: grid; gap: 20px; }
.academy-preview-banner { position: relative; z-index: 1; min-height: 44px; margin: 0; padding: 9px 13px; display: flex; align-items: center; gap: 10px; scroll-margin-top: calc(var(--header-height) + 16px); border: 1px solid rgba(81,214,205,.28); border-radius: 9px; color: #d7faf7; background: linear-gradient(100deg, rgba(81,214,205,.11), rgba(79,140,255,.055)); box-shadow: inset 0 1px rgba(255,255,255,.07); font-size: 10px; line-height: 1.4; }
.academy-preview-banner > svg { width: 17px; flex: 0 0 auto; color: var(--cyan); }
.academy-preview-banner div { min-width: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.academy-preview-banner strong { color: #ecffff; font-size: 9px; text-transform: uppercase; }
.academy-preview-banner span { color: #bce5e6; }
.academy-preview-hero { position: relative; min-height: 530px; padding: 52px; display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(310px, .72fr); gap: 42px; align-items: center; overflow: hidden; border: 1px solid rgba(172,223,255,.25); border-radius: var(--product-radius); background: linear-gradient(125deg, rgba(15,34,56,.95), rgba(15,30,53,.9) 52%, rgba(24,21,58,.9)); box-shadow: 0 32px 86px rgba(0,0,0,.27), inset 0 1px 0 rgba(255,255,255,.13); }
.academy-preview-hero > :not(.academy-preview-art) { position: relative; z-index: 1; }
.academy-preview-art { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.academy-preview-art-grid { position: absolute; inset: 0; opacity: .44; background-image: linear-gradient(rgba(171,225,255,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(171,225,255,.1) 1px, transparent 1px); background-position: right top; background-size: 52px 52px; mask-image: linear-gradient(90deg, transparent 0%, #000 35%, #000 100%); }
.academy-preview-art-frame { position: absolute; width: 285px; height: 178px; border: 1px solid rgba(158,220,255,.22); border-radius: 14px; background: linear-gradient(140deg, rgba(170,229,255,.1), rgba(108,85,221,.04)); box-shadow: inset 0 1px rgba(255,255,255,.1); transform: rotate(-8deg); }
.academy-preview-art-frame::before, .academy-preview-art-frame::after { content: ""; position: absolute; width: 22px; height: 22px; border-color: rgba(182,239,255,.46); }
.academy-preview-art-frame::before { top: 12px; left: 12px; border-top: 2px solid; border-left: 2px solid; }
.academy-preview-art-frame::after { right: 12px; bottom: 12px; border-right: 2px solid; border-bottom: 2px solid; }
.academy-preview-art-frame-one { top: 62px; right: 23%; }
.academy-preview-art-frame-two { right: -62px; bottom: 48px; opacity: .74; transform: rotate(12deg); }
.academy-preview-art-timeline { position: absolute; right: 6%; bottom: 92px; width: 52%; height: 1px; background: linear-gradient(90deg, transparent, rgba(126,222,255,.78), rgba(163,116,255,.74)); box-shadow: 0 0 18px rgba(126,222,255,.22); }
.academy-preview-art-timeline::before, .academy-preview-art-timeline::after { content: ""; position: absolute; top: -4px; width: 9px; height: 9px; border: 2px solid #a7e9ff; border-radius: 50%; background: #0c1d34; }
.academy-preview-art-timeline::before { left: 22%; }
.academy-preview-art-timeline::after { right: 8%; border-color: #c3a7ff; }
.academy-preview-art-glow { position: absolute; right: -8%; top: 0; width: 62%; height: 100%; opacity: .7; background: linear-gradient(115deg, transparent 18%, rgba(126,222,255,.13) 48%, transparent 76%); filter: blur(24px); transform: skewX(-15deg); }
.academy-preview-hero-copy { min-width: 0; max-width: 670px; }
.academy-preview-kicker { margin: 0; display: inline-flex; align-items: center; gap: 8px; color: #b6e9ff; font-size: 10px; font-weight: 850; line-height: 1.2; text-transform: uppercase; }
.academy-preview-kicker svg { width: 15px; color: var(--cyan); }
.academy-preview-hero h1 { max-width: 650px; margin: 18px 0 18px; color: #f7fbff; font-size: 64px; font-weight: 900; line-height: 1.02; }
.academy-preview-lede { max-width: 620px; margin: 0; color: #d8e8f4; font-size: 19px; line-height: 1.5; }
.academy-preview-supporting { max-width: 590px; margin: 16px 0 0; color: #aebfce; font-size: 12px; line-height: 1.65; }
.academy-preview-hero-note { min-height: 36px; margin: 24px 0 0; display: inline-flex; align-items: center; gap: 8px; color: #b9dce8; font-size: 9px; line-height: 1.45; }
.academy-preview-hero-note svg { width: 15px; flex: 0 0 auto; color: var(--cyan); }
.academy-preview-pricing { min-height: 408px; padding: 30px; display: grid; align-content: start; gap: 9px; border: 1px solid rgba(190,232,255,.37); border-radius: 17px; color: #f5fbff; background: linear-gradient(145deg, rgba(39,67,104,.9), rgba(25,34,72,.93)); box-shadow: 0 20px 45px rgba(2,10,24,.32), inset 0 1px rgba(255,255,255,.16); }
.academy-preview-pricing-label { margin: 0; color: #bfeaff; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.academy-preview-price { margin-top: 10px; color: #fff; font-size: 54px; line-height: .95; }
.academy-preview-price-caption { margin: 0; color: #c4d1df; font-size: 11px; }
.academy-preview-pricing-facts { margin: 17px 0 3px; display: grid; gap: 0; border-top: 1px solid rgba(205,237,255,.16); }
.academy-preview-pricing-facts > div { min-height: 47px; padding: 10px 0; display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 10px; border-bottom: 1px solid rgba(205,237,255,.13); }
.academy-preview-pricing-facts dt { display: inline-flex; align-items: center; gap: 6px; color: #b8cfe1; font-size: 8px; }
.academy-preview-pricing-facts dt svg { width: 13px; color: #90ddff; }
.academy-preview-pricing-facts dd { margin: 0; color: #eff8ff; font-size: 9px; font-weight: 750; line-height: 1.38; }
.academy-preview-cta { width: 100%; min-height: 46px; margin-top: 11px; padding: 0 15px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid rgba(207,239,255,.26); border-radius: 8px; color: rgba(237,250,255,.67); background: rgba(238,247,255,.1); font: inherit; font-size: 10px; font-weight: 850; }
.academy-preview-cta:disabled { cursor: not-allowed; opacity: 1; }
.academy-preview-cta svg { width: 15px; }
.academy-preview-pricing-note { margin: 0; color: #b2c1d1; font-size: 8px; line-height: 1.5; }
.academy-preview-section { min-width: 0; padding: 31px; border: 1px solid var(--product-border); border-radius: var(--product-radius); background: rgba(9,23,38,.66); box-shadow: 0 19px 48px rgba(0,0,0,.13), inset 0 1px 0 rgba(255,255,255,.07); }
.academy-preview-section-heading { margin-bottom: 24px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr); align-items: end; gap: 28px; }
.academy-preview-section-heading h2 { max-width: 660px; margin: 8px 0 0; color: #f3f9ff; font-size: 34px; line-height: 1.12; }
.academy-preview-section-heading > p { max-width: 380px; margin: 0 0 3px auto; color: #aebfce; font-size: 10px; line-height: 1.65; }
.academy-preview-benefit-grid { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; list-style: none; }
.academy-preview-benefit-grid li { min-height: 150px; padding: 18px; display: grid; align-content: start; grid-template-columns: 34px minmax(0, 1fr); gap: 13px; border: 1px solid rgba(191,229,255,.13); border-radius: 8px; background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(122,189,255,.025)); transition: border-color 180ms ease, transform 180ms ease, background 180ms ease; }
.academy-preview-benefit-grid li:hover { border-color: rgba(125,218,255,.34); background: rgba(117,204,255,.07); transform: translateY(-2px); }
.academy-preview-benefit-grid > li > svg { width: 26px; height: 26px; margin-top: 1px; padding: 6px; border: 1px solid rgba(126,222,255,.22); border-radius: 8px; color: #9de5ff; background: rgba(126,222,255,.08); }
.academy-preview-benefit-grid h3 { margin: 2px 0 7px; color: #ecf8ff; font-size: 12px; line-height: 1.32; }
.academy-preview-benefit-grid p { margin: 0; color: #afc1d0; font-size: 9px; line-height: 1.55; }
.academy-preview-outcome-grid { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; list-style: none; }
.academy-preview-outcome-grid li { min-height: 86px; padding: 14px; display: grid; align-content: space-between; gap: 12px; border: 1px solid rgba(191,229,255,.14); border-radius: 8px; color: #e8f6ff; background: rgba(255,255,255,.025); font-size: 9px; font-weight: 750; line-height: 1.4; }
.academy-preview-outcome-grid svg { width: 18px; color: #9ee4ff; }
.academy-preview-readonly { min-height: 44px; padding: 10px 12px; display: flex; align-items: center; gap: 8px; border: 1px solid rgba(81,214,205,.2); border-radius: 7px; color: var(--muted-strong); background: rgba(81,214,205,.05); font-size: 8px; line-height: 1.45; }
.academy-preview-readonly svg { width: 13px; }
.academy-lesson-preview-banner { max-width: none; }
.academy-workshop-launch { background: linear-gradient(128deg, rgba(12,35,52,.92), rgba(18,24,58,.8)); }
.academy-workshop-launch .academy-preview-section-heading { margin-bottom: 20px; }
.academy-workspace-title-form { min-height: 60px; margin: 0 0 16px; padding: 10px 12px; display: grid; grid-template-columns: auto minmax(160px, 1fr) auto; align-items: center; gap: 10px; border: 1px solid rgba(161,225,255,.18); border-radius: 9px; background: rgba(2,12,25,.26); }
.academy-workspace-title-form label { color: #b7d9e9; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.academy-workspace-title-form input { min-width: 0; height: 36px; padding: 0 10px; border: 1px solid rgba(189,231,255,.2); border-radius: 6px; color: #f1fbff; background: rgba(255,255,255,.055); font: inherit; font-size: 10px; }
.academy-workshop-step-list { margin: 0; padding: 0; display: grid; gap: 8px; list-style: none; }
.academy-workshop-step { min-width: 0; padding: 14px; display: grid; grid-template-columns: 40px minmax(0, 1fr) minmax(130px, .56fr) auto; align-items: center; gap: 13px; border: 1px solid rgba(186,228,255,.14); border-radius: 9px; background: rgba(255,255,255,.025); }
.academy-workshop-step-saved { border-color: rgba(86,222,184,.3); background: rgba(70,196,166,.055); }
.academy-workshop-step-draft { border-color: rgba(143,204,255,.33); }
.academy-workshop-step-future { border-color: rgba(186,191,255,.14); background: rgba(167,141,255,.025); }
.academy-workshop-step-future .academy-workshop-step-number { color: #c8b8ff; border-color: rgba(187,162,255,.26); background: rgba(164,130,255,.08); }
.academy-workshop-step-future .academy-workshop-step-status { color: #cfc2ff; }
.academy-workshop-step-future .academy-workshop-step-status svg { color: #bda5ff; }
.academy-workshop-step-number { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(145,221,255,.3); border-radius: 8px; color: #a5e7ff; background: rgba(105,196,255,.08); font-family: var(--mono); font-size: 9px; font-weight: 800; }
.academy-workshop-step strong { color: #f0faff; font-size: 11px; line-height: 1.35; }
.academy-workshop-step p { margin: 4px 0 0; color: #aabfce; font-size: 8px; line-height: 1.5; }
.academy-workshop-step-status, .academy-workshop-locked { min-width: 0; display: inline-flex; align-items: center; gap: 6px; color: #b8cbda; font-size: 8px; line-height: 1.35; }
.academy-workshop-step-status svg { width: 14px; color: #98ddff; }
.academy-workshop-step-saved .academy-workshop-step-status svg { color: #71e0b9; }
.academy-workshop-locked { color: #91a5b5; }
.academy-workshop-locked svg { width: 13px; flex: 0 0 auto; }
.academy-workshop-open { min-height: 34px; padding: 0 10px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid rgba(148,220,255,.34); border-radius: 7px; color: #edfaff; background: rgba(104,196,255,.08); font-size: 8px; font-weight: 800; white-space: nowrap; }
.academy-workshop-open:hover { border-color: rgba(159,231,255,.65); background: rgba(105,207,255,.15); }
.academy-workshop-open svg { width: 13px; }
.academy-workshop-empty { min-height: 132px; padding: 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px dashed rgba(152,222,255,.28); border-radius: 9px; background: rgba(4,18,34,.34); }
.academy-workshop-empty > div { min-width: 0; display: flex; align-items: flex-start; gap: 13px; }
.academy-workshop-empty > div > svg { width: 24px; flex: 0 0 auto; color: #9ce4ff; }
.academy-workshop-empty p { margin: 0; display: grid; gap: 5px; }
.academy-workshop-empty strong { color: #effaff; font-size: 11px; }
.academy-workshop-empty span { color: #adbfcd; font-size: 9px; line-height: 1.55; }
.academy-workshop-page .page-heading { margin-bottom: 16px; }
.academy-workshop-banner { max-width: none; }
.academy-workbench { min-width: 0; display: grid; grid-template-columns: minmax(0, 1.36fr) minmax(340px, .94fr); gap: 14px; align-items: start; }
.academy-workbench-lesson, .academy-workbench-chat { min-width: 0; border: 1px solid rgba(181,229,255,.17); border-radius: 12px; background: linear-gradient(150deg, rgba(10,28,46,.87), rgba(7,19,34,.9)); box-shadow: 0 18px 40px rgba(0,0,0,.13), inset 0 1px rgba(255,255,255,.055); }
.academy-workbench-lesson { padding: 22px; display: grid; gap: 16px; }
.academy-workbench-step-meta { min-height: 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #93b6ca; font-size: 8px; text-transform: uppercase; letter-spacing: .06em; }
.academy-workbench-step-meta span:first-child { padding: 5px 7px; border: 1px solid rgba(139,222,255,.25); border-radius: 6px; color: #a7e7ff; background: rgba(126,222,255,.07); font-family: var(--mono); font-weight: 800; }
.academy-workbench-step-meta span:last-child { min-width: 0; overflow: hidden; color: #c8dce8; text-overflow: ellipsis; white-space: nowrap; }
.academy-workbench-title { margin: -2px 0 2px; color: #f3fbff; font-size: 25px; font-weight: 800; line-height: 1.12; letter-spacing: 0; }
.academy-workbench-section { min-width: 0; padding-bottom: 16px; border-bottom: 1px solid rgba(185,226,255,.1); }
.academy-workbench-section:last-of-type { border-bottom: 0; padding-bottom: 0; }
.academy-workbench-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.academy-workbench-section-head > span { color: #8fa5b6; font-size: 8px; white-space: nowrap; }
.academy-workbench-label { margin: 0; color: #9de4ff; font-size: 8px; font-weight: 850; line-height: 1.3; text-transform: uppercase; letter-spacing: .06em; }
.academy-workbench-goal { max-width: 720px; margin: 7px 0 0; color: #e4f2fa; font-size: 13px; font-weight: 650; line-height: 1.55; }
.academy-workbench-instructions { margin: 9px 0 0; padding: 0; display: grid; gap: 7px; list-style: none; }
.academy-workbench-instructions li { position: relative; padding-left: 16px; color: #b8cbd7; font-size: 9px; line-height: 1.55; }
.academy-workbench-instructions li::before { content: ""; position: absolute; top: .64em; left: 0; width: 6px; height: 6px; border-radius: 50%; background: #83ddff; box-shadow: 0 0 12px rgba(126,222,255,.4); }
.academy-workbench-prompt { max-height: 400px; margin: 10px 0 0; padding: 15px; overflow: auto; border: 1px solid rgba(164,224,255,.18); border-radius: 8px; color: #d9effa; background: rgba(1,10,20,.64); font-family: var(--mono); font-size: 8px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.academy-workbench-prompt:focus-visible { outline: 2px solid #9ce7ff; outline-offset: 2px; }
.academy-workbench-prompt-actions, .academy-artifact-actions { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 7px; }
.academy-workbench-prompt-actions form { display: contents; }
.academy-workbench-expected > p:last-child, .academy-reference-upload > p, .academy-artifact-editor > p { margin: 7px 0 0; color: #b2c6d3; font-size: 9px; line-height: 1.55; }
.academy-reference-upload form { margin-top: 11px; display: flex; align-items: end; flex-wrap: wrap; gap: 9px; }
.academy-reference-upload .file-input-label { min-width: min(100%, 265px); display: grid; gap: 5px; color: #c2d7e4; font-size: 8px; }
.academy-reference-upload input[type="file"] { max-width: 100%; color: #a9c2d1; font: inherit; font-size: 8px; }
.academy-reference-preview { margin: 12px 0 0; display: grid; grid-template-columns: 80px minmax(0, 1fr); align-items: center; gap: 10px; }
.academy-reference-preview img { width: 80px; height: 80px; object-fit: cover; border: 1px solid rgba(153,223,255,.28); border-radius: 7px; background: #07131f; }
.academy-reference-preview figcaption { color: #aebfcd; font-size: 8px; line-height: 1.5; }
.academy-artifact-editor form { margin-top: 12px; display: grid; gap: 7px; }
.academy-artifact-editor label { color: #c0d5e2; font-size: 8px; font-weight: 750; }
.academy-artifact-editor input, .academy-artifact-editor textarea, .academy-chat-composer textarea { width: 100%; min-width: 0; border: 1px solid rgba(186,228,255,.18); border-radius: 7px; color: #ecf9ff; background: rgba(1,11,21,.48); font: inherit; font-size: 9px; line-height: 1.55; }
.academy-artifact-editor input { height: 36px; padding: 0 10px; }
.academy-artifact-editor textarea { min-height: 230px; padding: 10px; resize: vertical; }
.academy-artifact-editor input:focus, .academy-artifact-editor textarea:focus, .academy-chat-composer textarea:focus { border-color: rgba(137,224,255,.68); outline: 2px solid rgba(117,215,255,.17); outline-offset: 1px; }
.academy-workbench-navigation { padding-top: 2px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.academy-workbench-navigation-hint { max-width: 65%; display: inline-flex; align-items: flex-start; gap: 7px; color: #9db1c0; font-size: 8px; line-height: 1.5; text-align: right; }
.academy-workbench-navigation-hint svg { width: 13px; flex: 0 0 auto; color: #a3dfff; }
.academy-workshop-page { --academy-chat-top: calc(var(--header-height) + 16px); --academy-mobile-nav-space: 0px; --academy-mobile-chat-offset: calc(var(--header-height) + 72px + var(--academy-mobile-nav-space) + 48px); }
.academy-workbench-chat { position: sticky; top: var(--academy-chat-top); height: min(740px, calc(100dvh - var(--academy-chat-top) - 16px)); min-height: 0; max-height: calc(100dvh - var(--academy-chat-top) - 16px); padding: 16px; display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto auto; gap: 12px; overflow: hidden; }
.academy-chat-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.academy-chat-head strong { display: block; margin-top: 4px; color: #effaff; font-size: 13px; }
.academy-chat-fake { min-height: 26px; padding: 0 8px; display: inline-flex; align-items: center; gap: 5px; border: 1px solid rgba(81,214,205,.3); border-radius: 6px; color: #baf6ed; background: rgba(81,214,205,.08); font-size: 8px; font-weight: 800; white-space: nowrap; }
.academy-chat-fake svg { width: 12px; }
.academy-chat-context { padding: 10px; border: 1px solid rgba(180,228,255,.12); border-radius: 8px; background: rgba(1,12,24,.35); }
.academy-chat-context ul { margin: 9px 0 0; padding: 0; display: grid; gap: 6px; list-style: none; }
.academy-chat-context li { min-width: 0; display: flex; align-items: flex-start; gap: 7px; color: #8fa5b5; font-size: 8px; line-height: 1.45; }
.academy-chat-context li svg { width: 13px; flex: 0 0 auto; color: #5c7180; }
.academy-chat-context li.is-ready svg { color: #75dfbc; }
.academy-chat-context li span { min-width: 0; display: flex; gap: 4px; flex-wrap: wrap; }
.academy-chat-context li strong { color: #cfdfeb; font-weight: 750; }
.academy-chat-history { min-height: 0; padding: 2px 2px 2px 0; display: grid; align-content: start; gap: 10px; overflow: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.academy-chat-message { max-width: 94%; padding: 10px 11px; border: 1px solid rgba(186,228,255,.13); border-radius: 9px; background: rgba(255,255,255,.025); }
.academy-chat-message-user { justify-self: end; border-color: rgba(119,208,255,.28); background: rgba(83,180,255,.1); }
.academy-chat-message > span { display: block; margin-bottom: 5px; color: #9bcfe5; font-size: 7px; font-weight: 850; text-transform: uppercase; letter-spacing: .06em; }
.academy-chat-message > div { color: #d6e5ee; font-size: 9px; line-height: 1.55; }
.academy-chat-message > div > :first-child { margin-top: 0; }
.academy-chat-message > div > :last-child { margin-bottom: 0; }
.academy-chat-message h2, .academy-chat-message h3 { color: #edf9ff; font-size: 11px; line-height: 1.35; }
.academy-chat-message pre { max-width: 100%; padding: 8px; overflow: auto; border-radius: 6px; background: rgba(1,9,18,.65); font-size: 8px; white-space: pre-wrap; overflow-wrap: anywhere; }
.academy-chat-empty { min-height: 160px; padding: 18px; display: grid; place-items: center; align-content: center; gap: 8px; border: 1px dashed rgba(172,223,255,.18); border-radius: 8px; color: #a7bccb; text-align: center; }
.academy-chat-empty svg { width: 24px; color: #9be4ff; }
.academy-chat-empty strong { color: #ddecf5; font-size: 10px; }
.academy-chat-empty p { margin: 0; max-width: 270px; font-size: 8px; line-height: 1.55; }
.academy-artifact-empty { min-height: 104px; margin-top: 12px; padding: 16px; display: flex; align-items: center; gap: 10px; border: 1px dashed rgba(172,223,255,.22); border-radius: 8px; color: #aebfcd; background: rgba(1,12,24,.26); font-size: 9px; line-height: 1.5; }
.academy-artifact-empty svg { width: 19px; flex: 0 0 auto; color: #9be4ff; }
.academy-artifact-empty p { margin: 0; }
.academy-chat-composer { display: grid; gap: 8px; }
.academy-chat-composer textarea { min-height: 76px; padding: 9px; resize: vertical; }
.academy-chat-composer > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.academy-chat-composer > div > span { color: #829bab; font-size: 7px; line-height: 1.35; }
.academy-chat-clear { display: flex; justify-content: flex-start; }
.academy-chat-clear .text-button { display: inline-flex; align-items: center; gap: 6px; color: #9db3c2; font-size: 8px; }
.academy-chat-clear svg { width: 12px; }
.academy-workbench-mobile-tabs { display: none; }
@media (max-width: 1080px) { .academy-workbench { grid-template-columns: minmax(0, 1.15fr) minmax(310px, .85fr); } .academy-workbench-lesson { padding: 18px; } .academy-workbench-chat { padding: 14px; } .academy-workshop-step { grid-template-columns: 38px minmax(0, 1fr) auto; } .academy-workshop-step-status { grid-column: 2; } }
@media (max-width: 820px) { .academy-workspace-title-form { grid-template-columns: 1fr auto; } .academy-workspace-title-form label { grid-column: 1 / -1; } .academy-workshop-step { grid-template-columns: 36px minmax(0, 1fr); } .academy-workshop-step-status, .academy-workshop-open, .academy-workshop-locked { grid-column: 2; } .academy-workshop-open { justify-self: start; } .academy-workshop-empty { align-items: flex-start; flex-direction: column; } .academy-workbench { display: block; } .academy-workbench-mobile-tabs { margin-bottom: 9px; padding: 4px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; border: 1px solid rgba(183,228,255,.16); border-radius: 8px; background: rgba(5,19,33,.7); } .academy-workbench-mobile-tabs button { min-height: 37px; border: 0; border-radius: 6px; color: #a9becd; background: transparent; font: inherit; font-size: 9px; font-weight: 800; } .academy-workbench-mobile-tabs button.is-active { color: #ecfaff; background: rgba(103,201,255,.14); } .academy-workbench-lesson, .academy-workbench-chat { display: none; } .academy-workbench-lesson.is-mobile-active, .academy-workbench-chat.is-mobile-active { display: grid; } .academy-workbench-lesson.is-mobile-active { display: grid; } .academy-workbench-chat { position: static; min-height: 620px; } .academy-workbench-navigation-hint { max-width: 62%; } }
@media (max-width: 520px) { .academy-workshop-launch { padding: 18px; } .academy-workspace-title-form { padding: 10px; } .academy-workshop-step { padding: 12px; gap: 10px; } .academy-workshop-step-status { font-size: 7px; } .academy-workshop-empty { padding: 15px; } .academy-workbench-lesson, .academy-workbench-chat { border-radius: 10px; } .academy-workbench-lesson { padding: 15px; gap: 13px; } .academy-workbench-title { font-size: 21px; } .academy-workbench-section { padding-bottom: 13px; } .academy-workbench-goal { font-size: 12px; } .academy-workbench-prompt { max-height: 340px; padding: 12px; font-size: 7px; } .academy-workbench-prompt-actions, .academy-artifact-actions { display: grid; grid-template-columns: 1fr 1fr; } .academy-workbench-prompt-actions .primary-button, .academy-artifact-actions .primary-button { grid-column: 1 / -1; } .academy-workbench-prompt-actions button, .academy-artifact-actions button { justify-content: center; } .academy-artifact-editor textarea { min-height: 200px; } .academy-workbench-navigation { align-items: flex-start; } .academy-workbench-navigation-hint { max-width: 65%; } .academy-workbench-chat { min-height: 590px; padding: 13px; } .academy-chat-composer > div { align-items: flex-end; } .academy-chat-composer > div > span { max-width: 130px; } }
@media (max-width: 820px) { .academy-offer, .gpt-studio-layout { grid-template-columns: 1fr; } .academy-roadmap { grid-template-columns: repeat(2, minmax(0, 1fr)); } .academy-milestones { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1120px) { .academy-preview-hero { padding: 40px; gap: 28px; grid-template-columns: minmax(0, 1fr) minmax(290px, .72fr); } .academy-preview-hero h1 { font-size: 52px; } }
@media (max-width: 820px) { .academy-preview-page .page-content { gap: 14px; } .academy-preview-hero { min-height: 0; padding: 32px; grid-template-columns: 1fr; } .academy-preview-art-grid { mask-image: none; opacity: .25; } .academy-preview-art-frame-one { top: auto; right: -64px; bottom: 180px; } .academy-preview-art-frame-two { display: none; } .academy-preview-art-timeline { right: 6%; bottom: 36px; width: 65%; } .academy-preview-hero-copy { max-width: 650px; } .academy-preview-hero h1 { font-size: 48px; } .academy-preview-pricing { min-height: 0; max-width: 620px; } .academy-preview-section-heading { grid-template-columns: 1fr; gap: 10px; } .academy-preview-section-heading > p { max-width: 600px; margin-left: 0; } .academy-preview-benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .academy-preview-outcome-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .academy-offer, .academy-progress, .academy-lesson, .gpt-composer, .gpt-run-history { padding: 18px; } .academy-progress { display: grid; } .academy-roadmap, .academy-milestones, .gpt-mode-grid { grid-template-columns: 1fr; } .academy-module { padding: 16px; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; } .academy-module-number { width: 31px; height: 31px; } .academy-lesson-page .page-heading { padding: 20px 18px; } .academy-lesson-content { font-size: 14px; line-height: 1.72; } .academy-lesson-content h2 { margin-top: 30px; font-size: 23px; } .academy-lesson-content h3 { font-size: 18px; } .academy-preview-banner { align-items: flex-start; padding: 10px 12px; } .academy-preview-banner div { display: grid; gap: 3px; } .academy-preview-hero { padding: 24px 18px 20px; border-radius: 14px; } .academy-preview-hero h1 { margin: 15px 0; font-size: 39px; line-height: 1.06; } .academy-preview-lede { font-size: 15px; } .academy-preview-supporting { font-size: 10px; } .academy-preview-hero-note { margin-top: 18px; } .academy-preview-pricing { padding: 22px 18px; border-radius: 12px; } .academy-preview-price { font-size: 47px; } .academy-preview-pricing-facts > div { grid-template-columns: 92px minmax(0, 1fr); } .academy-preview-cta { min-height: 48px; } .academy-preview-section { padding: 22px 18px; border-radius: 14px; } .academy-preview-section-heading { margin-bottom: 18px; } .academy-preview-section-heading h2 { font-size: 27px; } .academy-preview-benefit-grid { grid-template-columns: 1fr; } .academy-preview-benefit-grid li { min-height: 112px; } .academy-preview-outcome-grid { grid-template-columns: 1fr 1fr; } .academy-preview-outcome-grid li { min-height: 94px; } }
@media (max-width: 360px) { .academy-preview-hero h1 { font-size: 34px; } .academy-preview-price { font-size: 43px; } .academy-preview-pricing-facts > div { grid-template-columns: 1fr; gap: 3px; } }

/* Academy workshop: bounded desktop chat and mobile messenger view. */
@media (max-width: 820px) {
  .academy-workshop-page .academy-workbench { scroll-margin-top: calc(var(--header-height) + 10px); }
  .academy-workshop-page .academy-workbench-chat.is-mobile-active {
    position: static;
    height: calc(100dvh - var(--academy-mobile-chat-offset));
    min-height: 0;
    max-height: calc(100dvh - var(--academy-mobile-chat-offset));
    grid-template-rows: auto auto minmax(0, 1fr) auto auto;
    overflow: hidden;
  }
  .academy-workshop-page .academy-workbench-lesson.is-mobile-active {
    padding-bottom: calc(22px + var(--academy-mobile-nav-space));
  }
}
@media (max-width: 768px) {
  .academy-workshop-page { --academy-mobile-nav-space: calc(72px + env(safe-area-inset-bottom)); }
  .academy-workshop-page .app-main { padding-bottom: calc(24px + var(--academy-mobile-nav-space)); }
}
@media (max-width: 520px) {
  .academy-workshop-page .academy-workbench-prompt { max-width: 100%; overflow: auto; }
  .academy-workshop-page .academy-workbench-prompt-actions .primary-button,
  .academy-workshop-page .academy-artifact-actions .primary-button { width: 100%; }
  .academy-workshop-page .academy-artifact-empty { min-height: 92px; padding: 14px; }
  .academy-workshop-page .academy-workbench-chat.is-mobile-active { padding: 13px; }
}

/* Admin operations */
.admin-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); align-items: start; gap: 18px; }
.admin-sidebar { position: sticky; top: calc(var(--header-height) + 20px); padding: 7px; display: grid; gap: 3px; }
.admin-sidebar a { min-height: 42px; padding: 0 11px; display: flex; align-items: center; gap: 9px; border-radius: 6px; color: var(--muted-strong); font-size: 11px; font-weight: 700; }
.admin-sidebar a:hover { color: #fff; background: var(--surface-hover); }
.admin-sidebar a.is-active { color: #fff; background: rgba(79, 140, 255, .11); box-shadow: inset 2px 0 0 var(--cyan); }
.admin-sidebar svg { width: 15px; color: var(--muted); }
.admin-sidebar a.is-active svg { color: var(--cyan); }
.admin-sidebar .admin-nav-badge { min-width: 18px; height: 18px; margin-left: auto; padding-inline: 5px; display: grid; place-items: center; border-radius: 9px; color: #0b1822; background: #f2bd68; font-size: 8px; font-weight: 900; }
.admin-workspace { min-width: 0; display: grid; gap: 14px; }
.admin-filters { padding: 14px; display: grid; grid-template-columns: minmax(240px, 1fr) 190px 190px auto; align-items: end; gap: 10px; }
.admin-filters-compact { grid-template-columns: minmax(260px, 1fr) 240px auto; }
.admin-filters .field { gap: 5px; }
.admin-filters .field input, .admin-filters .field select, .admin-action-panel .field input, .admin-action-panel .field select, .admin-action-panel .field textarea { width: 100%; height: 40px; padding: 0 11px; border: 1px solid var(--line); border-radius: 6px; color: var(--text); background: rgba(4, 6, 11, .5); outline: 0; }
.admin-action-panel .field textarea { min-height: 92px; padding-block: 10px; resize: vertical; line-height: 1.45; }
.admin-filters .field select, .admin-action-panel .field select { appearance: auto; }
.admin-filters .field input:focus, .admin-filters .field select:focus, .admin-action-panel .field input:focus, .admin-action-panel .field select:focus, .admin-action-panel .field textarea:focus { border-color: rgba(81, 214, 205, .52); box-shadow: 0 0 0 3px rgba(81, 214, 205, .07); }
.admin-table-panel { min-width: 0; overflow: hidden; }
.admin-table-wrap { min-width: 0; overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 10px; }
.admin-table th { height: 42px; padding: 0 13px; color: var(--muted); background: rgba(255, 255, 255, .018); font-size: 8px; text-align: left; text-transform: uppercase; white-space: nowrap; }
.admin-table td { min-width: 92px; padding: 12px 13px; border-top: 1px solid var(--line); color: var(--text-soft); vertical-align: middle; }
.admin-table tr:hover td { background: rgba(255, 255, 255, .018); }
.admin-table td:first-child { min-width: 140px; }
.admin-table td strong, .admin-table td small { display: block; }
.admin-table td strong { color: var(--text); font-size: 10px; }
.admin-table td small { max-width: 260px; margin-top: 3px; overflow: hidden; color: var(--muted); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.admin-table td > a:not(.icon-button) { color: var(--cyan); }
.admin-empty { min-height: 260px; gap: 7px; font-size: 11px; }
.admin-empty svg { width: 28px; height: 28px; }
.admin-pagination { min-height: 42px; display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--muted); font-size: 9px; }
.admin-pagination .is-disabled { pointer-events: none; opacity: .3; }
.admin-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.admin-stat-grid > div { min-height: 100px; padding: 15px; display: grid; align-content: center; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .025); }
.admin-stat-grid span { color: var(--muted); font-size: 8px; text-transform: uppercase; }
.admin-stat-grid strong { margin-top: 7px; overflow: hidden; color: var(--text); font-size: 18px; text-overflow: ellipsis; white-space: nowrap; }
.admin-stat-grid small { margin-top: 3px; overflow: hidden; color: var(--muted); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.admin-action-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.admin-action-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.admin-action-panel { padding: 18px; display: grid; align-content: start; gap: 11px; }
.admin-action-panel .panel-heading { min-height: 46px; }
.admin-action-panel .panel-heading > svg { color: var(--cyan); }
.admin-action-panel .field { gap: 5px; font-size: 9px; }
.admin-action-panel button { margin-top: 3px; }
.admin-action-panel button:disabled { cursor: not-allowed; opacity: .36; }
.admin-check { display: flex; align-items: flex-start; gap: 8px; color: var(--muted-strong); font-size: 9px; cursor: pointer; }.admin-check input { width: 15px; height: 15px; flex: 0 0 auto; accent-color: var(--red); }
.admin-split, .admin-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.admin-list-panel { min-width: 0; padding: 18px; }
.receipt-summary-grid { margin-bottom: 12px; }
.receipt-status { width: fit-content; min-height: 24px; display: inline-flex; align-items: center; gap: 5px; padding: 0 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted-strong); background: rgba(255,255,255,.035); font-size: 8px; font-weight: 800; white-space: nowrap; }
.receipt-status svg { width: 13px; }
.receipt-status-pending { color: #f2bd68; border-color: rgba(242,189,104,.28); background: rgba(242,189,104,.08); }
.receipt-status-issued { color: #75dcaf; border-color: rgba(117,220,175,.25); background: rgba(117,220,175,.07); }
.receipt-status-action_required { color: #f5a4a8; border-color: rgba(232,121,130,.3); background: rgba(232,121,130,.08); }
.receipt-status-cancelled { color: var(--muted); }
.receipt-table td:nth-child(5) small { display: block; margin-top: 5px; color: var(--muted); }
.npd-receipt-card { display: grid; gap: 14px; margin-bottom: 14px; }
.npd-receipt-card .panel-heading { margin-bottom: 0; }
.receipt-kv { grid-template-columns: repeat(2, minmax(0,1fr)); }
.receipt-action-form { margin: 0; }
.admin-empty-copy { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.payment-receipt-state { margin-top: 14px; padding: 11px 13px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; border: 1px solid rgba(142,219,255,.18); border-radius: 10px; color: var(--text-soft); background: rgba(142,219,255,.055); font-size: 10px; }
.payment-receipt-state svg { width: 15px; color: var(--product-cyan); }
.payment-receipt-state a { color: var(--product-cyan); font-weight: 800; text-decoration: underline; }
.admin-compact-list { margin: 10px -7px -7px; display: grid; }
.admin-compact-list > a, .admin-compact-list > div { min-height: 52px; padding: 8px 7px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); }
.admin-compact-list > a:hover { background: rgba(255, 255, 255, .025); }
.admin-compact-list span:first-child { min-width: 0; display: grid; }
.admin-compact-list strong { overflow: hidden; color: var(--text-soft); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.admin-compact-list small { margin-top: 3px; overflow: hidden; color: var(--muted); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.admin-kv { margin: 8px 0 0; display: grid; }
.admin-kv > div { min-height: 42px; padding: 8px 0; display: grid; grid-template-columns: minmax(100px, .65fr) minmax(0, 1.35fr); gap: 14px; border-top: 1px solid var(--line); }
.admin-kv dt { color: var(--muted); font-size: 8px; }
.admin-kv dd { margin: 0; overflow-wrap: anywhere; color: var(--text-soft); font-size: 9px; text-align: right; }
.admin-timeline { margin: 10px 0 0; padding: 0; list-style: none; }
.admin-timeline li { min-height: 50px; display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 9px; }
.admin-timeline li > span { position: relative; width: 8px; height: 8px; margin-top: 5px; border: 2px solid var(--cyan); border-radius: 50%; }
.admin-timeline li > span::after { content: ""; position: absolute; top: 8px; left: 2px; width: 1px; height: 38px; background: var(--line-strong); }
.admin-timeline li:last-child > span::after { display: none; }
.admin-timeline li div { min-width: 0; display: grid; align-content: start; }
.admin-timeline strong { color: var(--text-soft); font-size: 9px; }
.admin-timeline small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.admin-panel-pad { padding: 16px 16px 5px; }
.admin-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-positive { color: var(--green) !important; font-weight: 800; }
.admin-negative { color: var(--red) !important; font-weight: 800; }
.admin-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 8px; }
.admin-json summary { color: var(--cyan); cursor: pointer; }
.admin-json pre { max-width: 320px; max-height: 180px; padding: 8px; overflow: auto; border: 1px solid var(--line); border-radius: 5px; color: var(--muted-strong); background: #080a10; font-size: 8px; white-space: pre-wrap; }
.admin-table details > summary, .admin-list-panel details > summary { list-style: none; cursor: pointer; }.admin-table details > summary::-webkit-details-marker, .admin-list-panel details > summary::-webkit-details-marker { display: none; }
.admin-inline-form { width: min(320px, 72vw); margin-top: 9px; padding: 10px; display: grid; gap: 8px; border: 1px solid var(--line); border-radius: 6px; background: #0b0e16; }
.admin-inline-form label { display: grid; gap: 4px; color: var(--muted); font-size: 8px; }.admin-inline-form input:not([type="checkbox"]), .admin-inline-form select { width: 100%; height: 36px; padding: 0 9px; border: 1px solid var(--line); border-radius: 5px; color: var(--text); background: #080a10; outline: 0; }.admin-inline-form input:focus, .admin-inline-form select:focus { border-color: rgba(81,214,205,.52); box-shadow: 0 0 0 3px rgba(81,214,205,.07); }
.admin-inline-form .admin-checkbox { grid-template-columns: 16px minmax(0,1fr); align-items: start; }.admin-inline-form .admin-checkbox input { width: 15px; height: 15px; accent-color: var(--cyan); }
.admin-mini-list { margin-top: 12px; display: grid; gap: 7px; }.admin-mini-list > span { padding-top: 8px; display: grid; gap: 3px; border-top: 1px solid var(--line); color: var(--text-soft); font-size: 9px; }.admin-mini-list small { color: var(--muted); font-size: 8px; }

@media (max-width: 1200px) {
  .admin-action-grid-three { grid-template-columns: 1fr; }
  .admin-filters { grid-template-columns: minmax(220px, 1fr) 160px 160px auto; }
}

@media (max-width: 1024px) {
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; display: flex; overflow-x: auto; }
  .admin-sidebar a { flex: 0 0 auto; }
  .admin-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-filters button { align-self: end; }
}

@media (max-width: 768px) {
  .admin-layout { gap: 12px; }
  .admin-sidebar { width: 100%; max-width: 100%; padding-inline: 12px; }
  .admin-action-grid, .admin-split, .admin-detail-grid { grid-template-columns: 1fr; }
  .admin-table { min-width: 820px; }
  .admin-stat-grid > div { min-height: 88px; }
  .receipt-kv { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .admin-filters, .admin-filters-compact, .admin-stat-grid { grid-template-columns: 1fr; }
  .admin-stat-grid > div { min-height: 78px; }
  .admin-action-panel, .admin-list-panel { padding: 14px; }
  .admin-pagination span { max-width: 180px; text-align: center; }
}

/* Account security */
.dashboard-alert { margin-bottom: 12px; }
.security-form { margin-top: 16px; display: grid; gap: 10px; }
.security-form .field { gap: 5px; }
.security-form .field input { width: 100%; height: 40px; padding: 0 11px; border: 1px solid var(--line); border-radius: 6px; color: var(--text); background: rgba(4, 6, 11, .5); outline: 0; }
.security-form .field input:focus { border-color: rgba(81, 214, 205, .52); box-shadow: 0 0 0 3px rgba(81, 214, 205, .07); }
.security-form button { width: max-content; }
.sessions-panel { min-width: 0; padding: 20px; grid-column: span 2; }
.session-count { min-width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 6px; color: var(--cyan); font-size: 9px; font-weight: 800; }
.session-list { margin-top: 10px; }
.session-row { min-width: 0; min-height: 64px; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto 34px; align-items: center; gap: 10px; border-top: 1px solid var(--line); }
.session-row:first-child { border-top: 0; }
.session-icon { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(79, 140, 255, .16); border-radius: 6px; color: var(--blue); background: rgba(79, 140, 255, .055); }
.session-icon svg { width: 16px; }
.session-copy { min-width: 0; display: grid; }
.session-copy strong { overflow: hidden; color: var(--text-soft); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.session-copy small { margin-top: 3px; overflow: hidden; color: var(--muted); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.subtle-icon { color: var(--muted); background: transparent; }
.sessions-footer { padding-top: 12px; border-top: 1px solid var(--line); }
.data-panel { padding: 20px; }
.data-panel .panel-heading > svg { width: 19px; color: var(--cyan); }
.data-panel-copy { margin: 12px 0 0; color: var(--muted); font-size: 9px; line-height: 1.6; }
.data-panel-copy a { color: var(--cyan); }
.compact-security-form { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.danger-zone { margin-top: 14px; }
.danger-zone summary { display: flex; align-items: center; gap: 7px; color: #f7b7bd; font-size: 9px; font-weight: 800; cursor: pointer; list-style: none; }
.danger-zone summary::-webkit-details-marker { display: none; }
.danger-zone summary svg { width: 15px; color: var(--red); }
.danger-zone > p { margin: 10px 0 0; color: var(--muted); font-size: 8px; line-height: 1.6; }
.auth-status-visual { width: 74px; height: 74px; margin: 10px auto 24px; display: grid; place-items: center; border: 1px solid rgba(81, 214, 205, .22); border-radius: 50%; color: var(--cyan); background: rgba(81, 214, 205, .06); }
.auth-status-visual svg { width: 30px; height: 30px; }

@media (max-width: 1024px) {
  .sessions-panel, .data-panel { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .session-row { grid-template-columns: 34px minmax(0, 1fr) 34px; }
  .session-row .status-badge { display: none; }
  .sessions-footer .secondary-button { width: 100%; }
}

.captcha-challenge {
  min-height: 70px;
  display: flex;
  align-items: center;
  overflow-x: auto;
  padding: 8px 0;
}

.payment-result { max-width: 720px; min-height: 330px; margin: 0 auto; padding: 34px; display: grid; grid-template-columns: 58px minmax(0, 1fr); align-content: center; gap: 22px; }
.payment-result-icon { width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--blue); background: rgba(79, 140, 255, .08); }
.payment-result-icon svg { width: 25px; height: 25px; }
.payment-result-icon.state-success { color: var(--success); background: rgba(71, 196, 143, .08); }
.payment-result-icon.state-error { color: var(--danger); background: rgba(240, 99, 105, .08); }
.payment-result-icon.state-warning { color: var(--warning); background: rgba(236, 179, 80, .08); }
.payment-result-copy h2 { margin: 5px 0 7px; font-size: 22px; }
.payment-result-copy p { margin: 0; color: var(--muted-strong); font-size: 11px; line-height: 1.65; }
.payment-result-meta { margin: 4px 0 0; grid-column: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.payment-result-meta div { min-width: 0; padding: 13px; display: grid; gap: 4px; border-right: 1px solid var(--line); }
.payment-result-meta div:last-child { border-right: 0; }
.payment-result-meta dt { color: var(--muted); font-size: 8px; }
.payment-result-meta dd { margin: 0; overflow: hidden; color: var(--text-soft); font-size: 10px; font-weight: 750; text-overflow: ellipsis; }
.payment-result .result-actions { grid-column: 2; }
.admin-json { max-height: 320px; margin: 14px 0 0; padding: 14px; overflow: auto; border: 1px solid var(--line); border-radius: 6px; color: var(--muted-strong); background: rgba(0, 0, 0, .2); font-size: 9px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }

@media (max-width: 640px) {
  .payment-result { padding: 24px; grid-template-columns: 1fr; text-align: center; }
  .payment-result-icon { margin: 0 auto; }
  .payment-result-meta, .payment-result .result-actions { grid-column: 1; }
  .payment-result-meta { grid-template-columns: 1fr; text-align: left; }
  .payment-result-meta div { border-right: 0; border-bottom: 1px solid var(--line); }
  .payment-result-meta div:last-child { border-bottom: 0; }
  .payment-result .result-actions { justify-content: center; }
}

/* Notifications */
.notification-button { position: relative; width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 40px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--muted-strong); background: rgba(255,255,255,.03); cursor: pointer; }
.notification-button:hover, .notification-button[aria-expanded="true"] { color: #fff; border-color: var(--line-strong); background: var(--surface-hover); }
.notification-button svg { width: 17px; height: 17px; }
.notification-dot { position: absolute; top: 8px; right: 8px; width: 7px; height: 7px; border: 2px solid #0d1018; border-radius: 50%; background: var(--red); box-sizing: content-box; }
.notification-popover { position: absolute; z-index: 80; top: 49px; right: 48px; width: min(370px, calc(100vw - 24px)); overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--radius); background: rgba(14,17,27,.985); box-shadow: var(--shadow); animation: menu-in 180ms ease both; }
.notification-popover-head { min-height: 48px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.notification-popover-head strong { font-size: 11px; }
.notification-popover-head button { padding: 7px; border: 0; color: var(--cyan); background: transparent; font-size: 8px; cursor: pointer; }
.notification-popover-list { max-height: 360px; overflow-y: auto; }
.notification-loading { min-height: 96px; display: grid; place-items: center; color: var(--muted); font-size: 9px; }
.notification-popover-item { position: relative; width: 100%; min-height: 78px; padding: 12px 14px 12px 39px; display: grid; gap: 4px; border: 0; border-bottom: 1px solid var(--line); color: var(--text); background: transparent; text-align: left; cursor: pointer; }
.notification-popover-item::before { content: ""; position: absolute; left: 16px; top: 18px; width: 8px; height: 8px; border: 1px solid var(--blue); border-radius: 50%; background: rgba(79,140,255,.12); }
.notification-popover-item.is-unread { background: rgba(79,140,255,.055); }
.notification-popover-item.is-unread::before { background: var(--blue); box-shadow: 0 0 12px rgba(79,140,255,.45); }
.notification-popover-item strong { font-size: 10px; line-height: 1.35; }
.notification-popover-item span { color: var(--muted-strong); font-size: 8px; line-height: 1.45; }
.notification-popover-item time { color: var(--muted); font-size: 7px; }
.notification-popover-footer { min-height: 42px; padding: 0 14px; display: flex; align-items: center; justify-content: center; gap: 7px; color: var(--text-soft); font-size: 9px; }
.notification-popover-footer svg { width: 13px; }
.notification-popover-empty { min-height: 120px; padding: 18px; display: grid; place-items: center; align-content: center; gap: 6px; color: var(--muted); text-align: center; font-size: 9px; }
.notification-popover-empty svg { width: 22px; color: var(--muted); }

.notifications-page { overflow: hidden; }
.notification-page-row { position: relative; min-height: 100px; padding: 18px 20px; display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 14px; border-bottom: 1px solid var(--line); }
.notification-page-row:last-child { border-bottom: 0; }
.notification-page-row.is-unread { background: rgba(79,140,255,.045); }
.notification-page-row.is-unread::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: var(--blue); }
.notification-page-icon { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 7px; color: var(--blue); background: rgba(79,140,255,.06); }
.notification-page-icon svg { width: 17px; }
.notification-page-row.severity-success .notification-page-icon { color: var(--green); background: rgba(104,211,155,.06); }
.notification-page-row.severity-warning .notification-page-icon { color: var(--warning); background: rgba(236,179,80,.06); }
.notification-page-row.severity-error .notification-page-icon { color: var(--red); background: rgba(240,99,105,.06); }
.notification-page-row.severity-security .notification-page-icon { color: var(--cyan); background: rgba(81,214,205,.06); }
.notification-page-row > div { min-width: 0; display: grid; gap: 4px; }
.notification-page-row strong { font-size: 11px; }
.notification-page-row p { margin: 0; color: var(--muted-strong); font-size: 9px; line-height: 1.5; }
.notification-page-row time { color: var(--muted); font-size: 8px; }
.notification-empty { min-height: 320px; }

.notification-settings-panel { min-width: 0; padding: 20px; overflow-x: hidden; grid-column: 1 / -1; }
.notification-settings-panel .panel-heading > svg { width: 19px; color: var(--cyan); }
.notification-channel-status { margin-top: 14px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.notification-channel-status > div { min-width: 0; min-height: 74px; padding: 12px; display: grid; grid-template-columns: 26px minmax(0,1fr) auto; align-items: center; gap: 9px; border-right: 1px solid var(--line); }
.notification-channel-status > div:last-child { border-right: 0; }
.notification-channel-status > div > svg { width: 17px; color: var(--blue); }
.notification-channel-status span { min-width: 0; display: grid; gap: 3px; }
.notification-channel-status strong { font-size: 9px; }
.notification-channel-status small { overflow: hidden; color: var(--muted); font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.channel-state { color: var(--muted); font-size: 7px; font-weight: 750; }
.channel-state.is-active { color: var(--green); }
.notification-preferences-form { min-width: 0; max-width: 100%; margin-top: 16px; }
.notification-preferences-head, .notification-preference-row { display: grid; grid-template-columns: minmax(260px,1fr) repeat(4,82px); align-items: center; }
.notification-preferences-head { min-height: 34px; color: var(--muted); font-size: 7px; text-transform: uppercase; }
.notification-preferences-head span:not(:first-child) { text-align: center; }
.notification-preference-row { min-height: 58px; border-top: 1px solid var(--line); }
.notification-preference-row > span:first-child { min-width: 0; display: grid; gap: 3px; }
.notification-preference-row strong { font-size: 9px; }
.notification-preference-row small { color: var(--muted); font-size: 7px; line-height: 1.35; }
.notification-preference-row > span:not(:first-child), .notification-preference-row > label { display: grid; place-items: center; }
.notification-preference-row > span svg { width: 15px; color: var(--green); }
.notification-preference-row label { cursor: pointer; }
.notification-preference-row input { position: absolute; opacity: 0; pointer-events: none; }
.notification-preference-row label > span { position: relative; width: 30px; height: 17px; border: 1px solid var(--line-strong); border-radius: 9px; background: rgba(255,255,255,.04); transition: 160ms ease; }
.notification-preference-row label > span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 11px; height: 11px; border-radius: 50%; background: var(--muted); transition: 160ms ease; }
.notification-preference-row input:checked + span { border-color: rgba(81,214,205,.4); background: rgba(81,214,205,.13); }
.notification-preference-row input:checked + span::after { left: 15px; background: var(--cyan); }
.notification-preference-row input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.notification-preference-row input:disabled + span { opacity: .55; cursor: not-allowed; }
.notification-preferences-footer { padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); }
.notification-preferences-footer p { max-width: 610px; margin: 0; color: var(--muted); font-size: 8px; line-height: 1.5; }
.telegram-link-panel { max-width: 760px; min-height: 260px; margin: 0 auto; padding: 32px; display: grid; grid-template-columns: 58px minmax(0,1fr) auto; align-items: center; gap: 18px; }
.telegram-link-icon { width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid rgba(81,214,205,.22); border-radius: 8px; color: var(--cyan); background: rgba(81,214,205,.06); }
.telegram-link-icon svg { width: 24px; }
.telegram-link-panel h2 { margin: 0 0 7px; font-size: 18px; }
.telegram-link-panel p { margin: 0; color: var(--muted-strong); font-size: 10px; line-height: 1.55; }
.telegram-link-panel > .secondary-button { grid-column: 2; justify-self: start; }
.unsubscribe-shell .auth-card { text-align: center; }
.unsubscribe-shell .auth-card p { color: var(--muted-strong); line-height: 1.6; }
.unsubscribe-shell .auth-card .primary-button { width: 100%; margin-top: 14px; }

@media (max-width: 840px) {
  .notification-channel-status { grid-template-columns: 1fr; }
  .notification-channel-status > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .notification-channel-status > div:last-child { border-bottom: 0; }
  .notification-preferences-head, .notification-preference-row { grid-template-columns: minmax(180px,1fr) repeat(4,60px); }
}

@media (max-width: 640px) {
  .notification-button { width: 36px; height: 36px; flex-basis: 36px; }
  .notification-popover { position: fixed; top: 62px; right: 10px; left: 10px; width: auto; }
  .notification-page-row { grid-template-columns: 34px minmax(0,1fr); padding: 15px; }
  .notification-page-row > .secondary-button { grid-column: 2; width: max-content; }
  .notification-page-icon { width: 34px; height: 34px; }
  .notification-preferences-form { overflow-x: visible; }
  .notification-preferences-head, .notification-preference-row { min-width: 0; grid-template-columns: minmax(112px,1fr) 36px 44px 53px 53px; }
  .notification-preferences-footer { min-width: 0; align-items: flex-start; flex-direction: column; }
  .notification-channel-status > div { grid-template-columns: 24px minmax(0,1fr) auto; }
  .telegram-link-panel { padding: 22px; grid-template-columns: 48px minmax(0,1fr); }
  .telegram-link-icon { width: 48px; height: 48px; }
  .telegram-link-panel > .primary-button, .telegram-link-panel > .secondary-button { grid-column: 1 / -1; width: 100%; justify-self: stretch; }
}

@media (max-width: 900px) {
  .legal-layout { width: min(860px, calc(100% - 32px)); grid-template-columns: 1fr; gap: 26px; }
  .legal-nav { position: static; display: flex; overflow-x: auto; }
  .legal-nav > span { display: none; }
  .legal-nav a { flex: 0 0 auto; border-left: 0; border-bottom: 2px solid transparent; }
  .legal-nav a:hover, .legal-nav a.is-active { border-left-color: transparent; border-bottom-color: var(--cyan); }
}

@media (max-width: 640px) {
  .legal-header { min-height: 62px; padding: 0 16px; }
  .legal-header nav a:nth-child(2) { display: none; }
  .legal-header nav { gap: 12px; }
  .legal-layout { width: calc(100% - 28px); padding: 30px 0 72px; }
  .page-heading h1, .legal-draft-notice strong, .legal-draft-notice p { overflow-wrap: anywhere; }
  .legal-title-block h1 { font-size: 29px; }
  .legal-title-block dl, .legal-requisites { grid-template-columns: 1fr; }
  .legal-index-list article { flex-direction: column; gap: 16px; }
  .legal-index-actions { align-items: flex-start; }
  .cookie-banner { right: 14px; bottom: 14px; width: calc(100% - 28px); grid-template-columns: 1fr 1fr; }
  .cookie-banner > div { grid-column: 1 / -1; }
  .cookie-banner form button { width: 100%; }
  .legal-reaccept-banner, .legal-reaccept-banner form { align-items: stretch; flex-direction: column; }
}

/* Support and service status */
.support-layout { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(340px,.65fr); align-items: start; gap: 24px; }
.support-faq, .support-recent { min-width: 0; }
.support-heading { margin-bottom: 14px; }
.support-category-nav { display: flex; gap: 6px; overflow-x: auto; padding: 2px 0 14px; scrollbar-width: thin; }
.support-category-nav a { min-height: 36px; padding: 0 10px; display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 6px; color: var(--muted-strong); background: rgba(255,255,255,.025); font-size: 8px; font-weight: 750; }
.support-category-nav a:hover, .support-category-nav a:focus-visible { color: #fff; border-color: var(--line-strong); background: var(--surface-hover); }
.support-category-nav svg { width: 14px; color: var(--cyan); }
.support-faq-sections { display: grid; gap: 20px; }
.support-faq-section { scroll-margin-top: 90px; }
.support-faq-section > header { min-height: 38px; display: flex; align-items: center; gap: 9px; border-bottom: 1px solid var(--line); }
.support-faq-section > header svg { width: 16px; color: var(--blue); }
.support-faq-section h3 { margin: 0; font-size: 12px; }
.support-faq-section details { border-bottom: 1px solid var(--line); }
.support-faq-section summary { min-height: 49px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--text-soft); font-size: 10px; font-weight: 700; cursor: pointer; list-style: none; }
.support-faq-section summary::-webkit-details-marker { display: none; }
.support-faq-section summary svg { width: 15px; flex: 0 0 auto; color: var(--muted); transition: transform 160ms ease; }
.support-faq-section details[open] summary svg { transform: rotate(45deg); }
.support-faq-section details p { margin: 0; padding: 0 34px 15px 0; color: var(--muted-strong); font-size: 9px; line-height: 1.65; }
.support-compose { position: sticky; top: 84px; min-width: 0; padding: 20px; }
.support-compose .panel-heading > svg, .support-reply .panel-heading > svg { width: 18px; color: var(--cyan); }
.support-form-note { margin: 10px 0 16px; color: var(--muted); font-size: 8px; line-height: 1.55; }
.support-form { display: grid; gap: 12px; }
.support-reference-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.support-reference-grid select { min-width: 0; }
.support-attachment-consent { min-height: 58px; padding: 10px 12px; display: grid; grid-template-columns: 17px minmax(0,1fr); align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 6px; background: rgba(255,255,255,.025); cursor: pointer; }
.support-attachment-consent input { width: 15px; height: 15px; accent-color: var(--cyan); }
.support-attachment-consent span { min-width: 0; display: grid; gap: 3px; }
.support-attachment-consent b { font-size: 9px; }
.support-attachment-consent small { color: var(--muted); font-size: 7px; line-height: 1.4; }
.support-attachment-field input { padding: 8px; }
.support-honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; }
.support-login-state { min-height: 350px; display: grid; place-items: center; align-content: center; gap: 10px; text-align: center; }
.support-login-state > span { width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--cyan); background: rgba(81,214,205,.055); }
.support-login-state > span svg { width: 23px; }
.support-login-state h2 { margin: 4px 0 0; font-size: 17px; }
.support-login-state p { max-width: 330px; margin: 0 0 7px; color: var(--muted-strong); font-size: 9px; line-height: 1.6; }
.support-recent { margin-top: 30px; }
.support-history { margin-top: 0; }
.support-ticket-list { border-top: 1px solid var(--line); }
.support-ticket-list > a { min-height: 76px; padding: 12px 4px; display: grid; grid-template-columns: 36px minmax(0,1fr) auto 18px; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); color: var(--text); }
.support-ticket-list > a:hover { background: rgba(255,255,255,.025); }
.support-ticket-icon { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 7px; color: var(--blue); background: rgba(79,140,255,.06); }
.support-ticket-icon svg, .support-ticket-list > a > svg { width: 15px; }
.support-ticket-list > a > svg { color: var(--muted); }
.support-ticket-copy { min-width: 0; display: grid; gap: 3px; }
.support-ticket-copy small, .support-ticket-copy em { overflow: hidden; color: var(--muted); font-size: 7px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.support-ticket-copy strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.support-empty { min-height: 190px; }
.support-status-new { color: #a9c7ff; border-color: rgba(79,140,255,.28); background: rgba(79,140,255,.1); }
.support-status-in_progress { color: var(--cyan); border-color: rgba(81,214,205,.28); background: rgba(81,214,205,.09); }
.support-status-waiting_user { color: #f3cd82; border-color: rgba(236,179,80,.28); background: rgba(236,179,80,.09); }
.support-status-resolved { color: #9ce6bd; border-color: rgba(104,211,155,.26); background: rgba(104,211,155,.09); }
.support-status-closed { color: var(--muted-strong); border-color: var(--line); background: rgba(255,255,255,.025); }

.support-thread-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; align-items: start; gap: 20px; }
.support-thread { min-width: 0; display: grid; gap: 12px; }
.support-message { width: min(82%,700px); padding: 16px; border: 1px solid var(--line); border-radius: 7px; background: rgba(255,255,255,.025); }
.support-message.is-support { justify-self: start; border-color: rgba(81,214,205,.2); background: rgba(81,214,205,.04); }
.support-message.is-user { justify-self: end; border-color: rgba(79,140,255,.2); background: rgba(79,140,255,.04); }
.support-message header { display: flex; align-items: center; gap: 9px; }
.support-message header > span { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 6px; color: var(--cyan); }
.support-message header svg { width: 14px; }
.support-message header div { display: grid; gap: 2px; }
.support-message header strong { font-size: 9px; }
.support-message header small { color: var(--muted); font-size: 7px; }
.support-message > p { margin: 13px 0 0; color: var(--text-soft); font-size: 10px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.support-attachment-preview { position: relative; margin-top: 13px; display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: #07080d; }
.support-attachment-preview img { width: 100%; max-height: 360px; display: block; object-fit: contain; }
.support-attachment-preview span { position: absolute; right: 8px; bottom: 8px; min-height: 28px; padding: 0 8px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-strong); border-radius: 5px; color: #fff; background: rgba(7,8,13,.88); font-size: 8px; }
.support-attachment-preview svg { width: 13px; }
.support-reply { margin-top: 8px; padding: 18px; display: grid; gap: 12px; }
.support-reply .compact-button { justify-self: end; }
.support-thread-meta { position: sticky; top: 84px; padding: 18px; }
.support-meta-list { margin: 14px 0 0; display: grid; }
.support-meta-list > div { min-width: 0; padding: 10px 0; display: grid; gap: 4px; border-top: 1px solid var(--line); }
.support-meta-list dt { color: var(--muted); font-size: 7px; }
.support-meta-list dd { min-width: 0; margin: 0; color: var(--text-soft); font-size: 9px; font-weight: 650; overflow-wrap: anywhere; }
.support-meta-list a, .support-linked { display: inline-flex; align-items: center; gap: 5px; color: var(--cyan); }
.support-meta-list svg { width: 12px; }
.support-privacy-note { margin: 14px 0 0; padding-top: 13px; display: flex; align-items: flex-start; gap: 8px; border-top: 1px solid var(--line); color: var(--muted); font-size: 8px; line-height: 1.5; }
.support-privacy-note svg { width: 15px; flex: 0 0 auto; color: var(--green); }
.support-closed { min-height: 170px; }

.status-overview { min-height: 132px; padding: 24px; display: grid; grid-template-columns: 54px minmax(0,1fr); align-items: center; gap: 18px; border: 1px solid rgba(104,211,155,.22); border-radius: var(--radius); background: rgba(104,211,155,.045); }
.status-overview.status-overall-degraded, .status-overview.status-overall-outage { border-color: rgba(236,179,80,.24); background: rgba(236,179,80,.045); }
.status-overview-mark { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid rgba(104,211,155,.26); border-radius: 8px; color: var(--green); background: rgba(104,211,155,.08); }
.status-overall-degraded .status-overview-mark, .status-overall-outage .status-overview-mark { color: var(--warning); border-color: rgba(236,179,80,.3); background: rgba(236,179,80,.08); }
.status-overview-mark svg { width: 23px; }
.status-overview h2 { margin: 4px 0 5px; font-size: 19px; }
.status-overview p:last-child { margin: 0; color: var(--muted-strong); font-size: 9px; }
.status-components { margin-top: 16px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); }
.status-component { min-height: 72px; padding: 12px 16px; display: grid; grid-template-columns: 36px minmax(0,1fr) auto; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.status-component:last-child { border-bottom: 0; }
.status-component > span { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 7px; color: var(--blue); background: rgba(79,140,255,.055); }
.status-component > span svg { width: 16px; }
.status-component > div { min-width: 0; display: grid; gap: 3px; }
.status-component strong { font-size: 10px; }
.status-component small { color: var(--muted); font-size: 8px; line-height: 1.4; }
.status-component em { min-width: 112px; display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; color: var(--green); font-size: 8px; font-style: normal; font-weight: 750; }
.status-component em svg { width: 14px; }
.status-component-degraded em, .status-component-maintenance em { color: var(--warning); }
.status-component-outage em { color: var(--red); }
.status-notice-layout { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.status-notice-list { display: grid; border-top: 1px solid var(--line); }
.status-notice-list article { padding: 16px 0; border-bottom: 1px solid var(--line); }
.status-notice-list h3 { margin: 10px 0 5px; font-size: 11px; }
.status-notice-list p { margin: 0; color: var(--muted-strong); font-size: 9px; line-height: 1.55; white-space: pre-wrap; }
.status-notice-list small { margin-top: 8px; display: block; color: var(--muted); font-size: 7px; }
.status-notice-degraded { color: var(--warning); border-color: rgba(236,179,80,.24); background: rgba(236,179,80,.08); }
.status-notice-outage { color: #ffb3b9; border-color: rgba(240,99,105,.25); background: rgba(240,99,105,.08); }
.status-notice-maintenance { color: #a9c7ff; border-color: rgba(79,140,255,.26); background: rgba(79,140,255,.08); }

.admin-support-status-grid { margin-top: 16px; display: grid; grid-template-columns: minmax(0,1.25fr) minmax(320px,.75fr); align-items: start; gap: 14px; }
.admin-support-notices { margin-top: 12px; display: grid; }
.admin-support-notices > article { padding: 14px 0; border-top: 1px solid var(--line); }
.admin-support-notices article > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.admin-support-notices article > header small { color: var(--muted); font-size: 7px; }
.admin-support-notices article > strong { margin-top: 9px; display: block; font-size: 10px; }
.admin-support-notices article > p { margin: 5px 0 0; color: var(--muted-strong); font-size: 8px; line-height: 1.5; white-space: pre-wrap; }
.admin-support-notices article > form { margin-top: 12px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 8px; }
.admin-support-notices article > form .field:first-child { grid-column: 1 / -1; }
.admin-support-notices article > form button { align-self: end; }
.admin-support-detail-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(250px,.65fr); align-items: start; gap: 14px; }
.admin-support-thread { margin-top: 12px; display: grid; gap: 9px; }
.admin-support-thread article { padding: 12px; border: 1px solid var(--line); border-radius: 6px; background: rgba(255,255,255,.02); }
.admin-support-thread article.is-admin { border-left: 2px solid var(--cyan); }
.admin-support-thread article.is-user { border-left: 2px solid var(--blue); }
.admin-support-thread header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.admin-support-thread header strong { font-size: 9px; }
.admin-support-thread header small { color: var(--muted); font-size: 7px; }
.admin-support-thread p { margin: 8px 0 0; color: var(--text-soft); font-size: 9px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.admin-support-thread a { margin-top: 9px; display: inline-flex; align-items: center; gap: 6px; color: var(--cyan); font-size: 8px; }
.admin-support-thread a svg { width: 13px; }
.admin-support-context { min-width: 0; }
.support-admin-actions { grid-template-columns: repeat(3,minmax(0,1fr)); }
.support-reply-templates { display: flex; flex-wrap: wrap; gap: 6px; }
.support-reply-templates button { min-height: 32px; }
.admin-inline-note { margin: 0; padding: 9px; display: flex; align-items: flex-start; gap: 7px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); background: rgba(255,255,255,.02); font-size: 7px; line-height: 1.45; }
.admin-inline-note svg { width: 13px; flex: 0 0 auto; color: var(--blue); }

@media (max-width: 1120px) {
  .support-layout { grid-template-columns: minmax(0,1fr) 360px; gap: 18px; }
  .support-admin-actions { grid-template-columns: 1fr 1fr; }
  .support-admin-actions > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .support-layout, .support-thread-layout, .status-notice-layout, .admin-support-status-grid, .admin-support-detail-grid { grid-template-columns: 1fr; }
  .support-compose, .support-thread-meta { position: static; }
  .support-compose { order: -1; }
  .support-thread-meta { order: -1; }
  .support-message { width: min(90%,700px); }
}

@media (max-width: 700px) {
  .landing-operational-banner { top: 64px; }
  .support-reference-grid, .support-admin-actions { grid-template-columns: 1fr; }
  .support-admin-actions > :first-child { grid-column: auto; }
  .status-component { grid-template-columns: 34px minmax(0,1fr); }
  .status-component em { grid-column: 2; min-width: 0; justify-content: flex-start; }
  .admin-support-notices article > form { grid-template-columns: 1fr; }
  .admin-support-notices article > form .field:first-child { grid-column: auto; }
}

@media (max-width: 480px) {
  .support-compose { padding: 16px; }
  .support-ticket-list > a { grid-template-columns: 34px minmax(0,1fr) 16px; gap: 9px; }
  .support-ticket-list .status-badge { grid-column: 2; width: max-content; }
  .support-ticket-list > a > svg { grid-column: 3; grid-row: 1 / 3; }
  .support-message { width: 100%; }
  .support-message > p { font-size: 9px; }
  .status-overview { padding: 18px; grid-template-columns: 42px minmax(0,1fr); }
  .status-overview-mark { width: 42px; height: 42px; }
  .status-overview h2 { font-size: 16px; }
  .support-category-nav a { min-height: 34px; }
}

.dashboard-referral-strip { grid-column: 1 / -1; min-height: 74px; padding: 14px 17px; display: grid; grid-template-columns: 40px minmax(0,1fr) 20px; align-items: center; gap: 13px; color: inherit; }
.dashboard-referral-strip > span { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(104,211,155,.24); border-radius: 7px; color: var(--green); background: rgba(104,211,155,.07); }
.dashboard-referral-strip > span svg { width: 18px; }
.dashboard-referral-strip > div { min-width: 0; display: grid; gap: 4px; }
.dashboard-referral-strip strong { font-size: 10px; }
.dashboard-referral-strip small { color: var(--muted); font-size: 8px; line-height: 1.45; }
.dashboard-referral-strip > svg { width: 16px; color: var(--muted); }
.dashboard-referral-strip:hover, .dashboard-referral-strip:focus-visible { border-color: var(--line-strong); background: var(--surface-hover); }

.referral-layout { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(280px,.65fr); align-items: start; gap: 14px; }
.referral-disabled { margin-bottom: 14px; }
.referral-hero { min-height: 360px; padding: 28px; }
.referral-hero h2 { max-width: 560px; margin: 18px 0 8px; font-size: 24px; }
.referral-hero > p { max-width: 650px; margin: 0; color: var(--muted-strong); font-size: 9px; line-height: 1.6; }
.referral-link-box { margin-top: 24px; min-height: 52px; padding: 7px 8px 7px 15px; display: grid; grid-template-columns: minmax(0,1fr) 38px; align-items: center; gap: 8px; border: 1px solid rgba(103,167,255,.26); border-radius: 7px; background: rgba(79,140,255,.06); }
.referral-link-box code { min-width: 0; overflow: hidden; color: #d9e8ff; font-family: var(--mono); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.referral-reward-grid { margin-top: 20px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.referral-reward-grid > div { min-height: 86px; padding: 13px; display: grid; align-content: center; gap: 3px; border: 1px solid var(--line); border-radius: 7px; background: rgba(255,255,255,.025); }
.referral-reward-grid small, .referral-reward-grid span { color: var(--muted); font-size: 7px; }
.referral-reward-grid strong { color: var(--green); font-size: 20px; }
.referral-stats { padding: 22px; }
.referral-stat-list { margin-top: 16px; display: grid; }
.referral-stat-list > div { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); }
.referral-stat-list span { color: var(--muted-strong); font-size: 8px; }
.referral-stat-list strong { font-size: 16px; }
.referral-rules, .referral-history { padding: 22px; }
.referral-rules ol { margin: 18px 0 0; padding: 0; display: grid; list-style: none; }
.referral-rules li { padding: 14px 0; display: grid; grid-template-columns: 30px minmax(0,1fr); gap: 12px; border-top: 1px solid var(--line); }
.referral-rules li > span { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 6px; color: var(--blue); font-size: 8px; font-weight: 800; }
.referral-rules li div { display: grid; gap: 4px; }
.referral-rules li strong { font-size: 9px; }
.referral-rules li p { margin: 0; color: var(--muted); font-size: 8px; line-height: 1.5; }
.referral-policy-note { margin: 8px 0 0; padding: 12px; display: flex; align-items: flex-start; gap: 8px; border: 1px solid rgba(104,211,155,.18); border-radius: 6px; color: var(--muted-strong); background: rgba(104,211,155,.04); font-size: 8px; line-height: 1.55; }
.referral-policy-note svg { width: 14px; flex: 0 0 auto; color: var(--green); }
.referral-history { grid-column: 1 / -1; }
.referral-history-list { margin-top: 14px; display: grid; }
.referral-history-row { min-height: 66px; padding: 10px 0; display: grid; grid-template-columns: 36px minmax(0,1fr) auto; align-items: center; gap: 11px; border-top: 1px solid var(--line); }
.referral-history-icon { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 7px; color: var(--blue); background: rgba(79,140,255,.05); }
.referral-history-icon svg { width: 15px; }
.referral-history-row > span:nth-child(2) { min-width: 0; display: grid; gap: 4px; }
.referral-history-row strong { font-size: 9px; }
.referral-history-row small { color: var(--muted); font-size: 7px; }

@media (max-width: 820px) {
  .referral-layout { grid-template-columns: 1fr; }
  .referral-history { grid-column: auto; }
}

@media (max-width: 520px) {
  .referral-hero, .referral-rules, .referral-history, .referral-stats { padding: 17px; }
  .referral-hero h2 { font-size: 19px; }
  .referral-reward-grid { grid-template-columns: 1fr 1fr; }
  .referral-reward-grid > div:last-child { grid-column: 1 / -1; }
  .referral-history-row { grid-template-columns: 34px minmax(0,1fr); }
  .referral-history-row .status-badge { grid-column: 2; width: max-content; }
}

/* Performance and accessibility hardening */
.project-video-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: #8797af; background-color: #0a0e16; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 28px 28px; }
.project-video-placeholder svg { width: 34px; height: 34px; }
.project-mini-preview img { width: 100%; height: 100%; object-fit: cover; }
.menu-action:hover, .menu-action:focus-visible { color: #fff; background: rgba(255,255,255,.055); }
.notification-popover-item:focus-visible, .notification-popover-head button:focus-visible { color: #fff; background: var(--surface-hover); }
video[data-deferred-video] { background: #080a10; }
.pagination { min-height: 48px; padding: 10px 14px; display: flex; align-items: center; justify-content: center; gap: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; }
.pagination a { min-height: 34px; padding: 0 10px; display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--line); border-radius: 6px; color: var(--text-soft); }
.pagination a:hover, .pagination a:focus-visible { color: #fff; border-color: var(--line-strong); background: var(--surface-hover); }
.pagination svg { width: 13px; }

@media (pointer: coarse) {
  .icon-button, .notification-button, .profile-button, .project-menu > summary, .hero-scene-meta button { min-width: 44px; min-height: 44px; }
  .account-menu a, .account-menu button, .menu-action { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  video[data-deferred-video] { object-position: center; }
}

/* Owner-controlled public video sharing */
.share-owner-panel { margin-top: 16px; padding-top: 14px; display: grid; gap: 10px; border-top: 1px solid var(--line); }
.share-owner-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.share-owner-heading > span { display: inline-flex; align-items: center; gap: 7px; color: var(--text-soft); font-size: 9px; }
.share-owner-heading svg { width: 15px; color: var(--cyan); }
.share-owner-heading small { padding: 4px 7px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); font-size: 7px; }
.share-owner-heading small.is-active { border-color: rgba(104,211,155,.24); color: var(--green); background: rgba(104,211,155,.06); }
.share-link-field { min-width: 0; display: grid; grid-template-columns: minmax(0,1fr) 34px; gap: 6px; }
.share-link-field input { min-width: 0; height: 34px; padding: 0 9px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted-strong); background: rgba(0,0,0,.16); font-family: var(--mono); font-size: 7px; outline: 0; }
.share-link-field input:focus { border-color: rgba(81,214,205,.5); box-shadow: 0 0 0 3px rgba(81,214,205,.07); }
.share-link-field .icon-button { width: 34px; height: 34px; }
.share-owner-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; color: var(--muted); font-size: 7px; }
.share-owner-meta span { display: inline-flex; align-items: center; gap: 5px; }
.share-owner-meta svg { width: 12px; }
.share-owner-panel details { position: relative; }
.share-owner-panel summary { display: inline-flex; align-items: center; gap: 7px; color: var(--muted-strong); font-size: 8px; font-weight: 700; cursor: pointer; list-style: none; }
.share-owner-panel summary::-webkit-details-marker { display: none; }
.share-owner-panel summary svg { width: 14px; }
.share-owner-panel details > form { margin-top: 10px; padding: 11px; display: grid; gap: 9px; border: 1px solid var(--line); border-radius: 7px; background: rgba(4,6,11,.48); }
.share-owner-panel details label:not(.share-checkbox) { display: grid; gap: 5px; color: var(--muted); font-size: 8px; }
.share-owner-panel select { width: 100%; min-height: 36px; padding: 0 10px; border: 1px solid var(--line); border-radius: 6px; color: var(--text); background: #0a0d14; }
.share-checkbox { min-height: 30px; display: flex; align-items: center; gap: 8px; color: var(--muted-strong); font-size: 8px; cursor: pointer; }
.share-checkbox input { width: 16px; height: 16px; accent-color: var(--cyan); }
.share-owner-panel details p { margin: 0; color: var(--muted); font-size: 7px; line-height: 1.5; }
.share-revoke-button { width: max-content; padding: 0; display: inline-flex; align-items: center; gap: 6px; border: 0; color: #e993a5; background: transparent; font-size: 8px; cursor: pointer; }
.share-revoke-button svg { width: 13px; }
.share-revoke-button:hover, .share-revoke-button:focus-visible { color: #ffc0cd; }

.share-public-body { min-height: 100vh; margin: 0; color: var(--text); background: #07080d; }
.share-public-header { width: min(1180px, calc(100% - 40px)); min-height: 72px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.share-public-main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 28px 0 42px; }
.share-public-viewer { display: grid; grid-template-columns: minmax(320px,.9fr) minmax(340px,1.1fr); align-items: center; gap: clamp(28px,6vw,78px); }
.share-public-video { min-height: 620px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 8px; background: #020308; box-shadow: 0 24px 70px rgba(0,0,0,.34); }
.share-public-video video { width: 100%; max-height: 76vh; object-fit: contain; background: #000; }
.share-public-video.ratio-9-16 video { width: auto; max-width: 100%; height: min(76vh,760px); }
.share-public-copy { min-width: 0; }
.share-public-copy .mini-label { display: inline-flex; align-items: center; gap: 7px; color: var(--cyan); }
.share-public-copy .mini-label svg { width: 13px; }
.share-public-copy h1 { max-width: 680px; margin: 15px 0 18px; overflow-wrap: anywhere; font-size: 36px; line-height: 1.06; letter-spacing: 0; }
.share-public-facts { display: flex; flex-wrap: wrap; gap: 8px; }
.share-public-facts span { min-height: 34px; padding: 0 10px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted-strong); background: rgba(255,255,255,.02); font-size: 8px; }
.share-public-facts svg { width: 13px; color: var(--blue); }
.share-public-prompt { margin-top: 24px; }
.share-public-prompt > span { color: var(--muted); font-size: 8px; }
.share-public-prompt p { max-height: 230px; margin: 8px 0 0; padding: 14px; overflow: auto; border-left: 2px solid var(--violet); color: var(--text-soft); background: rgba(255,255,255,.018); font-size: 10px; line-height: 1.65; overflow-wrap: anywhere; white-space: pre-wrap; }
.share-public-note { max-width: 600px; margin: 24px 0 0; padding-top: 15px; display: flex; align-items: flex-start; gap: 8px; border-top: 1px solid var(--line); color: var(--muted); font-size: 8px; line-height: 1.55; }
.share-public-note svg { width: 15px; flex: 0 0 auto; color: var(--green); }
.share-public-footer { margin-top: 28px; padding: 16px 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 8px; }
.share-public-footer > span strong { color: var(--text-soft); }
.share-public-footer details { width: min(340px,100%); }
.share-public-footer summary { display: flex; align-items: center; justify-content: flex-end; gap: 6px; color: var(--muted); cursor: pointer; list-style: none; }
.share-public-footer summary::-webkit-details-marker { display: none; }
.share-public-footer summary svg { width: 13px; }
.share-public-footer form { margin-top: 10px; padding: 13px; display: grid; gap: 10px; border: 1px solid var(--line); border-radius: 7px; background: #0a0c12; }
.share-public-footer label { display: grid; gap: 5px; }
.share-public-footer select, .share-public-footer textarea { width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: 6px; color: var(--text); background: #07090e; outline: 0; }
.share-public-footer textarea { min-height: 82px; resize: vertical; }
.share-public-footer select:focus, .share-public-footer textarea:focus { border-color: rgba(81,214,205,.52); box-shadow: 0 0 0 3px rgba(81,214,205,.07); }
.share-report-success { margin-top: 12px; padding: 12px 14px; display: flex; align-items: center; gap: 8px; border: 1px solid rgba(104,211,155,.24); border-radius: 7px; color: #c8f5db; background: rgba(104,211,155,.05); font-size: 8px; }
.share-report-success svg { width: 15px; color: var(--green); }

@media (max-width: 860px) {
  .share-public-viewer { grid-template-columns: 1fr; align-items: start; }
  .share-public-video { min-height: 520px; }
  .share-public-video.ratio-9-16 video { height: min(68vh,680px); }
  .share-public-copy h1 { font-size: 29px; }
}

@media (max-width: 520px) {
  .share-public-header, .share-public-main { width: min(100% - 24px,1180px); }
  .share-public-header { min-height: 62px; }
  .share-public-header .secondary-button { width: 42px; padding: 0; font-size: 0; }
  .share-public-header .secondary-button svg { margin: 0; }
  .share-public-main { padding-top: 12px; }
  .share-public-viewer { gap: 20px; }
  .share-public-video { min-height: 420px; }
  .share-public-video.ratio-9-16 video { width: 100%; height: auto; max-height: 70vh; }
  .share-public-copy h1 { margin-top: 12px; font-size: 23px; }
  .share-public-footer { flex-direction: column; }
  .share-public-footer summary { justify-content: flex-start; min-height: 42px; }
}

/* Installable web app shell */
.pwa-install-header { white-space: nowrap; }
.pwa-install-header svg { width: 15px; }
.pwa-status { position: fixed; right: max(14px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 120; max-width: min(420px, calc(100% - 28px)); min-height: 46px; padding: 10px 12px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line-strong); border-radius: var(--radius); color: var(--text-soft); background: rgba(13,16,25,.98); box-shadow: var(--shadow); font-size: 11px; }
.pwa-status[data-kind="offline"] { border-color: rgba(242,189,104,.32); color: #f8d9a3; }
.pwa-status[data-kind="online"] { border-color: rgba(104,211,155,.28); color: #b9ebd0; }
.pwa-status[data-kind="update"] { border-color: rgba(81,214,205,.3); }
.pwa-status span { min-width: 0; flex: 1; }
.pwa-status button { min-height: 34px; padding: 0 10px; border: 1px solid rgba(81,214,205,.28); border-radius: 6px; color: var(--cyan); background: rgba(81,214,205,.06); font-size: 10px; font-weight: 800; cursor: pointer; }
.pwa-status button:hover, .pwa-status button:focus-visible { color: #fff; border-color: rgba(81,214,205,.52); }

.offline-body { min-height: 100svh; display: grid; place-items: center; padding: max(24px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left)); background: #07080d; }
.offline-shell { width: min(420px,100%); display: grid; justify-items: start; }
.offline-shell img { width: 72px; height: 72px; margin-bottom: 26px; border-radius: 18px; }
.offline-shell h1 { margin: 9px 0 10px; font-size: clamp(30px,8vw,44px); line-height: 1.05; letter-spacing: 0; }
.offline-shell p:not(.eyebrow) { max-width: 370px; margin: 0 0 24px; color: var(--muted-strong); font-size: 13px; line-height: 1.65; }

@supports (padding: max(0px)) {
  .app-header { height: calc(var(--header-height) + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top); }
  .landing-header { height: calc(72px + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top); }
}

@media (max-width: 768px) {
  body.app-body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .mobile-nav { left: max(10px, env(safe-area-inset-left)); right: max(10px, env(safe-area-inset-right)); bottom: max(9px, env(safe-area-inset-bottom)); }
  .mobile-nav a { min-height: 48px; }
  .pwa-status { right: max(10px, env(safe-area-inset-right)); bottom: calc(78px + env(safe-area-inset-bottom)); max-width: calc(100% - max(20px, env(safe-area-inset-left) + env(safe-area-inset-right))); }
  .landing-body .pwa-status, .auth-body .pwa-status, .share-public-body .pwa-status { bottom: max(12px, env(safe-area-inset-bottom)); }
}

@media (max-width: 430px) {
  .pwa-install-header { width: 40px; padding: 0; }
  .pwa-install-header span { display: none; }
  .pwa-status { align-items: flex-start; flex-direction: column; gap: 8px; }
  .pwa-status button { width: 100%; }
}

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

@media (max-width: 768px) {
  .subscription-current { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .subscription-grid { grid-template-columns: 1fr; }
  .subscription-card { min-height: 0; }
}

/* Premium landing hero */
.landing-body {
  background:
    radial-gradient(900px 620px at 80% 12%, rgba(238, 247, 255, .11), transparent 66%),
    radial-gradient(820px 540px at 16% 22%, rgba(78, 207, 255, .13), transparent 68%),
    linear-gradient(135deg, #09131e 0%, #0e1724 48%, #070a12 100%);
}

.landing-header {
  height: 76px;
  border-bottom: 0;
  background: rgba(9, 19, 30, .22);
  backdrop-filter: blur(28px) saturate(170%);
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.landing-header.is-scrolled {
  border-bottom: 1px solid rgba(238, 247, 255, .1);
  background: rgba(9, 19, 30, .72);
  box-shadow: 0 18px 55px rgba(0, 0, 0, .22);
}

.landing-nav {
  height: 56px;
  margin-top: 10px;
  padding: 0 10px 0 12px;
  border: 1px solid rgba(238, 247, 255, .12);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(238, 247, 255, .09), rgba(238, 247, 255, .035));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .13), 0 18px 60px rgba(0, 0, 0, .18);
  backdrop-filter: blur(30px) saturate(185%);
}

.landing-nav .brand-mark-shell {
  width: 42px;
  height: 42px;
  flex-basis: 42px;
  border-radius: 16px;
  border-color: rgba(238, 247, 255, .22);
  background: linear-gradient(145deg, rgba(238, 247, 255, .16), rgba(88, 210, 255, .08));
}

.landing-nav > nav {
  min-height: 40px;
  padding: 0 8px;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(238, 247, 255, .08);
  border-radius: 18px;
  background: rgba(3, 12, 20, .2);
}

.landing-nav > nav a {
  min-height: 30px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  border-radius: 13px;
  transition: color var(--transition), background var(--transition), transform var(--transition);
}

.landing-nav > nav a:hover {
  background: rgba(238, 247, 255, .08);
  transform: translateY(-1px);
}

.hero-section {
  isolation: isolate;
  min-height: 100svh;
  padding-top: 76px;
  overflow: hidden;
  background:
    radial-gradient(760px 540px at 72% 31%, rgba(238, 247, 255, .18), transparent 69%),
    radial-gradient(880px 620px at 18% 8%, rgba(94, 217, 255, .18), transparent 70%),
    linear-gradient(135deg, #09131e 0%, #0e1724 42%, #06101a 100%);
}

.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-section::before {
  z-index: -3;
  opacity: .95;
  background:
    radial-gradient(520px 380px at 84% 48%, rgba(142, 219, 255, .34), transparent 72%),
    radial-gradient(940px 540px at 48% 110%, rgba(238, 247, 255, .1), transparent 70%),
    linear-gradient(115deg, rgba(255, 255, 255, .05), transparent 38%);
  filter: blur(14px);
}

.hero-section::after {
  z-index: -1;
  opacity: .32;
  background:
    radial-gradient(circle at 12% 22%, rgba(238, 247, 255, .34) 0 1px, transparent 2px),
    radial-gradient(circle at 64% 18%, rgba(142, 219, 255, .32) 0 1px, transparent 2px),
    radial-gradient(circle at 86% 72%, rgba(238, 247, 255, .24) 0 1px, transparent 2px),
    linear-gradient(120deg, transparent 0 42%, rgba(142, 219, 255, .08) 43%, transparent 45% 100%);
  background-size: 180px 180px, 240px 240px, 210px 210px, 100% 100%;
  mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 82%, transparent);
}

.hero-backdrop {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 10, 17, .92) 0%, rgba(5, 10, 17, .46) 48%, rgba(5, 10, 17, .1) 100%),
    radial-gradient(680px 360px at 74% 45%, rgba(142, 219, 255, .2), transparent 75%),
    linear-gradient(to top, rgba(3, 8, 13, .72), transparent 58%);
  backdrop-filter: blur(1px);
}

.hero-backdrop::after {
  opacity: .28;
  background-image:
    linear-gradient(rgba(238, 247, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 247, 255, .035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 70% 42%, #000 0%, transparent 66%);
}

.hero-grid {
  min-height: calc(100svh - 116px);
  grid-template-columns: minmax(0, .94fr) minmax(420px, .86fr);
  gap: 74px;
}

.hero-copy {
  max-width: 720px;
  padding: 72px 0 66px;
}

.hero-kicker {
  min-height: 38px;
  padding: 0 14px;
  border-color: rgba(142, 219, 255, .24);
  border-radius: 999px;
  color: #d9f5ff;
  background: linear-gradient(135deg, rgba(238, 247, 255, .12), rgba(142, 219, 255, .06));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 12px 32px rgba(49, 187, 233, .08);
  backdrop-filter: blur(18px);
  font-size: 11px;
}

.hero-copy h1 {
  margin: 24px 0 0;
  color: transparent;
  background: linear-gradient(102deg, #ffffff 0%, #f6fbff 45%, #8edbff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 82px;
  font-weight: 900;
  line-height: 1.09;
  text-shadow: 0 24px 70px rgba(142, 219, 255, .12);
}

.hero-copy h1 span,
.hero-copy h1 .hero-line {
  display: block;
  color: transparent;
  background: inherit;
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-copy > p {
  max-width: 670px;
  margin-top: 28px;
  color: rgba(255, 255, 255, .72);
  font-size: 22px;
  line-height: 1.48;
}

.hero-actions {
  margin-top: 38px;
  gap: 14px;
}

.landing-body .hero-button {
  min-height: 68px;
  padding-inline: 32px;
  border-radius: 22px;
  font-size: 16px;
  font-weight: 850;
}

.landing-body .hero-actions .primary-button {
  border-color: rgba(238, 247, 255, .56);
  color: #06131d;
  background: linear-gradient(135deg, #eef7ff 0%, #8edbff 45%, #42b9ff 100%);
  box-shadow: 0 22px 60px rgba(65, 188, 255, .35), inset 0 1px 0 rgba(255, 255, 255, .82);
}

.landing-body .hero-actions .secondary-button {
  border-color: rgba(238, 247, 255, .18);
  color: rgba(255, 255, 255, .86);
  background: linear-gradient(135deg, rgba(238, 247, 255, .1), rgba(238, 247, 255, .035));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 18px 46px rgba(0, 0, 0, .16);
  backdrop-filter: blur(20px);
}

.landing-body .hero-actions .primary-button:hover,
.landing-body .hero-actions .secondary-button:hover {
  transform: translateY(-6px) scale(1.025);
}

.landing-body .hero-actions .primary-button:hover {
  box-shadow: 0 30px 74px rgba(65, 188, 255, .5), inset 0 1px 0 rgba(255, 255, 255, .95);
}

.landing-body .hero-actions .secondary-button:hover {
  border-color: rgba(142, 219, 255, .42);
  background: linear-gradient(135deg, rgba(238, 247, 255, .16), rgba(142, 219, 255, .08));
  box-shadow: 0 24px 64px rgba(82, 202, 255, .14), inset 0 1px 0 rgba(255, 255, 255, .22);
}

.hero-proof {
  margin-top: 36px;
  gap: 10px;
}

.hero-proof span {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(238, 247, 255, .11);
  border-radius: 999px;
  color: rgba(255, 255, 255, .64);
  background: rgba(238, 247, 255, .045);
  backdrop-filter: blur(18px);
  font-size: 10px;
}

.hero-proof svg {
  color: #8edbff;
}

.hero-product {
  position: relative;
  min-height: 660px;
  display: grid;
  place-items: center;
}

.hero-product::before {
  content: "";
  position: absolute;
  inset: 5% -9% 8%;
  z-index: -1;
  border-radius: 42px;
  background:
    radial-gradient(closest-side at 50% 38%, rgba(238, 247, 255, .24), transparent 75%),
    radial-gradient(closest-side at 54% 58%, rgba(70, 198, 255, .3), transparent 78%);
  filter: blur(48px);
}

.hero-product-frame {
  position: relative;
  width: min(100%, 456px);
  aspect-ratio: 9 / 16;
  padding: 10px;
  border: 1px solid rgba(238, 247, 255, .2);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(238, 247, 255, .16), rgba(238, 247, 255, .045));
  box-shadow:
    0 42px 110px rgba(0, 0, 0, .48),
    0 0 80px rgba(79, 202, 255, .22),
    inset 0 1px 0 rgba(255, 255, 255, .28);
  backdrop-filter: blur(28px) saturate(165%);
  animation: hero-float-luxury 8s ease-in-out infinite;
}

.hero-product-frame::before,
.hero-product-frame::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: inherit;
}

.hero-product-frame::before {
  inset: -1px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: linear-gradient(145deg, rgba(255, 255, 255, .2), transparent 34%, rgba(142, 219, 255, .12));
  opacity: .72;
}

.hero-product-frame::after {
  inset: 18px;
  border-radius: 24px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), inset 0 -30px 70px rgba(5, 10, 17, .28);
}

.hero-product-frame .hero-background-video {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(238, 247, 255, .12);
  border-radius: 23px;
  object-fit: cover;
  object-position: center;
  background: #02060b;
  filter: saturate(1.04) contrast(1.04);
}

.hero-scene-meta {
  --hero-meta-x: -18%;
  position: absolute;
  left: 2px;
  bottom: 82px;
  margin: 0;
  align-self: auto;
  justify-self: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translate(var(--hero-meta-x), 0);
}

.hero-scene-meta > span {
  min-width: 238px;
  min-height: 96px;
  padding: 15px 17px;
  grid-template-columns: 40px minmax(0, 1fr);
  align-content: center;
  border: 1px solid rgba(238, 247, 255, .2);
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(238, 247, 255, .18), rgba(238, 247, 255, .06));
  box-shadow: 0 24px 72px rgba(0, 0, 0, .32), inset 0 1px 0 rgba(255, 255, 255, .22);
  backdrop-filter: blur(30px) saturate(180%);
  animation: hero-card-drift 6.6s ease-in-out infinite;
}

.hero-scene-meta > span svg {
  width: 31px;
  height: 31px;
  padding: 7px;
  grid-row: 1 / span 3;
  border-radius: 14px;
  color: #06131d;
  background: linear-gradient(135deg, #eef7ff, #8edbff);
  box-shadow: 0 12px 30px rgba(67, 190, 255, .32);
}

.hero-scene-meta b {
  color: rgba(255, 255, 255, .74);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.hero-scene-meta strong {
  margin-top: 2px;
  display: block;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  font-weight: 900;
}

.hero-scene-meta small {
  margin-top: 6px;
  color: rgba(255, 255, 255, .58);
  font-size: 9px;
}

.hero-scene-meta button {
  width: 64px;
  height: 64px;
  border: 1px solid rgba(238, 247, 255, .22);
  border-radius: 22px;
  color: #06131d;
  background: linear-gradient(135deg, #eef7ff, #8edbff 70%, #72cdfd);
  box-shadow: 0 24px 62px rgba(70, 198, 255, .28), inset 0 1px 0 rgba(255, 255, 255, .85);
  transition: transform var(--transition), box-shadow var(--transition);
}

.hero-scene-meta button:hover {
  transform: translateY(-5px) scale(1.04);
  box-shadow: 0 30px 76px rgba(70, 198, 255, .42), inset 0 1px 0 rgba(255, 255, 255, .95);
}

.hero-next {
  bottom: 22px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(238, 247, 255, .14);
  border-radius: 999px;
  background: rgba(238, 247, 255, .045);
  backdrop-filter: blur(18px);
}

.landing-operational-banner {
  top: 76px;
}

@keyframes hero-float-luxury {
  0%, 100% { transform: translate3d(0, -7px, 0) rotateZ(-.4deg); }
  50% { transform: translate3d(0, 10px, 0) rotateZ(.35deg); }
}

@keyframes hero-card-drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 1200px) {
  .hero-grid { grid-template-columns: minmax(0, .95fr) minmax(370px, .8fr); gap: 48px; }
  .hero-copy h1 { font-size: 72px; }
  .hero-copy > p { font-size: 20px; }
  .hero-product { min-height: 620px; }
  .hero-product-frame { width: min(100%, 410px); }
  .hero-scene-meta { left: 10px; }
}

@media (max-width: 1024px) {
  .landing-nav {
    grid-template-columns: 1fr auto;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(330px, .75fr);
    gap: 30px;
  }
  .hero-copy h1 { font-size: 62px; }
  .hero-copy > p { max-width: 560px; font-size: 18px; }
  .landing-body .hero-button { min-height: 62px; padding-inline: 25px; }
  .hero-product { min-height: 560px; }
  .hero-product-frame { width: min(100%, 352px); }
  .hero-scene-meta {
    --hero-meta-x: -12%;
    left: 18px;
    bottom: 62px;
  }
  .hero-scene-meta > span { min-width: 215px; }
}

@media (max-width: 768px) {
  .landing-header {
    height: 66px;
  }
  .landing-nav {
    width: calc(100% - 24px);
    height: 50px;
    margin-top: 8px;
    border-radius: 19px;
  }
  .landing-operational-banner {
    top: 66px;
  }
  .hero-section {
    min-height: auto;
    padding-top: 66px;
    padding-bottom: 72px;
  }
  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 28px;
    align-content: start;
  }
  .hero-copy {
    max-width: none;
    padding: 42px 0 0;
  }
  .hero-copy h1 {
    font-size: 54px;
    line-height: 1.08;
  }
  .hero-copy > p {
    max-width: 610px;
    margin-top: 22px;
    font-size: 17px;
  }
  .hero-actions {
    margin-top: 28px;
  }
  .hero-product {
    min-height: 470px;
    justify-items: center;
  }
  .hero-product-frame {
    width: min(100%, 320px);
  }
  .hero-scene-meta {
    --hero-meta-x: -50%;
    left: 50%;
    right: auto;
    bottom: 30px;
  }
  .hero-scene-meta > span {
    min-width: 212px;
    min-height: 78px;
    padding: 12px 14px;
    border-radius: 22px;
  }
  .hero-scene-meta strong { font-size: 21px; }
  .hero-scene-meta button {
    width: 56px;
    height: 56px;
    border-radius: 19px;
  }
}

@media (max-width: 430px) {
  .landing-nav {
    width: calc(100% - 20px);
    padding-inline: 9px;
  }
  .hero-copy {
    padding-top: 34px;
  }
  .hero-copy h1 {
    font-size: 42px;
  }
  .hero-copy > p {
    font-size: 15px;
    line-height: 1.55;
  }
  .landing-body .hero-button {
    min-height: 58px;
    width: 100%;
    padding-inline: 18px;
    border-radius: 18px;
    font-size: 14px;
  }
  .hero-proof {
    margin-top: 24px;
  }
  .hero-product {
    min-height: 420px;
  }
  .hero-product-frame {
    width: min(100%, 278px);
    border-radius: 28px;
  }
  .hero-product-frame .hero-background-video {
    border-radius: 21px;
  }
  .hero-scene-meta {
    bottom: 20px;
    gap: 8px;
  }
  .hero-scene-meta > span {
    min-width: 190px;
    grid-template-columns: 32px minmax(0, 1fr);
  }
  .hero-scene-meta > span svg {
    width: 28px;
    height: 28px;
  }
  .hero-scene-meta small {
    font-size: 8px;
  }
  .hero-scene-meta button {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 360px) {
  .hero-copy h1 {
    font-size: 37px;
  }
  .hero-product {
    min-height: 390px;
  }
  .hero-product-frame {
    width: min(100%, 244px);
  }
  .hero-scene-meta > span {
    min-width: 176px;
  }
}

@supports (padding: max(0px)) {
  .landing-header {
    height: calc(76px + env(safe-area-inset-top));
    padding-top: env(safe-area-inset-top);
  }
  .landing-operational-banner {
    top: calc(76px + env(safe-area-inset-top));
  }
  @media (max-width: 768px) {
    .landing-header {
      height: calc(66px + env(safe-area-inset-top));
    }
    .landing-operational-banner {
      top: calc(66px + env(safe-area-inset-top));
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-product-frame,
  .hero-scene-meta > span {
    animation: none !important;
  }
}

/* Premium landing process */
.landing-process {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  scroll-margin-top: 96px;
  padding-block: clamp(84px, 9vw, 128px);
  border-top-color: rgba(238, 247, 255, .075);
  background:
    radial-gradient(760px 420px at 8% 12%, rgba(72, 198, 255, .11), transparent 68%),
    radial-gradient(720px 440px at 92% 82%, rgba(142, 219, 255, .11), transparent 70%),
    linear-gradient(155deg, #08111b 0%, #0c1521 48%, #070b12 100%);
}

.landing-process::before,
.landing-process::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.landing-process::before {
  opacity: .45;
  background:
    radial-gradient(circle at 16% 25%, rgba(238, 247, 255, .38) 0 1px, transparent 2px),
    radial-gradient(circle at 80% 32%, rgba(142, 219, 255, .3) 0 1px, transparent 2px),
    radial-gradient(circle at 66% 78%, rgba(238, 247, 255, .22) 0 1px, transparent 2px);
  background-size: 190px 190px, 240px 240px, 210px 210px;
  mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
}

.landing-process::after {
  opacity: .6;
  background: linear-gradient(106deg, transparent 12%, rgba(142, 219, 255, .08) 45%, transparent 72%);
  filter: blur(34px);
}

.landing-process__ambient {
  position: absolute;
  inset: 20% auto auto 50%;
  z-index: -1;
  width: min(74vw, 960px);
  aspect-ratio: 2.4;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(97, 207, 255, .12), transparent);
  filter: blur(22px);
  transform: translateX(-50%);
  pointer-events: none;
}

.landing-process__inner {
  position: relative;
}

.landing-process__header {
  max-width: 720px;
}

.landing-process__eyebrow {
  min-height: 32px;
  padding-inline: 12px;
  border: 1px solid rgba(142, 219, 255, .2);
  border-radius: 999px;
  color: #bcecff;
  background: rgba(142, 219, 255, .06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}

.landing-process__header h2 {
  max-width: 640px;
  margin: 18px 0 0;
  color: #f6fbff;
  font-size: clamp(38px, 4.4vw, 62px);
  line-height: 1.08;
  text-wrap: balance;
}

.landing-process__header > p {
  max-width: 590px;
  margin-top: 20px;
  color: rgba(255, 255, 255, .68);
  font-size: clamp(15px, 1.45vw, 18px);
  line-height: 1.55;
}

.landing-process__grid {
  --landing-process-gap: clamp(22px, 3vw, 46px);
  margin: clamp(38px, 5vw, 62px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--landing-process-gap);
  list-style: none;
}

.landing-process__item {
  position: relative;
  min-width: 0;
}

.landing-process__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(100% + 7px);
  z-index: 2;
  width: calc(var(--landing-process-gap) - 14px);
  height: 1px;
  background:
    radial-gradient(circle at 0 50%, rgba(191, 239, 255, .8) 0 2px, transparent 3px),
    linear-gradient(90deg, rgba(142, 219, 255, .5), rgba(142, 219, 255, .12));
  box-shadow: 0 0 18px rgba(83, 198, 255, .28);
}

.landing-process__item:not(:last-child)::before {
  content: "";
  position: absolute;
  top: calc(50% - 3px);
  right: calc(var(--landing-process-gap) / -1 + 5px);
  z-index: 3;
  width: 7px;
  height: 7px;
  border-top: 1px solid rgba(191, 239, 255, .72);
  border-right: 1px solid rgba(191, 239, 255, .72);
  transform: rotate(45deg);
}

.landing-process__card {
  position: relative;
  min-height: 326px;
  height: 100%;
  padding: clamp(24px, 2.3vw, 34px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(238, 247, 255, .14);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(238, 247, 255, .095), rgba(238, 247, 255, .032) 46%, rgba(4, 14, 25, .34)),
    rgba(8, 19, 31, .82);
  box-shadow: 0 28px 74px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .14);
  backdrop-filter: blur(22px) saturate(150%);
  transition: transform 300ms cubic-bezier(.2, .8, .2, 1), border-color 300ms ease, box-shadow 300ms ease, background 300ms ease;
}

.landing-process__card::before,
.landing-process__card::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.landing-process__card::before {
  inset: 0;
  background: linear-gradient(145deg, rgba(238, 247, 255, .085), transparent 32%);
}

.landing-process__card::after {
  top: -42%;
  right: -32%;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(92, 205, 255, .17), transparent);
  filter: blur(10px);
}

.landing-process__number {
  position: absolute;
  top: 18px;
  right: 22px;
  color: transparent;
  background: linear-gradient(145deg, rgba(238, 247, 255, .25), rgba(142, 219, 255, .05));
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(52px, 5vw, 76px);
  font-weight: 900;
  line-height: .8;
  letter-spacing: 0;
  user-select: none;
}

.landing-process__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(142, 219, 255, .26);
  border-radius: 18px;
  color: #c8f2ff;
  background: linear-gradient(145deg, rgba(238, 247, 255, .16), rgba(77, 190, 249, .1));
  box-shadow: 0 15px 36px rgba(54, 181, 232, .14), inset 0 1px 0 rgba(255, 255, 255, .2);
  transition: color 300ms ease, background 300ms ease, box-shadow 300ms ease;
}

.landing-process__icon svg {
  width: 24px;
  height: 24px;
}

.landing-process__content {
  align-self: center;
  max-width: 265px;
  margin-top: 24px;
}

.landing-process__content h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.12;
}

.landing-process__content p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .62);
  font-size: 13px;
  line-height: 1.6;
}

.landing-process__tags {
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
}

.landing-process__tags li {
  min-height: 29px;
  padding-inline: 10px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(238, 247, 255, .12);
  border-radius: 999px;
  color: rgba(238, 247, 255, .68);
  background: rgba(238, 247, 255, .055);
  font-size: 10px;
  font-weight: 700;
}

@media (hover: hover) and (pointer: fine) {
  .landing-process__card:hover {
    border-color: rgba(142, 219, 255, .3);
    background:
      linear-gradient(145deg, rgba(238, 247, 255, .13), rgba(142, 219, 255, .055) 48%, rgba(4, 14, 25, .28)),
      rgba(8, 19, 31, .88);
    box-shadow: 0 34px 86px rgba(0, 0, 0, .3), 0 0 38px rgba(73, 194, 249, .11), inset 0 1px 0 rgba(255, 255, 255, .18);
    transform: translateY(-5px);
  }

  .landing-process__card:hover .landing-process__icon {
    color: #f2fbff;
    background: linear-gradient(145deg, rgba(238, 247, 255, .25), rgba(79, 194, 255, .18));
    box-shadow: 0 18px 44px rgba(65, 190, 249, .24), inset 0 1px 0 rgba(255, 255, 255, .32);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .landing-process.landing-reveal--ready .landing-process__header,
  .landing-process.landing-reveal--ready .landing-process__card {
    opacity: 0;
    transform: translateY(20px);
  }

  .landing-process.landing-reveal--ready.is-revealed .landing-process__header {
    animation: landing-process-reveal 460ms cubic-bezier(.2, .8, .2, 1) forwards;
  }

  .landing-process.landing-reveal--ready.is-revealed .landing-process__card {
    animation: landing-process-reveal 520ms cubic-bezier(.2, .8, .2, 1) forwards;
  }

  .landing-process.landing-reveal--ready.is-revealed .landing-process__item:nth-child(1) .landing-process__card { animation-delay: 110ms; }
  .landing-process.landing-reveal--ready.is-revealed .landing-process__item:nth-child(2) .landing-process__card { animation-delay: 190ms; }
  .landing-process.landing-reveal--ready.is-revealed .landing-process__item:nth-child(3) .landing-process__card { animation-delay: 270ms; }
}

@keyframes landing-process-reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .landing-process__item::before,
  .landing-process__item::after {
    display: none;
  }

  .landing-process__item:last-child {
    grid-column: 1 / -1;
  }

  .landing-process__item:last-child .landing-process__card {
    min-height: 300px;
  }
}

@media (max-width: 768px) {
  .landing-process {
    scroll-margin-top: 82px;
    padding-block: 78px;
  }

  .landing-process__header h2 {
    max-width: 540px;
  }

  .landing-process__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .landing-process__item:last-child {
    grid-column: auto;
  }

  .landing-process__card,
  .landing-process__item:last-child .landing-process__card {
    min-height: 280px;
  }
}

@media (max-width: 430px) {
  .landing-process {
    padding-block: 66px;
  }

  .landing-process__header h2 {
    font-size: clamp(34px, 10vw, 42px);
  }

  .landing-process__header > p {
    margin-top: 16px;
    font-size: 15px;
  }

  .landing-process__grid {
    margin-top: 34px;
  }

  .landing-process__card {
    min-height: 268px;
    padding: 23px;
    border-radius: 24px;
  }

  .landing-process__number {
    top: 17px;
    right: 18px;
    font-size: 58px;
  }

  .landing-process__icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .landing-process__content {
    margin-top: 20px;
  }

  .landing-process__content h3 {
    font-size: 23px;
  }

  .landing-process__content p {
    font-size: 12px;
  }

  .landing-process__tags {
    margin-top: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-process__card {
    transition: none;
  }
}

/* Premium landing continuation */
.landing-showcase,
.landing-pricing,
.landing-faq,
.landing-final-cta {
  --landing-panel-border: rgba(238, 247, 255, .14);
  --landing-panel-fill: rgba(9, 21, 34, .82);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.landing-showcase,
.landing-pricing,
.landing-faq {
  padding-block: clamp(86px, 9vw, 128px);
  border-top-color: rgba(238, 247, 255, .07);
}

.landing-showcase::before,
.landing-pricing::before,
.landing-faq::before,
.landing-final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.landing-showcase::after,
.landing-pricing::after,
.landing-faq::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .35;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 24%, rgba(238, 247, 255, .36) 0 1px, transparent 2px),
    radial-gradient(circle at 78% 30%, rgba(142, 219, 255, .28) 0 1px, transparent 2px),
    radial-gradient(circle at 68% 84%, rgba(238, 247, 255, .2) 0 1px, transparent 2px);
  background-size: 200px 200px, 250px 250px, 220px 220px;
  mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
}

.landing-showcase {
  background:
    radial-gradient(780px 480px at 78% 16%, rgba(100, 204, 255, .13), transparent 70%),
    radial-gradient(740px 460px at 6% 76%, rgba(138, 99, 255, .08), transparent 72%),
    linear-gradient(155deg, #08121c 0%, #0d1724 50%, #080b13 100%);
}

.landing-showcase::before {
  opacity: .8;
  background: linear-gradient(110deg, transparent 10%, rgba(142, 219, 255, .08) 48%, transparent 76%);
  filter: blur(32px);
}

.landing-showcase__ambient,
.landing-pricing__ambient,
.landing-faq__ambient {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.landing-showcase__ambient {
  top: 22%;
  right: -10%;
  width: min(52vw, 780px);
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(105, 211, 255, .14), transparent);
  filter: blur(28px);
}

.landing-showcase__inner,
.landing-pricing__layout,
.landing-faq__layout {
  position: relative;
}

.landing-showcase__header {
  max-width: 1180px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 30px;
}

.landing-showcase__header > div {
  max-width: 710px;
}

.landing-showcase__eyebrow,
.landing-pricing__eyebrow,
.landing-faq__eyebrow,
.landing-final-cta__eyebrow {
  min-height: 32px;
  padding-inline: 12px;
  border: 1px solid rgba(142, 219, 255, .2);
  border-radius: 999px;
  color: #bcecff;
  background: rgba(142, 219, 255, .06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}

.landing-showcase h2,
.landing-pricing h2,
.landing-faq h2,
.landing-final-cta h2 {
  margin: 18px 0 0;
  color: #f6fbff;
  font-size: clamp(38px, 4.25vw, 60px);
  line-height: 1.08;
  text-wrap: balance;
}

.landing-showcase__header p,
.landing-pricing__header > p,
.landing-faq__header > p {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .68);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.58;
}

.landing-showcase__cta,
.landing-pricing__cta {
  min-height: 54px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(238, 247, 255, .16);
  border-radius: 18px;
  color: rgba(255, 255, 255, .88);
  background: linear-gradient(135deg, rgba(238, 247, 255, .1), rgba(142, 219, 255, .045));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 16px 42px rgba(0, 0, 0, .16);
  backdrop-filter: blur(18px);
  font-size: 12px;
  font-weight: 800;
  transition: transform 280ms cubic-bezier(.2, .8, .2, 1), border-color 280ms ease, box-shadow 280ms ease, background 280ms ease;
}

.landing-showcase__cta svg,
.landing-pricing__cta svg {
  width: 16px;
  color: #9bdeff;
}

@media (hover: hover) and (pointer: fine) {
  .landing-showcase__cta:hover,
  .landing-pricing__cta:hover {
    border-color: rgba(142, 219, 255, .38);
    background: linear-gradient(135deg, rgba(238, 247, 255, .16), rgba(142, 219, 255, .09));
    box-shadow: 0 22px 56px rgba(77, 190, 249, .14), inset 0 1px 0 rgba(255, 255, 255, .22);
    transform: translateY(-4px);
  }
}

.landing-showcase__cta:focus-visible,
.landing-pricing__cta:focus-visible,
.landing-final-cta__button:focus-visible,
.landing-faq__item button:focus-visible,
.landing-footer a:focus-visible {
  outline: 2px solid #8edbff;
  outline-offset: 3px;
}

.landing-showcase__grid {
  margin-top: clamp(38px, 5vw, 62px);
  display: grid;
  grid-template-columns: 1.28fr repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.7vw, 24px);
}

.landing-showcase__card {
  position: relative;
  min-width: 0;
  min-height: 400px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid var(--landing-panel-border);
  border-radius: 26px;
  background: var(--landing-panel-fill);
  box-shadow: 0 26px 74px rgba(0, 0, 0, .26), inset 0 1px 0 rgba(255, 255, 255, .13);
  transition: transform 300ms cubic-bezier(.2, .8, .2, 1), border-color 300ms ease, box-shadow 300ms ease;
}

.landing-showcase__card:first-child {
  min-height: 440px;
}

.landing-showcase__scene {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  background: linear-gradient(145deg, #203956, #171a38 55%, #25213c);
  transition: transform 340ms cubic-bezier(.2, .8, .2, 1), filter 340ms ease;
}

.landing-showcase__scene::before,
.landing-showcase__scene::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.landing-showcase__scene::before {
  background: linear-gradient(to bottom, rgba(5, 12, 22, .04), rgba(5, 12, 22, .12) 42%, rgba(5, 12, 22, .7));
}

.landing-showcase__scene::after {
  border: 1px solid rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 80px rgba(6, 13, 24, .18);
}

.landing-showcase__content {
  position: relative;
  min-height: 124px;
  padding: 19px 18px 20px;
  background: linear-gradient(145deg, rgba(14, 28, 43, .96), rgba(8, 16, 27, .98));
}

.landing-showcase__content > span {
  display: block;
  color: #9cddfb;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.landing-showcase__content h3 {
  max-width: 215px;
  margin: 8px 28px 0 0;
  color: #f7fbff;
  font-size: 15px;
  line-height: 1.35;
}

.landing-showcase__content > svg {
  position: absolute;
  right: 17px;
  bottom: 19px;
  width: 18px;
  height: 18px;
  color: rgba(156, 221, 251, .78);
}

.landing-showcase .style-visual-anime .landing-showcase__scene { background: linear-gradient(155deg, #f18b78, #673f8e 65%, #172a54); }
.landing-showcase .style-visual-clay .landing-showcase__scene { background: linear-gradient(145deg, #c48e6c, #736c58); }
.landing-showcase .style-visual-fantasy .landing-showcase__scene { background: linear-gradient(145deg, #132c39, #19394d 45%, #302650); }
.landing-showcase .style-moon { box-shadow: 0 0 52px rgba(183, 214, 223, .5); }
.landing-showcase .style-portal { box-shadow: 0 0 48px rgba(112, 216, 201, .58), inset 0 0 32px rgba(81, 214, 205, .4); }

@media (hover: hover) and (pointer: fine) {
  .landing-showcase__card:hover {
    z-index: 2;
    border-color: rgba(142, 219, 255, .32);
    box-shadow: 0 34px 90px rgba(0, 0, 0, .34), 0 0 44px rgba(75, 191, 249, .1), inset 0 1px 0 rgba(255, 255, 255, .2);
    transform: translateY(-5px);
  }

  .landing-showcase__card:hover .landing-showcase__scene {
    filter: saturate(1.08) contrast(1.03);
    transform: scale(1.028);
  }
}

.landing-pricing {
  background:
    radial-gradient(820px 520px at 78% 44%, rgba(75, 191, 249, .16), transparent 70%),
    radial-gradient(620px 430px at 12% 84%, rgba(116, 89, 255, .09), transparent 72%),
    linear-gradient(150deg, #09131e, #0b1724 52%, #080b13);
}

.landing-pricing::before {
  opacity: .75;
  background: linear-gradient(112deg, transparent 15%, rgba(142, 219, 255, .08) 55%, transparent 80%);
  filter: blur(36px);
}

.landing-pricing__ambient {
  top: 20%;
  right: -14%;
  width: min(54vw, 790px);
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(82, 194, 249, .17), transparent);
  filter: blur(34px);
}

.landing-pricing__layout {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(540px, 1.18fr);
  align-items: center;
  gap: clamp(44px, 7vw, 96px);
}

.landing-pricing__header {
  max-width: 570px;
}

.landing-pricing__benefits {
  margin: 25px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.landing-pricing__benefits li {
  min-height: 28px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  font-weight: 650;
}

.landing-pricing__benefits svg {
  width: 17px;
  color: #9bdeff;
}

.landing-pricing__facts {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.landing-pricing__facts span {
  min-height: 38px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(238, 247, 255, .12);
  border-radius: 999px;
  color: rgba(255, 255, 255, .66);
  background: rgba(238, 247, 255, .05);
  font-size: 10px;
}

.landing-pricing__facts svg {
  width: 14px;
  color: #8edbff;
}

.landing-pricing__facts b {
  color: #eaf8ff;
  font-size: 10px;
}

.landing-pricing__packages {
  position: relative;
  min-width: 0;
}

.landing-pricing__packages::before {
  content: "";
  position: absolute;
  inset: -13% -10%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(142, 219, 255, .16), transparent 72%);
  filter: blur(30px);
  pointer-events: none;
}

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

.landing-pricing__card {
  min-height: 180px;
  padding: 21px;
  overflow: hidden;
  border: 1px solid var(--landing-panel-border);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(238, 247, 255, .09), rgba(238, 247, 255, .025) 52%, rgba(4, 12, 22, .28)),
    rgba(9, 20, 33, .86);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .12);
  transition: transform 280ms cubic-bezier(.2, .8, .2, 1), border-color 280ms ease, box-shadow 280ms ease;
}

.landing-pricing__card::before {
  content: "";
  position: absolute;
  top: -45%;
  right: -32%;
  width: 68%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(142, 219, 255, .12), transparent);
  pointer-events: none;
}

.landing-pricing__card > small {
  position: relative;
  color: rgba(255, 255, 255, .63);
  font-size: 10px;
  font-weight: 750;
}

.landing-pricing__card > strong {
  position: relative;
  margin-top: 16px;
  color: #f8fcff;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1;
}

.landing-pricing__card > strong em {
  color: rgba(255, 255, 255, .55);
  font-size: 10px;
  font-style: normal;
}

.landing-pricing__card > p {
  position: relative;
  margin-top: 12px;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  font-weight: 750;
}

.landing-pricing__card > p span {
  display: block;
  margin: 5px 0 0;
  color: #8ce2c5;
  font-size: 10px;
}

.landing-pricing__card.is-popular {
  border-color: rgba(142, 219, 255, .4);
  background:
    linear-gradient(145deg, rgba(238, 247, 255, .16), rgba(142, 219, 255, .09) 50%, rgba(25, 40, 73, .34)),
    rgba(11, 25, 42, .92);
  box-shadow: 0 26px 72px rgba(0, 0, 0, .28), 0 0 52px rgba(70, 190, 249, .16), inset 0 1px 0 rgba(255, 255, 255, .2);
}

.landing-pricing__card .popular-badge {
  top: 16px;
  right: 16px;
  padding: 5px 8px;
  border: 1px solid rgba(192, 239, 255, .22);
  border-radius: 999px;
  color: #d9f5ff;
  background: rgba(142, 219, 255, .13);
  font-size: 8px;
  font-weight: 850;
}

.landing-pricing__cta {
  width: 100%;
  min-height: 58px;
  margin-top: 14px;
  border-radius: 19px;
}

@media (hover: hover) and (pointer: fine) {
  .landing-pricing__card:hover {
    border-color: rgba(142, 219, 255, .32);
    box-shadow: 0 30px 76px rgba(0, 0, 0, .3), 0 0 38px rgba(75, 191, 249, .1), inset 0 1px 0 rgba(255, 255, 255, .18);
    transform: translateY(-4px);
  }
}

.landing-faq {
  background:
    radial-gradient(680px 450px at 11% 30%, rgba(96, 207, 255, .11), transparent 70%),
    radial-gradient(720px 480px at 94% 78%, rgba(116, 89, 255, .075), transparent 72%),
    linear-gradient(155deg, #08111b, #0a1521 56%, #070a11);
}

.landing-faq::before {
  opacity: .75;
  background: linear-gradient(116deg, transparent 10%, rgba(142, 219, 255, .065) 50%, transparent 82%);
  filter: blur(34px);
}

.landing-faq__ambient {
  bottom: -20%;
  left: -10%;
  width: min(50vw, 720px);
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(86, 193, 255, .14), transparent);
  filter: blur(34px);
}

.landing-faq__layout {
  display: grid;
  grid-template-columns: minmax(260px, .78fr) minmax(500px, 1.22fr);
  align-items: start;
  gap: clamp(42px, 7vw, 100px);
}

.landing-faq__header {
  max-width: 500px;
}

.landing-faq__support {
  max-width: 390px;
  margin-top: 30px;
  padding: 14px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  border: 1px solid rgba(238, 247, 255, .12);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(238, 247, 255, .08), rgba(142, 219, 255, .035));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 18px 46px rgba(0, 0, 0, .16);
  backdrop-filter: blur(16px);
}

.landing-faq__support > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(142, 219, 255, .25);
  border-radius: 14px;
  color: #bcecff;
  background: rgba(142, 219, 255, .09);
}

.landing-faq__support svg {
  width: 21px;
}

.landing-faq__support strong {
  color: rgba(255, 255, 255, .86);
  font-size: 11px;
}

.landing-faq__support p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, .56);
  font-size: 10px;
  line-height: 1.5;
}

.landing-faq__list {
  display: grid;
  gap: 10px;
}

.landing-faq__item {
  overflow: hidden;
  border: 1px solid rgba(238, 247, 255, .12);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(238, 247, 255, .07), rgba(238, 247, 255, .022));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 16px 42px rgba(0, 0, 0, .13);
  transition: border-color 240ms ease, background 240ms ease, box-shadow 240ms ease;
}

.landing-faq__item h3 {
  margin: 0;
}

.landing-faq__item button {
  width: 100%;
  min-height: 76px;
  padding: 18px 19px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 0;
  color: rgba(255, 255, 255, .9);
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.landing-faq__item button > span {
  font-size: clamp(14px, 1.35vw, 17px);
  font-weight: 760;
  line-height: 1.35;
}

.landing-faq__item button > svg {
  width: 20px;
  min-width: 20px;
  color: #9bdeff;
  transition: transform 240ms ease, color 240ms ease;
}

.landing-faq__answer {
  display: grid;
  grid-template-rows: 1fr;
  opacity: 1;
  transition: grid-template-rows 260ms ease, opacity 200ms ease;
}

.landing-faq__answer > div {
  min-height: 0;
  overflow: hidden;
}

.landing-faq__answer p {
  max-width: 720px;
  margin: -2px 58px 20px 19px;
  color: rgba(255, 255, 255, .62);
  font-size: 13px;
  line-height: 1.62;
}

.landing-faq__list.landing-faq--enhanced .landing-faq__answer {
  grid-template-rows: 0fr;
  opacity: 0;
}

.landing-faq__list.landing-faq--enhanced .landing-faq__item.is-open {
  border-color: rgba(142, 219, 255, .3);
  background: linear-gradient(135deg, rgba(238, 247, 255, .11), rgba(142, 219, 255, .055));
  box-shadow: 0 20px 52px rgba(0, 0, 0, .2), 0 0 30px rgba(75, 191, 249, .07), inset 0 1px 0 rgba(255, 255, 255, .16);
}

.landing-faq__list.landing-faq--enhanced .landing-faq__item.is-open .landing-faq__answer {
  grid-template-rows: 1fr;
  opacity: 1;
}

.landing-faq__list.landing-faq--enhanced .landing-faq__item.is-open button > svg {
  color: #d8f5ff;
  transform: rotate(45deg);
}

@media (hover: hover) and (pointer: fine) {
  .landing-faq__item:hover:not(.is-open) {
    border-color: rgba(238, 247, 255, .2);
    background: rgba(238, 247, 255, .07);
  }
}

.landing-final-cta {
  min-height: 420px;
  padding-block: clamp(84px, 10vw, 132px);
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(238, 247, 255, .09);
  background:
    radial-gradient(720px 440px at 20% 20%, rgba(142, 219, 255, .16), transparent 70%),
    radial-gradient(680px 470px at 82% 78%, rgba(120, 89, 255, .14), transparent 72%),
    linear-gradient(135deg, #091723, #10172b 54%, #080b14);
}

.landing-final-cta::before {
  opacity: .9;
  background: linear-gradient(112deg, transparent 7%, rgba(238, 247, 255, .07) 48%, transparent 88%);
  filter: blur(34px);
}

.landing-final-cta__orbit {
  position: absolute;
  top: 50%;
  right: max(5vw, 60px);
  width: min(34vw, 450px);
  aspect-ratio: 1;
  border: 1px solid rgba(184, 231, 255, .16);
  border-radius: 50%;
  box-shadow: 0 0 70px rgba(99, 201, 255, .12), inset 0 0 68px rgba(142, 219, 255, .04);
  transform: translateY(-50%) rotate(-16deg);
  pointer-events: none;
}

.landing-final-cta__orbit::before,
.landing-final-cta__orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.landing-final-cta__orbit::before {
  inset: 14%;
  border: 1px solid rgba(184, 231, 255, .1);
}

.landing-final-cta__orbit::after {
  top: 8%;
  left: 12%;
  width: 10px;
  height: 10px;
  background: #bcecff;
  box-shadow: 0 0 24px rgba(142, 219, 255, .8);
}

.landing-final-cta__frame {
  position: absolute;
  top: 20%;
  right: max(9vw, 120px);
  width: min(22vw, 280px);
  aspect-ratio: 9 / 12;
  border: 1px solid rgba(238, 247, 255, .12);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(238, 247, 255, .07), rgba(142, 219, 255, .025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .11), 0 28px 72px rgba(0, 0, 0, .17);
  transform: rotate(8deg);
  pointer-events: none;
}

.landing-final-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.landing-final-cta__inner > div {
  max-width: 670px;
}

.landing-final-cta h2 {
  max-width: 610px;
  font-size: clamp(42px, 5vw, 68px);
}

.landing-final-cta p {
  margin: 19px 0 0;
  color: rgba(255, 255, 255, .71);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.55;
}

.landing-final-cta small {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, .56);
  font-size: 10px;
}

.landing-final-cta small svg {
  width: 15px;
  color: #8edbff;
}

.landing-final-cta__button {
  min-height: 66px;
  padding-inline: 28px;
  border-radius: 21px;
  flex: 0 0 auto;
  border-color: rgba(238, 247, 255, .55);
  color: #06131d;
  background: linear-gradient(135deg, #eef7ff 0%, #8edbff 45%, #42b9ff 100%);
  box-shadow: 0 22px 60px rgba(65, 188, 255, .35), inset 0 1px 0 rgba(255, 255, 255, .82);
}

@media (hover: hover) and (pointer: fine) {
  .landing-final-cta__button:hover {
    box-shadow: 0 30px 74px rgba(65, 188, 255, .5), inset 0 1px 0 rgba(255, 255, 255, .95);
    transform: translateY(-5px) scale(1.02);
  }
}

.landing-footer {
  position: relative;
  padding: 0;
  overflow: hidden;
  border-top-color: rgba(238, 247, 255, .1);
  background:
    radial-gradient(560px 260px at 13% 0%, rgba(89, 199, 255, .08), transparent 74%),
    #05080e;
}

.landing-footer__inner {
  padding-block: 48px 42px;
  display: grid;
  grid-template-columns: minmax(240px, .85fr) minmax(420px, 1.15fr);
  gap: clamp(40px, 9vw, 140px);
}

.landing-footer__brand {
  max-width: 330px;
}

.landing-footer__brand .brand-mark-shell {
  border: 1px solid rgba(238, 247, 255, .2);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(238, 247, 255, .13), rgba(142, 219, 255, .06));
}

.landing-footer__brand p {
  margin: 17px 0 0;
  color: rgba(255, 255, 255, .52);
  font-size: 11px;
  line-height: 1.58;
}

.landing-footer__nav {
  justify-self: stretch;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(30px, 6vw, 80px);
}

.landing-footer__nav > div {
  display: grid;
  align-content: start;
  gap: 9px;
}

.landing-footer__nav > div > span {
  margin-bottom: 5px;
  color: rgba(156, 221, 251, .86);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.landing-footer__nav a {
  width: fit-content;
  color: rgba(255, 255, 255, .58);
  font-size: 11px;
  transition: color var(--transition), transform var(--transition);
}

@media (hover: hover) and (pointer: fine) {
  .landing-footer__nav a:hover {
    color: #e8f8ff;
    transform: translateX(3px);
  }
}

.landing-footer__bottom {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(238, 247, 255, .08);
  color: rgba(255, 255, 255, .38);
  font-size: 9px;
}

@media (prefers-reduced-motion: no-preference) {
  .landing-showcase.landing-reveal--ready .landing-showcase__header,
  .landing-showcase.landing-reveal--ready .landing-showcase__card,
  .landing-pricing.landing-reveal--ready .landing-pricing__header,
  .landing-pricing.landing-reveal--ready .landing-pricing__packages,
  .landing-faq.landing-reveal--ready .landing-faq__header,
  .landing-faq.landing-reveal--ready .landing-faq__item,
  .landing-final-cta.landing-reveal--ready .landing-final-cta__inner > div,
  .landing-final-cta.landing-reveal--ready .landing-final-cta__button {
    opacity: 0;
    transform: translateY(20px);
  }

  .landing-showcase.landing-reveal--ready.is-revealed .landing-showcase__header,
  .landing-pricing.landing-reveal--ready.is-revealed .landing-pricing__header,
  .landing-faq.landing-reveal--ready.is-revealed .landing-faq__header,
  .landing-final-cta.landing-reveal--ready.is-revealed .landing-final-cta__inner > div {
    animation: landing-process-reveal 460ms cubic-bezier(.2, .8, .2, 1) forwards;
  }

  .landing-showcase.landing-reveal--ready.is-revealed .landing-showcase__card,
  .landing-pricing.landing-reveal--ready.is-revealed .landing-pricing__packages,
  .landing-faq.landing-reveal--ready.is-revealed .landing-faq__item,
  .landing-final-cta.landing-reveal--ready.is-revealed .landing-final-cta__button {
    animation: landing-process-reveal 520ms cubic-bezier(.2, .8, .2, 1) forwards;
  }

  .landing-showcase.landing-reveal--ready.is-revealed .landing-showcase__card:nth-child(1),
  .landing-faq.landing-reveal--ready.is-revealed .landing-faq__item:nth-child(1) { animation-delay: 100ms; }
  .landing-showcase.landing-reveal--ready.is-revealed .landing-showcase__card:nth-child(2),
  .landing-faq.landing-reveal--ready.is-revealed .landing-faq__item:nth-child(2) { animation-delay: 170ms; }
  .landing-showcase.landing-reveal--ready.is-revealed .landing-showcase__card:nth-child(3),
  .landing-faq.landing-reveal--ready.is-revealed .landing-faq__item:nth-child(3) { animation-delay: 240ms; }
  .landing-showcase.landing-reveal--ready.is-revealed .landing-showcase__card:nth-child(4),
  .landing-faq.landing-reveal--ready.is-revealed .landing-faq__item:nth-child(4) { animation-delay: 310ms; }
}

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

  .landing-showcase__card,
  .landing-showcase__card:first-child {
    min-height: 390px;
  }

  .landing-pricing__layout,
  .landing-faq__layout {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .landing-pricing__header,
  .landing-faq__header {
    max-width: 680px;
  }

  .landing-pricing__packages {
    max-width: 760px;
  }

  .landing-faq__list {
    max-width: 760px;
  }

  .landing-final-cta__frame {
    right: 8%;
  }
}

@media (max-width: 768px) {
  .landing-showcase,
  .landing-pricing,
  .landing-faq {
    padding-block: 78px;
  }

  .landing-showcase__header {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 24px;
  }

  .landing-showcase__cta {
    width: fit-content;
  }

  .landing-showcase__grid {
    grid-template-columns: 1fr;
  }

  .landing-showcase__card,
  .landing-showcase__card:first-child {
    min-height: 386px;
  }

  .landing-showcase__scene {
    min-height: 248px;
  }

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

  .landing-final-cta {
    min-height: 0;
    padding-block: 82px;
  }

  .landing-final-cta__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 30px;
  }

  .landing-final-cta__orbit {
    top: 58%;
    right: -9%;
    width: min(66vw, 420px);
  }

  .landing-final-cta__frame {
    top: auto;
    right: 8%;
    bottom: 9%;
    width: min(29vw, 190px);
    opacity: .7;
  }

  .landing-footer__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .landing-footer__nav {
    max-width: 520px;
  }
}

@media (max-width: 430px) {
  .landing-showcase,
  .landing-pricing,
  .landing-faq {
    padding-block: 66px;
  }

  .landing-showcase h2,
  .landing-pricing h2,
  .landing-faq h2 {
    font-size: clamp(34px, 10vw, 42px);
  }

  .landing-showcase__header p,
  .landing-pricing__header > p,
  .landing-faq__header > p {
    margin-top: 16px;
    font-size: 15px;
  }

  .landing-showcase__cta,
  .landing-pricing__cta {
    min-height: 50px;
    border-radius: 16px;
  }

  .landing-showcase__card,
  .landing-showcase__card:first-child {
    min-height: 360px;
    border-radius: 23px;
  }

  .landing-showcase__scene {
    min-height: 225px;
  }

  .landing-showcase__content {
    min-height: 116px;
    padding: 17px;
  }

  .landing-pricing__layout,
  .landing-faq__layout {
    gap: 34px;
  }

  .landing-pricing__benefits {
    margin-top: 22px;
  }

  .landing-pricing__facts {
    align-items: stretch;
    flex-direction: column;
  }

  .landing-pricing__facts span {
    justify-content: center;
  }

  .landing-pricing__grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .landing-pricing__card {
    min-height: 158px;
    padding: 19px;
    border-radius: 19px;
  }

  .landing-pricing__card > strong {
    margin-top: 13px;
    font-size: 34px;
  }

  .landing-faq__support {
    margin-top: 24px;
  }

  .landing-faq__item {
    border-radius: 17px;
  }

  .landing-faq__item button {
    min-height: 70px;
    padding: 16px;
    gap: 12px;
  }

  .landing-faq__item button > span {
    font-size: 14px;
  }

  .landing-faq__answer p {
    margin: -1px 42px 17px 16px;
    font-size: 12px;
  }

  .landing-final-cta {
    padding-block: 72px;
  }

  .landing-final-cta h2 {
    font-size: clamp(38px, 11vw, 50px);
  }

  .landing-final-cta p {
    font-size: 15px;
  }

  .landing-final-cta__button {
    width: 100%;
    min-height: 60px;
    justify-content: center;
    border-radius: 18px;
  }

  .landing-final-cta__frame {
    width: 104px;
    opacity: .48;
  }

  .landing-footer__inner {
    padding-block: 40px 32px;
  }

  .landing-footer__nav {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .landing-footer__bottom {
    min-height: 0;
    padding-block: 16px;
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
}

@media (max-width: 360px) {
  .landing-showcase__card,
  .landing-showcase__card:first-child {
    min-height: 344px;
  }

  .landing-showcase__scene {
    min-height: 212px;
  }

  .landing-pricing__benefits li {
    align-items: flex-start;
    font-size: 11px;
  }

  .landing-footer__nav a {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-showcase__card,
  .landing-showcase__scene,
  .landing-pricing__card,
  .landing-faq__item,
  .landing-faq__answer,
  .landing-faq__item button > svg,
  .landing-showcase__cta,
  .landing-pricing__cta,
  .landing-final-cta__button,
  .landing-footer__nav a {
    transition: none;
  }
}
